From devel at thom.fr.eu.org Mon Mar 1 00:10:24 2010 From: devel at thom.fr.eu.org (=?UTF-8?Q?Fran=C3=A7ois_Legal?=) Date: Mon, 01 Mar 2010 09:10:24 +0100 Subject: [Freeswitch-users] Possible typo on Openzap.conf wiki page specifying fxs/fxo-channels In-Reply-To: <3c5cf5261002271711t59294b4fm9aebfdf5b48a6b31@mail.gmail.com> References: <2C33D9D6C1444AAC80950CDF8D38A428@greyhawk.tonecommander.com> <3c5cf5261002231524n4e9af307y80b3accb1ee4ff26@mail.gmail.com> <3c5cf5261002271711t59294b4fm9aebfdf5b48a6b31@mail.gmail.com> Message-ID: On Sun, 28 Feb 2010 12:11:33 +1100, Brian May wrote: > On 24 February 2010 20:25, Fran?ois Legal wrote: >> I use sangoma card and the openzap file is generated by the Setup script >> from sangoma driver. >> It seems that the terminology used by zaptel is not used in wanpipe >> configuration. > > Yes, that is correct. > >> I have an A400 card with an FXO module (providing ports 11 and 12) and an >> FXS module (providing ports 9 and 10) >> >> My openzap.conf is like this : >> >> [span wanpipe FXS] >> name => Analog phone 1 >> number => 9000 >> fxs-channel => 1:9 >> name => Analog phone 2 >> number => 9001 >> fxs-channel => 1:10 >> >> [span wanpipe FXO] >> name => POTS line 1 >> number => 1234567890 >> fxo-channel => 1:11 >> name => POTS line 2 >> number => 0987654321 >> fxo-channel => 1:12 > > So ports 9 and 10 are actually FXO ports - extension ports; ports 11 > and 12 are FXS ports, or telephone lines. This is what I have been > saying. > > Oh, wait, no it isn't. Looks like I was confused. :-( > > It matches my config however. > > Hopefully this fixed the problems with the wiki: > > http://wiki.freeswitch.org/index.php?title=Openzap.conf_Examples&diff=18693&oldid=18491 On that point, that looks correct (maybe it would make it clearer with a sentence between parenthesis sayin "using FXO/FXS signaling"). > > My guess is that this change is needed also (not absolutely sure here): > On this one, I would have to check in the code. I don't know if the span order here makes a difference (my guess is no). > http://wiki.freeswitch.org/index.php?title=Openzap.conf_Examples&diff=18694&oldid=18693 From lukasz at voiceworks.pl Mon Mar 1 01:32:03 2010 From: lukasz at voiceworks.pl (Lukasz Kutkowski) Date: Mon, 01 Mar 2010 10:32:03 +0100 Subject: [Freeswitch-users] smg_prid not bridging the call In-Reply-To: <7d79b3931002282216w2e2ec844q36d28b3f50423ec4@mail.gmail.com> References: <7d79b3931002252155t47c86968q9e451482926d93ac@mail.gmail.com> <7d79b3931002262057g3b325bctcdbcfb833d4aaf55@mail.gmail.com> <7d79b3931002262102w79e16ae1nd786600b44dfb758@mail.gmail.com> <7d79b3931002262113s49495e7cga59715f41fdbb35d@mail.gmail.com> <7d79b3931002282216w2e2ec844q36d28b3f50423ec4@mail.gmail.com> Message-ID: <4B8B8993.7010002@voiceworks.pl> First disable display IE in smg_pri.conf disable_display_ie=yes then try to set TON and NP (you can check what telco is sending in incoming SETUP) for example: callingparty_dialplan=national calledparty_dialplan=national Your configuration for telco port should be more like; signalling=pri_cpe switchtype=euroisdn callingparty_dialplan=national calledparty_dialplan=national disable_display_ie=yes group=1 spans=1 of course caller_id_number should be set (also check if you telco require 04439114600 or 4439114600). Regards, Lukasz lakshmanan ganapathy wrote: > Dear Moy, > That's didn't seem to solve the problem. > I gave the following command. > originate > {origination_caller_id_number=04439114600}openzap/smg_prid/a/9952248266 > &bridge({origination_caller_id_number=04439114600}openzap/smg_prid/a/9976975781) > > The D-Chan Log is > http://pastebin.freeswitch.org/12268 > > Kindly refer the attached pcap file that I captured with wanpipemon > utility. I think it might help. > > > On Sun, Feb 28, 2010 at 12:05 AM, Moises Silva > wrote: > > I believe the problem FreeSWITCH is setting that as a default > callerid name, which your telco does not like. > > Try setting the caller id name and number by yourself as explained > in the "originate" section > here http://wiki.freeswitch.org/wiki/Mod_commands > > > On Sat, Feb 27, 2010 at 12:13 AM, lakshmanan ganapathy > > wrote: > > I think it says Invalid Information Element for the DISPLAY > smg_prid/a/8122133885!!! > correct?? If so, can you please help me to solve this? > > > On Sat, Feb 27, 2010 at 10:32 AM, lakshmanan ganapathy > > wrote: > > In the Dchan log it is saying Invalid Information > Elements. That might be a problem??? But I even don't know > why it is saying Invalid Information Element?? > Please guide me!!! > > > > On Sat, Feb 27, 2010 at 10:27 AM, lakshmanan ganapathy > > wrote: > > Dear Moy, > Here are the details: > > FreeSwitch Log: > http://pastebin.freeswitch.org/12256 > > /var/log/sangoma_pri/dchan_.log: > http://pastebin.freeswitch.org/12257 > > /var/log/sangoma_mgd.log: > http://pastebin.freeswitch.org/12258 > > smg_pri.conf > http://pastebin.freeswitch.org/12259 > > > > On Fri, Feb 26, 2010 at 9:01 PM, Moises Silva > > wrote: > > Hello lakshmanan, > > Please enable the dchan_log=q931 in > /etc/wanpipe/smg_pri.conf and then restart it > (smg_ctrl restart), then pastebin the logs > > /var/log/sangoma_pri/dchan_.log > /var/log/sangoma_mgd.log > > That will contain the Q931 details (if any). Also > pastebin your smg_pri.conf. > > Also enable the FreeSWITCH debug logging (see the > FreeSWITCH wiki for details about that) and paste > them too. > > -- > Moises Silva > Senior Software Engineer > Sangoma Technologies Inc. | 50 McIntosh Drive, > Suite 120, Markham ON L3R 9T3 Canada > t. 1 905 474 1990 x 128 | e. moy at sangoma.com > > > On Fri, Feb 26, 2010 at 12:55 AM, lakshmanan > ganapathy > wrote: > > Dear all, > I'm having a A102 Sangoma hardware. I > configured it with freeswitch. > wanrouter status, says both the port as connected. > My smg_prid version is > > Feb 26 16:08:14 FMS-FreeSwitch sangoma_prid: > ================System restart============= > Feb 26 16:08:14 FMS-FreeSwitch sangoma_prid: = > Sangoma PRI Protocol Stack Daemon = > Feb 26 16:08:14 FMS-FreeSwitch sangoma_prid: = > Version: 1.54 = > Feb 26 16:08:14 FMS-FreeSwitch sangoma_prid: = > Date: Feb 15 2010 = > Feb 26 16:08:14 FMS-FreeSwitch sangoma_prid: = > Wanpipe Release: wanpipe-3.5.8.6 = > Feb 26 16:08:14 FMS-FreeSwitch sangoma_prid: = > Revision:Revision: 15288 = > Feb 26 16:08:14 FMS-FreeSwitch > sangoma_prid: > =========================================== > > My freeswitch version is 16729. > I started freeswitch. > > oz list > +OK > span: 1 (smg_prid) > type: Sangoma (boost) > chan_count: 60 > dialplan: XML > context: default > dial_regex: > fail_dial_regex: > hold_music: > analog_options none > > I originated a call as > originate openzap/smg_prid/a/9952248266 > &park(), which hits my mobile. > > But when I issued the following command: > originate openzap/smg_prid/a/9952248266 > &bridge(openzap/smg_prid/a/8122133885) > It rings my mobile (9952248266) first, but > after that the following error was displayed > > 2010-02-26 16:20:51.736080 [ERR] > switch_ivr_originate.c:2387 Cannot create > outgoing channel of type [openzap] cause: > [NORMAL_CIRCUIT_CONGESTION] > The call got ended in my mobile. > > Freeswitch log and smg_pri.conf > http://pastebin.freeswitch.org/12248 > openzap.conf: > [span wanpipe smg_prid] > name => smg_prid > trunk_type =>e1 > b-channel => 1:1-15 > b-channel => 1:17-31 > trunk_type =>e1 > b-channel => 2:1-15 > b-channel => 2:17-31 > > openzap.conf.xml: > description="OpenZAP Configuration"> > > > > > > > > > > > > Please guide me to setup this one!!. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > Moises Silva > Senior Software Engineer > Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham > ON L3R 9T3 Canada > t. 1 905 474 1990 x 128 | e. moy at sangoma.com > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > From michal.kalinowski at interia.pl Mon Mar 1 03:51:55 2010 From: michal.kalinowski at interia.pl (michal kalinowski) Date: Mon, 1 Mar 2010 12:51:55 +0100 Subject: [Freeswitch-users] ivr from mysql In-Reply-To: <23CC9D8A-65D5-438F-B117-00FEC087418D@freeswitch.org> References: <7c74f5761002150824i41a2ed5did008f36cbb4499a4@mail.gmail.com> <87f2f3b91002151002v6bbc3e7fgb67dd6d3e72a915@mail.gmail.com> <7c74f5761002151425g512fa685n13c58d8f4b894740@mail.gmail.com> <0FD30AAA-C2E2-4228-A09B-DB09F4E26811@avgs.ca> <7c74f5761002151525p7cc690ces632d46c6ab5e236c@mail.gmail.com> <7c74f5761002271310h7e925f7cy25dd69ba60b896ef@mail.gmail.com> <23CC9D8A-65D5-438F-B117-00FEC087418D@freeswitch.org> Message-ID: <7c74f5761003010351u4f3d41cbua3bbf4909c00b551@mail.gmail.com> Thank's Brian So at this moment i have only clean configuration in lua without any XML. I get example from wiki: hash={["main"]=undef, ["name"]="top", ["greet_long"]="phrase:demo_ivr_main_menu", ["greet_short"]="phrase:demo_ivr_main_menu_short", ["invalid_sound"]="ivr/ivrthat_was_an_invalid_entry.wav", ["exit_sound"]="voicemail/vmgoodbye.wav", ["confirm_macro"]="undef", ["confirm_key"]="undef", ["confirm_attempts"]="3", ["inter_digit_timeout"]="2000", ["digit_len"]="1", ["timeout"]="10000", ["max_failures"]="3" } top = freeswitch.IVRMenu(hash["main"], hash["name"], hash["greet_long"],hash["greet_short"], hash["invalid_sound"], hash["exit_sound"], hash["confirm_macro"], hash["confirm_key"], hash["confirm_attempts"], hash["inter_digit_timeout"], hash["digit_len"], hash["timeout"], hash["max_failures"]); top:bindAction("menu-exec-app", "playback/tmp/swimp.raw","2"); top:execute(session, "top"); But something is wrong freeswitch say 2010-03-01 13:02:43.633721 [ERR] mod_lua.cpp:182 Error in IVRMenu expected 16..16 args, got 13 stack traceback: [C]: in function 'IVRMenu' /usr/local/freeswitch/scripts/ivr.lua:19: in main chunk What args FS expect? BR, Micha? W dniu 27 lutego 2010 22:48 u?ytkownik Brian West napisa?: > can you point out on the wiki that indicated you are able to dot his? ?You're mixing two concepts incorrectly here. > > For example you can't do "set" and exec the file to get the contents.. you can however on linux use "exec" instead of set. ?But your script needs to print it to stdout. ?Your example in your lua script is for the config engine in in lua thats like XML curl... in which case you're not building the full document like you should. ?Read thru the XML CURL docs if you want to do "XML_STRING = mydialplan". > > /b > > > On Feb 27, 2010, at 3:10 PM, michal kalinowski wrote: > >> Coming back to this case I create in lua some script with XML ivr. >> >> #!/usr/local/bin/lua >> >> mydialplan = [[ >> >> >> >> ? >> ? >> ?> ? ? ?greet-long="phrase:demo_ivr_main_menu" >> ? ? ?greet-short="phrase:demo_ivr_main_menu_short" >> ? ? ?invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav" >> ? ? ?exit-sound="voicemail/vm-goodbye.wav" >> ? ? ?confirm-macro="" >> ? ? ?confirm-key="" >> ? ? ?tts-engine="flite" >> ? ? ?tts-voice="rms" >> ? ? ?confirm-attempts="3" >> ? ? ?timeout="10000" >> ? ? ?inter-digit-timeout="2000" >> ? ? ?max-failures="3" >> ? ? ?max-timeouts="3" >> ? ? ?digit-len="4"> >> >> ? ? >> ? ? >> ? ? >> ? ? ? ? >> ? ? ? ? >> ? ? ? ? >> ? ? ? ? ? >> ? ? >> ? ? ? ? ? ? >> ? ? >> ? ?> param="transfer $1 XML features"/> >> ? ? ? ? ? ? ? >> ? >> >> >> ]] >> XML_STRING = mydialplan >> >> in dialplan I have context with this ivr >> >> ? >> >> ? ? >> ? ? >> ? ? ? ? >> ? ? ? ? >> ? ? >> >> ? >> >> in ivr.conf i have this >> >> >> ? >> ? ? ? ? >> ? >> >> >> but for some reasons Freeswitch say "2010-02-27 22:27:48.380342 [ERR] >> mod_dptools.c:1247 Unable to find menu" >> what I do wrong ? >> >> >> BR, >> Micha? > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 moises.silva at gmail.com Mon Mar 1 06:55:57 2010 From: moises.silva at gmail.com (Moises Silva) Date: Mon, 1 Mar 2010 09:55:57 -0500 Subject: [Freeswitch-users] smg_prid not bridging the call In-Reply-To: <7d79b3931002282216w2e2ec844q36d28b3f50423ec4@mail.gmail.com> References: <7d79b3931002252155t47c86968q9e451482926d93ac@mail.gmail.com> <7d79b3931002262057g3b325bctcdbcfb833d4aaf55@mail.gmail.com> <7d79b3931002262102w79e16ae1nd786600b44dfb758@mail.gmail.com> <7d79b3931002262113s49495e7cga59715f41fdbb35d@mail.gmail.com> <7d79b3931002282216w2e2ec844q36d28b3f50423ec4@mail.gmail.com> Message-ID: Hi again, On Mon, Mar 1, 2010 at 1:16 AM, lakshmanan ganapathy wrote: > Dear Moy, > That's didn't seem to solve the problem. > I gave the following command. > originate > {origination_caller_id_number=04439114600}openzap/smg_prid/a/9952248266 > &bridge({origination_caller_id_number=04439114600}openzap/smg_prid/a/9976975781) > The engineer in charge of the PRI daemon will be sending you an e-mail soon to fix your problem. Let me know if you don't get the e-mail today. -- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy at sangoma.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/cbba5dce/attachment-0001.html From mmg at transtelco.net Mon Mar 1 08:09:05 2010 From: mmg at transtelco.net (=?iso-8859-1?Q?Manuel_Mar=EDn?=) Date: Mon, 1 Mar 2010 11:09:05 -0500 Subject: [Freeswitch-users] High CPU usage on 1.0.5 Message-ID: <4502F03F8260234AB94179D6E1BDD0CF3F53555B40@VMBX113.ihostexchange.net> Dear freeswitch group I Just upgraded a system from 1.0.4 to 1.0.5 and we are seeing high CPU usage even if there are only a few calls on the system or no calls at all. We are running Debian with kernel 2.6.26-2-686 Anyone experimenting a similar issue? Version freeswitch at internal> version FreeSWITCH Version 1.0.5-20100225-0400 (16810M) Thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/b5c9c650/attachment.html From sos at sokhapkin.dyndns.org Mon Mar 1 08:32:32 2010 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Mon, 1 Mar 2010 11:32:32 -0500 Subject: [Freeswitch-users] High CPU usage 1.0.5 In-Reply-To: <4502F03F8260234AB94179D6E1BDD0CF3F53555A73@VMBX113.ihostexchange.net> References: <4502F03F8260234AB94179D6E1BDD0CF3F53555A73@VMBX113.ihostexchange.net> Message-ID: <201003011132.32415.sos@sokhapkin.dyndns.org> How much is "high" and on which CPU? On Monday 01 March 2010, Manuel Mar?n wrote: > Dear freeswitch group > > I Just upgraded a system from 1.0.4 to 1.0.5 and we are seeing high CPU > usage even if there are only a few calls on the system or no calls at all. > We are running Debian with kernel 2.6.26-2-686 > > Anyone experimenting a similar issue? > > > Thanks in advance > > > freeswitch at internal> version > FreeSWITCH Version 1.0.5-20100225-0400 (16810M) > > > > > > > Manuel Mar?n > Transtelco > US 1.915.2172232 > MX 52.656.6921109 > FAX 1.915.2311214 From brian at freeswitch.org Mon Mar 1 08:37:27 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 1 Mar 2010 10:37:27 -0600 Subject: [Freeswitch-users] High CPU usage 1.0.5 In-Reply-To: <201003011132.32415.sos@sokhapkin.dyndns.org> References: <4502F03F8260234AB94179D6E1BDD0CF3F53555A73@VMBX113.ihostexchange.net> <201003011132.32415.sos@sokhapkin.dyndns.org> Message-ID: Please type uname -a and give me the contents of /proc/cpuinfo /b On Mar 1, 2010, at 10:32 AM, Sergey Okhapkin wrote: > How much is "high" and on which CPU? From mmg at transtelco.net Mon Mar 1 08:41:26 2010 From: mmg at transtelco.net (=?utf-8?B?TWFudWVsIE1hcsOtbg==?=) Date: Mon, 1 Mar 2010 11:41:26 -0500 Subject: [Freeswitch-users] High CPU usage 1.0.5 In-Reply-To: <201003011132.32415.sos@sokhapkin.dyndns.org> References: <4502F03F8260234AB94179D6E1BDD0CF3F53555A73@VMBX113.ihostexchange.net> <201003011132.32415.sos@sokhapkin.dyndns.org> Message-ID: <4502F03F8260234AB94179D6E1BDD0CF3F53555B79@VMBX113.ihostexchange.net> Hi Sergey Attached you will find a screenshot of the CPU usage. There were only 22 calls running. Is it normal on release 1.0.5? processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.60GHz stepping : 1 cpu MHz : 3591.375 cache size : 1024 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 apicid : 0 initial apicid : 0 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pebs bts pni monitor ds_cpl est tm2 cid cx16 xtpr bogomips : 7188.28 clflush size : 64 power management: processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.60GHz stepping : 1 cpu MHz : 3591.375 cache size : 1024 KB physical id : 3 siblings : 2 core id : 0 cpu cores : 1 apicid : 6 initial apicid : 6 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pebs bts pni monitor ds_cpl est tm2 cid cx16 xtpr bogomips : 7182.45 clflush size : 64 power management: processor : 2 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.60GHz stepping : 1 cpu MHz : 3591.375 cache size : 1024 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 apicid : 1 initial apicid : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pebs bts pni monitor ds_cpl est tm2 cid cx16 xtpr bogomips : 7182.41 clflush size : 64 power management: processor : 3 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.60GHz stepping : 1 cpu MHz : 3591.375 cache size : 1024 KB physical id : 3 siblings : 2 core id : 0 cpu cores : 1 apicid : 7 initial apicid : 7 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pebs bts pni monitor ds_cpl est tm2 cid cx16 xtpr bogomips : 7182.46 clflush size : 64 power management: Manuel Mar?n Transtelco US 1.915.2172232 MX 52.656.6921109 FAX 1.915.2311214 -----Original Message----- From: Sergey Okhapkin [mailto:sos at sokhapkin.dyndns.org] Sent: Monday, March 01, 2010 9:33 AM To: freeswitch-users at lists.freeswitch.org Cc: Manuel Mar?n Subject: Re: [Freeswitch-users] High CPU usage 1.0.5 How much is "high" and on which CPU? On Monday 01 March 2010, Manuel Mar?n wrote: > Dear freeswitch group > > I Just upgraded a system from 1.0.4 to 1.0.5 and we are seeing high CPU > usage even if there are only a few calls on the system or no calls at all. > We are running Debian with kernel 2.6.26-2-686 > > Anyone experimenting a similar issue? > > > Thanks in advance > > > freeswitch at internal> version > FreeSWITCH Version 1.0.5-20100225-0400 (16810M) > > > > > > > Manuel Mar?n > Transtelco > US 1.915.2172232 > MX 52.656.6921109 > FAX 1.915.2311214 -------------- next part -------------- A non-text attachment was scrubbed... Name: cpu usage.JPG Type: image/jpeg Size: 95254 bytes Desc: cpu usage.JPG Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/1e78f853/attachment-0001.jpe From anthony.minessale at gmail.com Mon Mar 1 08:47:58 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 1 Mar 2010 10:47:58 -0600 Subject: [Freeswitch-users] Kernel timer warning with CentOS 5.4 In-Reply-To: References: Message-ID: <191c3a031003010847y5036817ekb19379e646dd8cb@mail.gmail.com> we are still wary about 5.3 due to bugs reported in libc. What number does it say it detected for the gap? On Sun, Feb 28, 2010 at 12:03 PM, Bruce Hopkins wrote: > OK - I've realised I do get the same warning with CentOS 5.3, it just goes > past more quickly so I didn't see it. Maybe it is just the hardware .... > > > On 28 February 2010 15:37, Bruce Hopkins wrote: > >> Hi, >> >> I wonder if anyone would be able to advise please: >> >> When I build FreeSWITCH on yum updated CentOS 5.4, I get a warning when I >> start FreeSWITCH that >> >> "Abnormally large timer gap detected" >> "Do you have your kernel timer set to greater than 1kHz? You may >> experience audio problems". >> >> I get no such warning if I build on CentOS 5.3, and the test timings it >> measures on starting FreeSWITCH do look lower. All I was doing to upgrade >> to Centos5.4 was a yum update on the 5.3 build. >> >> I guess the warning comes from here: >> http://fisheye.freeswitch.org/browse/~raw,r=16409/FreeSWITCH/src/switch_time.c >> >> This is all on pretty low spec hardware - a couple of different Dell >> optiplex p4's I use for testing. >> >> Does anyone happen to know if I should just stick to Cent)S 5.3, or use >> 5.4 and not worry about the warnings, or if there is something I can do to >> fix the problem it is warning about. Perhaps it is just that I shouldn't >> use such crummy hardware?! >> >> Many thanks in advance >> Bruce >> > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100301/68301bca/attachment.html From tomb at cachecomm.com Mon Mar 1 08:42:39 2010 From: tomb at cachecomm.com (Tom) Date: Mon, 01 Mar 2010 09:42:39 -0700 Subject: [Freeswitch-users] NAT issue? Message-ID: <4B8BEE7F.1030401@cachecomm.com> Voip Gods, I am a newbie to freeswitch i have a problem with nat i think . i can only get one sip phone to register with freeswitch here is my setup FS(public ip) -> internet ->NAT -> phones(priveta ip) . it will only register phone one . when freeswitch loads it says set ext-ip to my gateway IP . i know it something super stupid can some one give me a boot in the right direction Cheers Tom -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From brian at freeswitch.org Mon Mar 1 08:50:36 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 1 Mar 2010 10:50:36 -0600 Subject: [Freeswitch-users] High CPU usage 1.0.5 In-Reply-To: <4502F03F8260234AB94179D6E1BDD0CF3F53555B79@VMBX113.ihostexchange.net> References: <4502F03F8260234AB94179D6E1BDD0CF3F53555A73@VMBX113.ihostexchange.net> <201003011132.32415.sos@sokhapkin.dyndns.org> <4502F03F8260234AB94179D6E1BDD0CF3F53555B79@VMBX113.ihostexchange.net> Message-ID: Please output of uname -a? /b On Mar 1, 2010, at 10:41 AM, Manuel Mar?n wrote: > Attached you will find a screenshot of the CPU usage. There were only 22 calls running. Is it normal on release 1.0.5? From mmg at transtelco.net Mon Mar 1 08:53:10 2010 From: mmg at transtelco.net (=?utf-8?B?TWFudWVsIE1hcsOtbg==?=) Date: Mon, 1 Mar 2010 08:53:10 -0800 Subject: [Freeswitch-users] High CPU usage 1.0.5 Message-ID: <20100301085310.B5C9FD1D@resin15.mta.everyone.net> Brian Attached you will find the uname -a output rtpb2:/var/log# uname -a Linux rtpb2.transtelco.net 2.6.26-2-686 #1 SMP Wed Feb 10 08:59:21 UTC 2010 i686 GNU/Linux --- brian at freeswitch.org wrote: From: Brian West To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] High CPU usage 1.0.5 Date: Mon, 1 Mar 2010 10:37:27 -0600 Please type uname -a and give me the contents of /proc/cpuinfo /b On Mar 1, 2010, at 10:32 AM, Sergey Okhapkin wrote: > How much is "high" and on which CPU? _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 christian.loeschenkohl at xpirio.com Mon Mar 1 09:08:17 2010 From: christian.loeschenkohl at xpirio.com (=?ISO-8859-1?Q?Christian_L=F6schenkohl?=) Date: Mon, 01 Mar 2010 18:08:17 +0100 Subject: [Freeswitch-users] High CPU usage 1.0.5 In-Reply-To: <4502F03F8260234AB94179D6E1BDD0CF3F53555A73@VMBX113.ihostexchange.net> References: <4502F03F8260234AB94179D6E1BDD0CF3F53555A73@VMBX113.ihostexchange.net> Message-ID: <4B8BF481.5000400@xpirio.com> hello have you tried the -vm startup flag? anthony stated on an similar question (from me) --- If you have a box that has trouble with timing it could cost more resources. you can always run freeswitch -vm to use an alternate form of timing that may not manifest into the load average. --- i also use a new trunk version, after using -vm the load where normal again br On 2010-03-01 06:20, Manuel Mar?n wrote: > Dear freeswitch group > > I Just upgraded a system from 1.0.4 to 1.0.5 and we are seeing high CPU > usage even if there are only a few calls on the system or no calls at > all. We are running Debian with kernel 2.6.26-2-686 > > Anyone experimenting a similar issue? > > Thanks in advance > > freeswitch at internal> version > > FreeSWITCH Version 1.0.5-20100225-0400 (16810M) > > Manuel Mar?n > > Transtelco > > US 1.915.2172232 > > MX 52.656.6921109 > > FAX 1.915.2311214 > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Ing. Christian L?schenkohl Technische Leitung, Forschung & Entwicklung VoIP xpirio Telekommunikation & Service GmbH Lakeside B04 9020 Klagenfurt Austria T +43 (0) 5 77 11 - 1000 F +43 (0) 5 77 11 - 1002 E christian.loeschenkohl at xpirio.com From msc at freeswitch.org Mon Mar 1 09:24:56 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 1 Mar 2010 09:24:56 -0800 Subject: [Freeswitch-users] NAT issue? In-Reply-To: <4B8BEE7F.1030401@cachecomm.com> References: <4B8BEE7F.1030401@cachecomm.com> Message-ID: <87f2f3b91003010924p16400e10w67e3e90802f78075@mail.gmail.com> On Mon, Mar 1, 2010 at 8:42 AM, Tom wrote: > Voip Gods, > > I am a newbie to freeswitch i have a problem with nat i think . i can > only get one sip phone to register with freeswitch here is my setup > FS(public ip) -> internet ->NAT -> phones(priveta ip) . it will only > register phone one . when freeswitch loads it says set ext-ip to my > gateway IP . i know it something super stupid can some one give me a > boot in the right direction > > Cheers > Tom > > What device is performing the NAT? Make sure it doesn't have an ALG in there as well. See this new page that we have been updating: http://wiki.freeswitch.org/wiki/ALG Also, which phones are you using? -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/545ed741/attachment.html From mmg at transtelco.net Mon Mar 1 09:25:08 2010 From: mmg at transtelco.net (=?iso-8859-1?Q?Manuel_Mar=EDn?=) Date: Mon, 1 Mar 2010 12:25:08 -0500 Subject: [Freeswitch-users] High CPU usage 1.0.5 In-Reply-To: <4B8BF481.5000400@xpirio.com> References: <4502F03F8260234AB94179D6E1BDD0CF3F53555A73@VMBX113.ihostexchange.net> <4B8BF481.5000400@xpirio.com> Message-ID: <4502F03F8260234AB94179D6E1BDD0CF3F53555BBD@VMBX113.ihostexchange.net> Thanks Christian. I'll try with the -vm startup flag. I think that issue is related to timing because even if there are no calls running on the system the CPU load is 50-70% Manuel Mar?n Transtelco US 1.915.2172232 MX 52.656.6921109 FAX 1.915.2311214 -----Original Message----- From: Christian L?schenkohl [mailto:christian.loeschenkohl at xpirio.com] Sent: Monday, March 01, 2010 10:08 AM To: freeswitch-users at lists.freeswitch.org Cc: Manuel Mar?n Subject: Re: [Freeswitch-users] High CPU usage 1.0.5 hello have you tried the -vm startup flag? anthony stated on an similar question (from me) --- If you have a box that has trouble with timing it could cost more resources. you can always run freeswitch -vm to use an alternate form of timing that may not manifest into the load average. --- i also use a new trunk version, after using -vm the load where normal again br On 2010-03-01 06:20, Manuel Mar?n wrote: > Dear freeswitch group > > I Just upgraded a system from 1.0.4 to 1.0.5 and we are seeing high CPU > usage even if there are only a few calls on the system or no calls at > all. We are running Debian with kernel 2.6.26-2-686 > > Anyone experimenting a similar issue? > > Thanks in advance > > freeswitch at internal> version > > FreeSWITCH Version 1.0.5-20100225-0400 (16810M) > > Manuel Mar?n > > Transtelco > > US 1.915.2172232 > > MX 52.656.6921109 > > FAX 1.915.2311214 > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Ing. Christian L?schenkohl Technische Leitung, Forschung & Entwicklung VoIP xpirio Telekommunikation & Service GmbH Lakeside B04 9020 Klagenfurt Austria T +43 (0) 5 77 11 - 1000 F +43 (0) 5 77 11 - 1002 E christian.loeschenkohl at xpirio.com From codecomplete at free.fr Mon Mar 1 10:08:00 2010 From: codecomplete at free.fr (Fred-145) Date: Mon, 01 Mar 2010 19:08:00 +0100 Subject: [Freeswitch-users] [init.d script] Possible improvement? Message-ID: Hello I use the sample Init script in the wiki to have Freeswitch start automatically at boot-time on my test CentOS 5.4 host, but I notice that it takes several seconds for FS to be up and running before I can connect to it with fs_cli: ======== # /etc/init.d/freeswitch restart Shutting down freeswitch: [ OK ] Starting freeswitch: [ OK ] # fs_cli [ERROR] libs/esl/fs_cli.c:1181 main() Error Connecting [Socket Connection Error] ======== I don't know much about Init scripts: Is there a way to display some information so I know when the script is done and FS is ready accept commands from the CLI? Thank you. From anthony.minessale at gmail.com Mon Mar 1 10:38:59 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 1 Mar 2010 12:38:59 -0600 Subject: [Freeswitch-users] Announcement: FreeSWITCH Add Broadsoft SCA Support In-Reply-To: References: <87f2f3b91001111742k691966cfs82515db77c13d4d4@mail.gmail.com> <2F87B95C-EA23-4072-B845-3F7AE0617BE3@jerris.com> <191c3a031002190908r3922efccqc6d223a5fabd458b@mail.gmail.com> <8b1c9cda1002280947qcb5ec5anfeef645b447b1866@mail.gmail.com> <987F87B1-FA49-47B4-9823-5A7140459AFD@freeswitch.org> Message-ID: <191c3a031003011038y233bf1a5p62e00c0474f1d617@mail.gmail.com> I am trying my best not to be completely annoyed at the "somewhat limiting" remark after going over the countless hours I spent making sure this feature work and then being patient with 2 people insisting there was a bug when they both shared an identical misconfiguration. If we started doing DNS lookups everywhere so hostname could be interchanged with IP we would have large blocking all over the place when the DNS was not available and horribly messy code doing all the lookups. There was already an experiment called project asterisk that proved the flaws in this design approach. FreeSWITCH requires that you keep the hostname uniform for all configuration be it a domain name or an IP so long as its identical everywhere. an IP *is* a domain in sip it's not another form of some DNS lookup. On Sun, Feb 28, 2010 at 12:23 PM, Yehavi Bourvine wrote: > This is one of the most important feature my users want. They don't care > how I do it, they are just happy it works. > > Thanks! __Yehavi: > > 2010/2/28 Brian West > > Really? Come on guys... the feature is something you can't find elsewhere >> without paying and you're all still not totally pleased with it? >> >> /me shakes his head. >> >> We have already started talking about how to make the feature more robust. >> >> /b >> >> On Feb 28, 2010, at 11:56 AM, Yehavi Bourvine wrote: >> >> > Hello Gabe, >> > >> > I agree that this is somewhat limiting, but with Polycom's central >> provisioning (via XML files) I don't see this as a major drawback. >> > >> > __Yehavi: >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > -- 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 iax:guest at conference.freeswitch.org/888 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/20100301/b31ccd11/attachment-0001.html From msc at freeswitch.org Mon Mar 1 11:09:30 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 1 Mar 2010 11:09:30 -0800 Subject: [Freeswitch-users] ivr from mysql In-Reply-To: <7c74f5761003010351u4f3d41cbua3bbf4909c00b551@mail.gmail.com> References: <7c74f5761002150824i41a2ed5did008f36cbb4499a4@mail.gmail.com> <87f2f3b91002151002v6bbc3e7fgb67dd6d3e72a915@mail.gmail.com> <7c74f5761002151425g512fa685n13c58d8f4b894740@mail.gmail.com> <0FD30AAA-C2E2-4228-A09B-DB09F4E26811@avgs.ca> <7c74f5761002151525p7cc690ces632d46c6ab5e236c@mail.gmail.com> <7c74f5761002271310h7e925f7cy25dd69ba60b896ef@mail.gmail.com> <23CC9D8A-65D5-438F-B117-00FEC087418D@freeswitch.org> <7c74f5761003010351u4f3d41cbua3bbf4909c00b551@mail.gmail.com> Message-ID: <87f2f3b91003011109n2d817de9v96b491b40eacae32@mail.gmail.com> 2010/3/1 michal kalinowski > Thank's Brian > > So at this moment i have only clean configuration in lua without any XML. > > I get example from wiki: > > hash={["main"]=undef, > > ["name"]="top", > > ["greet_long"]="phrase:demo_ivr_main_menu", > > ["greet_short"]="phrase:demo_ivr_main_menu_short", > > ["invalid_sound"]="ivr/ivrthat_was_an_invalid_entry.wav", > > ["exit_sound"]="voicemail/vmgoodbye.wav", > > ["confirm_macro"]="undef", > > ["confirm_key"]="undef", > > ["confirm_attempts"]="3", > > ["inter_digit_timeout"]="2000", > > ["digit_len"]="1", > > ["timeout"]="10000", > ["max_failures"]="3" > } > top = freeswitch.IVRMenu(hash["main"], > hash["name"], > hash["greet_long"],hash["greet_short"], > hash["invalid_sound"], > hash["exit_sound"], > hash["confirm_macro"], > hash["confirm_key"], > hash["confirm_attempts"], > hash["inter_digit_timeout"], > hash["digit_len"], > hash["timeout"], > hash["max_failures"]); > > top:bindAction("menu-exec-app", "playback/tmp/swimp.raw","2"); > top:execute(session, "top"); > > But something is wrong freeswitch say > 2010-03-01 13:02:43.633721 [ERR] mod_lua.cpp:182 Error in IVRMenu > expected 16..16 args, got 13 > stack traceback: > [C]: in function 'IVRMenu' > /usr/local/freeswitch/scripts/ivr.lua:19: in main chunk > > What args FS expect? > I ran into this issue when I was converting the demo IVR to Lua. There are indeed 16 arguments but you've only got 13 of them. Here's a snippet from the Lua script I'm working on: ivr_def = { ["main"] = undef, ["name"] = "demo_ivr_lua", ["greet_long"] = "phrase:demo_ivr_main_menu", ["greet_short"] = "phrase:demo_ivr_main_menu_short", ["invalid_sound"] = "ivr/ivr-that_was_an_invalid_entry.wav", ["exit_sound"] = "voicemail/vm-goodbye.wav", ["confirm_macro"] = "", ["confirm_key"] = "", ["tts_engine"] = "flite", ["tts_voice"] = "rms", ["confirm_attempts"] = "3", ["inter_digit_timeout"] = "2000", ["digit_len"] = "4", ["timeout"] = "10000", ["max_failures"] = "3", ["max_timeouts"] = "2" } Those are all 16 arguments. Notice you need tts_engine, tts_voice, and max_timeouts. Try that and let us know how it goes. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/c9d27617/attachment.html From anthony.minessale at gmail.com Mon Mar 1 11:29:37 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 1 Mar 2010 13:29:37 -0600 Subject: [Freeswitch-users] NAT issue? In-Reply-To: <87f2f3b91003010924p16400e10w67e3e90802f78075@mail.gmail.com> References: <4B8BEE7F.1030401@cachecomm.com> <87f2f3b91003010924p16400e10w67e3e90802f78075@mail.gmail.com> Message-ID: <191c3a031003011129q777468d0ve852e3ad7363dd3a@mail.gmail.com> Lesson 1, NAT Issue is a redundant statement like Failure Problem On Mon, Mar 1, 2010 at 11:24 AM, Michael Collins wrote: > > > On Mon, Mar 1, 2010 at 8:42 AM, Tom wrote: > >> Voip Gods, >> >> I am a newbie to freeswitch i have a problem with nat i think . i can >> only get one sip phone to register with freeswitch here is my setup >> FS(public ip) -> internet ->NAT -> phones(priveta ip) . it will only >> register phone one . when freeswitch loads it says set ext-ip to my >> gateway IP . i know it something super stupid can some one give me a >> boot in the right direction >> >> Cheers >> Tom >> >> What device is performing the NAT? Make sure it doesn't have an ALG in > there as well. See this new page that we have been updating: > http://wiki.freeswitch.org/wiki/ALG > > Also, which phones are you using? > -MC > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100301/4749daa1/attachment.html From yehavi.bourvine at gmail.com Mon Mar 1 11:30:26 2010 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Mon, 1 Mar 2010 21:30:26 +0200 Subject: [Freeswitch-users] Announcement: FreeSWITCH Add Broadsoft SCA Support In-Reply-To: <191c3a031003011038y233bf1a5p62e00c0474f1d617@mail.gmail.com> References: <87f2f3b91001111742k691966cfs82515db77c13d4d4@mail.gmail.com> <2F87B95C-EA23-4072-B845-3F7AE0617BE3@jerris.com> <191c3a031002190908r3922efccqc6d223a5fabd458b@mail.gmail.com> <8b1c9cda1002280947qcb5ec5anfeef645b447b1866@mail.gmail.com> <987F87B1-FA49-47B4-9823-5A7140459AFD@freeswitch.org> <191c3a031003011038y233bf1a5p62e00c0474f1d617@mail.gmail.com> Message-ID: Hello Anthony, 2010/3/1 Anthony Minessale > I am trying my best not to be completely annoyed at the "somewhat limiting" > remark after going over the countless hours I spent making sure this feature > work and then being patient with 2 people insisting there was a bug when > they both shared an identical misconfiguration. > "somewhat limiting" was because my experiments up to now with Polycom and SIP/TLS were successfull with domain names only. However, I am going to inverstigate this further to see how this can work with IP only. In the meantime I've documented the required configuration under the Polycom wiki page. > If we started doing DNS lookups everywhere so hostname could be > interchanged with IP we would have large blocking all over the place when > the DNS was not available and horribly messy code doing all the lookups. > There was already an experiment called project asterisk that proved the > flaws in this design approach. > > I think that's why some of us move from Asterisk to FreeSwitch. I also preffer less to no DNS lookups on a critical system which must work even when there are some kinds of communication problems. Thanks, __Yehavi: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/cc9fec21/attachment.html From anthony.minessale at gmail.com Mon Mar 1 11:31:46 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 1 Mar 2010 13:31:46 -0600 Subject: [Freeswitch-users] High CPU usage 1.0.5 In-Reply-To: <4502F03F8260234AB94179D6E1BDD0CF3F53555BBD@VMBX113.ihostexchange.net> References: <4502F03F8260234AB94179D6E1BDD0CF3F53555A73@VMBX113.ihostexchange.net> <4B8BF481.5000400@xpirio.com> <4502F03F8260234AB94179D6E1BDD0CF3F53555BBD@VMBX113.ihostexchange.net> Message-ID: <191c3a031003011131q5ea99122w1b987ee0d94979a3@mail.gmail.com> update to SVN trunk where that option is now default. If you are getting a lot of cpu usage on an idle box, update both FS and upgrade or downgrade your kernel away from the "tickless bug" On Mon, Mar 1, 2010 at 11:25 AM, Manuel Mar?n wrote: > Thanks Christian. I'll try with the -vm startup flag. I think that issue is > related to timing because even if there are no calls running on the system > the CPU load is 50-70% > > > > > Manuel Mar?n > Transtelco > US 1.915.2172232 > MX 52.656.6921109 > FAX 1.915.2311214 > > > -----Original Message----- > From: Christian L?schenkohl [mailto:christian.loeschenkohl at xpirio.com] > Sent: Monday, March 01, 2010 10:08 AM > To: freeswitch-users at lists.freeswitch.org > Cc: Manuel Mar?n > Subject: Re: [Freeswitch-users] High CPU usage 1.0.5 > > hello > > have you tried the -vm startup flag? > > anthony stated on an similar question (from me) > --- > If you have a box that has trouble with timing it could cost more > resources. > you can always run freeswitch -vm to use an alternate form of timing that > may not manifest into the load average. > --- > > i also use a new trunk version, after using -vm the load where normal again > > br > > > On 2010-03-01 06:20, Manuel Mar?n wrote: > > > Dear freeswitch group > > > > I Just upgraded a system from 1.0.4 to 1.0.5 and we are seeing high CPU > > usage even if there are only a few calls on the system or no calls at > > all. We are running Debian with kernel 2.6.26-2-686 > > > > Anyone experimenting a similar issue? > > > > Thanks in advance > > > > freeswitch at internal> version > > > > FreeSWITCH Version 1.0.5-20100225-0400 (16810M) > > > > Manuel Mar?n > > > > Transtelco > > > > US 1.915.2172232 > > > > MX 52.656.6921109 > > > > FAX 1.915.2311214 > > > > > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > -- > Ing. Christian L?schenkohl > Technische Leitung, Forschung & Entwicklung VoIP > > xpirio > Telekommunikation & Service GmbH > Lakeside B04 > 9020 Klagenfurt > Austria > > T +43 (0) 5 77 11 - 1000 > F +43 (0) 5 77 11 - 1002 > E christian.loeschenkohl at xpirio.com > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100301/c7b7a121/attachment-0001.html From anthony.minessale at gmail.com Mon Mar 1 11:42:39 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 1 Mar 2010 13:42:39 -0600 Subject: [Freeswitch-users] Announcement: FreeSWITCH Add Broadsoft SCA Support In-Reply-To: References: <87f2f3b91001111742k691966cfs82515db77c13d4d4@mail.gmail.com> <191c3a031002190908r3922efccqc6d223a5fabd458b@mail.gmail.com> <8b1c9cda1002280947qcb5ec5anfeef645b447b1866@mail.gmail.com> <987F87B1-FA49-47B4-9823-5A7140459AFD@freeswitch.org> <191c3a031003011038y233bf1a5p62e00c0474f1d617@mail.gmail.com> Message-ID: <191c3a031003011142y296e5f14i7e6165123200b92d@mail.gmail.com> you can use names if you use *all names* you just can't mix, but all IP is much faster and safer because there is no need to do constant dns lookups on something that never changes anyway, you can easily alias your profile to a friendly name, it also makes it more portable. On Mon, Mar 1, 2010 at 1:30 PM, Yehavi Bourvine wrote: > Hello Anthony, > > > 2010/3/1 Anthony Minessale > >> I am trying my best not to be completely annoyed at the "somewhat >> limiting" remark after going over the countless hours I spent making sure >> this feature work and then being patient with 2 people insisting there was a >> bug when they both shared an identical misconfiguration. >> > "somewhat limiting" was because my experiments up to now with Polycom and > SIP/TLS were successfull with domain names only. However, I am going to > inverstigate this further to see how this can work with IP only. > > In the meantime I've documented the required configuration under the > Polycom wiki page. > > >> If we started doing DNS lookups everywhere so hostname could be >> interchanged with IP we would have large blocking all over the place when >> the DNS was not available and horribly messy code doing all the lookups. >> There was already an experiment called project asterisk that proved the >> flaws in this design approach. >> >> I think that's why some of us move from Asterisk to FreeSwitch. I also > preffer less to no DNS lookups on a critical system which must work even > when there are some kinds of communication problems. > > Thanks, __Yehavi: > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100301/b1a3e913/attachment.html From tomb at cachecomm.com Mon Mar 1 12:44:44 2010 From: tomb at cachecomm.com (Tom) Date: Mon, 01 Mar 2010 13:44:44 -0700 Subject: [Freeswitch-users] NAT issue? In-Reply-To: <87f2f3b91003010924p16400e10w67e3e90802f78075@mail.gmail.com> References: <4B8BEE7F.1030401@cachecomm.com> <87f2f3b91003010924p16400e10w67e3e90802f78075@mail.gmail.com> Message-ID: <4B8C273C.6010808@cachecomm.com> Michael Collins wrote: > > > On Mon, Mar 1, 2010 at 8:42 AM, Tom > wrote: > > Voip Gods, > > I am a newbie to freeswitch i have a problem with nat i think . i can > only get one sip phone to register with freeswitch here is my setup > FS(public ip) -> internet ->NAT -> phones(priveta ip) . it will only > register phone one . when freeswitch loads it says set ext-ip to my > gateway IP . i know it something super stupid can some one give > me a > boot in the right direction > > Cheers > Tom > > What device is performing the NAT? Make sure it doesn't have an ALG in > there as well. See this new page that we have been updating: > http://wiki.freeswitch.org/wiki/ALG > > Also, which phones are you using? > -MC > > > MC, the phone are both Aastra they are behind a netgear fvs338 which from your post are very bad. I will try to disable the ALG if i can and try again. Thanks for the help Cheers Tom -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From brian at freeswitch.org Mon Mar 1 12:51:22 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 1 Mar 2010 14:51:22 -0600 Subject: [Freeswitch-users] NAT issue? In-Reply-To: <4B8C273C.6010808@cachecomm.com> References: <4B8BEE7F.1030401@cachecomm.com> <87f2f3b91003010924p16400e10w67e3e90802f78075@mail.gmail.com> <4B8C273C.6010808@cachecomm.com> Message-ID: The only disable button on a netgear is to a sledge hammer and go buy something that doesn't mess with your SIP traffic :P /b On Mar 1, 2010, at 2:44 PM, Tom wrote: > MC, > the phone are both Aastra they are behind a netgear fvs338 which from > your post are very bad. I will try to disable the ALG if i can and try > again. > > Thanks for the help > > Cheers > Tom From gkuri at ieee.org Mon Mar 1 13:09:39 2010 From: gkuri at ieee.org (Gabriel Kuri) Date: Mon, 1 Mar 2010 13:09:39 -0800 Subject: [Freeswitch-users] Announcement: FreeSWITCH Add Broadsoft SCA Support In-Reply-To: <191c3a031003011142y296e5f14i7e6165123200b92d@mail.gmail.com> References: <87f2f3b91001111742k691966cfs82515db77c13d4d4@mail.gmail.com> <191c3a031002190908r3922efccqc6d223a5fabd458b@mail.gmail.com> <8b1c9cda1002280947qcb5ec5anfeef645b447b1866@mail.gmail.com> <987F87B1-FA49-47B4-9823-5A7140459AFD@freeswitch.org> <191c3a031003011038y233bf1a5p62e00c0474f1d617@mail.gmail.com> <191c3a031003011142y296e5f14i7e6165123200b92d@mail.gmail.com> Message-ID: <8b1c9cda1003011309q598c88d7kb89d7f901f2551ca@mail.gmail.com> Hi Anthony, I appreciate all the hard work yourself, Brian, Mike and all the other developers have put in FS! By no means am I discounting any of it, it's truly invaluable. Our "philosophy" has always been to use DNS where available, so that we're not worrying about re-configuring a bunch of devices if IP addresses change and this obviously goes to setting the phones up as well to use DNS for the proxy and registrar fields. And it allows us to do fancy things, like split-view DNS, where if a phone is taken off-site and we want it to remotely register to FS, it will get the public IP address of the FS server, rather than the private, without re-configuring the phone. If I'm understanding your email correctly, you're saying we need to use all IP or all DNS for SLA, is that correct? AFAIK, we're using all DNS, but perhaps I'm missing something somewhere. How would we be able to use the DNS name of our SIP domain in phones (rather than IP) and ensure SLA works for both incoming/outgoing calls? Is that possible at this point in time or do we need to use the IP addresses in the proxy field on the phone if we want to use SLA? Thanks for all your help. Gabriel Kuri On Mon, Mar 1, 2010 at 11:42 AM, Anthony Minessale wrote: > you can use names if you use *all names* > you just can't mix, but all IP is much faster and safer because there is no > need to do constant dns lookups on something that never changes anyway, you > can easily alias your profile to a friendly name, it also makes it more > portable. > > > > > On Mon, Mar 1, 2010 at 1:30 PM, Yehavi Bourvine > wrote: >> >> Hello Anthony, >> >> 2010/3/1 Anthony Minessale >>> >>> I am trying my best not to be completely annoyed at the "somewhat >>> limiting" remark after going over the countless hours I spent making sure >>> this feature work and then being patient with 2 people insisting there was a >>> bug when they both shared an identical misconfiguration. >> >> "somewhat limiting" was because my experiments up to now with Polycom and >> SIP/TLS were successfull with domain names only. However, I am going to >> inverstigate this further to see how this can work with IP only. >> >> In the meantime I've documented the required configuration under the >> Polycom wiki page. >> >>> >>> If we started doing DNS lookups everywhere so hostname could be >>> interchanged with IP we would have large blocking all over the place when >>> the DNS was not available and horribly messy code doing all the lookups. >>> There was already an experiment called project asterisk that proved the >>> flaws in this design approach. >>> >> I think that's why some of us move from Asterisk to FreeSwitch. I also >> preffer less to no DNS lookups on a critical system which must?work even >> when there are some kinds of communication problems. >> >> ????????????????????? Thanks, __Yehavi: >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Mar 1 13:22:55 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 1 Mar 2010 15:22:55 -0600 Subject: [Freeswitch-users] Announcement: FreeSWITCH Add Broadsoft SCA Support In-Reply-To: <8b1c9cda1003011309q598c88d7kb89d7f901f2551ca@mail.gmail.com> References: <87f2f3b91001111742k691966cfs82515db77c13d4d4@mail.gmail.com> <8b1c9cda1002280947qcb5ec5anfeef645b447b1866@mail.gmail.com> <987F87B1-FA49-47B4-9823-5A7140459AFD@freeswitch.org> <191c3a031003011038y233bf1a5p62e00c0474f1d617@mail.gmail.com> <191c3a031003011142y296e5f14i7e6165123200b92d@mail.gmail.com> <8b1c9cda1003011309q598c88d7kb89d7f901f2551ca@mail.gmail.com> Message-ID: <191c3a031003011322i54e57ae6n1c8d9a9dc55a42b8@mail.gmail.com> I really want to be done with this thread...... You were using the IP in some places and the hostnames in others, this makes it so the SQL statements not match because sql statements cannot do dns lookups. I will not be doing any work to resolve hostnames back and forth to IP inside FS. The subscribes were using the hostname and the db and invites were using the IP. you have to have the same exact domain in your user directory and have the force-register-domain and force-register-domain-db also set to that value or omit them completely and use the domain names in 100% of the config fields on the phone. On Mon, Mar 1, 2010 at 3:09 PM, Gabriel Kuri wrote: > Hi Anthony, > > I appreciate all the hard work yourself, Brian, Mike and all the other > developers have put in FS! By no means am I discounting any of it, > it's truly invaluable. > > Our "philosophy" has always been to use DNS where available, so that > we're not worrying about re-configuring a bunch of devices if IP > addresses change and this obviously goes to setting the phones up as > well to use DNS for the proxy and registrar fields. And it allows us > to do fancy things, like split-view DNS, where if a phone is taken > off-site and we want it to remotely register to FS, it will get the > public IP address of the FS server, rather than the private, without > re-configuring the phone. > > If I'm understanding your email correctly, you're saying we need to > use all IP or all DNS for SLA, is that correct? AFAIK, we're using all > DNS, but perhaps I'm missing something somewhere. How would we be able > to use the DNS name of our SIP domain in phones (rather than IP) and > ensure SLA works for both incoming/outgoing calls? Is that possible at > this point in time or do we need to use the IP addresses in the proxy > field on the phone if we want to use SLA? > > Thanks for all your help. > > Gabriel Kuri > > > On Mon, Mar 1, 2010 at 11:42 AM, Anthony Minessale > wrote: > > you can use names if you use *all names* > > you just can't mix, but all IP is much faster and safer because there is > no > > need to do constant dns lookups on something that never changes anyway, > you > > can easily alias your profile to a friendly name, it also makes it more > > portable. > > > > > > > > > > On Mon, Mar 1, 2010 at 1:30 PM, Yehavi Bourvine < > yehavi.bourvine at gmail.com> > > wrote: > >> > >> Hello Anthony, > >> > >> 2010/3/1 Anthony Minessale > >>> > >>> I am trying my best not to be completely annoyed at the "somewhat > >>> limiting" remark after going over the countless hours I spent making > sure > >>> this feature work and then being patient with 2 people insisting there > was a > >>> bug when they both shared an identical misconfiguration. > >> > >> "somewhat limiting" was because my experiments up to now with Polycom > and > >> SIP/TLS were successfull with domain names only. However, I am going to > >> inverstigate this further to see how this can work with IP only. > >> > >> In the meantime I've documented the required configuration under the > >> Polycom wiki page. > >> > >>> > >>> If we started doing DNS lookups everywhere so hostname could be > >>> interchanged with IP we would have large blocking all over the place > when > >>> the DNS was not available and horribly messy code doing all the > lookups. > >>> There was already an experiment called project asterisk that proved the > >>> flaws in this design approach. > >>> > >> I think that's why some of us move from Asterisk to FreeSwitch. I also > >> preffer less to no DNS lookups on a critical system which must work even > >> when there are some kinds of communication problems. > >> > >> Thanks, __Yehavi: > >> > >> _______________________________________________ > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at 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 > > iax:guest at conference.freeswitch.org/888 > > googletalk:conf+888 at conference.freeswitch.org > > pstn:+19193869900 > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 > -- 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 iax:guest at conference.freeswitch.org/888 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/20100301/43eb2aaf/attachment-0001.html From wchao at yahoo.com Mon Mar 1 13:31:29 2010 From: wchao at yahoo.com (Wellie Chao) Date: Mon, 1 Mar 2010 16:31:29 -0500 (EST) Subject: [Freeswitch-users] Bug in mod_commands.c with show calls command Message-ID: I am using the xml_rpc interface like so: http://192.168.1.1:8080/webapi/show?calls I get a response in a table, which is a little bit undesirable because I want to parse the result in a program and don't want to parse a bunch of HTML (just seems inelegant and wasteful), so I instead tried the following request: http://192.168.1.1:8080/txtapi/show?calls That works better, but then another wrinkle appears. Caller ID (and Callee ID) names sometimes have commas, which messes up the CSV. This appears to be a bug in mod_commands.c (or I suppose you could call it an artifact of somebody coding up something quickly and not worrying about the absolute correctness of something that is not critical to the core). There is also another bug with show calls via webapi in that the generated HTML has spurious tags. I think the spurious tag bug arises due to lines 3145-6 in mod/applications/mod_commands/mod_commands.c. Finally, another bug (or maybe just unimplemented feature) is that xmlapl isn't really different from webapi. These problems occur in the latest source tree (20100301). I am wondering if (a) one of the developers can fix these or (b) if I fix the bugs, how can I submit patches [and if I submit patches, will they be accepted into the main tree]? The fixes are pretty trivial and I'd be happy to code them up if somebody will tell me how I can submit the patches (haven't done it before). From m.sobkow at marketelsystems.com Mon Mar 1 13:34:15 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Mon, 01 Mar 2010 15:34:15 -0600 Subject: [Freeswitch-users] How to tell if a call timed out Message-ID: <4B8C32D7.40202@marketelsystems.com> I'm using the originate command from Erlang, specifying a timeout of 30 seconds. It is properly giving up on dialing, but it's still returning a call UUID instead of an error/timed out status. How can I query Freeswitch to determine whether the call was answered or timed out, without resorting to the event interface? (I could put together a dialplan that calls the event interface after doing the originate, but from what I've seen that event interface won't execute if the previous command "fails", such as when I did a play_and_get_digits timing out.) -- Mark Sobkow Senior Developer MarkeTel Multi-Line Dialing Systems LTD. 428 Victoria Ave Regina, SK S4N-0P6 Toll-Free: 800-289-8616-X533 Local: 306-359-6893-X533 Fax: 306-359-6879 Email: m.sobkow at marketelsystems.com Web: http://www.marketelsystems.com From brian at freeswitch.org Mon Mar 1 13:48:45 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 1 Mar 2010 15:48:45 -0600 Subject: [Freeswitch-users] Bug in mod_commands.c with show calls command In-Reply-To: References: Message-ID: <777F5906-C26D-4D22-B238-426CB833B88A@freeswitch.org> Just off the top of my head have you tried /xmlapi/? or read the wiki page on this? http://wiki.freeswitch.org/wiki/Mod_xml_rpc and "show calls as xml"? /b On Mar 1, 2010, at 3:31 PM, Wellie Chao wrote: > I am using the xml_rpc interface like so: > > http://192.168.1.1:8080/webapi/show?calls > > I get a response in a table, which is a little bit undesirable because I > want to parse the result in a program and don't want to parse a bunch of > HTML (just seems inelegant and wasteful), so I instead tried the following > request: > > http://192.168.1.1:8080/txtapi/show?calls > > That works better, but then another wrinkle appears. Caller ID (and Callee > ID) names sometimes have commas, which messes up the CSV. > > This appears to be a bug in mod_commands.c (or I suppose you could call it > an artifact of somebody coding up something quickly and not worrying about > the absolute correctness of something that is not critical to the core). > There is also another bug with show calls via webapi in that the generated > HTML has spurious tags. I think the spurious tag bug arises due > to lines 3145-6 in mod/applications/mod_commands/mod_commands.c. Finally, > another bug (or maybe just unimplemented feature) is that xmlapl isn't > really different from webapi. > > These problems occur in the latest source tree (20100301). > > I am wondering if (a) one of the developers can fix these or (b) if I fix > the bugs, how can I submit patches [and if I submit patches, will they be > accepted into the main tree]? > > The fixes are pretty trivial and I'd be happy to code them up if somebody > will tell me how I can submit the patches (haven't done it before). -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/c8f63c7b/attachment.html From msc at freeswitch.org Mon Mar 1 13:52:41 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 1 Mar 2010 13:52:41 -0800 Subject: [Freeswitch-users] Bug in mod_commands.c with show calls command In-Reply-To: References: Message-ID: <87f2f3b91003011352r6ee2189em48926d5fb3e45346@mail.gmail.com> On Mon, Mar 1, 2010 at 1:31 PM, Wellie Chao wrote: > I am using the xml_rpc interface like so: > > http://192.168.1.1:8080/webapi/show?calls > > I get a response in a table, which is a little bit undesirable because I > want to parse the result in a program and don't want to parse a bunch of > HTML (just seems inelegant and wasteful), so I instead tried the following > request: > > http://192.168.1.1:8080/txtapi/show?calls > > That works better, but then another wrinkle appears. Caller ID (and Callee > ID) names sometimes have commas, which messes up the CSV. > > This appears to be a bug in mod_commands.c (or I suppose you could call it > an artifact of somebody coding up something quickly and not worrying about > the absolute correctness of something that is not critical to the core). > There is also another bug with show calls via webapi in that the generated > HTML has spurious tags. I think the spurious tag bug arises due > to lines 3145-6 in mod/applications/mod_commands/mod_commands.c. Finally, > another bug (or maybe just unimplemented feature) is that xmlapl isn't > really different from webapi. > > These problems occur in the latest source tree (20100301). > > I am wondering if (a) one of the developers can fix these or (b) if I fix > the bugs, how can I submit patches [and if I submit patches, will they be > accepted into the main tree]? > > The fixes are pretty trivial and I'd be happy to code them up if somebody > will tell me how I can submit the patches (haven't done it before). > Go to jira.freeswitch.org and sign up for an account. You can open an issue, assign it to yourself, and then submit a patch. Be sure to upload .txt files and not tar, gz, or bz2! Also, check out the bug reporting tips on this page: http://wiki.freeswitch.org/wiki/Reporting_Bugs It gives some more details on reporting bugs and the things that you should be doing. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/b55734ef/attachment.html From brian at freeswitch.org Mon Mar 1 13:56:32 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 1 Mar 2010 15:56:32 -0600 Subject: [Freeswitch-users] Bug in mod_commands.c with show calls command In-Reply-To: <87f2f3b91003011352r6ee2189em48926d5fb3e45346@mail.gmail.com> References: <87f2f3b91003011352r6ee2189em48926d5fb3e45346@mail.gmail.com> Message-ID: <6E086D9C-0968-4E86-B954-8247FD6B32E4@freeswitch.org> He should be doing "show channels as xml" via XML API if he wants to parse them. .. or better yet doing it via real XMLRPC. ;) /b On Mar 1, 2010, at 3:52 PM, Michael Collins wrote: > Go to jira.freeswitch.org and sign up for an account. You can open an issue, assign it to yourself, and then submit a patch. Be sure to upload .txt files and not tar, gz, or bz2! Also, check out the bug reporting tips on this page: > http://wiki.freeswitch.org/wiki/Reporting_Bugs > > It gives some more details on reporting bugs and the things that you should be doing. > -MC > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/9c1dafb5/attachment.html From andrew at hijacked.us Mon Mar 1 14:15:24 2010 From: andrew at hijacked.us (Andrew Thompson) Date: Mon, 1 Mar 2010 17:15:24 -0500 Subject: [Freeswitch-users] How to tell if a call timed out In-Reply-To: <4B8C32D7.40202@marketelsystems.com> References: <4B8C32D7.40202@marketelsystems.com> Message-ID: <20100301221524.GB1751@hijacked.us> On Mon, Mar 01, 2010 at 03:34:15PM -0600, Mark Sobkow wrote: > I'm using the originate command from Erlang, specifying a timeout of 30 > seconds. It is properly giving up on dialing, but it's still returning > a call UUID instead of an error/timed out status. > How are you doing an originate, and what 'UUID' are you getting back? The way I do it is I do an bgapi originate with origination_uuid set and I poll for that UUID 10 times every 100 milliseconds to see if its up. Even if you originate a channel that's going to ring out the channel will be up for that period and so you can connect to it and receive the HANGUP event with the cause code to see what happened. See the init() function in http://github.com/Vagabond/OpenACD/blob/master/src/freeswitch_ring.erl for an example. Its ugly but effective. Andrew From msc at freeswitch.org Mon Mar 1 14:29:18 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 1 Mar 2010 14:29:18 -0800 Subject: [Freeswitch-users] Detecting Energy Levels on a Channel with mod_lua In-Reply-To: <4256bf831002280336vb7268e2oe48b0f74bac335f8@mail.gmail.com> References: <4256bf831002280336vb7268e2oe48b0f74bac335f8@mail.gmail.com> Message-ID: <87f2f3b91003011429i6b228bddm176e26045c724cab@mail.gmail.com> On Sun, Feb 28, 2010 at 3:36 AM, Matthew Fong wrote: > Is there anyway to detect energy levels on a channel that is being > controlled by mod_lua? Please point me in the right direction if there is. > Thanks. > > Is there a way to do it on a channel that is not controlled by Lua?! -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/fca6fb25/attachment-0001.html From robert.hadley at teotech.com Mon Mar 1 14:44:21 2010 From: robert.hadley at teotech.com (Robert Hadley) Date: Mon, 1 Mar 2010 14:44:21 -0800 Subject: [Freeswitch-users] Freeswitch/Openzap dials out on disconnected FXOline In-Reply-To: <4DF42CB92831454193CEC0E375E06725@greyhawk.tonecommander.com> References: <4DF42CB92831454193CEC0E375E06725@greyhawk.tonecommander.com> Message-ID: <7524ABB6A6684383A76BB9E8B55C679A@greyhawk.tonecommander.com> Using a Sangoma A200 FXO card, is there any way for Freeswitch to automatically detect a disconnected CO line and use another FXO channel? Thanks, Robert _____ From: Robert Hadley [mailto:robert.hadley at teotech.com] Sent: Thursday, February 25, 2010 4:13 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Freeswitch/Openzap dials out on disconnected FXOline When dialing out, Freeswitch/Openzap is not detecting that an analog FXO channel is disconnected and tries dialing out on the channel anyway. No error is reported. The call doesn't timeout until a minute later. Shouldn't Freeswitch/Openzap skip over a disconnected channel to the next connected channel? I have configured a Sangoma A200 FXO card as a FXO span. [span wanpipe FXO] name => PSTN Line 1 number => 4253491059 fxo-channel => 2:3 name => PSTN Line 2 number => 4253491058 fxo-channel => 2:4 The wanpipe driver does detect and report when a CO line is connected or disconnected (in /var/log/messages), and Freeswitch/Openzap gets an event as reported in the log. /var/log/messages: Feb 25 15:23:10 roberth-c53 kernel: wanpipe2: Module 3: FXO Line is disconnected! FS_CLI: 2010-02-25 15:23:10.711604 [DEBUG] ozmod_analog.c:788 EVENT [ALARM_TRAP][3:1] STATE [DOWN] /var/log/messages: Feb 25 15:23:44 roberth-c53 kernel: wanpipe2: Module 4: FXO Line is connected! FS_CLI: 2010-02-25 15:23:44.901979 [DEBUG] ozmod_analog.c:788 EVENT [ALARM_CLEAR][3:2] STATE [DOWN] I have the dialplan configured to use the next available port in the FXO span (there will be more than 2 channels later). Here is a portion of the log when that shows dialing out on a disconnected analog FXO channel. EXECUTE sofia/internal/5410 at 192.168.72.45:5060 bridge(openzap/FXO/a/93491045) 2010-02-25 15:26:17.891443 [DEBUG] mod_openzap.c:366 Set codec PCMU 20ms 2010-02-25 15:26:17.891443 [DEBUG] mod_openzap.c:1257 Connect outbound channel OpenZAP/3:1/93491045 2010-02-25 15:26:17.891443 [NOTICE] switch_channel.c:642 New Channel OpenZAP/3:1/93491045 [3c8f46f5-77a8-498f-a51c-015837746cb7] 2010-02-25 15:26:17.891443 [DEBUG] mod_openzap.c:1269 (OpenZAP/3:1/93491045) State Change CS_NEW -> CS_INIT 2010-02-25 15:26:17.891443 [DEBUG] switch_core_session.c:1019 Send signal OpenZAP/3:1/93491045 [BREAK] 2010-02-25 15:26:17.891443 [DEBUG] ozmod_analog.c:59 Changing state on 3:1 from DOWN to DIALING 2010-02-25 15:26:17.891443 [WARNING] switch_core_session.c:486 OpenZAP/3:1/93491045 does not support the proxy feature, disabling. 2010-02-25 15:26:17.891443 [DEBUG] ozmod_analog.c:279 ANALOG CHANNEL thread starting. 2010-02-25 15:26:17.891443 [DEBUG] ozmod_analog.c:450 Executing state handler on 3:1 for DIALING 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:314 (OpenZAP/3:1/93491045) Running State Change CS_INIT 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:338 (OpenZAP/3:1/93491045) State INIT 2010-02-25 15:26:17.891443 [DEBUG] mod_openzap.c:394 (OpenZAP/3:1/93491045) State Change CS_INIT -> CS_ROUTING 2010-02-25 15:26:17.891443 [DEBUG] switch_core_session.c:1019 Send signal OpenZAP/3:1/93491045 [BREAK] 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:338 (OpenZAP/3:1/93491045) State INIT going to sleep 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:314 (OpenZAP/3:1/93491045) Running State Change CS_ROUTING 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:341 (OpenZAP/3:1/93491045) State ROUTING 2010-02-25 15:26:17.891443 [DEBUG] mod_openzap.c:417 OpenZAP/3:1/93491045 CHANNEL ROUTING 2010-02-25 15:26:17.891443 [DEBUG] switch_ivr_originate.c:66 (OpenZAP/3:1/93491045) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2010-02-25 15:26:17.891443 [DEBUG] switch_core_session.c:1019 Send signal OpenZAP/3:1/93491045 [BREAK] 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:341 (OpenZAP/3:1/93491045) State ROUTING going to sleep 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:314 (OpenZAP/3:1/93491045) Running State Change CS_CONSUME_MEDIA 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:360 (OpenZAP/3:1/93491045) State CONSUME_MEDIA 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:360 (OpenZAP/3:1/93491045) State CONSUME_MEDIA going to sleep Thanks, Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/4cb9ccc0/attachment.html From mrene_lists at avgs.ca Mon Mar 1 14:59:31 2010 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Mon, 1 Mar 2010 17:59:31 -0500 Subject: [Freeswitch-users] Detecting Energy Levels on a Channel with mod_lua In-Reply-To: <87f2f3b91003011429i6b228bddm176e26045c724cab@mail.gmail.com> References: <4256bf831002280336vb7268e2oe48b0f74bac335f8@mail.gmail.com> <87f2f3b91003011429i6b228bddm176e26045c724cab@mail.gmail.com> Message-ID: <0FF93093-1543-4331-AB2A-BFC8BA5CFA55@avgs.ca> An easy way is to do an average of the absolute value of each L16 sample over a period of time. Im not quite sure how to access audio channels from within Lua but if you are in C you can use switch_core_session_read_frame() to get audio frames. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 1-Mar-10, at 5:29 PM, Michael Collins wrote: > > > On Sun, Feb 28, 2010 at 3:36 AM, Matthew Fong > wrote: > Is there anyway to detect energy levels on a channel that is being > controlled by mod_lua? Please point me in the right direction if > there is. Thanks. > > Is there a way to do it on a channel that is not controlled by Lua?! > -MC > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/292351db/attachment-0001.html From anthony.minessale at gmail.com Mon Mar 1 15:24:16 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 1 Mar 2010 17:24:16 -0600 Subject: [Freeswitch-users] Bug in mod_commands.c with show calls command In-Reply-To: References: Message-ID: <191c3a031003011524o618a139frccab554c1c97d334@mail.gmail.com> Perhaps you may be reading up on something quickly and not worrying about the absolute correctness of something that is not critical to our time to explain. The proper syntax for the command is "show calls as xml" and you are not really using XMLRPC you are hitting it via direct url. so you will then need. http://192.168.1.1:8080/txtapi/show?calls%20as%20xml anything in the show command can be replied to with "as xml" also, for fun, try show calls as csv ::: On Mon, Mar 1, 2010 at 3:31 PM, Wellie Chao wrote: > I am using the xml_rpc interface like so: > > http://192.168.1.1:8080/webapi/show?calls > > I get a response in a table, which is a little bit undesirable because I > want to parse the result in a program and don't want to parse a bunch of > HTML (just seems inelegant and wasteful), so I instead tried the following > request: > > http://192.168.1.1:8080/txtapi/show?calls > > That works better, but then another wrinkle appears. Caller ID (and Callee > ID) names sometimes have commas, which messes up the CSV. > > This appears to be a bug in mod_commands.c (or I suppose you could call it > an artifact of somebody coding up something quickly and not worrying about > the absolute correctness of something that is not critical to the core). > There is also another bug with show calls via webapi in that the generated > HTML has spurious tags. I think the spurious tag bug arises due > to lines 3145-6 in mod/applications/mod_commands/mod_commands.c. Finally, > another bug (or maybe just unimplemented feature) is that xmlapl isn't > really different from webapi. > > These problems occur in the latest source tree (20100301). > > I am wondering if (a) one of the developers can fix these or (b) if I fix > the bugs, how can I submit patches [and if I submit patches, will they be > accepted into the main tree]? > > The fixes are pretty trivial and I'd be happy to code them up if somebody > will tell me how I can submit the patches (haven't done it before). > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100301/6e0e4a46/attachment.html From tculjaga at gmail.com Mon Mar 1 15:37:42 2010 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Tue, 2 Mar 2010 00:37:42 +0100 Subject: [Freeswitch-users] NAT issue? In-Reply-To: References: <4B8BEE7F.1030401@cachecomm.com> <87f2f3b91003010924p16400e10w67e3e90802f78075@mail.gmail.com> <4B8C273C.6010808@cachecomm.com> Message-ID: <65d96fc81003011537kb5fd4c7xdb5df0b83fba3482@mail.gmail.com> what about changing the destination ports on FS .. 5080 instead of 5060 ... and make your phone register on that? I think it could trick the router. T. On Mon, Mar 1, 2010 at 9:51 PM, Brian West wrote: > The only disable button on a netgear is to a sledge hammer and go buy > something that doesn't mess with your SIP traffic :P > > /b > > On Mar 1, 2010, at 2:44 PM, Tom wrote: > > > MC, > > the phone are both Aastra they are behind a netgear fvs338 which from > > your post are very bad. I will try to disable the ALG if i can and try > > again. > > > > Thanks for the help > > > > Cheers > > Tom > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/19faf3ac/attachment.html From brian at freeswitch.org Mon Mar 1 15:52:05 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 1 Mar 2010 17:52:05 -0600 Subject: [Freeswitch-users] NAT issue? In-Reply-To: <65d96fc81003011537kb5fd4c7xdb5df0b83fba3482@mail.gmail.com> References: <4B8BEE7F.1030401@cachecomm.com> <87f2f3b91003010924p16400e10w67e3e90802f78075@mail.gmail.com> <4B8C273C.6010808@cachecomm.com> <65d96fc81003011537kb5fd4c7xdb5df0b83fba3482@mail.gmail.com> Message-ID: <77FA7E8F-EACD-4262-A27D-ED11674E82B5@freeswitch.org> Unless its EVIL and looks at all ports like some of them do. :P /b On Mar 1, 2010, at 5:37 PM, Tihomir Culjaga wrote: > what about changing the destination ports on FS .. 5080 instead of 5060 ... and make your phone register on that? > > I think it could trick the router. > > T. From msc at freeswitch.org Mon Mar 1 16:15:12 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 1 Mar 2010 16:15:12 -0800 Subject: [Freeswitch-users] Detecting Energy Levels on a Channel with mod_lua In-Reply-To: <0FF93093-1543-4331-AB2A-BFC8BA5CFA55@avgs.ca> References: <4256bf831002280336vb7268e2oe48b0f74bac335f8@mail.gmail.com> <87f2f3b91003011429i6b228bddm176e26045c724cab@mail.gmail.com> <0FF93093-1543-4331-AB2A-BFC8BA5CFA55@avgs.ca> Message-ID: <87f2f3b91003011615v305783cfw154e177c590d6e9@mail.gmail.com> On Mon, Mar 1, 2010 at 2:59 PM, Mathieu Rene wrote: > An easy way is to do an average of the absolute value of each L16 sample > over a period of time. Im not quite sure how to access audio channels from > within Lua but if you are in C you can use switch_core_session_read_frame() > to get audio frames. > Show off! :) Related question: do media bugs allow you to access this kind of information? Just curious... -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/791c5d9e/attachment.html From mrene_lists at avgs.ca Mon Mar 1 16:20:47 2010 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Mon, 1 Mar 2010 19:20:47 -0500 Subject: [Freeswitch-users] Detecting Energy Levels on a Channel with mod_lua In-Reply-To: <87f2f3b91003011615v305783cfw154e177c590d6e9@mail.gmail.com> References: <4256bf831002280336vb7268e2oe48b0f74bac335f8@mail.gmail.com> <87f2f3b91003011429i6b228bddm176e26045c724cab@mail.gmail.com> <0FF93093-1543-4331-AB2A-BFC8BA5CFA55@avgs.ca> <87f2f3b91003011615v305783cfw154e177c590d6e9@mail.gmail.com> Message-ID: <8D25A218-B53B-48B2-BBF3-2E6ABA9E161B@avgs.ca> Media bugs allow you to get a channel's audio so you can use that yeah. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 1-Mar-10, at 7:15 PM, Michael Collins wrote: > > > On Mon, Mar 1, 2010 at 2:59 PM, Mathieu Rene > wrote: > An easy way is to do an average of the absolute value of each L16 > sample over a period of time. Im not quite sure how to access audio > channels from within Lua but if you are in C you can use > switch_core_session_read_frame() to get audio frames. > > Show off! :) Related question: do media bugs allow you to access > this kind of information? Just curious... > -MC > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/d4537c45/attachment.html From tomb at cachecomm.com Mon Mar 1 16:24:14 2010 From: tomb at cachecomm.com (Tom) Date: Mon, 01 Mar 2010 17:24:14 -0700 Subject: [Freeswitch-users] NAT issue? In-Reply-To: <65d96fc81003011537kb5fd4c7xdb5df0b83fba3482@mail.gmail.com> References: <4B8BEE7F.1030401@cachecomm.com> <87f2f3b91003010924p16400e10w67e3e90802f78075@mail.gmail.com> <4B8C273C.6010808@cachecomm.com> <65d96fc81003011537kb5fd4c7xdb5df0b83fba3482@mail.gmail.com> Message-ID: <4B8C5AAE.2030908@cachecomm.com> Tihomir Culjaga wrote: > what about changing the destination ports on FS .. 5080 instead of > 5060 ... and make your phone register on that? > > I think it could trick the router. > > T. > > On Mon, Mar 1, 2010 at 9:51 PM, Brian West > wrote: > > The only disable button on a netgear is to a sledge hammer and go > buy something that doesn't mess with your SIP traffic :P > > /b > > On Mar 1, 2010, at 2:44 PM, Tom wrote: > > > MC, > > the phone are both Aastra they are behind a netgear fvs338 which > from > > your post are very bad. I will try to disable the ALG if i can > and try > > again. > > > > Thanks for the help > > > > Cheers > > Tom > > Tihomir, I have tried 5080, 5090 and 5080 still the same result. Tom -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From brian at freeswitch.org Mon Mar 1 16:27:14 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 1 Mar 2010 18:27:14 -0600 Subject: [Freeswitch-users] NAT issue? In-Reply-To: <4B8C5AAE.2030908@cachecomm.com> References: <4B8BEE7F.1030401@cachecomm.com> <87f2f3b91003010924p16400e10w67e3e90802f78075@mail.gmail.com> <4B8C273C.6010808@cachecomm.com> <65d96fc81003011537kb5fd4c7xdb5df0b83fba3482@mail.gmail.com> <4B8C5AAE.2030908@cachecomm.com> Message-ID: <45C9B1E4-AE67-4E20-A5AB-71EB46EA0CC9@freeswitch.org> Sledge hammer it is. /b On Mar 1, 2010, at 6:24 PM, Tom wrote: > Tihomir, > I have tried 5080, 5090 and 5080 still the same result. > > > Tom From peder at networkoblivion.com Mon Mar 1 16:31:14 2010 From: peder at networkoblivion.com (Peder) Date: Mon, 1 Mar 2010 18:31:14 -0600 Subject: [Freeswitch-users] Detecting Energy Levels on a Channel with mod_lua In-Reply-To: <87f2f3b91003011615v305783cfw154e177c590d6e9@mail.gmail.com> References: <4256bf831002280336vb7268e2oe48b0f74bac335f8@mail.gmail.com> <87f2f3b91003011429i6b228bddm176e26045c724cab@mail.gmail.com> <0FF93093-1543-4331-AB2A-BFC8BA5CFA55@avgs.ca> <87f2f3b91003011615v305783cfw154e177c590d6e9@mail.gmail.com> Message-ID: <070d01cab99f$aac3ae90$004b0bb0$@com> What's a "media bug"? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Monday, March 01, 2010 6:15 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Detecting Energy Levels on a Channel with mod_lua On Mon, Mar 1, 2010 at 2:59 PM, Mathieu Rene wrote: An easy way is to do an average of the absolute value of each L16 sample over a period of time. Im not quite sure how to access audio channels from within Lua but if you are in C you can use switch_core_session_read_frame() to get audio frames. Show off! :) Related question: do media bugs allow you to access this kind of information? Just curious... -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/66cc16ca/attachment.html From mrene_lists at avgs.ca Mon Mar 1 16:35:31 2010 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Mon, 1 Mar 2010 19:35:31 -0500 Subject: [Freeswitch-users] Detecting Energy Levels on a Channel with mod_lua In-Reply-To: <070d01cab99f$aac3ae90$004b0bb0$@com> References: <4256bf831002280336vb7268e2oe48b0f74bac335f8@mail.gmail.com> <87f2f3b91003011429i6b228bddm176e26045c724cab@mail.gmail.com> <0FF93093-1543-4331-AB2A-BFC8BA5CFA55@avgs.ca> <87f2f3b91003011615v305783cfw154e177c590d6e9@mail.gmail.com> <070d01cab99f$aac3ae90$004b0bb0$@com> Message-ID: A media bug is a way to get a channel's audio inside a module, you can have read, write and read_replace/write_replace bugs (those can actually change the audio). Its what record_session uses to be able to record the call to a file while its executing other applications. Other examples are... tone_detect, start_dtmf, eavesdrop... Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 1-Mar-10, at 7:31 PM, Peder wrote: > What?s a ?media bug?? > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org > ] On Behalf Of Michael Collins > Sent: Monday, March 01, 2010 6:15 PM > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] Detecting Energy Levels on a Channel > with mod_lua > > > > On Mon, Mar 1, 2010 at 2:59 PM, Mathieu Rene > wrote: > An easy way is to do an average of the absolute value of each L16 > sample over a period of time. Im not quite sure how to access audio > channels from within Lua but if you are in C you can use > switch_core_session_read_frame() to get audio frames. > > Show off! :) Related question: do media bugs allow you to access > this kind of information? Just curious... > -MC > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/b0f5706b/attachment.html From msc at freeswitch.org Mon Mar 1 16:58:27 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 1 Mar 2010 16:58:27 -0800 Subject: [Freeswitch-users] FreeSWITCH Weekly Conference Call Agenda For Mar 3 Message-ID: <87f2f3b91003011658m724178d5i6409d75d3a1b5949@mail.gmail.com> Hello folks! I am trying to get a head start on the conference call agenda going out. I have put a few things on the list already: http://wiki.freeswitch.org/wiki/FS_weekly_2010_03_03 I would like more people to add things. We had an impromptu mod_limit discussion by Rupa S. last week and it was very cool. I recorded it and will have it available for download shortly. Last week's meeting was great! Please join us and bring your questions for discussion about FreeSWITCH. -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/fadd443a/attachment.html From david.yatsin at gmail.com Mon Mar 1 17:34:12 2010 From: david.yatsin at gmail.com (Davud Yat Sin) Date: Mon, 1 Mar 2010 20:34:12 -0500 Subject: [Freeswitch-users] smg_prid not bridging the call Message-ID: <4b8c6b16.9753f10a.4c0f.ffff9ce5@mx.google.com> Hi lakshmanan, This was fixed in Openzap revision:1047 Can you update your openzap and update to these wanpipe drivers: ftp://ftp.sangoma.com/linux/custom/DavidYS/wanpipe-3.5.8.6.smg_pri-v1.63.tgz David Yat Sin, BEng, Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 119 | e. dyatsin at sangoma.com www.sangoma.com | wiki.sangoma.com Dear all, I'm having a A102 Sangoma hardware. I configured it with freeswitch. wanrouter status, says both the port as connected. My smg_prid version is Feb 26 16:08:14 FMS-FreeSwitch sangoma_prid: ================System restart============= Feb 26 16:08:14 FMS-FreeSwitch sangoma_prid: = Sangoma PRI Protocol Stack Daemon = Feb 26 16:08:14 FMS-FreeSwitch sangoma_prid: = Version: 1.54 = Feb 26 16:08:14 FMS-FreeSwitch sangoma_prid: = Date: Feb 15 2010 = Feb 26 16:08:14 FMS-FreeSwitch sangoma_prid: = Wanpipe Release: wanpipe-3.5.8.6 = Feb 26 16:08:14 FMS-FreeSwitch sangoma_prid: = Revision:Revision: 15288 = Feb 26 16:08:14 FMS-FreeSwitch sangoma_prid: =========================================== My freeswitch version is 16729. I started freeswitch. oz list +OK span: 1 (smg_prid) type: Sangoma (boost) chan_count: 60 dialplan: XML context: default dial_regex: fail_dial_regex: hold_music: analog_options none I originated a call as originate openzap/smg_prid/a/9952248266 &park(), which hits my mobile. But when I issued the following command: originate openzap/smg_prid/a/9952248266 &bridge(openzap/smg_prid/a/8122133885) It rings my mobile (9952248266) first, but after that the following error was displayed 2010-02-26 16:20:51.736080 [ERR] switch_ivr_originate.c:2387 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] The call got ended in my mobile. Freeswitch log and smg_pri.conf http://pastebin.freeswitch.org/12248 openzap.conf: [span wanpipe smg_prid] name => smg_prid trunk_type =>e1 b-channel => 1:1-15 b-channel => 1:17-31 trunk_type =>e1 b-channel => 2:1-15 b-channel => 2:17-31 openzap.conf.xml: Please guide me to setup this one!!. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/8e42729c/attachment-0001.html From pjintheusa at gmail.com Mon Mar 1 18:35:28 2010 From: pjintheusa at gmail.com (Phillip Jones) Date: Mon, 1 Mar 2010 21:35:28 -0500 Subject: [Freeswitch-users] .NET / ESL Message-ID: <367751821003011835n248e353ayab8536d59f7491ff@mail.gmail.com> Hi there, I am sure that I have read somewhere that someone is developing a new .NET library for FreeSWITCH ESL. If so can someone point me to some info / code etc. so I can take a look. Thanks pj -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/c052eb75/attachment.html From brian at freeswitch.org Mon Mar 1 18:42:41 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 1 Mar 2010 20:42:41 -0600 Subject: [Freeswitch-users] .NET / ESL In-Reply-To: <367751821003011835n248e353ayab8536d59f7491ff@mail.gmail.com> References: <367751821003011835n248e353ayab8536d59f7491ff@mail.gmail.com> Message-ID: <81D995F7-5575-497D-A064-6251C4B18774@freeswitch.org> http://svn.freeswitch.org/svn/freeswitch/trunk/libs/esl/ in the managed folder. /b On Mar 1, 2010, at 8:35 PM, Phillip Jones wrote: > Hi there, > > I am sure that I have read somewhere that someone is developing a new .NET library for FreeSWITCH ESL. If so can someone point me to some info / code etc. so I can take a look. > > Thanks > > pj > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 pjintheusa at gmail.com Mon Mar 1 19:01:48 2010 From: pjintheusa at gmail.com (Phillip Jones) Date: Mon, 1 Mar 2010 22:01:48 -0500 Subject: [Freeswitch-users] .NET / ESL In-Reply-To: <81D995F7-5575-497D-A064-6251C4B18774@freeswitch.org> References: <367751821003011835n248e353ayab8536d59f7491ff@mail.gmail.com> <81D995F7-5575-497D-A064-6251C4B18774@freeswitch.org> Message-ID: <367751821003011901p55388bd6h9f543fed4c3de69c@mail.gmail.com> Thanks On Mon, Mar 1, 2010 at 9:42 PM, Brian West wrote: > http://svn.freeswitch.org/svn/freeswitch/trunk/libs/esl/ > > in the managed folder. > > /b > > On Mar 1, 2010, at 8:35 PM, Phillip Jones wrote: > > > Hi there, > > > > I am sure that I have read somewhere that someone is developing a new > .NET library for FreeSWITCH ESL. If so can someone point me to some info / > code etc. so I can take a look. > > > > Thanks > > > > pj > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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/20100301/d99af36f/attachment.html From delorenzodesign at gmail.com Mon Mar 1 19:17:50 2010 From: delorenzodesign at gmail.com (Michael De Lorenzo) Date: Mon, 1 Mar 2010 22:17:50 -0500 Subject: [Freeswitch-users] Lua Script with mod_vmd, setInputCallback doesn't seem to get called Message-ID: <5c9dcbfb1003011917h393ddde5ha8cc3ec74d0a4d53@mail.gmail.com> I've got the following Lua script working in a sense, but the InputCallback never seems to get called while the file is being streamed to the call recipient. I've tried moving the "vmd start" command and set input callback around a bit, but to no avail. I'm testing this against a cell phone voice mailbox (Verizon). freeswitch.consoleLog("info","########################################################\n\n"); > > number_to_call = argv[1] > message_to_play = "/opt/freeswitch/recordings/messages/" .. argv[2] > > voicemail_detected = false; > > function onInput(s, type, obj) > freeswitch.consoleLog("notice","*********** Type?: " .. type .. " > *************\n"); > -- freeswitch.consoleLog("notice","*********** VMD?: " .. > session:getVariable("vmd_detect") .. " *************\n"); > > if(type == "event" and voicemail_detected == false) then > freeswitch.consoleLog("notice","************ VOICE MAIL/ANSWERING > MACHINE DETECTED *************\n"); > voicemail_detected = true; > return "break"; > end > end > > function playbackMessage() > sleep_time = 1000; > if(voicemail_detected) then > sleep_time = 2500; > end > -- sleep a second > session:sleep(sleep_time); > -- play a file > session:streamFile(message_to_play); > end > > function notify() > session = > freeswitch.Session("{ignore_early_media=true}sofia/gateway/voicenetwork/1" > .. number_to_call) > > > > if(session:ready()) then > -- answer the call > session:answer(); > session:setInputCallback("onInput", ""); > session:execute("vmd","start"); > > playbackMessage(); > if(voicemail_detected) then > freeswitch.consoleLog("notice","************ DOING PLAYBACK FOR > VOICEMAIL/ANSWERING MACHINE *************\n"); > playbackMessage(); > end > > freeswitch.consoleLog("notice", "********* hanging up session > **********\n"); > -- hangup > session:hangup(); > end > end > > notify(); > > > freeswitch.consoleLog("info","########################################################\n\n"); > -- Michael De Lorenzo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/868678ff/attachment.html From wchao at yahoo.com Mon Mar 1 19:29:24 2010 From: wchao at yahoo.com (Wellie Chao) Date: Mon, 1 Mar 2010 22:29:24 -0500 (EST) Subject: [Freeswitch-users] Bug in mod_commands.c with show calls command In-Reply-To: <191c3a031003011524o618a139frccab554c1c97d334@mail.gmail.com> References: <191c3a031003011524o618a139frccab554c1c97d334@mail.gmail.com> Message-ID: Terrific. "show calls as xml" works great and just what I needed. P.S. "show calls as csv" still has the comma bug. Not a big deal since I can get it as XML. CSV needs quotes around field values that contain a comma. Pretty easy to fix. Few lines of C (strchr for "," and if found, put quotes around field value). Date: Mon, 1 Mar 2010 17:24:16 -0600 From: Anthony Minessale Reply-To: freeswitch-users at lists.freeswitch.org To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Bug in mod_commands.c with show calls command Perhaps you may be reading up on something quickly and not worrying about the absolute correctness of something that is not critical to our time to explain. The proper syntax for the command is "show calls as xml" and you are not really using XMLRPC you are hitting it via direct url. so you will then need. http://192.168.1.1:8080/txtapi/show?calls%20as%20xml anything in the show command can be replied to with "as xml" also, for fun, try show calls as csv ::: On Mon, Mar 1, 2010 at 3:31 PM, Wellie Chao wrote: I am using the xml_rpc interface like so: http://192.168.1.1:8080/webapi/show?calls I get a response in a table, which is a little bit undesirable because I want to parse the result in a program and don't want to parse a bunch of HTML (just seems inelegant and wasteful), so I instead tried the following request: http://192.168.1.1:8080/txtapi/show?calls That works better, but then another wrinkle appears. Caller ID (and Callee ID) names sometimes have commas, which messes up the CSV. This appears to be a bug in mod_commands.c (or I suppose you could call it an artifact of somebody coding up something quickly and not worrying about the absolute correctness of something that is not critical to the core). There is also another bug with show calls via webapi in that the generated HTML has spurious tags. I think the spurious tag bug arises due to lines 3145-6 in mod/applications/mod_commands/mod_commands.c. Finally, another bug (or maybe just unimplemented feature) is that xmlapl isn't really different from webapi. These problems occur in the latest source tree (20100301). I am wondering if (a) one of the developers can fix these or (b) if I fix the bugs, how can I submit patches [and if I submit patches, will they be accepted into the main tree]? The fixes are pretty trivial and I'd be happy to code them up if somebody will tell me how I can submit the patches (haven't done it before). _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 From infos at madovsky.org Mon Mar 1 20:38:40 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 1 Mar 2010 23:38:40 -0500 Subject: [Freeswitch-users] server to server jingle Message-ID: <7DB2DF3BDD8F4752A710A08EF9EE4B33@MOBILEE1705> Hi all, is anyone knows a good example to configure freeswitch and an xmpp server (openfire if possible) I read this article http://wiki.freeswitch.org/wiki/Dingaling#Getting_it_working but no example and this one http://www.alijawad.org/cms/index.php?option=com_content&task=view&id=21&Itemid=2 but seems to doesn't work as expected. Thanks ! Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/ca0a836d/attachment-0001.html From msc at freeswitch.org Mon Mar 1 21:07:22 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 1 Mar 2010 21:07:22 -0800 Subject: [Freeswitch-users] Lua Script with mod_vmd, setInputCallback doesn't seem to get called In-Reply-To: <5c9dcbfb1003011917h393ddde5ha8cc3ec74d0a4d53@mail.gmail.com> References: <5c9dcbfb1003011917h393ddde5ha8cc3ec74d0a4d53@mail.gmail.com> Message-ID: <87f2f3b91003012107w59b21e6m2a86100866bb14d3@mail.gmail.com> I haven't played with events inside Lua yet, but here's an example: http://wiki.freeswitch.org/wiki/Examples_directory_lua_asr_tts Look at the onInput() function in that example. There it gives the syntax for extracting the event header to see what event type has come in. The other question I have: did you confirm that mod_vmd triggers properly when going to this mailbox? You could write a simple dialplan that sets mod_vmd, calls the phone, sleeps for 10 or so seconds, and then dumps the var ${vmd_detect} to see what it says. I've used mod_vmd from the XML dialplan with a fair amount of success, although to my knowledge I never actually tried it with a Verizon wireless VM box. Confirm that mod_vmd works with just the dialplan before trying to debug the Lua script. -MC On Mon, Mar 1, 2010 at 7:17 PM, Michael De Lorenzo < delorenzodesign at gmail.com> wrote: > I've got the following Lua script working in a sense, but the InputCallback > never seems to get called while the file is being streamed to the call > recipient. I've tried moving the "vmd start" command and set input callback > around a bit, but to no avail. I'm testing this against a cell phone voice > mailbox (Verizon). > > >> freeswitch.consoleLog("info","########################################################\n\n"); >> >> number_to_call = argv[1] >> message_to_play = "/opt/freeswitch/recordings/messages/" .. argv[2] >> >> voicemail_detected = false; >> >> function onInput(s, type, obj) >> freeswitch.consoleLog("notice","*********** Type?: " .. type .. " >> *************\n"); >> -- freeswitch.consoleLog("notice","*********** VMD?: " .. >> session:getVariable("vmd_detect") .. " *************\n"); >> >> if(type == "event" and voicemail_detected == false) then >> freeswitch.consoleLog("notice","************ VOICE MAIL/ANSWERING >> MACHINE DETECTED *************\n"); >> voicemail_detected = true; >> return "break"; >> end >> end >> >> function playbackMessage() >> sleep_time = 1000; >> if(voicemail_detected) then >> sleep_time = 2500; >> end >> -- sleep a second >> session:sleep(sleep_time); >> -- play a file >> session:streamFile(message_to_play); >> end >> >> function notify() >> session = >> freeswitch.Session("{ignore_early_media=true}sofia/gateway/voicenetwork/1" >> .. number_to_call) >> >> >> >> if(session:ready()) then >> -- answer the call >> session:answer(); >> session:setInputCallback("onInput", ""); >> session:execute("vmd","start"); >> >> playbackMessage(); >> if(voicemail_detected) then >> freeswitch.consoleLog("notice","************ DOING PLAYBACK >> FOR VOICEMAIL/ANSWERING MACHINE *************\n"); >> playbackMessage(); >> end >> >> freeswitch.consoleLog("notice", "********* hanging up session >> **********\n"); >> -- hangup >> session:hangup(); >> end >> end >> >> notify(); >> >> >> freeswitch.consoleLog("info","########################################################\n\n"); >> > > -- > Michael De Lorenzo > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100301/95e8a8bc/attachment.html From gkuri at ieee.org Mon Mar 1 21:49:06 2010 From: gkuri at ieee.org (Gabriel Kuri) Date: Mon, 1 Mar 2010 21:49:06 -0800 Subject: [Freeswitch-users] Announcement: FreeSWITCH Add Broadsoft SCA Support In-Reply-To: <191c3a031003011322i54e57ae6n1c8d9a9dc55a42b8@mail.gmail.com> References: <87f2f3b91001111742k691966cfs82515db77c13d4d4@mail.gmail.com> <8b1c9cda1002280947qcb5ec5anfeef645b447b1866@mail.gmail.com> <987F87B1-FA49-47B4-9823-5A7140459AFD@freeswitch.org> <191c3a031003011038y233bf1a5p62e00c0474f1d617@mail.gmail.com> <191c3a031003011142y296e5f14i7e6165123200b92d@mail.gmail.com> <8b1c9cda1003011309q598c88d7kb89d7f901f2551ca@mail.gmail.com> <191c3a031003011322i54e57ae6n1c8d9a9dc55a42b8@mail.gmail.com> Message-ID: <8b1c9cda1003012149u2783538du272d6ce86b9e8f14@mail.gmail.com> I've torn my hair out for hours and I still can't get it to work with the domain name set everywhere ... I can get it to work if I hardcode the IP address on the phones and in all the config files, but I can't get the domain name to work on incoming calls, I'm at a total loss. If I had a mismatch somewhere, I'd think it wouldn't work on outgoing calls either, but that seems to work fine. Any other ideas? Might it have anything to do with the incoming call coming in from the PSTN and going through the external profile? Cheers, Gabe On Mon, Mar 1, 2010 at 1:22 PM, Anthony Minessale wrote: > I really want to be done with this thread...... > > You were using the IP in some places and the hostnames in others, this makes > it so the SQL statements not match because sql statements cannot do dns > lookups.? I will not be doing any work to resolve hostnames back and forth > to IP inside FS. > > > The subscribes were using the hostname and the db and invites were using the > IP. > > you have to have the same exact domain in your user directory and have the > force-register-domain and force-register-domain-db also set to that value or > omit them completely and use the domain names in 100% of the config fields > on the phone. > > > > > On Mon, Mar 1, 2010 at 3:09 PM, Gabriel Kuri wrote: >> >> Hi Anthony, >> >> I appreciate all the hard work yourself, Brian, Mike and all the other >> developers have put in FS! By no means am I discounting any of it, >> it's truly invaluable. >> >> Our "philosophy" has always been to use DNS where available, so that >> we're not worrying about re-configuring a bunch of devices if IP >> addresses change and this obviously goes to setting the phones up as >> well to use DNS for the proxy and registrar fields. And it allows us >> to do fancy things, like split-view DNS, where if a phone is taken >> off-site and we want it to remotely register to FS, it will get the >> public IP address of the FS server, rather than the private, without >> re-configuring the phone. >> >> If I'm understanding your email correctly, you're saying we need to >> use all IP or all DNS for SLA, is that correct? AFAIK, we're using all >> DNS, but perhaps I'm missing something somewhere. How would we be able >> to use the DNS name of our SIP domain in phones (rather than IP) and >> ensure SLA works for both incoming/outgoing calls? Is that possible at >> this point in time or do we need to use the IP addresses in the proxy >> field on the phone if we want to use SLA? >> >> Thanks for all your help. >> >> Gabriel Kuri >> >> >> On Mon, Mar 1, 2010 at 11:42 AM, Anthony Minessale >> wrote: >> > you can use names if you use *all names* >> > you just can't mix, but all IP is much faster and safer because there is >> > no >> > need to do constant dns lookups on something that never changes anyway, >> > you >> > can easily alias your profile to a friendly name, it also makes it more >> > portable. >> > >> > >> > >> > >> > On Mon, Mar 1, 2010 at 1:30 PM, Yehavi Bourvine >> > >> > wrote: >> >> >> >> Hello Anthony, >> >> >> >> 2010/3/1 Anthony Minessale >> >>> >> >>> I am trying my best not to be completely annoyed at the "somewhat >> >>> limiting" remark after going over the countless hours I spent making >> >>> sure >> >>> this feature work and then being patient with 2 people insisting there >> >>> was a >> >>> bug when they both shared an identical misconfiguration. >> >> >> >> "somewhat limiting" was because my experiments up to now with Polycom >> >> and >> >> SIP/TLS were successfull with domain names only. However, I am going to >> >> inverstigate this further to see how this can work with IP only. >> >> >> >> In the meantime I've documented the required configuration under the >> >> Polycom wiki page. >> >> >> >>> >> >>> If we started doing DNS lookups everywhere so hostname could be >> >>> interchanged with IP we would have large blocking all over the place >> >>> when >> >>> the DNS was not available and horribly messy code doing all the >> >>> lookups. >> >>> There was already an experiment called project asterisk that proved >> >>> the >> >>> flaws in this design approach. >> >>> >> >> I think that's why some of us move from Asterisk to FreeSwitch. I also >> >> preffer less to no DNS lookups on a critical system which must?work >> >> even >> >> when there are some kinds of communication problems. >> >> >> >> ????????????????????? Thanks, __Yehavi: >> >> >> >> _______________________________________________ >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at 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 >> > iax:guest at conference.freeswitch.org/888 >> > googletalk:conf+888 at conference.freeswitch.org >> > pstn:+19193869900 >> > >> > _______________________________________________ >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at 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 > > > > -- > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > From brian at freeswitch.org Mon Mar 1 22:01:38 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 00:01:38 -0600 Subject: [Freeswitch-users] Announcement: FreeSWITCH Add Broadsoft SCA Support In-Reply-To: <8b1c9cda1003012149u2783538du272d6ce86b9e8f14@mail.gmail.com> References: <87f2f3b91001111742k691966cfs82515db77c13d4d4@mail.gmail.com> <8b1c9cda1002280947qcb5ec5anfeef645b447b1866@mail.gmail.com> <987F87B1-FA49-47B4-9823-5A7140459AFD@freeswitch.org> <191c3a031003011038y233bf1a5p62e00c0474f1d617@mail.gmail.com> <191c3a031003011142y296e5f14i7e6165123200b92d@mail.gmail.com> <8b1c9cda1003011309q598c88d7kb89d7f901f2551ca@mail.gmail.com> <191c3a031003011322i54e57ae6n1c8d9a9dc55a42b8@mail.gmail.com> <8b1c9cda1003012149u2783538du272d6ce86b9e8f14@mail.gmail.com> Message-ID: <3DE15C61-E4E3-4EC2-A319-20350092C8F0@freeswitch.org> You have to watch phones that might do the switch on you... like resolve the IP then do the subscribe incorrectly... that could happen. Verify the subscribe packet... /b On Mar 1, 2010, at 11:49 PM, Gabriel Kuri wrote: > I've torn my hair out for hours and I still can't get it to work with > the domain name set everywhere ... > > I can get it to work if I hardcode the IP address on the phones and in > all the config files, but I can't get the domain name to work on > incoming calls, I'm at a total loss. If I had a mismatch somewhere, > I'd think it wouldn't work on outgoing calls either, but that seems to > work fine. > > Any other ideas? Might it have anything to do with the incoming call > coming in from the PSTN and going through the external profile? > > Cheers, > Gabe From infos at madovsky.org Mon Mar 1 22:05:17 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 2 Mar 2010 01:05:17 -0500 Subject: [Freeswitch-users] wiki broken link pocketsphinx Message-ID: Hello, the link that goes to grammar sphinx is broken. the right link is http://cmusphinx.sourceforge.net/sphinx4/ Regards Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/88d060f0/attachment-0001.html From infos at madovsky.org Mon Mar 1 22:24:35 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 2 Mar 2010 01:24:35 -0500 Subject: [Freeswitch-users] last svn version compile error Message-ID: <5887BE899D4F47B0BF05FCB3340B58CB@MOBILEE1705> Hi, Ino succes to update freeswitch to version 16859 with usual command "make current" etc... but now I got this error : /usr/src/freeswitch.trunk/src/mod/applications/mod_vmd/mod_vmd.c:714: error: passing argument 6 of ?switch_core_media_bug_add? makes integer from pointer without a cast /usr/src/freeswitch.trunk/src/mod/applications/mod_vmd/mod_vmd.c:714: error: too few arguments to function ?switch_core_media_bug_add? Any idea ? thanks Franck Linux Fedora 10 64bits -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/36783531/attachment.html From dujinfang at gmail.com Mon Mar 1 22:57:51 2010 From: dujinfang at gmail.com (Seven Du) Date: Tue, 2 Mar 2010 14:57:51 +0800 Subject: [Freeswitch-users] help on codec negotiation, got incompatable destination Message-ID: <23f91031003012257s32ce6cf7vb6469933b7a4bd15@mail.gmail.com> I have iLBC configured in profile internal CODECS IN PCMU,PCMA,iLBC at 30i,GSM CODECS OUT PCMU,PCMA,iLBC at 30i,GSM and but it seems not comparing with iLBC 010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[PCMU:0:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[PCMA:8:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[GSM:3:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3489 Set 2833 dtmf payload to 101 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:30]/[PCMU:0:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:30]/[PCMA:8:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:30]/[GSM:3:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:30]/[PCMU:0:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:30]/[PCMA:8:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:30]/[GSM:3:8000:20] can anyone help on this? see full log at http://pastebin.freeswitch.org/12278 . Thanks. From dujinfang at gmail.com Mon Mar 1 23:01:28 2010 From: dujinfang at gmail.com (Seven Du) Date: Tue, 2 Mar 2010 15:01:28 +0800 Subject: [Freeswitch-users] help on codec negotiation, got incompatable destination In-Reply-To: <23f91031003012257s32ce6cf7vb6469933b7a4bd15@mail.gmail.com> References: <23f91031003012257s32ce6cf7vb6469933b7a4bd15@mail.gmail.com> Message-ID: <23f91031003012301y42bb9c04s80689a21c0eb7924@mail.gmail.com> sorry forget to metion I'm on FreeSWITCH Version 1.0.trunk (16859) 2010/3/2 Seven Du : > I have iLBC configured in profile internal > > CODECS IN ? ? ? ? ? ? ? PCMU,PCMA,iLBC at 30i,GSM > CODECS OUT ? ? ? ? ? ? ?PCMU,PCMA,iLBC at 30i,GSM > > and ? ? > > but it seems not comparing with iLBC > > ?010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec > Compare [iLBC:97:8000:30]/[PCMU:0:8000:20] > 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec > Compare [iLBC:97:8000:30]/[PCMA:8:8000:20] > 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec > Compare [iLBC:97:8000:30]/[GSM:3:8000:20] > 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3489 Set 2833 dtmf > payload to 101 > 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec > Compare [telephone-event:101:8000:30]/[PCMU:0:8000:20] > 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec > Compare [telephone-event:101:8000:30]/[PCMA:8:8000:20] > 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec > Compare [telephone-event:101:8000:30]/[GSM:3:8000:20] > 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec > Compare [CN:13:8000:30]/[PCMU:0:8000:20] > 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec > Compare [CN:13:8000:30]/[PCMA:8:8000:20] > 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec > Compare [CN:13:8000:30]/[GSM:3:8000:20] > > > can anyone help on this? see full log at http://pastebin.freeswitch.org/12278 . > > Thanks. > From lakindia89 at gmail.com Mon Mar 1 23:14:28 2010 From: lakindia89 at gmail.com (lakshmanan ganapathy) Date: Tue, 2 Mar 2010 12:44:28 +0530 Subject: [Freeswitch-users] make current - System Hangs Message-ID: <7d79b3931003012314r161c4120k960b34b3b98c533c@mail.gmail.com> Hi all, I did make current from my freeswitch src directory, but the system got hanged. Any one know why this happened. Here is the output that is printed when I run make current http://pastebin.freeswitch.org/12279 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/e43170e9/attachment.html From tculjaga at gmail.com Tue Mar 2 01:03:27 2010 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Tue, 2 Mar 2010 10:03:27 +0100 Subject: [Freeswitch-users] NAT issue? In-Reply-To: <45C9B1E4-AE67-4E20-A5AB-71EB46EA0CC9@freeswitch.org> References: <4B8BEE7F.1030401@cachecomm.com> <87f2f3b91003010924p16400e10w67e3e90802f78075@mail.gmail.com> <4B8C273C.6010808@cachecomm.com> <65d96fc81003011537kb5fd4c7xdb5df0b83fba3482@mail.gmail.com> <4B8C5AAE.2030908@cachecomm.com> <45C9B1E4-AE67-4E20-A5AB-71EB46EA0CC9@freeswitch.org> Message-ID: <65d96fc81003020103x7df499ecu3d9add7f3053a459@mail.gmail.com> bastard !!!! :) T. On Tue, Mar 2, 2010 at 1:27 AM, Brian West wrote: > Sledge hammer it is. > > /b > > On Mar 1, 2010, at 6:24 PM, Tom wrote: > > > Tihomir, > > I have tried 5080, 5090 and 5080 still the same result. > > > > > > Tom > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/27ad5a1f/attachment.html From sharad at coraltele.com Tue Mar 2 03:20:31 2010 From: sharad at coraltele.com (Sharad) Date: Tue, 2 Mar 2010 03:20:31 -0800 (PST) Subject: [Freeswitch-users] Freeswitch & T.38 Message-ID: <1267528831989-4660389.post@n2.nabble.com> Hi friends, Is Freeswitch 1.05 carrying T.38 support also ? If not, do we have any community member who can provide paid T.38 support with Freeswitch ? -- View this message in context: http://n2.nabble.com/Freeswitch-T-38-tp4660389p4660389.html Sent from the freeswitch-users mailing list archive at Nabble.com. From michal.kalinowski at interia.pl Tue Mar 2 03:28:47 2010 From: michal.kalinowski at interia.pl (michal kalinowski) Date: Tue, 2 Mar 2010 12:28:47 +0100 Subject: [Freeswitch-users] ivr from mysql In-Reply-To: <87f2f3b91003011109n2d817de9v96b491b40eacae32@mail.gmail.com> References: <7c74f5761002150824i41a2ed5did008f36cbb4499a4@mail.gmail.com> <87f2f3b91002151002v6bbc3e7fgb67dd6d3e72a915@mail.gmail.com> <7c74f5761002151425g512fa685n13c58d8f4b894740@mail.gmail.com> <0FD30AAA-C2E2-4228-A09B-DB09F4E26811@avgs.ca> <7c74f5761002151525p7cc690ces632d46c6ab5e236c@mail.gmail.com> <7c74f5761002271310h7e925f7cy25dd69ba60b896ef@mail.gmail.com> <23CC9D8A-65D5-438F-B117-00FEC087418D@freeswitch.org> <7c74f5761003010351u4f3d41cbua3bbf4909c00b551@mail.gmail.com> <87f2f3b91003011109n2d817de9v96b491b40eacae32@mail.gmail.com> Message-ID: <7c74f5761003020328u3a480d59v703899d3fc81a1fb@mail.gmail.com> Thanks Michael right now it's working correct. In wiki example there is a lack of args "tts_engine" "tts_voice" and "max_timeouts" BR, Micha? 2010/3/1 Michael Collins : > > > 2010/3/1 michal kalinowski >> >> Thank's Brian >> >> So at this moment i have only clean configuration in lua without any XML. >> >> I get example from wiki: >> >> hash={["main"]=undef, >> >> ? ["name"]="top", >> >> ? ? ? ? ["greet_long"]="phrase:demo_ivr_main_menu", >> >> ["greet_short"]="phrase:demo_ivr_main_menu_short", >> >> ["invalid_sound"]="ivr/ivrthat_was_an_invalid_entry.wav", >> >> ["exit_sound"]="voicemail/vmgoodbye.wav", >> >> ["confirm_macro"]="undef", >> >> ?["confirm_key"]="undef", >> >> ? ?["confirm_attempts"]="3", >> >> ? ? ?["inter_digit_timeout"]="2000", >> >> ? ? ? ["digit_len"]="1", >> >> ? ? ? ? ? ? ? ["timeout"]="10000", >> ["max_failures"]="3" >> } >> top = freeswitch.IVRMenu(hash["main"], >> hash["name"], >> hash["greet_long"],hash["greet_short"], >> hash["invalid_sound"], >> hash["exit_sound"], >> hash["confirm_macro"], >> hash["confirm_key"], >> hash["confirm_attempts"], >> hash["inter_digit_timeout"], >> hash["digit_len"], >> hash["timeout"], >> hash["max_failures"]); >> >> top:bindAction("menu-exec-app", "playback/tmp/swimp.raw","2"); >> top:execute(session, "top"); >> >> But something is wrong freeswitch say >> 2010-03-01 13:02:43.633721 [ERR] mod_lua.cpp:182 Error in IVRMenu >> expected 16..16 args, got 13 >> stack traceback: >> ? ? ? ?[C]: in function 'IVRMenu' >> ? ? ? ?/usr/local/freeswitch/scripts/ivr.lua:19: in main chunk >> >> What args FS expect? > > I ran into this issue when I was converting the demo IVR to Lua. There are > indeed 16 arguments but you've only got 13 of them. Here's a snippet from > the Lua script I'm working on: > ivr_def = { > ??? ["main"]??????????????? = undef, > ??? ["name"]??????????????? = "demo_ivr_lua", > ??? ["greet_long"]????????? = "phrase:demo_ivr_main_menu", > ??? ["greet_short"]???????? = "phrase:demo_ivr_main_menu_short", > ??? ["invalid_sound"]?????? = "ivr/ivr-that_was_an_invalid_entry.wav", > ??? ["exit_sound"]????????? = "voicemail/vm-goodbye.wav", > ??? ["confirm_macro"]?????? = "", > ??? ["confirm_key"]???????? = "", > ??? ["tts_engine"]????????? = "flite", > ??? ["tts_voice"]?????????? = "rms", > ??? ["confirm_attempts"]??? = "3", > ??? ["inter_digit_timeout"] = "2000", > ??? ["digit_len"]?????????? = "4", > ??? ["timeout"]???????????? = "10000", > ??? ["max_failures"]??????? = "3", > ??? ["max_timeouts"]??????? = "2" > } > Those are all 16 arguments. Notice you need tts_engine, tts_voice, and > max_timeouts. Try that and let us know how it goes. > > -MC > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Mar 2 04:56:53 2010 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Tue, 2 Mar 2010 14:56:53 +0200 Subject: [Freeswitch-users] SQL ERR: library routine called out of sequence In-Reply-To: <191c3a031002282106t59801ddctb12c4fab160e9a07@mail.gmail.com> References: <191c3a031002160755q569fe2ednfefb01b6d9cf7f0e@mail.gmail.com> <191c3a031002161110s637a48a2r717ae94557fe9e9a@mail.gmail.com> <191c3a031002161230h2b6e6f9wf3f65ddb71f08297@mail.gmail.com> <191c3a031002282105p4ed80135jc115a007ec7e0d4a@mail.gmail.com> <191c3a031002282106t59801ddctb12c4fab160e9a07@mail.gmail.com> Message-ID: Since I am aware that I am the only one who experience this problem, I am trying to ivestigate it, although I do not know the source code well... I removed all the datbase calls from our scripts and the problem still persists. It happens usually when two calls arrive to the same extension (usually to an SLA one) and one of them disconnects during the ringing phase. I've inserted some "printfs" in switch_core_sqldb.c and found that when this happens the variable dbh->io_mutex has a null value, thus no mutex is locked (as far as I understand it). I hope this might give some clues. Thanks! __Yehavi: 2010/3/1 Anthony Minessale > You probably had it right in the last email. > Polling the core's db from lua is not recommended. > We use sla extensively and never once see your issue. > > On Feb 28, 2010 8:55 AM, "Yehavi Bourvine" > wrote: > > After a few more tests I *think* it is related to SLA. Since it cannot be > reproduced consistenty I say "think". > > What I have is: > - 80635 which is an SLA extension between two Polycoms. > - 80636 which is a private extension on Polycom > - 80632 which is a Cisco extension. > - 86111 which is connected behind a Cisco SIP<->PSTN gateway. Since this > gateway doesn't hav any login information it is not defined as a gateway but > accepted via ACL. > > The tests that passed ok: > - From/to 80636/80632 to 80635 (i.e. - all internal). > - From/to 80635 to 80636/80632 (i.e. - all internal) > - From/to 80636/80632 to 86111 and vice versa (i.e. via the gateway, single > extensions). > > The one that fails after a few attempts: > - From 86111 to 80635 (i.e. from the gateway to a shared extension). > > I hope that this gives some more clues. > > Thanks, __Yehavi: > > 2010/2/28 Yehavi Bourvine > > > > > > Hello, > > > > I've installed a machine with CentOS-5.4 and the latest FreeSwitch > (16841M). The... > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100302/cbc60056/attachment-0001.html From dftoro at yahoo.com Tue Mar 2 05:24:59 2010 From: dftoro at yahoo.com (Diego Toro) Date: Tue, 2 Mar 2010 05:24:59 -0800 (PST) Subject: [Freeswitch-users] .NET / ESL In-Reply-To: <367751821003011901p55388bd6h9f543fed4c3de69c@mail.gmail.com> Message-ID: <251258.58331.qm@web33508.mail.mud.yahoo.com> Hi Phillip Jones, Any concerns, You tell me, I help you Diego Toro http://lacarretade.blogspot.com/ --- On Mon, 3/1/10, Phillip Jones wrote: > From: Phillip Jones > Subject: Re: [Freeswitch-users] .NET / ESL > To: freeswitch-users at lists.freeswitch.org > Date: Monday, March 1, 2010, 10:01 PM > Thanks > > On Mon, Mar 1, 2010 at 9:42 PM, > Brian West > wrote: > > http://svn.freeswitch.org/svn/freeswitch/trunk/libs/esl/ > > > > in the managed folder. > > > > /b > > > > On Mar 1, 2010, at 8:35 PM, Phillip Jones wrote: > > > > > Hi there, > > > > > > I am sure that I have read somewhere that someone is > developing a new .NET library for FreeSWITCH ESL. If so can > someone point me to some info / code etc. so I can take a > look. > > > > > > Thanks > > > > > > pj > > > > _______________________________________________ > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at 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 > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 infos at madovsky.org Tue Mar 2 06:25:54 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 2 Mar 2010 09:25:54 -0500 Subject: [Freeswitch-users] Freeswitch & T.38 References: <1267528831989-4660389.post@n2.nabble.com> Message-ID: <4BB20F0B3FCB43DCAD902617DDA79EEC@MOBILEE1705> google wiki media proxy freeswitch ----- Original Message ----- From: "Sharad" To: Sent: Tuesday, March 02, 2010 6:20 AM Subject: [Freeswitch-users] Freeswitch & T.38 > > Hi friends, > > Is Freeswitch 1.05 carrying T.38 support also ? > > If not, do we have any community member who can provide paid T.38 support > with Freeswitch ? > > > -- > View this message in context: > http://n2.nabble.com/Freeswitch-T-38-tp4660389p4660389.html > Sent from the freeswitch-users mailing list archive at Nabble.com. > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From brian at freeswitch.org Tue Mar 2 06:28:45 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 08:28:45 -0600 Subject: [Freeswitch-users] wiki broken link pocketsphinx In-Reply-To: References: Message-ID: <5A9EAA2F-F7DA-4CC5-ACF6-AD9A0438964F@freeswitch.org> No thats not right either. Care to elaborate? /b On Mar 2, 2010, at 12:05 AM, Madovsky wrote: > Hello, > > the link that goes to grammar sphinx is broken. > the right link is > > http://cmusphinx.sourceforge.net/sphinx4/ > > Regards > > Franck > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/c9e0dd58/attachment.html From brian at freeswitch.org Tue Mar 2 06:32:05 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 08:32:05 -0600 Subject: [Freeswitch-users] SQL ERR: library routine called out of sequence In-Reply-To: References: <191c3a031002160755q569fe2ednfefb01b6d9cf7f0e@mail.gmail.com> <191c3a031002161110s637a48a2r717ae94557fe9e9a@mail.gmail.com> <191c3a031002161230h2b6e6f9wf3f65ddb71f08297@mail.gmail.com> <191c3a031002282105p4ed80135jc115a007ec7e0d4a@mail.gmail.com> <191c3a031002282106t59801ddctb12c4fab160e9a07@mail.gmail.com> Message-ID: <0ADA063F-9E3E-4540-BB3B-48373211BD6A@freeswitch.org> Yes accessing the db in the method you're doing is unsupport and not recommended. /b On Mar 2, 2010, at 6:56 AM, Yehavi Bourvine wrote: > Since I am aware that I am the only one who experience this problem, I am trying to ivestigate it, although I do not know the source code well... > > I removed all the datbase calls from our scripts and the problem still persists. It happens usually when two calls arrive to the same extension (usually to an SLA one) and one of them disconnects during the ringing phase. > > I've inserted some "printfs" in switch_core_sqldb.c and found that when this happens the variable dbh->io_mutex has a null value, thus no mutex is locked (as far as I understand it). > > I hope this might give some clues. > > Thanks! __Yehavi: From brian at freeswitch.org Tue Mar 2 06:33:59 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 08:33:59 -0600 Subject: [Freeswitch-users] help on codec negotiation, got incompatable destination In-Reply-To: <23f91031003012301y42bb9c04s80689a21c0eb7924@mail.gmail.com> References: <23f91031003012257s32ce6cf7vb6469933b7a4bd15@mail.gmail.com> <23f91031003012301y42bb9c04s80689a21c0eb7924@mail.gmail.com> Message-ID: <074F8BA1-718B-4E36-9CC1-0FA9D3579E1D@freeswitch.org> Yes that is because its @30i, All codecs offered MUST be 30ms if you want to offer iLBC at 30i. So add @30i to all but GSM since you can't do GSM @ 30. /b On Mar 2, 2010, at 1:01 AM, Seven Du wrote: > sorry forget to metion I'm on FreeSWITCH Version 1.0.trunk (16859) > > > 2010/3/2 Seven Du : >> I have iLBC configured in profile internal >> >> CODECS IN PCMU,PCMA,iLBC at 30i,GSM >> CODECS OUT PCMU,PCMA,iLBC at 30i,GSM >> >> and >> >> but it seems not comparing with iLBC >> >> 010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >> Compare [iLBC:97:8000:30]/[PCMU:0:8000:20] >> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >> Compare [iLBC:97:8000:30]/[PCMA:8:8000:20] >> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >> Compare [iLBC:97:8000:30]/[GSM:3:8000:20] >> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3489 Set 2833 dtmf >> payload to 101 >> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >> Compare [telephone-event:101:8000:30]/[PCMU:0:8000:20] >> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >> Compare [telephone-event:101:8000:30]/[PCMA:8:8000:20] >> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >> Compare [telephone-event:101:8000:30]/[GSM:3:8000:20] >> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >> Compare [CN:13:8000:30]/[PCMU:0:8000:20] >> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >> Compare [CN:13:8000:30]/[PCMA:8:8000:20] >> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >> Compare [CN:13:8000:30]/[GSM:3:8000:20] >> >> >> can anyone help on this? see full log at http://pastebin.freeswitch.org/12278 . >> >> Thanks. >> > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From brian at freeswitch.org Tue Mar 2 06:34:19 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 08:34:19 -0600 Subject: [Freeswitch-users] NAT issue? In-Reply-To: <65d96fc81003020103x7df499ecu3d9add7f3053a459@mail.gmail.com> References: <4B8BEE7F.1030401@cachecomm.com> <87f2f3b91003010924p16400e10w67e3e90802f78075@mail.gmail.com> <4B8C273C.6010808@cachecomm.com> <65d96fc81003011537kb5fd4c7xdb5df0b83fba3482@mail.gmail.com> <4B8C5AAE.2030908@cachecomm.com> <45C9B1E4-AE67-4E20-A5AB-71EB46EA0CC9@freeswitch.org> <65d96fc81003020103x7df499ecu3d9add7f3053a459@mail.gmail.com> Message-ID: I have called netgear worse. :) /b On Mar 2, 2010, at 3:03 AM, Tihomir Culjaga wrote: > bastard !!!! :) > > T. From jonas.gauffin at gmail.com Tue Mar 2 07:02:47 2010 From: jonas.gauffin at gmail.com (Jonas Gauffin) Date: Tue, 2 Mar 2010 16:02:47 +0100 Subject: [Freeswitch-users] Incorrect nonce Message-ID: Hello, I got a problem with rejected calls due to 403 (happens sometimes). My sip provider found the problem, the nonce used by FS is sometimes incorrect (I got the trace from my sip provider). A sip trace can be found here: http://pastebin.freeswitch.org/12280 2010-03-02 08:42:15.247995 [NOTICE] switch_core_session.c:1696 Execute bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) EXECUTE sofia/external/061121487 at 212.151.144.8bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) 2010-03-02 08:42:15.247995 [NOTICE] switch_channel.c:642 New Channel sofia/external/0707728XXX [085c1d55-f66e-4da3-9b75-325ab3d14b4d] 2010-03-02 08:42:15.247995 [DEBUG] mod_sofia.c:3227 (sofia/external/0707728XXX) State Change CS_NEW -> CS_INIT 2010-03-02 08:42:15.247995 [DEBUG] switch_core_session.c:1012 Send signal sofia/external/0707728XXX [BREAK] 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 (sofia/external/0707728XXX) Running State Change CS_INIT 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 (sofia/external/0707728XXX) State INIT 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:83 sofia/external/0707728XXX SOFIA INIT 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:111 (sofia/external/0707728XXX) State Change CS_INIT -> CS_ROUTING 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal sofia/external/0707728XXX [BREAK] 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 (sofia/external/0707728XXX) State INIT going to sleep 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 (sofia/external/0707728XXX) Running State Change CS_ROUTING 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 (sofia/external/0707728XXX) State ROUTING 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:132 sofia/external/0707728XXX SOFIA ROUTING 2010-03-02 08:42:15.263619 [DEBUG] switch_ivr_originate.c:66 (sofia/external/0707728XXX) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal sofia/external/0707728XXX [BREAK] 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 (sofia/external/0707728XXX) State ROUTING going to sleep 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 (sofia/external/0707728XXX) Running State Change CS_CONSUME_MEDIA 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 (sofia/external/0707728XXX) State CONSUME_MEDIA 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 (sofia/external/0707728XXX) State CONSUME_MEDIA going to sleep 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][0] 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][0] 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][100] 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][100] 2010-03-02 08:42:15.310492 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [terminated][407] 2010-03-02 08:42:15.310492 [NOTICE] sofia.c:4634 Hangup sofia/external/0707728XXX [CS_CONSUME_MEDIA] [CALL_REJECTED] Regards, Jonas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/33188479/attachment-0001.html From m.sobkow at marketelsystems.com Tue Mar 2 07:06:15 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Tue, 02 Mar 2010 09:06:15 -0600 Subject: [Freeswitch-users] How to tell if a call timed out In-Reply-To: <20100301221524.GB1751@hijacked.us> References: <4B8C32D7.40202@marketelsystems.com> <20100301221524.GB1751@hijacked.us> Message-ID: <4B8D2967.7010403@marketelsystems.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/492b8126/attachment.html From infos at madovsky.org Tue Mar 2 07:09:38 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 2 Mar 2010 10:09:38 -0500 Subject: [Freeswitch-users] wiki broken link pocketsphinx References: <5A9EAA2F-F7DA-4CC5-ACF6-AD9A0438964F@freeswitch.org> Message-ID: <30970655E0CD476A95CF8382A2742084@MOBILEE1705> apparently Diego updated it. I don't know if I'm skilled enough to elaborate ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 02, 2010 9:28 AM Subject: Re: [Freeswitch-users] wiki broken link pocketsphinx No thats not right either. Care to elaborate? /b On Mar 2, 2010, at 12:05 AM, Madovsky wrote: Hello, the link that goes to grammar sphinx is broken. the right link is http://cmusphinx.sourceforge.net/sphinx4/ Regards Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100302/4792c6b0/attachment.html From tomb at cachecomm.com Tue Mar 2 07:15:50 2010 From: tomb at cachecomm.com (Tom) Date: Tue, 02 Mar 2010 08:15:50 -0700 Subject: [Freeswitch-users] NAT issue? In-Reply-To: References: <4B8BEE7F.1030401@cachecomm.com> <87f2f3b91003010924p16400e10w67e3e90802f78075@mail.gmail.com> <4B8C273C.6010808@cachecomm.com> <65d96fc81003011537kb5fd4c7xdb5df0b83fba3482@mail.gmail.com> <4B8C5AAE.2030908@cachecomm.com> <45C9B1E4-AE67-4E20-A5AB-71EB46EA0CC9@freeswitch.org> <65d96fc81003020103x7df499ecu3d9add7f3053a459@mail.gmail.com> Message-ID: <4B8D2BA6.1030907@cachecomm.com> Brian West wrote: > I have called netgear worse. :) > > /b > > On Mar 2, 2010, at 3:03 AM, Tihomir Culjaga wrote: > > >> bastard !!!! :) >> >> T. >> > > > I removed the Netgear P.O.S . and put the phones behind a linux firewall all is good. Thanks for the help Tom -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From m.sobkow at marketelsystems.com Tue Mar 2 07:39:20 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Tue, 02 Mar 2010 09:39:20 -0600 Subject: [Freeswitch-users] How to tell if a call timed out In-Reply-To: <4B8D2967.7010403@marketelsystems.com> References: <4B8C32D7.40202@marketelsystems.com> <20100301221524.GB1751@hijacked.us> <4B8D2967.7010403@marketelsystems.com> Message-ID: <4B8D3128.6020807@marketelsystems.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/99689c6a/attachment.html From moises.silva at gmail.com Tue Mar 2 07:45:22 2010 From: moises.silva at gmail.com (Moises Silva) Date: Tue, 2 Mar 2010 10:45:22 -0500 Subject: [Freeswitch-users] Freeswitch/Openzap dials out on disconnected FXO line In-Reply-To: <4DF42CB92831454193CEC0E375E06725@greyhawk.tonecommander.com> References: <4DF42CB92831454193CEC0E375E06725@greyhawk.tonecommander.com> Message-ID: Please try latest openzap (svn update in libs/openzap). I commited some code that may help you. -- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy at sangoma.com On Thu, Feb 25, 2010 at 7:13 PM, Robert Hadley wrote: > When dialing out, Freeswitch/Openzap is not detecting that an analog FXO > channel is disconnected and tries dialing out on the channel anyway. No > error is reported. The call doesn?t timeout until a minute later. > Shouldn?t Freeswitch/Openzap skip over a disconnected channel to the next > connected channel? > > > > I have configured a Sangoma A200 FXO card as a FXO span. > > > > [span wanpipe FXO] > > name => PSTN Line 1 > > number => 4253491059 > > fxo-channel => 2:3 > > name => PSTN Line 2 > > number => 4253491058 > > fxo-channel => 2:4 > > > > > > The wanpipe driver does detect and report when a CO line is connected or > disconnected (in /var/log/messages), and Freeswitch/Openzap gets an event as > reported in the log. > > > > /var/log/messages: Feb 25 15:23:10 roberth-c53 kernel: wanpipe2: Module 3: > FXO Line is disconnected! > > FS_CLI: 2010-02-25 15:23:10.711604 [DEBUG] ozmod_analog.c:788 EVENT > [ALARM_TRAP][3:1] STATE [DOWN] > > > > /var/log/messages: Feb 25 15:23:44 roberth-c53 kernel: wanpipe2: Module 4: > FXO Line is connected! > > FS_CLI: 2010-02-25 15:23:44.901979 [DEBUG] ozmod_analog.c:788 EVENT > [ALARM_CLEAR][3:2] STATE [DOWN] > > > > > > I have the dialplan configured to use the next available port in the FXO > span (there will be more than 2 channels later). > > > > > > > > > > > > > > > > > > Here is a portion of the log when that shows dialing out on a disconnected > analog FXO channel. > > > > EXECUTE sofia/internal/5410 at 192.168.72.45:5060bridge(openzap/FXO/a/93491045) > > 2010-02-25 15:26:17.891443 [DEBUG] mod_openzap.c:366 Set codec PCMU 20ms > > 2010-02-25 15:26:17.891443 [DEBUG] mod_openzap.c:1257 Connect outbound > channel OpenZAP/3:1/93491045 > > 2010-02-25 15:26:17.891443 [NOTICE] switch_channel.c:642 New Channel > OpenZAP/3:1/93491045 [3c8f46f5-77a8-498f-a51c-015837746cb7] > > 2010-02-25 15:26:17.891443 [DEBUG] mod_openzap.c:1269 > (OpenZAP/3:1/93491045) State Change CS_NEW -> CS_INIT > > 2010-02-25 15:26:17.891443 [DEBUG] switch_core_session.c:1019 Send signal > OpenZAP/3:1/93491045 [BREAK] > > 2010-02-25 15:26:17.891443 [DEBUG] ozmod_analog.c:59 Changing state on 3:1 > from DOWN to DIALING > > 2010-02-25 15:26:17.891443 [WARNING] switch_core_session.c:486 > OpenZAP/3:1/93491045 does not support the proxy feature, disabling. > > 2010-02-25 15:26:17.891443 [DEBUG] ozmod_analog.c:279 ANALOG CHANNEL thread > starting. > > 2010-02-25 15:26:17.891443 [DEBUG] ozmod_analog.c:450 Executing state > handler on 3:1 for DIALING > > 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:314 > (OpenZAP/3:1/93491045) Running State Change CS_INIT > > 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:338 > (OpenZAP/3:1/93491045) State INIT > > 2010-02-25 15:26:17.891443 [DEBUG] mod_openzap.c:394 (OpenZAP/3:1/93491045) > State Change CS_INIT -> CS_ROUTING > > 2010-02-25 15:26:17.891443 [DEBUG] switch_core_session.c:1019 Send signal > OpenZAP/3:1/93491045 [BREAK] > > 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:338 > (OpenZAP/3:1/93491045) State INIT going to sleep > > 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:314 > (OpenZAP/3:1/93491045) Running State Change CS_ROUTING > > 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:341 > (OpenZAP/3:1/93491045) State ROUTING > > 2010-02-25 15:26:17.891443 [DEBUG] mod_openzap.c:417 OpenZAP/3:1/93491045 > CHANNEL ROUTING > > 2010-02-25 15:26:17.891443 [DEBUG] switch_ivr_originate.c:66 > (OpenZAP/3:1/93491045) State Change CS_ROUTING -> CS_CONSUME_MEDIA > > 2010-02-25 15:26:17.891443 [DEBUG] switch_core_session.c:1019 Send signal > OpenZAP/3:1/93491045 [BREAK] > > 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:341 > (OpenZAP/3:1/93491045) State ROUTING going to sleep > > 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:314 > (OpenZAP/3:1/93491045) Running State Change CS_CONSUME_MEDIA > > 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:360 > (OpenZAP/3:1/93491045) State CONSUME_MEDIA > > 2010-02-25 15:26:17.891443 [DEBUG] switch_core_state_machine.c:360 > (OpenZAP/3:1/93491045) State CONSUME_MEDIA going to sleep > > > > > > Thanks, > > Robert > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/9fc6ea5f/attachment-0001.html From scottferri09 at gmail.com Tue Mar 2 07:53:09 2010 From: scottferri09 at gmail.com (Scott Fernandez) Date: Tue, 2 Mar 2010 21:23:09 +0530 Subject: [Freeswitch-users] Inbound settings Message-ID: Hi, 1) How to configure inbound settings in FS? 2) If so, Please list down the steps that I require to do? 3) If have more than 1 DID number (let;'s say 4 DID's -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/69074d50/attachment.html From brian at freeswitch.org Tue Mar 2 08:00:22 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 10:00:22 -0600 Subject: [Freeswitch-users] Inbound settings In-Reply-To: References: Message-ID: Have you read over the wiki? http://wiki.freeswitch.org/wiki/Getting_Started_Guide /b On Mar 2, 2010, at 9:53 AM, Scott Fernandez wrote: > Hi, > > > 1) How to configure inbound settings in FS? > 2) If so, Please list down the steps that I require to do? > 3) If have more than 1 DID number (let;'s say 4 DID's > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 infos at madovsky.org Tue Mar 2 08:02:12 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 2 Mar 2010 11:02:12 -0500 Subject: [Freeswitch-users] Inbound settings References: Message-ID: <860AD4D8E1F34919A28DF973FF2C7969@MOBILEE1705> http://wiki.freeswitch.org/wiki/Installation_Guide ----- Original Message ----- From: Scott Fernandez To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 02, 2010 10:53 AM Subject: [Freeswitch-users] Inbound settings Hi, 1) How to configure inbound settings in FS? 2) If so, Please list down the steps that I require to do? 3) If have more than 1 DID number (let;'s say 4 DID's ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/67fd8d1e/attachment.html From m.sobkow at marketelsystems.com Tue Mar 2 08:10:43 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Tue, 02 Mar 2010 10:10:43 -0600 Subject: [Freeswitch-users] How to tell if a call timed out In-Reply-To: <4B8D3128.6020807@marketelsystems.com> References: <4B8C32D7.40202@marketelsystems.com> <20100301221524.GB1751@hijacked.us> <4B8D2967.7010403@marketelsystems.com> <4B8D3128.6020807@marketelsystems.com> Message-ID: <4B8D3883.9040902@marketelsystems.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/e1299853/attachment.html From sos at sokhapkin.dyndns.org Tue Mar 2 08:13:06 2010 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Tue, 2 Mar 2010 11:13:06 -0500 Subject: [Freeswitch-users] What FS is doing when idle? Message-ID: <201003021113.06820.sos@sokhapkin.dyndns.org> FS (r16858) consumes 4-5% of CPU time with spikes to 10% when idle. No single SIP request hits it. What does it doing? I unloaded all modules which can be unloaded, no difference. Tried with both -vm and -heavy-timer start up options. I'm running gentoo linux. # uname -a Linux 2.6.28-tuxonice-r10 #1 SMP Sat Oct 17 08:58:15 EDT 2009 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux From jonas.gauffin at gmail.com Tue Mar 2 08:20:26 2010 From: jonas.gauffin at gmail.com (Jonas Gauffin) Date: Tue, 2 Mar 2010 17:20:26 +0100 Subject: [Freeswitch-users] Diversion header Message-ID: Hello, I got a incoming call from my provider which goes to a javascript. The javascript transfers the call to an external destination (goes back through my provider). A diversion headers is added by FreeSWITCH on the outbound call. How can I remove it (or if not possible, how do I change it)? javascript: session.setCallerData("caller_id_number", aNumber); session.setVariable("gate_caller_id_number", aNumber); session.setVariable("gate_site_id", SITE_ID); session.execute("transfer", this.dtmfBuffer + " XML internal"); send 1179 bytes to udp/[130.244.Y.YY]:5060 at 16:13:16.752200: ------------------------------------------------------------------------ INVITE sip:024390510 at sip-corporate.provider.comSIP/2.0 Via: SIP/2.0/UDP 212.247.XX.XX;rport;branch=z9hG4bKaa59XjFt2N2rS Max-Forwards: 67 From: "0236661XXX" ;tag=BHvytKtv47r2a To: > Call-ID: 5a022f8f-a0b9-122d-779a-dbdeced2caa5 CSeq: 127654862 INVITE Contact: User-Agent: Gateon Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY Supported: timer, precondition, path, replaces Allow-Events: talk, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 273 Diversion: 0 ;reason=unconditional;counter=1;privacy=off X-FS-Support: update_display Remote-Party-ID: "0236661XXX" ;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1267513684 1267513685 IN IP4 212.247.XX.XX s=FreeSWITCH c=IN IP4 212.247.XX.XX t=0 0 m=audio 32712 RTP/AVP 8 3 101 13 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/a188065b/attachment.html From infos at madovsky.org Tue Mar 2 08:20:54 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 2 Mar 2010 11:20:54 -0500 Subject: [Freeswitch-users] last svn version compile error Message-ID: The compilation is fine if I comment out mod_vmd from modules.conf Thanks F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 02, 2010 1:24 AM Subject: last svn version compile error Hi, Ino succes to update freeswitch to version 16859 with usual command "make current" etc... but now I got this error : /usr/src/freeswitch.trunk/src/mod/applications/mod_vmd/mod_vmd.c:714: error: passing argument 6 of ?switch_core_media_bug_add? makes integer from pointer without a cast /usr/src/freeswitch.trunk/src/mod/applications/mod_vmd/mod_vmd.c:714: error: too few arguments to function ?switch_core_media_bug_add? Any idea ? thanks Franck Linux Fedora 10 64bits -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/762eb173/attachment-0001.html From moises.silva at gmail.com Tue Mar 2 08:35:47 2010 From: moises.silva at gmail.com (Moises Silva) Date: Tue, 2 Mar 2010 11:35:47 -0500 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <201003021113.06820.sos@sokhapkin.dyndns.org> References: <201003021113.06820.sos@sokhapkin.dyndns.org> Message-ID: ps -LlFm -p `pidof freeswitch` That shows you CPU usage per FreeSWITCH thread Then pstack `pidof freeswitch` That shows the stack trace of every FreeSWITCH thread and then you can find exactly what is doing. -- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy at sangoma.com On Tue, Mar 2, 2010 at 11:13 AM, Sergey Okhapkin wrote: > FS (r16858) consumes 4-5% of CPU time with spikes to 10% when idle. No > single > SIP request hits it. What does it doing? I unloaded all modules which can > be > unloaded, no difference. Tried with both -vm and -heavy-timer start up > options. I'm running gentoo linux. > > # uname -a > Linux 2.6.28-tuxonice-r10 #1 SMP Sat Oct 17 08:58:15 EDT 2009 i686 > Intel(R) > Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/ffad511c/attachment.html From anthony.minessale at gmail.com Tue Mar 2 08:42:56 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 2 Mar 2010 10:42:56 -0600 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <201003021113.06820.sos@sokhapkin.dyndns.org> References: <201003021113.06820.sos@sokhapkin.dyndns.org> Message-ID: <191c3a031003020842t53fc0906qea1c7c19d4fd904b@mail.gmail.com> If you don't like that CPU usage, use a different kernel or disable the broken "tickles" features. you can't use both -vm and -heavy-timer because -heavy-timer replaces -vm permanently. On Tue, Mar 2, 2010 at 10:13 AM, Sergey Okhapkin wrote: > FS (r16858) consumes 4-5% of CPU time with spikes to 10% when idle. No > single > SIP request hits it. What does it doing? I unloaded all modules which can > be > unloaded, no difference. Tried with both -vm and -heavy-timer start up > options. I'm running gentoo linux. > > # uname -a > Linux 2.6.28-tuxonice-r10 #1 SMP Sat Oct 17 08:58:15 EDT 2009 i686 > Intel(R) > Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100302/7b82dc0d/attachment.html From infos at madovsky.org Tue Mar 2 08:43:45 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 2 Mar 2010 11:43:45 -0500 Subject: [Freeswitch-users] clustering question Message-ID: <6FB1E9CF2C044BBCBE87D44335CD2383@MOBILEE1705> Hi, I searched some articles of FS in a cluster environment but there are some unclear writes : in http://www.technoclicks.com/article-2545.php from 2006 it says "Minessale says FreeSwitch won't be bounded by those same problems. The software is designed to run on a cluster of an unlimited number of servers though realistically that will be gated by the capacity of the network. Early tests on a single server showed simultaneous calls on a Pentium server running at . GHz. The server completed calls per second with bursts to calls per second." and this thread from 2008 http://www.mail-archive.com/freeswitch-users at lists.freeswitch.org/msg05258.html that describes contradiction of how to manage clustering. so is FS really be built as cluster to expand call capacity ? or is it be clustered by the fact that only serveral FS share a DB ? Regards F -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/87be51fc/attachment.html From anthony.minessale at gmail.com Tue Mar 2 08:44:23 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 2 Mar 2010 10:44:23 -0600 Subject: [Freeswitch-users] Incorrect nonce In-Reply-To: References: Message-ID: <191c3a031003020844h44f63842pb4c88f4ebee088ec@mail.gmail.com> Are you reporting what you think is a bug on the mailing list? I think you have been around long enough to know better............. On Tue, Mar 2, 2010 at 9:02 AM, Jonas Gauffin wrote: > Hello, > > I got a problem with rejected calls due to 403 (happens sometimes). > My sip provider found the problem, the nonce used by FS is sometimes > incorrect (I got the trace from my sip provider). > > A sip trace can be found here: http://pastebin.freeswitch.org/12280 > > > 2010-03-02 08:42:15.247995 [NOTICE] switch_core_session.c:1696 Execute > bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) > EXECUTE sofia/external/061121487 at 212.151.144.8bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) > 2010-03-02 08:42:15.247995 [NOTICE] switch_channel.c:642 New Channel > sofia/external/0707728XXX [085c1d55-f66e-4da3-9b75-325ab3d14b4d] > 2010-03-02 08:42:15.247995 [DEBUG] mod_sofia.c:3227 > (sofia/external/0707728XXX) State Change CS_NEW -> CS_INIT > 2010-03-02 08:42:15.247995 [DEBUG] switch_core_session.c:1012 Send signal > sofia/external/0707728XXX [BREAK] > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 > (sofia/external/0707728XXX) Running State Change CS_INIT > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 > (sofia/external/0707728XXX) State INIT > 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:83 sofia/external/0707728XXX > SOFIA INIT > 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:111 > (sofia/external/0707728XXX) State Change CS_INIT -> CS_ROUTING > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal > sofia/external/0707728XXX [BREAK] > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 > (sofia/external/0707728XXX) State INIT going to sleep > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 > (sofia/external/0707728XXX) Running State Change CS_ROUTING > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 > (sofia/external/0707728XXX) State ROUTING > 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:132 > sofia/external/0707728XXX SOFIA ROUTING > 2010-03-02 08:42:15.263619 [DEBUG] switch_ivr_originate.c:66 > (sofia/external/0707728XXX) State Change CS_ROUTING -> CS_CONSUME_MEDIA > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal > sofia/external/0707728XXX [BREAK] > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 > (sofia/external/0707728XXX) State ROUTING going to sleep > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 > (sofia/external/0707728XXX) Running State Change CS_CONSUME_MEDIA > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 > (sofia/external/0707728XXX) State CONSUME_MEDIA > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 > (sofia/external/0707728XXX) State CONSUME_MEDIA going to sleep > 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel > sofia/external/0707728XXX entering state [calling][0] > 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel > sofia/external/0707728XXX entering state [calling][0] > 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel > sofia/external/0707728XXX entering state [calling][100] > 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel > sofia/external/0707728XXX entering state [calling][100] > 2010-03-02 08:42:15.310492 [DEBUG] sofia.c:3992 Channel > sofia/external/0707728XXX entering state [terminated][407] > 2010-03-02 08:42:15.310492 [NOTICE] sofia.c:4634 Hangup > sofia/external/0707728XXX [CS_CONSUME_MEDIA] [CALL_REJECTED] > > Regards, > Jonas > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100302/a71072d6/attachment.html From brian at freeswitch.org Tue Mar 2 08:53:35 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 10:53:35 -0600 Subject: [Freeswitch-users] Incorrect nonce In-Reply-To: <191c3a031003020844h44f63842pb4c88f4ebee088ec@mail.gmail.com> References: <191c3a031003020844h44f63842pb4c88f4ebee088ec@mail.gmail.com> Message-ID: <151E6027-B371-4DA0-887C-8A8BAC336709@freeswitch.org> Jonas, Also I need a complete pcap of this without modifications. I can't hand calculate this to see what is going on without intact data. Please open a jira and email me the pcap in private if you must. Remember the list is not a bug tracker... Thats what we have jira for ;) Thanks, Brian On Mar 2, 2010, at 10:44 AM, Anthony Minessale wrote: > Are you reporting what you think is a bug on the mailing list? > I think you have been around long enough to know better............. > > > On Tue, Mar 2, 2010 at 9:02 AM, Jonas Gauffin wrote: > Hello, > > I got a problem with rejected calls due to 403 (happens sometimes). > My sip provider found the problem, the nonce used by FS is sometimes incorrect (I got the trace from my sip provider). > > A sip trace can be found here: http://pastebin.freeswitch.org/12280 > > > 2010-03-02 08:42:15.247995 [NOTICE] switch_core_session.c:1696 Execute bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) > EXECUTE sofia/external/061121487 at 212.151.144.8 bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) > 2010-03-02 08:42:15.247995 [NOTICE] switch_channel.c:642 New Channel sofia/external/0707728XXX [085c1d55-f66e-4da3-9b75-325ab3d14b4d] > 2010-03-02 08:42:15.247995 [DEBUG] mod_sofia.c:3227 (sofia/external/0707728XXX) State Change CS_NEW -> CS_INIT > 2010-03-02 08:42:15.247995 [DEBUG] switch_core_session.c:1012 Send signal sofia/external/0707728XXX [BREAK] > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 (sofia/external/0707728XXX) Running State Change CS_INIT > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 (sofia/external/0707728XXX) State INIT > 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:83 sofia/external/0707728XXX SOFIA INIT > 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:111 (sofia/external/0707728XXX) State Change CS_INIT -> CS_ROUTING > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal sofia/external/0707728XXX [BREAK] > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 (sofia/external/0707728XXX) State INIT going to sleep > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 (sofia/external/0707728XXX) Running State Change CS_ROUTING > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 (sofia/external/0707728XXX) State ROUTING > 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:132 sofia/external/0707728XXX SOFIA ROUTING > 2010-03-02 08:42:15.263619 [DEBUG] switch_ivr_originate.c:66 (sofia/external/0707728XXX) State Change CS_ROUTING -> CS_CONSUME_MEDIA > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal sofia/external/0707728XXX [BREAK] > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 (sofia/external/0707728XXX) State ROUTING going to sleep > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 (sofia/external/0707728XXX) Running State Change CS_CONSUME_MEDIA > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 (sofia/external/0707728XXX) State CONSUME_MEDIA > 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 (sofia/external/0707728XXX) State CONSUME_MEDIA going to sleep > 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][0] > 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][0] > 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][100] > 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][100] > 2010-03-02 08:42:15.310492 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [terminated][407] > 2010-03-02 08:42:15.310492 [NOTICE] sofia.c:4634 Hangup sofia/external/0707728XXX [CS_CONSUME_MEDIA] [CALL_REJECTED] > > Regards, > Jonas > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/a71984e3/attachment-0001.html From infos at madovsky.org Tue Mar 2 08:56:52 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 2 Mar 2010 11:56:52 -0500 Subject: [Freeswitch-users] clustering question Message-ID: <76B2210A926D4D06B34B38BBE633210D@MOBILEE1705> what FS team thinks about this SIP clustering architecture ? http://blogs.sun.com/kshitiz/entry/converged_load_balancer Regards F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 02, 2010 11:43 AM Subject: clustering question Hi, I searched some articles of FS in a cluster environment but there are some unclear writes : in http://www.technoclicks.com/article-2545.php from 2006 it says "Minessale says FreeSwitch won't be bounded by those same problems. The software is designed to run on a cluster of an unlimited number of servers though realistically that will be gated by the capacity of the network. Early tests on a single server showed simultaneous calls on a Pentium server running at . GHz. The server completed calls per second with bursts to calls per second." and this thread from 2008 http://www.mail-archive.com/freeswitch-users at lists.freeswitch.org/msg05258.html that describes contradiction of how to manage clustering. so is FS really be built as cluster to expand call capacity ? or is it be clustered by the fact that only serveral FS share a DB ? Regards F -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/fd6d4233/attachment.html From sos at sokhapkin.dyndns.org Tue Mar 2 09:00:15 2010 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Tue, 2 Mar 2010 12:00:15 -0500 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <191c3a031003020842t53fc0906qea1c7c19d4fd904b@mail.gmail.com> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <191c3a031003020842t53fc0906qea1c7c19d4fd904b@mail.gmail.com> Message-ID: <201003021200.16252.sos@sokhapkin.dyndns.org> Tickless feature is disabled in the kernel. $ zcat /proc/config.gz | grep CONFIG_NO_HZ # CONFIG_NO_HZ is not set On Tuesday 02 March 2010, Anthony Minessale wrote: > If you don't like that CPU usage, use a different kernel or disable the > broken "tickles" features. > > you can't use both -vm and -heavy-timer because -heavy-timer replaces -vm > permanently. > > > On Tue, Mar 2, 2010 at 10:13 AM, Sergey Okhapkin > > wrote: > > FS (r16858) consumes 4-5% of CPU time with spikes to 10% when idle. No > > single > > SIP request hits it. What does it doing? I unloaded all modules which can > > be > > unloaded, no difference. Tried with both -vm and -heavy-timer start up > > options. I'm running gentoo linux. > > > > # uname -a > > Linux 2.6.28-tuxonice-r10 #1 SMP Sat Oct 17 08:58:15 EDT 2009 i686 > > Intel(R) > > Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 jonas.gauffin at gmail.com Tue Mar 2 09:04:26 2010 From: jonas.gauffin at gmail.com (Jonas Gauffin) Date: Tue, 2 Mar 2010 18:04:26 +0100 Subject: [Freeswitch-users] Incorrect nonce In-Reply-To: <151E6027-B371-4DA0-887C-8A8BAC336709@freeswitch.org> References: <191c3a031003020844h44f63842pb4c88f4ebee088ec@mail.gmail.com> <151E6027-B371-4DA0-887C-8A8BAC336709@freeswitch.org> Message-ID: You are both correct. Issue created. On Tue, Mar 2, 2010 at 5:53 PM, Brian West wrote: > Jonas, > Also I need a complete pcap of this without modifications. I can't hand > calculate this to see what is going on without intact data. Please open a > jira and email me the pcap in private if you must. > > Remember the list is not a bug tracker... Thats what we have jira for ;) > > Thanks, > Brian > > On Mar 2, 2010, at 10:44 AM, Anthony Minessale wrote: > > Are you reporting what you think is a bug on the mailing list? > I think you have been around long enough to know better............. > > > On Tue, Mar 2, 2010 at 9:02 AM, Jonas Gauffin wrote: > >> Hello, >> >> I got a problem with rejected calls due to 403 (happens sometimes). >> My sip provider found the problem, the nonce used by FS is sometimes >> incorrect (I got the trace from my sip provider). >> >> A sip trace can be found here: http://pastebin.freeswitch.org/12280 >> >> >> 2010-03-02 08:42:15.247995 [NOTICE] switch_core_session.c:1696 Execute >> bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) >> EXECUTE sofia/external/061121487 at 212.151.144.8bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) >> 2010-03-02 08:42:15.247995 [NOTICE] switch_channel.c:642 New Channel >> sofia/external/0707728XXX [085c1d55-f66e-4da3-9b75-325ab3d14b4d] >> 2010-03-02 08:42:15.247995 [DEBUG] mod_sofia.c:3227 >> (sofia/external/0707728XXX) State Change CS_NEW -> CS_INIT >> 2010-03-02 08:42:15.247995 [DEBUG] switch_core_session.c:1012 Send signal >> sofia/external/0707728XXX [BREAK] >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 >> (sofia/external/0707728XXX) Running State Change CS_INIT >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 >> (sofia/external/0707728XXX) State INIT >> 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:83 >> sofia/external/0707728XXX SOFIA INIT >> 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:111 >> (sofia/external/0707728XXX) State Change CS_INIT -> CS_ROUTING >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal >> sofia/external/0707728XXX [BREAK] >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 >> (sofia/external/0707728XXX) State INIT going to sleep >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 >> (sofia/external/0707728XXX) Running State Change CS_ROUTING >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 >> (sofia/external/0707728XXX) State ROUTING >> 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:132 >> sofia/external/0707728XXX SOFIA ROUTING >> 2010-03-02 08:42:15.263619 [DEBUG] switch_ivr_originate.c:66 >> (sofia/external/0707728XXX) State Change CS_ROUTING -> CS_CONSUME_MEDIA >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal >> sofia/external/0707728XXX [BREAK] >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 >> (sofia/external/0707728XXX) State ROUTING going to sleep >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 >> (sofia/external/0707728XXX) Running State Change CS_CONSUME_MEDIA >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 >> (sofia/external/0707728XXX) State CONSUME_MEDIA >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 >> (sofia/external/0707728XXX) State CONSUME_MEDIA going to sleep >> 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel >> sofia/external/0707728XXX entering state [calling][0] >> 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel >> sofia/external/0707728XXX entering state [calling][0] >> 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel >> sofia/external/0707728XXX entering state [calling][100] >> 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel >> sofia/external/0707728XXX entering state [calling][100] >> 2010-03-02 08:42:15.310492 [DEBUG] sofia.c:3992 Channel >> sofia/external/0707728XXX entering state [terminated][407] >> 2010-03-02 08:42:15.310492 [NOTICE] sofia.c:4634 Hangup >> sofia/external/0707728XXX [CS_CONSUME_MEDIA] [CALL_REJECTED] >> >> Regards, >> Jonas >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100302/b4e263e8/attachment.html From infos at madovsky.org Tue Mar 2 09:06:20 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 2 Mar 2010 12:06:20 -0500 Subject: [Freeswitch-users] clustering question Message-ID: also from 2007 http://ftp.iptel.org/pub/sems/fostel_2007_coeffic_sems_load_balancing.pdf that says SEMS can make round robin and hash load balancing. I don't talk here about failover since this can be resolved with conventional clustering solution as hearbeat pacemaker redhat cluster etc... but especially load balancing to increase nujmber of calls Regards F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 02, 2010 11:56 AM Subject: Re: clustering question what FS team thinks about this SIP clustering architecture ? http://blogs.sun.com/kshitiz/entry/converged_load_balancer Regards F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 02, 2010 11:43 AM Subject: clustering question Hi, I searched some articles of FS in a cluster environment but there are some unclear writes : in http://www.technoclicks.com/article-2545.php from 2006 it says "Minessale says FreeSwitch won't be bounded by those same problems. The software is designed to run on a cluster of an unlimited number of servers though realistically that will be gated by the capacity of the network. Early tests on a single server showed simultaneous calls on a Pentium server running at . GHz. The server completed calls per second with bursts to calls per second." and this thread from 2008 http://www.mail-archive.com/freeswitch-users at lists.freeswitch.org/msg05258.html that describes contradiction of how to manage clustering. so is FS really be built as cluster to expand call capacity ? or is it be clustered by the fact that only serveral FS share a DB ? Regards F -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/77454609/attachment-0001.html From jonas.gauffin at gmail.com Tue Mar 2 09:35:33 2010 From: jonas.gauffin at gmail.com (Jonas Gauffin) Date: Tue, 2 Mar 2010 18:35:33 +0100 Subject: [Freeswitch-users] Diversion header In-Reply-To: References: Message-ID: I solved it by adding '' to my generated dial plan. But why was the header added in the first place? On Tue, Mar 2, 2010 at 5:20 PM, Jonas Gauffin wrote: > Hello, > > I got a incoming call from my provider which goes to a javascript. The > javascript transfers the call to an external destination (goes back through > my provider). > A diversion headers is added by FreeSWITCH on the outbound call. How can I > remove it (or if not possible, how do I change it)? > > javascript: > session.setCallerData("caller_id_number", aNumber); > session.setVariable("gate_caller_id_number", aNumber); > session.setVariable("gate_site_id", SITE_ID); > session.execute("transfer", this.dtmfBuffer + " XML internal"); > > > > send 1179 bytes to udp/[130.244.Y.YY]:5060 at 16:13:16.752200: > ------------------------------------------------------------------------ > INVITE sip:024390510 at sip-corporate.provider.comSIP/2.0 > Via: SIP/2.0/UDP 212.247.XX.XX;rport;branch=z9hG4bKaa59XjFt2N2rS > Max-Forwards: 67 > From: "0236661XXX" ;tag=BHvytKtv47r2a > To: > > > Call-ID: 5a022f8f-a0b9-122d-779a-dbdeced2caa5 > CSeq: 127654862 INVITE > Contact: :5060;transport=udp;gw=dalaconnecttele2> > User-Agent: Gateon > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, > REGISTER, REFER, NOTIFY > Supported: timer, precondition, path, replaces > Allow-Events: talk, refer > Content-Type: application/sdp > Content-Disposition: session > Content-Length: 273 > Diversion: 0 ;user=phone>;reason=unconditional;counter=1;privacy=off > X-FS-Support: update_display > Remote-Party-ID: "0236661XXX" >;party=calling;screen=yes;privacy=off > > v=0 > o=FreeSWITCH 1267513684 1267513685 IN IP4 212.247.XX.XX > s=FreeSWITCH > c=IN IP4 212.247.XX.XX > t=0 0 > m=audio 32712 RTP/AVP 8 3 101 13 > a=rtpmap:8 PCMA/8000 > a=rtpmap:3 GSM/8000 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=rtpmap:13 CN/8000 > a=ptime:20 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/01ed7afe/attachment.html From msc at freeswitch.org Tue Mar 2 09:40:56 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 2 Mar 2010 09:40:56 -0800 Subject: [Freeswitch-users] make current - System Hangs In-Reply-To: <7d79b3931003012314r161c4120k960b34b3b98c533c@mail.gmail.com> References: <7d79b3931003012314r161c4120k960b34b3b98c533c@mail.gmail.com> Message-ID: <87f2f3b91003020940n4781a0a2j5c63c1d098b434e5@mail.gmail.com> On Mon, Mar 1, 2010 at 11:14 PM, lakshmanan ganapathy wrote: > Hi all, > I did make current from my freeswitch src directory, but the system got > hanged. > Any one know why this happened. > Does it happen every time you make current? If so, does it always happen at the "expat" lib? -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/1f484e24/attachment.html From msc at freeswitch.org Tue Mar 2 09:44:16 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 2 Mar 2010 09:44:16 -0800 Subject: [Freeswitch-users] .NET / ESL In-Reply-To: <251258.58331.qm@web33508.mail.mud.yahoo.com> References: <367751821003011901p55388bd6h9f543fed4c3de69c@mail.gmail.com> <251258.58331.qm@web33508.mail.mud.yahoo.com> Message-ID: <87f2f3b91003020944s77e57eavc5e8e503c0c15cbb@mail.gmail.com> On Tue, Mar 2, 2010 at 5:24 AM, Diego Toro wrote: > Hi Phillip Jones, > > Any concerns, You tell me, I help you > > Diego Toro > http://lacarretade.blogspot.com/ > Diego, I have a concern: you're supposed to join the FS community conf call and talk to us about using .NET langs with ESL! :P Seriously, though, we would love to have you join the conference tomorrow or any other Wednesday and discuss what's going on with .NET ESL programming. Moc has a server you can use to share a screen if you'd like. Thanks!! -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/ca1ad8ad/attachment.html From brian at freeswitch.org Tue Mar 2 09:45:27 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 11:45:27 -0600 Subject: [Freeswitch-users] Diversion header In-Reply-To: References: Message-ID: <6CAB4A3B-FEA8-467E-B7DB-A33862E082A1@freeswitch.org> Because it should be there if you redirected the call. /b On Mar 2, 2010, at 11:35 AM, Jonas Gauffin wrote: > I solved it by adding '' to my generated dial plan. But why was the header added in the first place? From brian at freeswitch.org Tue Mar 2 09:47:39 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 11:47:39 -0600 Subject: [Freeswitch-users] make current - System Hangs In-Reply-To: <87f2f3b91003020940n4781a0a2j5c63c1d098b434e5@mail.gmail.com> References: <7d79b3931003012314r161c4120k960b34b3b98c533c@mail.gmail.com> <87f2f3b91003020940n4781a0a2j5c63c1d098b434e5@mail.gmail.com> Message-ID: <2C6C36D4-8709-42A1-9FD7-F9F7A39A7E6C@freeswitch.org> what os are you on? /b On Mar 2, 2010, at 11:40 AM, Michael Collins wrote: > > > On Mon, Mar 1, 2010 at 11:14 PM, lakshmanan ganapathy wrote: > Hi all, > I did make current from my freeswitch src directory, but the system got hanged. > Any one know why this happened. > > Does it happen every time you make current? If so, does it always happen at the "expat" lib? > -MC > > _________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/6ef9104e/attachment.html From sos at sokhapkin.dyndns.org Tue Mar 2 09:51:48 2010 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Tue, 2 Mar 2010 12:51:48 -0500 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: References: <201003021113.06820.sos@sokhapkin.dyndns.org> Message-ID: <201003021251.48760.sos@sokhapkin.dyndns.org> FS spends half of CPU here (main thread): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7a82781 in select () from /lib/libc.so.6 #2 0xb7e392eb in apr_sleep () from /opt/freeswitch/lib/libfreeswitch.so.1 #3 0x00000000 in ?? () The second half is spent here: #0 0xb7d50946 in clock_nanosleep () from /lib/librt.so.1 #1 0xb7e0fa7d in softtimer_runtime () at src/switch_time.c:155 #2 0xb7dc585a in switch_loadable_module_exec (thread=0xb7101fb8, obj=0xb7101da8) at src/switch_loadable_module.c:96 #3 0xb7e379a8 in dummy_worker () from /opt/freeswitch/lib/libfreeswitch.so.1 On Tuesday 02 March 2010, Moises Silva wrote: > ps -LlFm -p `pidof freeswitch` > > That shows you CPU usage per FreeSWITCH thread > > Then > > pstack `pidof freeswitch` > > That shows the stack trace of every FreeSWITCH thread and then you can find > exactly what is doing. From anthony.minessale at gmail.com Tue Mar 2 10:00:23 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 2 Mar 2010 12:00:23 -0600 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <201003021251.48760.sos@sokhapkin.dyndns.org> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <201003021251.48760.sos@sokhapkin.dyndns.org> Message-ID: <191c3a031003021000n296bd128p185136185811303b@mail.gmail.com> Well, there you go. your box is having a hard time doing a simple 1ms sleep in a loop for the centralized core timer. It's either your kernel or your box. My box and every box I have do not have that problem so you may want to consider a new one. FreeSWITCH is FREE so give it a good home. The good news is, you can make upwards of 1500 calls on that same 2% of cpu usage. On Tue, Mar 2, 2010 at 11:51 AM, Sergey Okhapkin wrote: > FS spends half of CPU here (main thread): > > #0 0xffffe424 in __kernel_vsyscall () > #1 0xb7a82781 in select () from /lib/libc.so.6 > #2 0xb7e392eb in apr_sleep () from /opt/freeswitch/lib/libfreeswitch.so.1 > #3 0x00000000 in ?? () > > The second half is spent here: > > #0 0xb7d50946 in clock_nanosleep () from /lib/librt.so.1 > #1 0xb7e0fa7d in softtimer_runtime () at src/switch_time.c:155 > #2 0xb7dc585a in switch_loadable_module_exec (thread=0xb7101fb8, > obj=0xb7101da8) at src/switch_loadable_module.c:96 > #3 0xb7e379a8 in dummy_worker () from > /opt/freeswitch/lib/libfreeswitch.so.1 > > > On Tuesday 02 March 2010, Moises Silva wrote: > > ps -LlFm -p `pidof freeswitch` > > > > That shows you CPU usage per FreeSWITCH thread > > > > Then > > > > pstack `pidof freeswitch` > > > > That shows the stack trace of every FreeSWITCH thread and then you can > find > > exactly what is doing. > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100302/f3a01f93/attachment-0001.html From jonas.gauffin at gmail.com Tue Mar 2 10:11:54 2010 From: jonas.gauffin at gmail.com (Jonas Gauffin) Date: Tue, 2 Mar 2010 19:11:54 +0100 Subject: [Freeswitch-users] Diversion header In-Reply-To: <6CAB4A3B-FEA8-467E-B7DB-A33862E082A1@freeswitch.org> References: <6CAB4A3B-FEA8-467E-B7DB-A33862E082A1@freeswitch.org> Message-ID: Sure I can buy that, but not with a URI that doesnt match the inbound call. "0 " fails number validation and therefore all calls through that javascript will be rejected by my provider. On Tue, Mar 2, 2010 at 6:45 PM, Brian West wrote: > Because it should be there if you redirected the call. > > /b > > On Mar 2, 2010, at 11:35 AM, Jonas Gauffin wrote: > > > I solved it by adding ' data="sip_h_Diversion="/>' to my generated dial plan. But why was the header > added in the first place? > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/b8211d29/attachment.html From sos at sokhapkin.dyndns.org Tue Mar 2 10:16:30 2010 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Tue, 2 Mar 2010 13:16:30 -0500 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <191c3a031003021000n296bd128p185136185811303b@mail.gmail.com> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <201003021251.48760.sos@sokhapkin.dyndns.org> <191c3a031003021000n296bd128p185136185811303b@mail.gmail.com> Message-ID: <201003021316.30842.sos@sokhapkin.dyndns.org> I see the same problem on 4 absolutely different boxes with different linux kernels. On Tuesday 02 March 2010, Anthony Minessale wrote: > Well, there you go. > your box is having a hard time doing a simple 1ms sleep in a loop for the > centralized core timer. > > It's either your kernel or your box. My box and every box I have do not > have that problem so you may want to consider a new one. > > FreeSWITCH is FREE so give it a good home. > > The good news is, you can make upwards of 1500 calls on that same 2% of cpu > usage. > > > > On Tue, Mar 2, 2010 at 11:51 AM, Sergey Okhapkin > > wrote: > > FS spends half of CPU here (main thread): > > > > #0 0xffffe424 in __kernel_vsyscall () > > #1 0xb7a82781 in select () from /lib/libc.so.6 > > #2 0xb7e392eb in apr_sleep () from > > /opt/freeswitch/lib/libfreeswitch.so.1 #3 0x00000000 in ?? () > > > > The second half is spent here: > > > > #0 0xb7d50946 in clock_nanosleep () from /lib/librt.so.1 > > #1 0xb7e0fa7d in softtimer_runtime () at src/switch_time.c:155 > > #2 0xb7dc585a in switch_loadable_module_exec (thread=0xb7101fb8, > > obj=0xb7101da8) at src/switch_loadable_module.c:96 > > #3 0xb7e379a8 in dummy_worker () from > > /opt/freeswitch/lib/libfreeswitch.so.1 > > > > On Tuesday 02 March 2010, Moises Silva wrote: > > > ps -LlFm -p `pidof freeswitch` > > > > > > That shows you CPU usage per FreeSWITCH thread > > > > > > Then > > > > > > pstack `pidof freeswitch` > > > > > > That shows the stack trace of every FreeSWITCH thread and then you can > > > > find > > > > > exactly what is doing. > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org From brian at freeswitch.org Tue Mar 2 10:16:48 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 12:16:48 -0600 Subject: [Freeswitch-users] Diversion header In-Reply-To: References: <6CAB4A3B-FEA8-467E-B7DB-A33862E082A1@freeswitch.org> Message-ID: <9D3ECCF2-D1D1-4383-B171-3F185482A5A0@freeswitch.org> Was the header there on the inbound invite? /b On Mar 2, 2010, at 12:11 PM, Jonas Gauffin wrote: > Sure I can buy that, but not with a URI that doesnt match the inbound call. > > "0 " fails number validation and therefore all calls through that javascript will be rejected by my provider. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/7c8fc138/attachment.html From gmaruzz at celliax.org Tue Mar 2 10:23:04 2010 From: gmaruzz at celliax.org (Giovanni Maruzzelli) Date: Tue, 2 Mar 2010 19:23:04 +0100 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <201003021316.30842.sos@sokhapkin.dyndns.org> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <201003021251.48760.sos@sokhapkin.dyndns.org> <191c3a031003021000n296bd128p185136185811303b@mail.gmail.com> <201003021316.30842.sos@sokhapkin.dyndns.org> Message-ID: <7b197bef1003021023o7ec6fba6sccc9b4185640a32a@mail.gmail.com> Sergey, that's not a problem, is how FS works. That load on the CPU when idle is actually not important. Is just the minimum, like in a carburettor. If you put it under load, you will see that there will need some serious load (many calls) to have it ramp up the cpu usage. -giovanni On Tue, Mar 2, 2010 at 7:16 PM, Sergey Okhapkin wrote: > I see the same problem on 4 absolutely different boxes with different linux > kernels. > > On Tuesday 02 March 2010, Anthony Minessale wrote: >> Well, there you go. >> your box is having a hard time doing a simple 1ms sleep in a loop for the >> centralized core timer. >> >> It's either your kernel or your box. ?My box and every box I have do not >> have that problem so you may want to consider a new one. >> >> FreeSWITCH is FREE so give it a good home. >> >> The good news is, you can make upwards of 1500 calls on that same 2% of cpu >> usage. >> >> >> >> On Tue, Mar 2, 2010 at 11:51 AM, Sergey Okhapkin >> >> wrote: >> > FS spends half of CPU here (main thread): >> > >> > #0 ?0xffffe424 in __kernel_vsyscall () >> > #1 ?0xb7a82781 in select () from /lib/libc.so.6 >> > #2 ?0xb7e392eb in apr_sleep () from >> > /opt/freeswitch/lib/libfreeswitch.so.1 #3 ?0x00000000 in ?? () >> > >> > The second half is spent here: >> > >> > #0 ?0xb7d50946 in clock_nanosleep () from /lib/librt.so.1 >> > #1 ?0xb7e0fa7d in softtimer_runtime () at src/switch_time.c:155 >> > #2 ?0xb7dc585a in switch_loadable_module_exec (thread=0xb7101fb8, >> > obj=0xb7101da8) at src/switch_loadable_module.c:96 >> > #3 ?0xb7e379a8 in dummy_worker () from >> > /opt/freeswitch/lib/libfreeswitch.so.1 >> > >> > On Tuesday 02 March 2010, Moises Silva wrote: >> > > ps -LlFm -p `pidof freeswitch` >> > > >> > > That shows you CPU usage per FreeSWITCH thread >> > > >> > > Then >> > > >> > > pstack `pidof freeswitch` >> > > >> > > That shows the stack trace of every FreeSWITCH thread and then you can >> > >> > find >> > >> > > exactly what is doing. >> > >> > _______________________________________________ >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at 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 > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From anthony.minessale at gmail.com Tue Mar 2 10:43:13 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 2 Mar 2010 12:43:13 -0600 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <7b197bef1003021023o7ec6fba6sccc9b4185640a32a@mail.gmail.com> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <201003021251.48760.sos@sokhapkin.dyndns.org> <191c3a031003021000n296bd128p185136185811303b@mail.gmail.com> <201003021316.30842.sos@sokhapkin.dyndns.org> <7b197bef1003021023o7ec6fba6sccc9b4185640a32a@mail.gmail.com> Message-ID: <191c3a031003021043o1d7a10aar3e5f88dad2738815@mail.gmail.com> I guess if you insist, you have 4 bad boxes with 4 bad kernels, and I bet none of them are Centos 5.3 if you can reproduce it on a box I can visit (Centos 5.3 would be nice), put in my ssh key and i'll come and look. Be sure to remember, as you continue to add to this thread that you are complaining about FS using 2% of your cpu...... That's somewhat amusing to me. On Tue, Mar 2, 2010 at 12:23 PM, Giovanni Maruzzelli wrote: > Sergey, > > that's not a problem, is how FS works. > > That load on the CPU when idle is actually not important. Is just the > minimum, like in a carburettor. > > If you put it under load, you will see that there will need some > serious load (many calls) to have it ramp up the cpu usage. > > -giovanni > > On Tue, Mar 2, 2010 at 7:16 PM, Sergey Okhapkin > wrote: > > I see the same problem on 4 absolutely different boxes with different > linux > > kernels. > > > > On Tuesday 02 March 2010, Anthony Minessale wrote: > >> Well, there you go. > >> your box is having a hard time doing a simple 1ms sleep in a loop for > the > >> centralized core timer. > >> > >> It's either your kernel or your box. My box and every box I have do not > >> have that problem so you may want to consider a new one. > >> > >> FreeSWITCH is FREE so give it a good home. > >> > >> The good news is, you can make upwards of 1500 calls on that same 2% of > cpu > >> usage. > >> > >> > >> > >> On Tue, Mar 2, 2010 at 11:51 AM, Sergey Okhapkin > >> > >> wrote: > >> > FS spends half of CPU here (main thread): > >> > > >> > #0 0xffffe424 in __kernel_vsyscall () > >> > #1 0xb7a82781 in select () from /lib/libc.so.6 > >> > #2 0xb7e392eb in apr_sleep () from > >> > /opt/freeswitch/lib/libfreeswitch.so.1 #3 0x00000000 in ?? () > >> > > >> > The second half is spent here: > >> > > >> > #0 0xb7d50946 in clock_nanosleep () from /lib/librt.so.1 > >> > #1 0xb7e0fa7d in softtimer_runtime () at src/switch_time.c:155 > >> > #2 0xb7dc585a in switch_loadable_module_exec (thread=0xb7101fb8, > >> > obj=0xb7101da8) at src/switch_loadable_module.c:96 > >> > #3 0xb7e379a8 in dummy_worker () from > >> > /opt/freeswitch/lib/libfreeswitch.so.1 > >> > > >> > On Tuesday 02 March 2010, Moises Silva wrote: > >> > > ps -LlFm -p `pidof freeswitch` > >> > > > >> > > That shows you CPU usage per FreeSWITCH thread > >> > > > >> > > Then > >> > > > >> > > pstack `pidof freeswitch` > >> > > > >> > > That shows the stack trace of every FreeSWITCH thread and then you > can > >> > > >> > find > >> > > >> > > exactly what is doing. > >> > > >> > _______________________________________________ > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users at 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 > > > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100302/40aa3a8d/attachment-0001.html From freeswitch at cartissolutions.com Tue Mar 2 10:48:34 2010 From: freeswitch at cartissolutions.com (Yossi Neiman) Date: Tue, 02 Mar 2010 12:48:34 -0600 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <201003021316.30842.sos@sokhapkin.dyndns.org> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <201003021251.48760.sos@sokhapkin.dyndns.org> <191c3a031003021000n296bd128p185136185811303b@mail.gmail.com> <201003021316.30842.sos@sokhapkin.dyndns.org> Message-ID: <4B8D5D82.5020304@cartissolutions.com> On 03/02/2010 12:16 PM, Sergey Okhapkin wrote: > I see the same problem on 4 absolutely different boxes with different linux > kernels. > And why do you think this is a problem anyway? If you want 0% cpu utilization, you can always power off the machine. :-) > On Tuesday 02 March 2010, Anthony Minessale wrote: > >> Well, there you go. >> your box is having a hard time doing a simple 1ms sleep in a loop for the >> centralized core timer. >> >> It's either your kernel or your box. My box and every box I have do not >> have that problem so you may want to consider a new one. >> >> FreeSWITCH is FREE so give it a good home. >> >> The good news is, you can make upwards of 1500 calls on that same 2% of cpu >> usage. >> > From andrew at hijacked.us Tue Mar 2 10:53:02 2010 From: andrew at hijacked.us (Andrew Thompson) Date: Tue, 2 Mar 2010 13:53:02 -0500 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <191c3a031003021043o1d7a10aar3e5f88dad2738815@mail.gmail.com> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <201003021251.48760.sos@sokhapkin.dyndns.org> <191c3a031003021000n296bd128p185136185811303b@mail.gmail.com> <201003021316.30842.sos@sokhapkin.dyndns.org> <7b197bef1003021023o7ec6fba6sccc9b4185640a32a@mail.gmail.com> <191c3a031003021043o1d7a10aar3e5f88dad2738815@mail.gmail.com> Message-ID: <20100302185302.GG1751@hijacked.us> On Tue, Mar 02, 2010 at 12:43:13PM -0600, Anthony Minessale wrote: > I guess if you insist, you have 4 bad boxes with 4 bad kernels, and I bet > none of them are Centos 5.3 > if you can reproduce it on a box I can visit (Centos 5.3 would be nice), put > in my ssh key and i'll come and look. > > Be sure to remember, as you continue to add to this thread that you are > complaining about FS using 2% of your cpu...... > That's somewhat amusing to me. > I can confirm this, I just checked 2 of my machines which run identical hardware and the Ubuntu one has FS sitting about 7% cpu all the time and the CentOS box has it sitting at 0% (I can't even see it on the screen). Both machines are idle. So the moral of the story is that the OS/hardware recommendations are made for good reason. Disregard them at your own risk. Andrew From sos at sokhapkin.dyndns.org Tue Mar 2 10:53:48 2010 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Tue, 2 Mar 2010 13:53:48 -0500 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <191c3a031003021043o1d7a10aar3e5f88dad2738815@mail.gmail.com> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <7b197bef1003021023o7ec6fba6sccc9b4185640a32a@mail.gmail.com> <191c3a031003021043o1d7a10aar3e5f88dad2738815@mail.gmail.com> Message-ID: <201003021353.48590.sos@sokhapkin.dyndns.org> A program should not be visible in "top" when idle. That's my point. On Tuesday 02 March 2010, Anthony Minessale wrote: > I guess if you insist, you have 4 bad boxes with 4 bad kernels, and I bet > none of them are Centos 5.3 > if you can reproduce it on a box I can visit (Centos 5.3 would be nice), > put in my ssh key and i'll come and look. > > Be sure to remember, as you continue to add to this thread that you are > complaining about FS using 2% of your cpu...... > That's somewhat amusing to me. > > On Tue, Mar 2, 2010 at 12:23 PM, Giovanni Maruzzelli wrote: > > Sergey, > > > > that's not a problem, is how FS works. > > > > That load on the CPU when idle is actually not important. Is just the > > minimum, like in a carburettor. > > > > If you put it under load, you will see that there will need some > > serious load (many calls) to have it ramp up the cpu usage. > > > > -giovanni > > > > On Tue, Mar 2, 2010 at 7:16 PM, Sergey Okhapkin > > > > wrote: > > > I see the same problem on 4 absolutely different boxes with different > > > > linux > > > > > kernels. > > > > > > On Tuesday 02 March 2010, Anthony Minessale wrote: > > >> Well, there you go. > > >> your box is having a hard time doing a simple 1ms sleep in a loop for > > > > the > > > > >> centralized core timer. > > >> > > >> It's either your kernel or your box. My box and every box I have do > > >> not have that problem so you may want to consider a new one. > > >> > > >> FreeSWITCH is FREE so give it a good home. > > >> > > >> The good news is, you can make upwards of 1500 calls on that same 2% > > >> of > > > > cpu > > > > >> usage. > > >> > > >> > > >> > > >> On Tue, Mar 2, 2010 at 11:51 AM, Sergey Okhapkin > > >> > > >> wrote: > > >> > FS spends half of CPU here (main thread): > > >> > > > >> > #0 0xffffe424 in __kernel_vsyscall () > > >> > #1 0xb7a82781 in select () from /lib/libc.so.6 > > >> > #2 0xb7e392eb in apr_sleep () from > > >> > /opt/freeswitch/lib/libfreeswitch.so.1 #3 0x00000000 in ?? () > > >> > > > >> > The second half is spent here: > > >> > > > >> > #0 0xb7d50946 in clock_nanosleep () from /lib/librt.so.1 > > >> > #1 0xb7e0fa7d in softtimer_runtime () at src/switch_time.c:155 > > >> > #2 0xb7dc585a in switch_loadable_module_exec (thread=0xb7101fb8, > > >> > obj=0xb7101da8) at src/switch_loadable_module.c:96 > > >> > #3 0xb7e379a8 in dummy_worker () from > > >> > /opt/freeswitch/lib/libfreeswitch.so.1 > > >> > > > >> > On Tuesday 02 March 2010, Moises Silva wrote: > > >> > > ps -LlFm -p `pidof freeswitch` > > >> > > > > >> > > That shows you CPU usage per FreeSWITCH thread > > >> > > > > >> > > Then > > >> > > > > >> > > pstack `pidof freeswitch` > > >> > > > > >> > > That shows the stack trace of every FreeSWITCH thread and then you > > > > can > > > > >> > find > > >> > > > >> > > exactly what is doing. > > >> > > > >> > _______________________________________________ > > >> > FreeSWITCH-users mailing list > > >> > FreeSWITCH-users at 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-user > > >s http://www.freeswitch.org > > > > -- > > Sincerely, > > > > Giovanni Maruzzelli > > Cell : +39-347-2665618 > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 Mar 2 11:05:06 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 2 Mar 2010 13:05:06 -0600 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <201003021353.48590.sos@sokhapkin.dyndns.org> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <7b197bef1003021023o7ec6fba6sccc9b4185640a32a@mail.gmail.com> <191c3a031003021043o1d7a10aar3e5f88dad2738815@mail.gmail.com> <201003021353.48590.sos@sokhapkin.dyndns.org> Message-ID: <191c3a031003021105g51d73cfbs7b88562586366c28@mail.gmail.com> FS is not really idle when idle. Calls are not the only thing that cost cpu. Its a server daemon. It has at least 25 threads up including the central timer thread which is doing an endless-loop of 1ms sleeps. You have an active sip engine that still runs in a loop and many other moving parts. On Tue, Mar 2, 2010 at 12:53 PM, Sergey Okhapkin wrote: > A program should not be visible in "top" when idle. That's my point. > > On Tuesday 02 March 2010, Anthony Minessale wrote: > > I guess if you insist, you have 4 bad boxes with 4 bad kernels, and I bet > > none of them are Centos 5.3 > > if you can reproduce it on a box I can visit (Centos 5.3 would be nice), > > put in my ssh key and i'll come and look. > > > > Be sure to remember, as you continue to add to this thread that you are > > complaining about FS using 2% of your cpu...... > > That's somewhat amusing to me. > > > > On Tue, Mar 2, 2010 at 12:23 PM, Giovanni Maruzzelli > wrote: > > > Sergey, > > > > > > that's not a problem, is how FS works. > > > > > > That load on the CPU when idle is actually not important. Is just the > > > minimum, like in a carburettor. > > > > > > If you put it under load, you will see that there will need some > > > serious load (many calls) to have it ramp up the cpu usage. > > > > > > -giovanni > > > > > > On Tue, Mar 2, 2010 at 7:16 PM, Sergey Okhapkin > > > > > > wrote: > > > > I see the same problem on 4 absolutely different boxes with different > > > > > > linux > > > > > > > kernels. > > > > > > > > On Tuesday 02 March 2010, Anthony Minessale wrote: > > > >> Well, there you go. > > > >> your box is having a hard time doing a simple 1ms sleep in a loop > for > > > > > > the > > > > > > >> centralized core timer. > > > >> > > > >> It's either your kernel or your box. My box and every box I have do > > > >> not have that problem so you may want to consider a new one. > > > >> > > > >> FreeSWITCH is FREE so give it a good home. > > > >> > > > >> The good news is, you can make upwards of 1500 calls on that same 2% > > > >> of > > > > > > cpu > > > > > > >> usage. > > > >> > > > >> > > > >> > > > >> On Tue, Mar 2, 2010 at 11:51 AM, Sergey Okhapkin > > > >> > > > >> wrote: > > > >> > FS spends half of CPU here (main thread): > > > >> > > > > >> > #0 0xffffe424 in __kernel_vsyscall () > > > >> > #1 0xb7a82781 in select () from /lib/libc.so.6 > > > >> > #2 0xb7e392eb in apr_sleep () from > > > >> > /opt/freeswitch/lib/libfreeswitch.so.1 #3 0x00000000 in ?? () > > > >> > > > > >> > The second half is spent here: > > > >> > > > > >> > #0 0xb7d50946 in clock_nanosleep () from /lib/librt.so.1 > > > >> > #1 0xb7e0fa7d in softtimer_runtime () at src/switch_time.c:155 > > > >> > #2 0xb7dc585a in switch_loadable_module_exec (thread=0xb7101fb8, > > > >> > obj=0xb7101da8) at src/switch_loadable_module.c:96 > > > >> > #3 0xb7e379a8 in dummy_worker () from > > > >> > /opt/freeswitch/lib/libfreeswitch.so.1 > > > >> > > > > >> > On Tuesday 02 March 2010, Moises Silva wrote: > > > >> > > ps -LlFm -p `pidof freeswitch` > > > >> > > > > > >> > > That shows you CPU usage per FreeSWITCH thread > > > >> > > > > > >> > > Then > > > >> > > > > > >> > > pstack `pidof freeswitch` > > > >> > > > > > >> > > That shows the stack trace of every FreeSWITCH thread and then > you > > > > > > can > > > > > > >> > find > > > >> > > > > >> > > exactly what is doing. > > > >> > > > > >> > _______________________________________________ > > > >> > FreeSWITCH-users mailing list > > > >> > FreeSWITCH-users at 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-user > > > >s http://www.freeswitch.org > > > > > > -- > > > Sincerely, > > > > > > Giovanni Maruzzelli > > > Cell : +39-347-2665618 > > > > > > _______________________________________________ > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at 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 > -- 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 iax:guest at conference.freeswitch.org/888 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/20100302/3f6af841/attachment.html From infos at madovsky.org Tue Mar 2 11:05:47 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 2 Mar 2010 14:05:47 -0500 Subject: [Freeswitch-users] What FS is doing when idle? References: <201003021113.06820.sos@sokhapkin.dyndns.org><7b197bef1003021023o7ec6fba6sccc9b4185640a32a@mail.gmail.com><191c3a031003021043o1d7a10aar3e5f88dad2738815@mail.gmail.com> <201003021353.48590.sos@sokhapkin.dyndns.org> Message-ID: <1579D06951D94A4DAF34949175410B1F@MOBILEE1705> ----- Original Message ----- From: "Sergey Okhapkin" To: Sent: Tuesday, March 02, 2010 1:53 PM Subject: Re: [Freeswitch-users] What FS is doing when idle? >A program should not be visible in "top" when idle. That's my point. > > On Tuesday 02 March 2010, Anthony Minessale wrote: >> I guess if you insist, you have 4 bad boxes with 4 bad kernels, and I bet >> none of them are Centos 5.3 >> if you can reproduce it on a box I can visit (Centos 5.3 would be nice), >> put in my ssh key and i'll come and look. >> >> Be sure to remember, as you continue to add to this thread that you are >> complaining about FS using 2% of your cpu...... >> That's somewhat amusing to me. >> >> On Tue, Mar 2, 2010 at 12:23 PM, Giovanni Maruzzelli > wrote: >> > Sergey, >> > >> > that's not a problem, is how FS works. >> > >> > That load on the CPU when idle is actually not important. Is just the >> > minimum, like in a carburettor. >> > >> > If you put it under load, you will see that there will need some >> > serious load (many calls) to have it ramp up the cpu usage. >> > >> > -giovanni >> > >> > On Tue, Mar 2, 2010 at 7:16 PM, Sergey Okhapkin >> > >> > wrote: >> > > I see the same problem on 4 absolutely different boxes with different >> > >> > linux >> > >> > > kernels. >> > > >> > > On Tuesday 02 March 2010, Anthony Minessale wrote: >> > >> Well, there you go. >> > >> your box is having a hard time doing a simple 1ms sleep in a loop >> > >> for >> > >> > the >> > >> > >> centralized core timer. >> > >> >> > >> It's either your kernel or your box. My box and every box I have do >> > >> not have that problem so you may want to consider a new one. >> > >> >> > >> FreeSWITCH is FREE so give it a good home. >> > >> >> > >> The good news is, you can make upwards of 1500 calls on that same 2% >> > >> of >> > >> > cpu >> > >> > >> usage. >> > >> >> > >> >> > >> >> > >> On Tue, Mar 2, 2010 at 11:51 AM, Sergey Okhapkin >> > >> >> > >> wrote: >> > >> > FS spends half of CPU here (main thread): >> > >> > >> > >> > #0 0xffffe424 in __kernel_vsyscall () >> > >> > #1 0xb7a82781 in select () from /lib/libc.so.6 >> > >> > #2 0xb7e392eb in apr_sleep () from >> > >> > /opt/freeswitch/lib/libfreeswitch.so.1 #3 0x00000000 in ?? () >> > >> > >> > >> > The second half is spent here: >> > >> > >> > >> > #0 0xb7d50946 in clock_nanosleep () from /lib/librt.so.1 >> > >> > #1 0xb7e0fa7d in softtimer_runtime () at src/switch_time.c:155 >> > >> > #2 0xb7dc585a in switch_loadable_module_exec (thread=0xb7101fb8, >> > >> > obj=0xb7101da8) at src/switch_loadable_module.c:96 >> > >> > #3 0xb7e379a8 in dummy_worker () from >> > >> > /opt/freeswitch/lib/libfreeswitch.so.1 >> > >> > >> > >> > On Tuesday 02 March 2010, Moises Silva wrote: >> > >> > > ps -LlFm -p `pidof freeswitch` >> > >> > > >> > >> > > That shows you CPU usage per FreeSWITCH thread >> > >> > > >> > >> > > Then >> > >> > > >> > >> > > pstack `pidof freeswitch` >> > >> > > >> > >> > > That shows the stack trace of every FreeSWITCH thread and then >> > >> > > you >> > >> > can >> > >> > >> > find >> > >> > >> > >> > > exactly what is doing. >> > >> > >> > >> > _______________________________________________ >> > >> > FreeSWITCH-users mailing list >> > >> > FreeSWITCH-users at 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-user >> > >s http://www.freeswitch.org >> > >> > -- >> > Sincerely, >> > >> > Giovanni Maruzzelli >> > Cell : +39-347-2665618 >> > >> > _______________________________________________ >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at 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 I follow this thread, and did top on my Linux Fedora 10 64bits and freeswitch last svn version (without mod_vmd that not compiles anymore) in idle mode and I get 10399 root 20 0 438m 37m 8744 S 11.3 0.5 15:31.61 freeswitch if I remember the previous version took less resources Regards F From jonas.gauffin at gmail.com Tue Mar 2 11:14:57 2010 From: jonas.gauffin at gmail.com (Jonas Gauffin) Date: Tue, 2 Mar 2010 20:14:57 +0100 Subject: [Freeswitch-users] Diversion header In-Reply-To: <9D3ECCF2-D1D1-4383-B171-3F185482A5A0@freeswitch.org> References: <6CAB4A3B-FEA8-467E-B7DB-A33862E082A1@freeswitch.org> <9D3ECCF2-D1D1-4383-B171-3F185482A5A0@freeswitch.org> Message-ID: Thank you! =) The incoming INVITE had that header. I can't believe that I missed it in the first place. On Tue, Mar 2, 2010 at 7:16 PM, Brian West wrote: > Was the header there on the inbound invite? > > /b > > On Mar 2, 2010, at 12:11 PM, Jonas Gauffin wrote: > > Sure I can buy that, but not with a URI that doesnt match the inbound call. > > "0 " fails number validation and therefore > all calls through that javascript will be rejected by my provider. > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/4a19a685/attachment.html From max.bridgewater at gmail.com Tue Mar 2 11:15:14 2010 From: max.bridgewater at gmail.com (Max Bridgewater) Date: Tue, 2 Mar 2010 13:15:14 -0600 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <201003021113.06820.sos@sokhapkin.dyndns.org> References: <201003021113.06820.sos@sokhapkin.dyndns.org> Message-ID: For whatever it's worth; I have FS running on a 1.6MHz processor, CentOS 5.3 (Final); when idle it consumes 0.3% of processor time. On Tue, Mar 2, 2010 at 10:13 AM, Sergey Okhapkin wrote: > FS (r16858) consumes 4-5% of CPU time with spikes to 10% when idle. No single > SIP request hits it. What does it doing? I unloaded all modules which can be > unloaded, no difference. Tried with both -vm and -heavy-timer start up > options. I'm running gentoo linux. > > # uname -a > Linux ?2.6.28-tuxonice-r10 #1 SMP Sat Oct 17 08:58:15 EDT 2009 i686 Intel(R) > Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > From brian at freeswitch.org Tue Mar 2 11:25:29 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 13:25:29 -0600 Subject: [Freeswitch-users] Diversion header In-Reply-To: References: <6CAB4A3B-FEA8-467E-B7DB-A33862E082A1@freeswitch.org> <9D3ECCF2-D1D1-4383-B171-3F185482A5A0@freeswitch.org> Message-ID: <1C400312-7E91-4572-95F6-DF20556EBE71@freeswitch.org> And are you using Proxy Media? /b On Mar 2, 2010, at 1:14 PM, Jonas Gauffin wrote: > Thank you! =) > The incoming INVITE had that header. I can't believe that I missed it in the first place. > > On Tue, Mar 2, 2010 at 7:16 PM, Brian West wrote: > Was the header there on the inbound invite? > > /b -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/d2adead0/attachment.html From brian at freeswitch.org Tue Mar 2 11:25:10 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 13:25:10 -0600 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: References: <201003021113.06820.sos@sokhapkin.dyndns.org> Message-ID: <744EE96D-9C50-486E-A19E-ADD353882C46@freeswitch.org> How many calls can that 1.6MHz CPU do? :P And how long does it take to compile? :P /b On Mar 2, 2010, at 1:15 PM, Max Bridgewater wrote: > For whatever it's worth; I have FS running on a 1.6MHz processor, > CentOS 5.3 (Final); when idle it consumes 0.3% of processor time. From lists at redbonez.net Tue Mar 2 11:27:45 2010 From: lists at redbonez.net (Adam Ford) Date: Tue, 2 Mar 2010 12:27:45 -0700 Subject: [Freeswitch-users] xml_cdr http post differentiation between legs Message-ID: <034401caba3e$70bbb950$52332bf0$@net> Is there any way to tell whether it is the a-leg or b-leg when receiving the POST data from mod_xml_cdr? I wrote a parser in Python which parses the a_*.cdr.xml log files, and only grabs the info in the associated b-leg log files if it needs additional information(for example - in the case of a call that ends with mod_fifo). I want to adapt this to using the POST features of mod_xml_cdr so that it can be real time. Any suggestions are greatly appreciated, -Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/71b46acb/attachment.html From brian at freeswitch.org Tue Mar 2 11:30:36 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 13:30:36 -0600 Subject: [Freeswitch-users] Incorrect nonce In-Reply-To: References: <191c3a031003020844h44f63842pb4c88f4ebee088ec@mail.gmail.com> <151E6027-B371-4DA0-887C-8A8BAC336709@freeswitch.org> Message-ID: <38BAC35D-F9B5-4133-AD78-5D833C3107FC@freeswitch.org> I need you to email me your username and password for this challenge so I can calc this to verify please. /b On Mar 2, 2010, at 11:04 AM, Jonas Gauffin wrote: > You are both correct. > > Issue created. > > On Tue, Mar 2, 2010 at 5:53 PM, Brian West wrote: > Jonas, > Also I need a complete pcap of this without modifications. I can't hand calculate this to see what is going on without intact data. Please open a jira and email me the pcap in private if you must. > > Remember the list is not a bug tracker... Thats what we have jira for ;) > > Thanks, > Brian > > On Mar 2, 2010, at 10:44 AM, Anthony Minessale wrote: > >> Are you reporting what you think is a bug on the mailing list? >> I think you have been around long enough to know better............. >> >> >> On Tue, Mar 2, 2010 at 9:02 AM, Jonas Gauffin wrote: >> Hello, >> >> I got a problem with rejected calls due to 403 (happens sometimes). >> My sip provider found the problem, the nonce used by FS is sometimes incorrect (I got the trace from my sip provider). >> >> A sip trace can be found here: http://pastebin.freeswitch.org/12280 >> >> >> 2010-03-02 08:42:15.247995 [NOTICE] switch_core_session.c:1696 Execute bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) >> EXECUTE sofia/external/061121487 at 212.151.144.8 bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) >> 2010-03-02 08:42:15.247995 [NOTICE] switch_channel.c:642 New Channel sofia/external/0707728XXX [085c1d55-f66e-4da3-9b75-325ab3d14b4d] >> 2010-03-02 08:42:15.247995 [DEBUG] mod_sofia.c:3227 (sofia/external/0707728XXX) State Change CS_NEW -> CS_INIT >> 2010-03-02 08:42:15.247995 [DEBUG] switch_core_session.c:1012 Send signal sofia/external/0707728XXX [BREAK] >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 (sofia/external/0707728XXX) Running State Change CS_INIT >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 (sofia/external/0707728XXX) State INIT >> 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:83 sofia/external/0707728XXX SOFIA INIT >> 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:111 (sofia/external/0707728XXX) State Change CS_INIT -> CS_ROUTING >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal sofia/external/0707728XXX [BREAK] >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 (sofia/external/0707728XXX) State INIT going to sleep >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 (sofia/external/0707728XXX) Running State Change CS_ROUTING >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 (sofia/external/0707728XXX) State ROUTING >> 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:132 sofia/external/0707728XXX SOFIA ROUTING >> 2010-03-02 08:42:15.263619 [DEBUG] switch_ivr_originate.c:66 (sofia/external/0707728XXX) State Change CS_ROUTING -> CS_CONSUME_MEDIA >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal sofia/external/0707728XXX [BREAK] >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 (sofia/external/0707728XXX) State ROUTING going to sleep >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 (sofia/external/0707728XXX) Running State Change CS_CONSUME_MEDIA >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 (sofia/external/0707728XXX) State CONSUME_MEDIA >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 (sofia/external/0707728XXX) State CONSUME_MEDIA going to sleep >> 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][0] >> 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][0] >> 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][100] >> 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][100] >> 2010-03-02 08:42:15.310492 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [terminated][407] >> 2010-03-02 08:42:15.310492 [NOTICE] sofia.c:4634 Hangup sofia/external/0707728XXX [CS_CONSUME_MEDIA] [CALL_REJECTED] >> >> Regards, >> Jonas >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/cdd698a4/attachment-0001.html From brian at freeswitch.org Tue Mar 2 11:41:06 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 13:41:06 -0600 Subject: [Freeswitch-users] Incorrect nonce In-Reply-To: References: <191c3a031003020844h44f63842pb4c88f4ebee088ec@mail.gmail.com> <151E6027-B371-4DA0-887C-8A8BAC336709@freeswitch.org> Message-ID: <1A1F9843-6A36-4E3F-9BF8-77327B73DC1D@freeswitch.org> What really really concerns me about this is the fact this is MD5 digest auth. Neither of these: 4b8cc1780000440a8d49b0854a8a7abb76fec907e6381eec 4b8cc1780000a33fc486f1017a5155a74fc6e3e611e28f47 Are NOT the right length to be an MD5 of any auth data which would be a33fc486f1017a5155a74fc6e3e611e28f47 so this stray 4b8cc1780000 really does concern me. Anyone else have input on this one? /b On Mar 2, 2010, at 11:04 AM, Jonas Gauffin wrote: > You are both correct. > > Issue created. > > On Tue, Mar 2, 2010 at 5:53 PM, Brian West wrote: > Jonas, > Also I need a complete pcap of this without modifications. I can't hand calculate this to see what is going on without intact data. Please open a jira and email me the pcap in private if you must. > > Remember the list is not a bug tracker... Thats what we have jira for ;) > > Thanks, > Brian > > On Mar 2, 2010, at 10:44 AM, Anthony Minessale wrote: > >> Are you reporting what you think is a bug on the mailing list? >> I think you have been around long enough to know better............. >> >> >> On Tue, Mar 2, 2010 at 9:02 AM, Jonas Gauffin wrote: >> Hello, >> >> I got a problem with rejected calls due to 403 (happens sometimes). >> My sip provider found the problem, the nonce used by FS is sometimes incorrect (I got the trace from my sip provider). >> >> A sip trace can be found here: http://pastebin.freeswitch.org/12280 >> >> >> 2010-03-02 08:42:15.247995 [NOTICE] switch_core_session.c:1696 Execute bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) >> EXECUTE sofia/external/061121487 at 212.151.144.8 bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) >> 2010-03-02 08:42:15.247995 [NOTICE] switch_channel.c:642 New Channel sofia/external/0707728XXX [085c1d55-f66e-4da3-9b75-325ab3d14b4d] >> 2010-03-02 08:42:15.247995 [DEBUG] mod_sofia.c:3227 (sofia/external/0707728XXX) State Change CS_NEW -> CS_INIT >> 2010-03-02 08:42:15.247995 [DEBUG] switch_core_session.c:1012 Send signal sofia/external/0707728XXX [BREAK] >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 (sofia/external/0707728XXX) Running State Change CS_INIT >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 (sofia/external/0707728XXX) State INIT >> 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:83 sofia/external/0707728XXX SOFIA INIT >> 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:111 (sofia/external/0707728XXX) State Change CS_INIT -> CS_ROUTING >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal sofia/external/0707728XXX [BREAK] >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 (sofia/external/0707728XXX) State INIT going to sleep >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 (sofia/external/0707728XXX) Running State Change CS_ROUTING >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 (sofia/external/0707728XXX) State ROUTING >> 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:132 sofia/external/0707728XXX SOFIA ROUTING >> 2010-03-02 08:42:15.263619 [DEBUG] switch_ivr_originate.c:66 (sofia/external/0707728XXX) State Change CS_ROUTING -> CS_CONSUME_MEDIA >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal sofia/external/0707728XXX [BREAK] >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 (sofia/external/0707728XXX) State ROUTING going to sleep >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 (sofia/external/0707728XXX) Running State Change CS_CONSUME_MEDIA >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 (sofia/external/0707728XXX) State CONSUME_MEDIA >> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 (sofia/external/0707728XXX) State CONSUME_MEDIA going to sleep >> 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][0] >> 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][0] >> 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][100] >> 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [calling][100] >> 2010-03-02 08:42:15.310492 [DEBUG] sofia.c:3992 Channel sofia/external/0707728XXX entering state [terminated][407] >> 2010-03-02 08:42:15.310492 [NOTICE] sofia.c:4634 Hangup sofia/external/0707728XXX [CS_CONSUME_MEDIA] [CALL_REJECTED] >> >> Regards, >> Jonas >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/e7ceac10/attachment.html From chris.chen2004 at gmail.com Tue Mar 2 12:08:11 2010 From: chris.chen2004 at gmail.com (Chris Chen) Date: Tue, 2 Mar 2010 15:08:11 -0500 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <744EE96D-9C50-486E-A19E-ADD353882C46@freeswitch.org> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <744EE96D-9C50-486E-A19E-ADD353882C46@freeswitch.org> Message-ID: <507898381003021208w1e1e14bey27e959a61060879@mail.gmail.com> I guess he is thinking about 1.6GHZ, most likely the N270 CPU which is common to net books from ASUS and like, I have one running on EEE box N270. Chris On Tue, Mar 2, 2010 at 2:25 PM, Brian West wrote: > How many calls can that 1.6MHz CPU do? :P And how long does it take to > compile? > > :P > > /b > > On Mar 2, 2010, at 1:15 PM, Max Bridgewater wrote: > > > For whatever it's worth; I have FS running on a 1.6MHz processor, > > CentOS 5.3 (Final); when idle it consumes 0.3% of processor time. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/c61355e8/attachment.html From max.bridgewater at gmail.com Tue Mar 2 12:09:56 2010 From: max.bridgewater at gmail.com (Max Bridgewater) Date: Tue, 2 Mar 2010 14:09:56 -0600 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <744EE96D-9C50-486E-A19E-ADD353882C46@freeswitch.org> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <744EE96D-9C50-486E-A19E-ADD353882C46@freeswitch.org> Message-ID: Next time i compile I will let you know. But if I remember correctly, it takes some few hours. And as far as calls are concerned I don't intend to have more than 8 calls at a time. So the question is really irrelevant for my settings ;) Max. On Tue, Mar 2, 2010 at 1:25 PM, Brian West wrote: > How many calls can that 1.6MHz CPU do? ?:P And how long does it take to compile? > > :P > > /b > > On Mar 2, 2010, at 1:15 PM, Max Bridgewater wrote: > >> For whatever it's worth; I have FS running on a 1.6MHz processor, >> CentOS 5.3 (Final); when idle it consumes 0.3% of processor time. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 infos at madovsky.org Tue Mar 2 12:19:31 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 2 Mar 2010 15:19:31 -0500 Subject: [Freeswitch-users] What FS is doing when idle? References: <201003021113.06820.sos@sokhapkin.dyndns.org><744EE96D-9C50-486E-A19E-ADD353882C46@freeswitch.org> <507898381003021208w1e1e14bey27e959a61060879@mail.gmail.com> Message-ID: <91CC3A53929A419FB0E103BC0BEF95F1@MOBILEE1705> I tried to downgrade FS to version 16597, all compiles well (even mod_vmd) so with exactly the same config as last svn trunk I get with -vm : 21245 root 20 0 495m 29m 7428 S 2.3 0.4 0:00.71 freeswitch -> CPU = 2.3% and without -vm 25744 root 20 0 431m 29m 7432 S 4.0 0.4 0:01.46 freeswitch -> CPU 4.00% which is less as the last version that takes almost 12%. hope this helps Regards F ----- Original Message ----- From: Chris Chen To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 02, 2010 3:08 PM Subject: Re: [Freeswitch-users] What FS is doing when idle? I guess he is thinking about 1.6GHZ, most likely the N270 CPU which is common to net books from ASUS and like, I have one running on EEE box N270. Chris On Tue, Mar 2, 2010 at 2:25 PM, Brian West wrote: How many calls can that 1.6MHz CPU do? :P And how long does it take to compile? :P /b On Mar 2, 2010, at 1:15 PM, Max Bridgewater wrote: > For whatever it's worth; I have FS running on a 1.6MHz processor, > CentOS 5.3 (Final); when idle it consumes 0.3% of processor time. _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100302/8dbb8c4e/attachment-0001.html From brian at freeswitch.org Tue Mar 2 12:22:23 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 14:22:23 -0600 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <507898381003021208w1e1e14bey27e959a61060879@mail.gmail.com> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <744EE96D-9C50-486E-A19E-ADD353882C46@freeswitch.org> <507898381003021208w1e1e14bey27e959a61060879@mail.gmail.com> Message-ID: <25008BD4-47DE-46BF-ABB9-777467E5E80C@freeswitch.org> I was just poking some fun... I knew he was on a 1.6ghz :P /b On Mar 2, 2010, at 2:08 PM, Chris Chen wrote: > I guess he is thinking about 1.6GHZ, most likely the N270 CPU which is common to net books from ASUS and like, I have one running on EEE box N270. > > Chris From jonas.gauffin at gmail.com Tue Mar 2 12:27:54 2010 From: jonas.gauffin at gmail.com (Jonas Gauffin) Date: Tue, 2 Mar 2010 21:27:54 +0100 Subject: [Freeswitch-users] Diversion header In-Reply-To: <1C400312-7E91-4572-95F6-DF20556EBE71@freeswitch.org> References: <6CAB4A3B-FEA8-467E-B7DB-A33862E082A1@freeswitch.org> <9D3ECCF2-D1D1-4383-B171-3F185482A5A0@freeswitch.org> <1C400312-7E91-4572-95F6-DF20556EBE71@freeswitch.org> Message-ID: No. I'm only using proxy_media on fax devices. On Tue, Mar 2, 2010 at 8:25 PM, Brian West wrote: > And are you using Proxy Media? > > /b > > On Mar 2, 2010, at 1:14 PM, Jonas Gauffin wrote: > > Thank you! =) > The incoming INVITE had that header. I can't believe that I missed it in > the first place. > > On Tue, Mar 2, 2010 at 7:16 PM, Brian West wrote: > >> Was the header there on the inbound invite? >> >> /b >> > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/4cc810b5/attachment.html From jonas.gauffin at gmail.com Tue Mar 2 12:37:27 2010 From: jonas.gauffin at gmail.com (Jonas Gauffin) Date: Tue, 2 Mar 2010 21:37:27 +0100 Subject: [Freeswitch-users] Incorrect nonce In-Reply-To: <1A1F9843-6A36-4E3F-9BF8-77327B73DC1D@freeswitch.org> References: <191c3a031003020844h44f63842pb4c88f4ebee088ec@mail.gmail.com> <151E6027-B371-4DA0-887C-8A8BAC336709@freeswitch.org> <1A1F9843-6A36-4E3F-9BF8-77327B73DC1D@freeswitch.org> Message-ID: Even if the string is incorrect, shouldn't FreeSWITCH use it without modification in it's calculations (and return the same nonce in the response)? On Tue, Mar 2, 2010 at 8:41 PM, Brian West wrote: > What really really concerns me about this is the fact this is MD5 digest > auth. > > Neither of these: > 4b8cc1780000440a8d49b0854a8a7abb76fec907e6381eec > 4b8cc1780000a33fc486f1017a5155a74fc6e3e611e28f47 > > Are NOT the right length to be an MD5 of any auth data which would > be a33fc486f1017a5155a74fc6e3e611e28f47 so this stray 4b8cc1780000 really > does concern me. > > Anyone else have input on this one? > > /b > > > > On Mar 2, 2010, at 11:04 AM, Jonas Gauffin wrote: > > You are both correct. > > Issue created. > > On Tue, Mar 2, 2010 at 5:53 PM, Brian West wrote: > >> Jonas, >> Also I need a complete pcap of this without modifications. I can't hand >> calculate this to see what is going on without intact data. Please open a >> jira and email me the pcap in private if you must. >> >> Remember the list is not a bug tracker... Thats what we have jira for ;) >> >> Thanks, >> Brian >> >> On Mar 2, 2010, at 10:44 AM, Anthony Minessale wrote: >> >> Are you reporting what you think is a bug on the mailing list? >> I think you have been around long enough to know better............. >> >> >> On Tue, Mar 2, 2010 at 9:02 AM, Jonas Gauffin wrote: >> >>> Hello, >>> >>> I got a problem with rejected calls due to 403 (happens sometimes). >>> My sip provider found the problem, the nonce used by FS is sometimes >>> incorrect (I got the trace from my sip provider). >>> >>> A sip trace can be found here: http://pastebin.freeswitch.org/12280 >>> >>> >>> 2010-03-02 08:42:15.247995 [NOTICE] switch_core_session.c:1696 Execute >>> bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) >>> EXECUTE sofia/external/061121487 at 212.151.144.8bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) >>> 2010-03-02 08:42:15.247995 [NOTICE] switch_channel.c:642 New Channel >>> sofia/external/0707728XXX [085c1d55-f66e-4da3-9b75-325ab3d14b4d] >>> 2010-03-02 08:42:15.247995 [DEBUG] mod_sofia.c:3227 >>> (sofia/external/0707728XXX) State Change CS_NEW -> CS_INIT >>> 2010-03-02 08:42:15.247995 [DEBUG] switch_core_session.c:1012 Send signal >>> sofia/external/0707728XXX [BREAK] >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 >>> (sofia/external/0707728XXX) Running State Change CS_INIT >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 >>> (sofia/external/0707728XXX) State INIT >>> 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:83 >>> sofia/external/0707728XXX SOFIA INIT >>> 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:111 >>> (sofia/external/0707728XXX) State Change CS_INIT -> CS_ROUTING >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal >>> sofia/external/0707728XXX [BREAK] >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 >>> (sofia/external/0707728XXX) State INIT going to sleep >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 >>> (sofia/external/0707728XXX) Running State Change CS_ROUTING >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 >>> (sofia/external/0707728XXX) State ROUTING >>> 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:132 >>> sofia/external/0707728XXX SOFIA ROUTING >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_ivr_originate.c:66 >>> (sofia/external/0707728XXX) State Change CS_ROUTING -> CS_CONSUME_MEDIA >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal >>> sofia/external/0707728XXX [BREAK] >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 >>> (sofia/external/0707728XXX) State ROUTING going to sleep >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 >>> (sofia/external/0707728XXX) Running State Change CS_CONSUME_MEDIA >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 >>> (sofia/external/0707728XXX) State CONSUME_MEDIA >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 >>> (sofia/external/0707728XXX) State CONSUME_MEDIA going to sleep >>> 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel >>> sofia/external/0707728XXX entering state [calling][0] >>> 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel >>> sofia/external/0707728XXX entering state [calling][0] >>> 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel >>> sofia/external/0707728XXX entering state [calling][100] >>> 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel >>> sofia/external/0707728XXX entering state [calling][100] >>> 2010-03-02 08:42:15.310492 [DEBUG] sofia.c:3992 Channel >>> sofia/external/0707728XXX entering state [terminated][407] >>> 2010-03-02 08:42:15.310492 [NOTICE] sofia.c:4634 Hangup >>> sofia/external/0707728XXX [CS_CONSUME_MEDIA] [CALL_REJECTED] >>> >>> Regards, >>> Jonas >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> >> > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100302/c8275e2e/attachment-0001.html From anthony.minessale at gmail.com Tue Mar 2 12:37:28 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 2 Mar 2010 14:37:28 -0600 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <91CC3A53929A419FB0E103BC0BEF95F1@MOBILEE1705> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <744EE96D-9C50-486E-A19E-ADD353882C46@freeswitch.org> <507898381003021208w1e1e14bey27e959a61060879@mail.gmail.com> <91CC3A53929A419FB0E103BC0BEF95F1@MOBILEE1705> Message-ID: <191c3a031003021237t30f46edp2978f258c54c326b@mail.gmail.com> and make calls with both and measure the jitter with wireshark. On Tue, Mar 2, 2010 at 2:19 PM, Madovsky wrote: > I tried to downgrade FS to version 16597, all compiles well (even > mod_vmd) > so with exactly the same config as last svn trunk I get with -vm : > > 21245 root 20 0 495m 29m 7428 S 2.3 0.4 0:00.71 freeswitch -> > CPU = 2.3% > > and without -vm > 25744 root 20 0 431m 29m 7432 S 4.0 0.4 0:01.46 freeswitch -> > CPU 4.00% > > which is less as the last version that takes almost 12%. > > hope this helps > > Regards > > F > > > > > ----- Original Message ----- > *From:* Chris Chen > *To:* freeswitch-users at lists.freeswitch.org > *Sent:* Tuesday, March 02, 2010 3:08 PM > *Subject:* Re: [Freeswitch-users] What FS is doing when idle? > > I guess he is thinking about 1.6GHZ, most likely the N270 CPU which is > common to net books from ASUS and like, I have one running on EEE box N270. > > Chris > > On Tue, Mar 2, 2010 at 2:25 PM, Brian West wrote: > >> How many calls can that 1.6MHz CPU do? :P And how long does it take to >> compile? >> >> :P >> >> /b >> >> On Mar 2, 2010, at 1:15 PM, Max Bridgewater wrote: >> >> > For whatever it's worth; I have FS running on a 1.6MHz processor, >> > CentOS 5.3 (Final); when idle it consumes 0.3% of processor time. >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100302/c97a532d/attachment-0001.html From brian at freeswitch.org Tue Mar 2 12:44:31 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 14:44:31 -0600 Subject: [Freeswitch-users] Incorrect nonce In-Reply-To: References: <191c3a031003020844h44f63842pb4c88f4ebee088ec@mail.gmail.com> <151E6027-B371-4DA0-887C-8A8BAC336709@freeswitch.org> <1A1F9843-6A36-4E3F-9BF8-77327B73DC1D@freeswitch.org> Message-ID: Not 100% sure since I don't have the details of your sip account to test this... I need to try this in eyebeam or something to see how it behaves. /b On Mar 2, 2010, at 2:37 PM, Jonas Gauffin wrote: > Even if the string is incorrect, shouldn't FreeSWITCH use it without modification in it's calculations (and return the same nonce in the response)? > > On Tue, Mar 2, 2010 at 8:41 PM, Brian West wrote: > What really really concerns me about this is the fact this is MD5 digest auth. > > Neither of these: > 4b8cc1780000440a8d49b0854a8a7abb76fec907e6381eec > 4b8cc1780000a33fc486f1017a5155a74fc6e3e611e28f47 > > Are NOT the right length to be an MD5 of any auth data which would be a33fc486f1017a5155a74fc6e3e611e28f47 so this stray 4b8cc1780000 really does concern me. > > Anyone else have input on this one? > > /b -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/b1421ae0/attachment.html From msc at freeswitch.org Tue Mar 2 12:44:34 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 2 Mar 2010 12:44:34 -0800 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <201003021353.48590.sos@sokhapkin.dyndns.org> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <7b197bef1003021023o7ec6fba6sccc9b4185640a32a@mail.gmail.com> <191c3a031003021043o1d7a10aar3e5f88dad2738815@mail.gmail.com> <201003021353.48590.sos@sokhapkin.dyndns.org> Message-ID: <87f2f3b91003021244q3e9e4a90m5116fe4e77cd2e3a@mail.gmail.com> On Tue, Mar 2, 2010 at 10:53 AM, Sergey Okhapkin wrote: > A program should not be visible in "top" when idle. That's my point. > That's a dangerous assumption. Do really know for a certainty that a program "should not" be visible in top when it's "idle"? Like Tony said below, "idle" is misleading. FreeSWITCH is working its but off when you think it's "idle." Make 100 simultaneous calls and see what the CPU usage is. I think you'll be happy with the results. For the record, we are going to start a wiki page that explains all of this. It's kind of analogous to the whole "Linux eats all my RAM" discussion. We should have something documented in a few days. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/9c6361e3/attachment.html From msc at freeswitch.org Tue Mar 2 12:48:30 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 2 Mar 2010 12:48:30 -0800 Subject: [Freeswitch-users] wiki broken link pocketsphinx In-Reply-To: <30970655E0CD476A95CF8382A2742084@MOBILEE1705> References: <5A9EAA2F-F7DA-4CC5-ACF6-AD9A0438964F@freeswitch.org> <30970655E0CD476A95CF8382A2742084@MOBILEE1705> Message-ID: <87f2f3b91003021248s1f525a28xec3daefe20b9cd7c@mail.gmail.com> On Tue, Mar 2, 2010 at 7:09 AM, Madovsky wrote: > apparently Diego updated it. > I don't know if I'm skilled enough to elaborate > > AFAICT the link is correct now. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/a3a5917a/attachment.html From brian at freeswitch.org Tue Mar 2 12:54:31 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 14:54:31 -0600 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <87f2f3b91003021244q3e9e4a90m5116fe4e77cd2e3a@mail.gmail.com> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <7b197bef1003021023o7ec6fba6sccc9b4185640a32a@mail.gmail.com> <191c3a031003021043o1d7a10aar3e5f88dad2738815@mail.gmail.com> <201003021353.48590.sos@sokhapkin.dyndns.org> <87f2f3b91003021244q3e9e4a90m5116fe4e77cd2e3a@mail.gmail.com> Message-ID: Also add "Why is my load average so high with FreeSWITCH?" to that list of things we need to explain. Because load average is just a metric of how many threads are in the run queue.. its really no way to tell how busy a box really is since most threads have narcolepsy. /b On Mar 2, 2010, at 2:44 PM, Michael Collins wrote: > For the record, we are going to start a wiki page that explains all of this. It's kind of analogous to the whole "Linux eats all my RAM" discussion. We should have something documented in a few days. > -MC From jonas.gauffin at gmail.com Tue Mar 2 12:55:28 2010 From: jonas.gauffin at gmail.com (Jonas Gauffin) Date: Tue, 2 Mar 2010 21:55:28 +0100 Subject: [Freeswitch-users] Incorrect nonce In-Reply-To: <38BAC35D-F9B5-4133-AD78-5D833C3107FC@freeswitch.org> References: <191c3a031003020844h44f63842pb4c88f4ebee088ec@mail.gmail.com> <151E6027-B371-4DA0-887C-8A8BAC336709@freeswitch.org> <38BAC35D-F9B5-4133-AD78-5D833C3107FC@freeswitch.org> Message-ID: Ok. I've done a digest calculation and got a match. The "response" value is calculated using the nonce that FS sends in the INVITE, and not the nonce that is recieved in the 407 reply from my provider. On Tue, Mar 2, 2010 at 8:30 PM, Brian West wrote: > I need you to email me your username and password for this challenge so I > can calc this to verify please. > > /b > > On Mar 2, 2010, at 11:04 AM, Jonas Gauffin wrote: > > You are both correct. > > Issue created. > > On Tue, Mar 2, 2010 at 5:53 PM, Brian West wrote: > >> Jonas, >> Also I need a complete pcap of this without modifications. I can't hand >> calculate this to see what is going on without intact data. Please open a >> jira and email me the pcap in private if you must. >> >> Remember the list is not a bug tracker... Thats what we have jira for ;) >> >> Thanks, >> Brian >> >> On Mar 2, 2010, at 10:44 AM, Anthony Minessale wrote: >> >> Are you reporting what you think is a bug on the mailing list? >> I think you have been around long enough to know better............. >> >> >> On Tue, Mar 2, 2010 at 9:02 AM, Jonas Gauffin wrote: >> >>> Hello, >>> >>> I got a problem with rejected calls due to 403 (happens sometimes). >>> My sip provider found the problem, the nonce used by FS is sometimes >>> incorrect (I got the trace from my sip provider). >>> >>> A sip trace can be found here: http://pastebin.freeswitch.org/12280 >>> >>> >>> 2010-03-02 08:42:15.247995 [NOTICE] switch_core_session.c:1696 Execute >>> bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) >>> EXECUTE sofia/external/061121487 at 212.151.144.8bridge([origination_caller_id_number=02366153XX]sofia/gateway/tele2/0707728XXX) >>> 2010-03-02 08:42:15.247995 [NOTICE] switch_channel.c:642 New Channel >>> sofia/external/0707728XXX [085c1d55-f66e-4da3-9b75-325ab3d14b4d] >>> 2010-03-02 08:42:15.247995 [DEBUG] mod_sofia.c:3227 >>> (sofia/external/0707728XXX) State Change CS_NEW -> CS_INIT >>> 2010-03-02 08:42:15.247995 [DEBUG] switch_core_session.c:1012 Send signal >>> sofia/external/0707728XXX [BREAK] >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 >>> (sofia/external/0707728XXX) Running State Change CS_INIT >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 >>> (sofia/external/0707728XXX) State INIT >>> 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:83 >>> sofia/external/0707728XXX SOFIA INIT >>> 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:111 >>> (sofia/external/0707728XXX) State Change CS_INIT -> CS_ROUTING >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal >>> sofia/external/0707728XXX [BREAK] >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:338 >>> (sofia/external/0707728XXX) State INIT going to sleep >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 >>> (sofia/external/0707728XXX) Running State Change CS_ROUTING >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 >>> (sofia/external/0707728XXX) State ROUTING >>> 2010-03-02 08:42:15.263619 [DEBUG] mod_sofia.c:132 >>> sofia/external/0707728XXX SOFIA ROUTING >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_ivr_originate.c:66 >>> (sofia/external/0707728XXX) State Change CS_ROUTING -> CS_CONSUME_MEDIA >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_session.c:1012 Send signal >>> sofia/external/0707728XXX [BREAK] >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:341 >>> (sofia/external/0707728XXX) State ROUTING going to sleep >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:314 >>> (sofia/external/0707728XXX) Running State Change CS_CONSUME_MEDIA >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 >>> (sofia/external/0707728XXX) State CONSUME_MEDIA >>> 2010-03-02 08:42:15.263619 [DEBUG] switch_core_state_machine.c:360 >>> (sofia/external/0707728XXX) State CONSUME_MEDIA going to sleep >>> 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel >>> sofia/external/0707728XXX entering state [calling][0] >>> 2010-03-02 08:42:15.263619 [DEBUG] sofia.c:3992 Channel >>> sofia/external/0707728XXX entering state [calling][0] >>> 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel >>> sofia/external/0707728XXX entering state [calling][100] >>> 2010-03-02 08:42:15.294868 [DEBUG] sofia.c:3992 Channel >>> sofia/external/0707728XXX entering state [calling][100] >>> 2010-03-02 08:42:15.310492 [DEBUG] sofia.c:3992 Channel >>> sofia/external/0707728XXX entering state [terminated][407] >>> 2010-03-02 08:42:15.310492 [NOTICE] sofia.c:4634 Hangup >>> sofia/external/0707728XXX [CS_CONSUME_MEDIA] [CALL_REJECTED] >>> >>> Regards, >>> Jonas >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> >> > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100302/08aae05b/attachment-0001.html From msc at freeswitch.org Tue Mar 2 12:55:38 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 2 Mar 2010 12:55:38 -0800 Subject: [Freeswitch-users] NAT issue? In-Reply-To: <4B8D2BA6.1030907@cachecomm.com> References: <4B8BEE7F.1030401@cachecomm.com> <87f2f3b91003010924p16400e10w67e3e90802f78075@mail.gmail.com> <4B8C273C.6010808@cachecomm.com> <65d96fc81003011537kb5fd4c7xdb5df0b83fba3482@mail.gmail.com> <4B8C5AAE.2030908@cachecomm.com> <45C9B1E4-AE67-4E20-A5AB-71EB46EA0CC9@freeswitch.org> <65d96fc81003020103x7df499ecu3d9add7f3053a459@mail.gmail.com> <4B8D2BA6.1030907@cachecomm.com> Message-ID: <87f2f3b91003021255m1b27caf3gc3ef95645e4162ab@mail.gmail.com> I removed the Netgear P.O.S . and put the phones behind a linux firewall all is good. Let's put this text in neon letters ten feet high! -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/94a345fe/attachment.html From brian at freeswitch.org Tue Mar 2 12:59:10 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 14:59:10 -0600 Subject: [Freeswitch-users] Incorrect nonce In-Reply-To: References: <191c3a031003020844h44f63842pb4c88f4ebee088ec@mail.gmail.com> <151E6027-B371-4DA0-887C-8A8BAC336709@freeswitch.org> <38BAC35D-F9B5-4133-AD78-5D833C3107FC@freeswitch.org> Message-ID: <1C428CC2-8166-4061-9378-9FEC0388EDB6@freeswitch.org> Please include all these details in the jira. /b On Mar 2, 2010, at 2:55 PM, Jonas Gauffin wrote: > Ok. I've done a digest calculation and got a match. > The "response" value is calculated using the nonce that FS sends in the INVITE, and not the nonce that is recieved in the 407 reply from my provider. > > > On Tue, Mar 2, 2010 at 8:30 PM, Brian West wrote: > I need you to email me your username and password for this challenge so I can calc this to verify please. > > /b -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/aef80ac8/attachment.html From anthony.minessale at gmail.com Tue Mar 2 13:05:04 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 2 Mar 2010 15:05:04 -0600 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <87f2f3b91003021244q3e9e4a90m5116fe4e77cd2e3a@mail.gmail.com> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <7b197bef1003021023o7ec6fba6sccc9b4185640a32a@mail.gmail.com> <191c3a031003021043o1d7a10aar3e5f88dad2738815@mail.gmail.com> <201003021353.48590.sos@sokhapkin.dyndns.org> <87f2f3b91003021244q3e9e4a90m5116fe4e77cd2e3a@mail.gmail.com> Message-ID: <191c3a031003021305k7de4b3f8ie6bebebd19ceb8a3@mail.gmail.com> Since this topic is philosophical to begin with, "What does a FS box do when idle, and if a tree fell in the woods while a FS box was in a nearby cabin would a bear shit in the woods....." Another philosophical question would be, If a mailing-list thread persisted for more than 6 hours would it take more or less time to just change the code to make people stop complaining about free software than it does to politely not concern one's self with the issue. I chose the first option, you can update to trunk now and probably see your precious 0.0% so you can get absolutely no use from your computer. As a side note, my change effectively proves that the performance of pthread's mutexing and conditional broadcast implementation has gone downhill since the version on CentOS. On Tue, Mar 2, 2010 at 2:44 PM, Michael Collins wrote: > > > On Tue, Mar 2, 2010 at 10:53 AM, Sergey Okhapkin > wrote: > >> A program should not be visible in "top" when idle. That's my point. >> > > That's a dangerous assumption. Do really know for a certainty that a > program "should not" be visible in top when it's "idle"? Like Tony said > below, "idle" is misleading. FreeSWITCH is working its but off when you > think it's "idle." Make 100 simultaneous calls and see what the CPU usage > is. I think you'll be happy with the results. > > For the record, we are going to start a wiki page that explains all of > this. It's kind of analogous to the whole "Linux eats all my RAM" > discussion. We should have something documented in a few days. > -MC > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100302/90a7a31e/attachment.html From phunk0000 at hotmail.com Tue Mar 2 13:15:06 2010 From: phunk0000 at hotmail.com (Todd) Date: Tue, 2 Mar 2010 16:15:06 -0500 Subject: [Freeswitch-users] Play message upon call anwser Message-ID: Hey List.. I am trying to setup my dial plan so whenever a call is answered a recording is played to the person who answered the phone before the call is connected.. Any help would be great. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/c603553c/attachment.html From freeswitch at cartissolutions.com Tue Mar 2 13:27:50 2010 From: freeswitch at cartissolutions.com (Yossi Neiman) Date: Tue, 02 Mar 2010 15:27:50 -0600 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <87f2f3b91003021244q3e9e4a90m5116fe4e77cd2e3a@mail.gmail.com> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <7b197bef1003021023o7ec6fba6sccc9b4185640a32a@mail.gmail.com> <191c3a031003021043o1d7a10aar3e5f88dad2738815@mail.gmail.com> <201003021353.48590.sos@sokhapkin.dyndns.org> <87f2f3b91003021244q3e9e4a90m5116fe4e77cd2e3a@mail.gmail.com> Message-ID: <4B8D82D6.90007@cartissolutions.com> On 03/02/2010 02:44 PM, Michael Collins wrote: > > > On Tue, Mar 2, 2010 at 10:53 AM, Sergey Okhapkin > > wrote: > > A program should not be visible in "top" when idle. That's my point. > > > That's a dangerous assumption. Do really know for a certainty that a > program "should not" be visible in top when it's "idle"? Like Tony > said below, "idle" is misleading. FreeSWITCH is working its but off > when you think it's "idle." Make 100 simultaneous calls and see what > the CPU usage is. I think you'll be happy with the results. > Cue up applicable car analogy.... I ask Sergey this question: When you turn on your car and let it while in either a parking gear or in neutral, your car is considered "idling". But does the car still not use oxygen and gasoline, and produce heat and waste products all the while idling? That is how you can think of a complex system such as FreeSWITCH. It is a machine with a lot of parts, and idling means that it is in a "ready" state, but does not mean that it is "turned off". -Yossi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/7dc61cfb/attachment.html From robert.hadley at teotech.com Tue Mar 2 13:31:24 2010 From: robert.hadley at teotech.com (Robert Hadley) Date: Tue, 2 Mar 2010 13:31:24 -0800 Subject: [Freeswitch-users] Delete custom voicemail greetings Message-ID: <4D58851467464E15801979AC635DAA00@greyhawk.tonecommander.com> Hi FS users, How do I delete custom voicemail greetings and go back to the default greeting? Thanks, Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/69ac1b7d/attachment-0001.html From pjintheusa at gmail.com Tue Mar 2 13:40:30 2010 From: pjintheusa at gmail.com (Phillip Jones) Date: Tue, 2 Mar 2010 16:40:30 -0500 Subject: [Freeswitch-users] .NET / ESL In-Reply-To: <251258.58331.qm@web33508.mail.mud.yahoo.com> References: <367751821003011901p55388bd6h9f543fed4c3de69c@mail.gmail.com> <251258.58331.qm@web33508.mail.mud.yahoo.com> Message-ID: <367751821003021340m4708598bu6c142fd74a0757d@mail.gmail.com> Thank you Diego - I will be taking a look later this week and will let you know how it goes. Or see you on the conf call tomorrow! On Tue, Mar 2, 2010 at 8:24 AM, Diego Toro wrote: > Hi Phillip Jones, > > Any concerns, You tell me, I help you > > Diego Toro > http://lacarretade.blogspot.com/ > > > --- On Mon, 3/1/10, Phillip Jones wrote: > > > From: Phillip Jones > > Subject: Re: [Freeswitch-users] .NET / ESL > > To: freeswitch-users at lists.freeswitch.org > > Date: Monday, March 1, 2010, 10:01 PM > > Thanks > > > > On Mon, Mar 1, 2010 at 9:42 PM, > > Brian West > > wrote: > > > > http://svn.freeswitch.org/svn/freeswitch/trunk/libs/esl/ > > > > > > > > in the managed folder. > > > > > > > > /b > > > > > > > > On Mar 1, 2010, at 8:35 PM, Phillip Jones wrote: > > > > > > > > > Hi there, > > > > > > > > > > I am sure that I have read somewhere that someone is > > developing a new .NET library for FreeSWITCH ESL. If so can > > someone point me to some info / code etc. so I can take a > > look. > > > > > > > > > > Thanks > > > > > > > > > > pj > > > > > > > _______________________________________________ > > > > > FreeSWITCH-users mailing list > > > > > FreeSWITCH-users at 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 > > > > > > > > > > -----Inline Attachment Follows----- > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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/20100302/2b006fe5/attachment.html From msc at freeswitch.org Tue Mar 2 17:01:41 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 2 Mar 2010 17:01:41 -0800 Subject: [Freeswitch-users] What FS is doing when idle? In-Reply-To: <4B8D82D6.90007@cartissolutions.com> References: <201003021113.06820.sos@sokhapkin.dyndns.org> <7b197bef1003021023o7ec6fba6sccc9b4185640a32a@mail.gmail.com> <191c3a031003021043o1d7a10aar3e5f88dad2738815@mail.gmail.com> <201003021353.48590.sos@sokhapkin.dyndns.org> <87f2f3b91003021244q3e9e4a90m5116fe4e77cd2e3a@mail.gmail.com> <4B8D82D6.90007@cartissolutions.com> Message-ID: <87f2f3b91003021701i6848c9e9hfb665ee0f1892802@mail.gmail.com> It's sad that my computer uses more than 2% CPU whenever I try to open this thread in my email client... -MC On Tue, Mar 2, 2010 at 1:27 PM, Yossi Neiman wrote: > On 03/02/2010 02:44 PM, Michael Collins wrote: > > > > On Tue, Mar 2, 2010 at 10:53 AM, Sergey Okhapkin > wrote: > >> A program should not be visible in "top" when idle. That's my point. >> > > That's a dangerous assumption. Do really know for a certainty that a > program "should not" be visible in top when it's "idle"? Like Tony said > below, "idle" is misleading. FreeSWITCH is working its but off when you > think it's "idle." Make 100 simultaneous calls and see what the CPU usage > is. I think you'll be happy with the results. > > > > Cue up applicable car analogy.... > > I ask Sergey this question: When you turn on your car and let it while in > either a parking gear or in neutral, your car is considered "idling". But > does the car still not use oxygen and gasoline, and produce heat and waste > products all the while idling? That is how you can think of a complex > system such as FreeSWITCH. It is a machine with a lot of parts, and idling > means that it is in a "ready" state, but does not mean that it is "turned > off". > > -Yossi > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/6d9e4718/attachment.html From dujinfang at gmail.com Tue Mar 2 17:26:52 2010 From: dujinfang at gmail.com (Seven Du) Date: Wed, 3 Mar 2010 09:26:52 +0800 Subject: [Freeswitch-users] help on codec negotiation, got incompatable destination In-Reply-To: <074F8BA1-718B-4E36-9CC1-0FA9D3579E1D@freeswitch.org> References: <23f91031003012257s32ce6cf7vb6469933b7a4bd15@mail.gmail.com> <23f91031003012301y42bb9c04s80689a21c0eb7924@mail.gmail.com> <074F8BA1-718B-4E36-9CC1-0FA9D3579E1D@freeswitch.org> Message-ID: <23f91031003021726m3b19d685s2658c05a7868a80a@mail.gmail.com> Thanks, I removed @30i and it works, however, CELT, doesn't. CODECS IN PCMU,PCMA,iLBC,CELT,GSM CODECS OUT PCMU,PCMA,iLBC,CELT,GSM 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:48000:10]/[PCMU:0:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:48000:10]/[PCMA:8:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:48000:10]/[iLBC:98:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:48000:10]/[GSM:3:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3489 Set 2833 dtmf payload to 101 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[PCMU:0:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[PCMA:8:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[iLBC:98:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[GSM:3:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[PCMU:0:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[PCMA:8:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[iLBC:98:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[GSM:3:8000:20] CELT at 32000h 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:32000:10]/[PCMU:0:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:32000:10]/[PCMA:8:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:32000:10]/[iLBC:98:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:32000:10]/[GSM:3:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3489 Set 2833 dtmf payload to 101 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[PCMU:0:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[PCMA:8:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[iLBC:98:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[GSM:3:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[PCMU:0:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[PCMA:8:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[iLBC:98:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[GSM:3:8000:20] 2010/3/2 Brian West : > Yes that is because its @30i, All codecs offered MUST be 30ms if you want to offer iLBC at 30i. ?So add @30i to all but GSM since you can't do GSM @ 30. > > /b > On Mar 2, 2010, at 1:01 AM, Seven Du wrote: > >> sorry forget to metion I'm on FreeSWITCH Version 1.0.trunk (16859) >> >> >> 2010/3/2 Seven Du : >>> I have iLBC configured in profile internal >>> >>> CODECS IN ? ? ? ? ? ? ? PCMU,PCMA,iLBC at 30i,GSM >>> CODECS OUT ? ? ? ? ? ? ?PCMU,PCMA,iLBC at 30i,GSM >>> >>> and ? ? >>> >>> but it seems not comparing with iLBC >>> >>> ?010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >>> Compare [iLBC:97:8000:30]/[PCMU:0:8000:20] >>> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >>> Compare [iLBC:97:8000:30]/[PCMA:8:8000:20] >>> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >>> Compare [iLBC:97:8000:30]/[GSM:3:8000:20] >>> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3489 Set 2833 dtmf >>> payload to 101 >>> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >>> Compare [telephone-event:101:8000:30]/[PCMU:0:8000:20] >>> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >>> Compare [telephone-event:101:8000:30]/[PCMA:8:8000:20] >>> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >>> Compare [telephone-event:101:8000:30]/[GSM:3:8000:20] >>> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >>> Compare [CN:13:8000:30]/[PCMU:0:8000:20] >>> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >>> Compare [CN:13:8000:30]/[PCMA:8:8000:20] >>> 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec >>> Compare [CN:13:8000:30]/[GSM:3:8000:20] >>> >>> >>> can anyone help on this? see full log at http://pastebin.freeswitch.org/12278 . >>> >>> Thanks. >>> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > From brian at freeswitch.org Tue Mar 2 17:45:30 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 19:45:30 -0600 Subject: [Freeswitch-users] help on codec negotiation, got incompatable destination In-Reply-To: <23f91031003021726m3b19d685s2658c05a7868a80a@mail.gmail.com> References: <23f91031003012257s32ce6cf7vb6469933b7a4bd15@mail.gmail.com> <23f91031003012301y42bb9c04s80689a21c0eb7924@mail.gmail.com> <074F8BA1-718B-4E36-9CC1-0FA9D3579E1D@freeswitch.org> <23f91031003021726m3b19d685s2658c05a7868a80a@mail.gmail.com> Message-ID: Celt can only do 10ms :P /b On Mar 2, 2010, at 7:26 PM, Seven Du wrote: > Thanks, I removed @30i and it works, however, CELT, doesn't. From infos at madovsky.org Tue Mar 2 18:47:25 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 2 Mar 2010 21:47:25 -0500 Subject: [Freeswitch-users] Delete custom voicemail greetings References: <4D58851467464E15801979AC635DAA00@greyhawk.tonecommander.com> Message-ID: <7315F3D9A8C54944B2D8699811DA85D4@MOBILEE1705> make install samples ----- Original Message ----- From: Robert Hadley To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 02, 2010 4:31 PM Subject: [Freeswitch-users] Delete custom voicemail greetings Hi FS users, How do I delete custom voicemail greetings and go back to the default greeting? Thanks, Robert ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/c006b502/attachment-0001.html From infos at madovsky.org Tue Mar 2 18:56:57 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 2 Mar 2010 21:56:57 -0500 Subject: [Freeswitch-users] What FS is doing when idle? References: <201003021113.06820.sos@sokhapkin.dyndns.org><744EE96D-9C50-486E-A19E-ADD353882C46@freeswitch.org><507898381003021208w1e1e14bey27e959a61060879@mail.gmail.com><91CC3A53929A419FB0E103BC0BEF95F1@MOBILEE1705> <191c3a031003021237t30f46edp2978f258c54c326b@mail.gmail.com> Message-ID: <509D15C949DC42898735CB1CC3CDD7E4@MOBILEE1705> Ok I will do it, but I can make only one call since I work alone on FS :D ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 02, 2010 3:37 PM Subject: Re: [Freeswitch-users] What FS is doing when idle? and make calls with both and measure the jitter with wireshark. On Tue, Mar 2, 2010 at 2:19 PM, Madovsky wrote: I tried to downgrade FS to version 16597, all compiles well (even mod_vmd) so with exactly the same config as last svn trunk I get with -vm : 21245 root 20 0 495m 29m 7428 S 2.3 0.4 0:00.71 freeswitch -> CPU = 2.3% and without -vm 25744 root 20 0 431m 29m 7432 S 4.0 0.4 0:01.46 freeswitch -> CPU 4.00% which is less as the last version that takes almost 12%. hope this helps Regards F ----- Original Message ----- From: Chris Chen To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 02, 2010 3:08 PM Subject: Re: [Freeswitch-users] What FS is doing when idle? I guess he is thinking about 1.6GHZ, most likely the N270 CPU which is common to net books from ASUS and like, I have one running on EEE box N270. Chris On Tue, Mar 2, 2010 at 2:25 PM, Brian West wrote: How many calls can that 1.6MHz CPU do? :P And how long does it take to compile? :P /b On Mar 2, 2010, at 1:15 PM, Max Bridgewater wrote: > For whatever it's worth; I have FS running on a 1.6MHz processor, > CentOS 5.3 (Final); when idle it consumes 0.3% of processor time. _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/6d591577/attachment.html From dujinfang at gmail.com Tue Mar 2 19:45:15 2010 From: dujinfang at gmail.com (Seven Du) Date: Wed, 3 Mar 2010 11:45:15 +0800 Subject: [Freeswitch-users] help on codec negotiation, got incompatable destination In-Reply-To: References: <23f91031003012257s32ce6cf7vb6469933b7a4bd15@mail.gmail.com> <23f91031003012301y42bb9c04s80689a21c0eb7924@mail.gmail.com> <074F8BA1-718B-4E36-9CC1-0FA9D3579E1D@freeswitch.org> <23f91031003021726m3b19d685s2658c05a7868a80a@mail.gmail.com> Message-ID: <23f91031003021945r4ab49d4fi5d230a8afac7fdf4@mail.gmail.com> Oh, yes, but then how I set the pref codec string? I want to also support other codecs and other ms, now I set to PCMU,PCMA,iLBC,CELT,GSM with the above string I can do 30ms iLBC 2010-03-02 22:44:01.071059 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[PCMU:0:8000:20] 2010-03-02 22:44:01.071059 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[PCMA:8:8000:20] 2010-03-02 22:44:01.071059 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[iLBC:98:8000:20] 2010-03-02 22:44:01.071059 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[GSM:3:8000:20] 2010-03-02 22:44:01.071059 [DEBUG] sofia_glue.c:3580 Substituting codec iLBC at 30i@8000h 2010-03-02 22:44:01.071059 [DEBUG] sofia_glue.c:2333 Set Codec sofia/internal/1001 at 114.80.200.174 iLBC/8000 30 ms 240 samples should I use another profile that only do CELT with 10ms? 2010/3/3 Brian West : > Celt can only do 10ms :P > > /b > > On Mar 2, 2010, at 7:26 PM, Seven Du wrote: > >> Thanks, I removed @30i and it works, however, CELT, doesn't. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > From brian at freeswitch.org Tue Mar 2 19:51:38 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 2 Mar 2010 21:51:38 -0600 Subject: [Freeswitch-users] help on codec negotiation, got incompatable destination In-Reply-To: <23f91031003021945r4ab49d4fi5d230a8afac7fdf4@mail.gmail.com> References: <23f91031003012257s32ce6cf7vb6469933b7a4bd15@mail.gmail.com> <23f91031003012301y42bb9c04s80689a21c0eb7924@mail.gmail.com> <074F8BA1-718B-4E36-9CC1-0FA9D3579E1D@freeswitch.org> <23f91031003021726m3b19d685s2658c05a7868a80a@mail.gmail.com> <23f91031003021945r4ab49d4fi5d230a8afac7fdf4@mail.gmail.com> Message-ID: Enable late negotiation? And pick after the fact? /b On Mar 2, 2010, at 9:45 PM, Seven Du wrote: > Oh, yes, but then how I set the pref codec string? I want to also > support other codecs and other ms, now I set to > > PCMU,PCMA,iLBC,CELT,GSM > > with the above string I can do 30ms iLBC From msc at freeswitch.org Tue Mar 2 20:03:53 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 2 Mar 2010 20:03:53 -0800 Subject: [Freeswitch-users] Play message upon call anwser In-Reply-To: References: Message-ID: <87f2f3b91003022003x8de4c92v42620a48d5bf4d78@mail.gmail.com> On Tue, Mar 2, 2010 at 1:15 PM, Todd wrote: > Hey List.. I am trying to setup my dial plan so whenever a call is > answered a recording is played to the person who answered the phone before > the call is connected?. Any help would be great. Thanks > Are you talking about the group confirm feature? http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#Answer_confirmation -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/c161e0a9/attachment.html From dujinfang at gmail.com Tue Mar 2 20:20:20 2010 From: dujinfang at gmail.com (Seven Du) Date: Wed, 3 Mar 2010 12:20:20 +0800 Subject: [Freeswitch-users] help on codec negotiation, got incompatable destination In-Reply-To: References: <23f91031003012257s32ce6cf7vb6469933b7a4bd15@mail.gmail.com> <23f91031003012301y42bb9c04s80689a21c0eb7924@mail.gmail.com> <074F8BA1-718B-4E36-9CC1-0FA9D3579E1D@freeswitch.org> <23f91031003021726m3b19d685s2658c05a7868a80a@mail.gmail.com> <23f91031003021945r4ab49d4fi5d230a8afac7fdf4@mail.gmail.com> Message-ID: <23f91031003022020o24c809afs55afd9574afa4ee5@mail.gmail.com> 2010/3/3 Brian West : > Enable late negotiation? And pick after the fact? Understood. Is that the conf of freeswitch conference call? But I think it would be simpler to start a new profile in my scenario. And, doesn't it make sense to also compare mixed ms? Thanks. > > /b > > On Mar 2, 2010, at 9:45 PM, Seven Du wrote: > >> Oh, yes, but then how I set the pref codec string? I want to also >> support other codecs and other ms, now I set to >> >> PCMU,PCMA,iLBC,CELT,GSM >> >> with the above string I can do 30ms iLBC > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 lakindia89 at gmail.com Tue Mar 2 20:48:29 2010 From: lakindia89 at gmail.com (lakshmanan ganapathy) Date: Wed, 3 Mar 2010 10:18:29 +0530 Subject: [Freeswitch-users] make current - System Hangs In-Reply-To: <2C6C36D4-8709-42A1-9FD7-F9F7A39A7E6C@freeswitch.org> References: <7d79b3931003012314r161c4120k960b34b3b98c533c@mail.gmail.com> <87f2f3b91003020940n4781a0a2j5c63c1d098b434e5@mail.gmail.com> <2C6C36D4-8709-42A1-9FD7-F9F7A39A7E6C@freeswitch.org> Message-ID: <7d79b3931003022048y48c8ecbdrc1c0e72877a9f6c4@mail.gmail.com> Hey! when I did the make current for several times yesterday, the system got hanged, and on the same line only. But today when I tried, it went fine. I've not done any changes other than shutting the system and started it again.. This time I got revision 16873 with openap(1048). But yesterday it was 16859 with openzap(1047) and I just have a though that it may be because of this. Thank u all. On Tue, Mar 2, 2010 at 11:17 PM, Brian West wrote: > what os are you on? > > /b > > On Mar 2, 2010, at 11:40 AM, Michael Collins wrote: > > > > On Mon, Mar 1, 2010 at 11:14 PM, lakshmanan ganapathy < > lakindia89 at gmail.com> wrote: > >> Hi all, >> I did make current from my freeswitch src directory, but the system got >> hanged. >> Any one know why this happened. >> > > Does it happen every time you make current? If so, does it always happen at > the "expat" lib? > -MC > > _________ > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/8c625e4d/attachment-0001.html From rob4manhere at gmail.com Tue Mar 2 21:04:46 2010 From: rob4manhere at gmail.com (Rob Forman) Date: Tue, 2 Mar 2010 23:04:46 -0600 Subject: [Freeswitch-users] Virtualized FreeSWITCH Message-ID: <8EA5AF34-49E2-4594-91E1-8D05E66FB460@gmail.com> Hi all, Is anyone running FreeSWITCH virtualized (xen or vmware) in production? I saw ec2 and xen mentioned a few places. If so, are there tips or tricks for handle timer issues which affect virtual machines in general, such as recommended divider or clocksource settings? I'm seeing funny timing issues while testing with audio recording and playback that speed up or slow down. I have tried both paravirt and hvm. The default xen kernel has a timer of 250, so I tried to hvm instead using the stock 5.3 kernel with the 1khz timer but didn't see much improvement. All of this was tested on 64-bit CentOS 5.3. - Physical host: Linux localhost.localdomain 2.6.18-164.11.1.el5xen #1 SMP Wed Jan 20 08:06:04 EST 2010 x86_64 x86_64 x86_64 GNU/Linux CONFIG_HZ=250 - Paravirt host: Linux localhost.localdomain 2.6.18-128.el5xen #1 SMP Wed Jan 21 11:12:42 EST 2009 x86_64 x86_64 x86_64 GNU/Linux CONFIG_HZ=250 - Hvm host: Linux localhost.localdomain 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux CONFIG_HZ=1000 I'm sure physical hosts are the de-facto best practice, but are virtual machines not worth it at all? Cheers, Rob From brian at microcomaustralia.com.au Tue Mar 2 21:27:29 2010 From: brian at microcomaustralia.com.au (Brian May) Date: Wed, 3 Mar 2010 16:27:29 +1100 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: <8EA5AF34-49E2-4594-91E1-8D05E66FB460@gmail.com> References: <8EA5AF34-49E2-4594-91E1-8D05E66FB460@gmail.com> Message-ID: <3c5cf5261003022127o6a16b2der84a6711565367026@mail.gmail.com> On 3 March 2010 16:04, Rob Forman wrote: > Is anyone running FreeSWITCH virtualized (xen or vmware) in > production? ?I saw ec2 and xen mentioned a few places. ?If so, are > there tips or tricks for handle timer issues which affect virtual > machines in general, such as recommended divider or clocksource > settings? ?I'm seeing funny timing issues while testing with audio > recording and playback that speed up or slow down. I tried tdm400+xen DOM0+asterisk years ago, on a single processor machine but gave up. zttest returned good results, but analogue quality has intermittently very poor quality and it made telephone conversations difficult to understand. Especially a problem when hourly cron jobs would start on all VMs at exactly the same time, but was a problem at other times too. Plus the fact people who used the phone more often then me didn't report the problem, so I thought it was fine. Plus the general fact I didn't really like the idea of running Asterisk on DOM0, and running it on DOMU seemed to imply even more overheard, as DOM0 would have to process the interrupts and pass them to the DOMU. Unfortunately I don't remember what scheduler I used, maybe sedf? I suspect a multi-processor system would be a lot better suited for the task. Also might be OK if you don't use zaptel hardware... I seem to remember these cards generate a huge number of interrupts. While this was with Asterisk, I suspect my results were not specific to Asterisk in anyway. -- Brian May From jmesquita at freeswitch.org Tue Mar 2 22:00:11 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Wed, 3 Mar 2010 03:00:11 -0300 Subject: [Freeswitch-users] FScomm In-Reply-To: References: <157FDB96FB88476FBAEC69C1309A0A5F@MOBILEE1705> <11F8492DFC2546598E6FDC3E538301CD@MOBILEE1705> Message-ID: This is definitely a problem with your Qt installation. You need to be able to find the libs to link it, otherwise, unresolved symbols everywhere! Regards, Jo?o Mesquita FSComm Developer On Wed, Feb 24, 2010 at 2:42 PM, Madovsky wrote: > > ----- Original Message ----- > From: "Michael Jerris" > To: > Sent: Wednesday, February 24, 2010 3:40 AM > Subject: Re: [Freeswitch-users] FScomm > > > > On Feb 23, 2010, at 6:18 PM, Madovsky wrote: > > > > > ----- Original Message ----- > > From: Jeff Lenk > > To: freeswitch-users at lists.freeswitch.org > > Sent: Tuesday, February 23, 2010 5:05 PM > > Subject: Re: [Freeswitch-users] FScomm > > > > > > http://wiki.freeswitch.org/wiki/FSComm#Linux > > > > you must run those from the FSComm directory > > > > ?. > > > > > It's what I did, > > but from FS trunk, inside fscomm directory, > > there s only > > > > account.cpp conf fshost.h mainwindow.ui > > resources.qrc > > account.h FSComm.2008.vcproj main.cpp mod_qsettings > > call.cpp FSComm.pro mainwindow.cpp preferences > > call.h fshost.cpp mainwindow.h resources > > > > > Read those installation instructions again and do them step by step, you > skipped one. > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > Ok now I have > > [root at node250 fscomm]# qmake > WARNING: Found potential symbol conflict of mainwindow.cpp (mainwindow.cpp) > in SOURCES > WARNING: Found potential symbol conflict of mainwindow.h (mainwindow.h) in > HEADERS > WARNING: Found potential symbol conflict of prefdialog.cpp > (preferences/prefdialog.cpp) in SOURCES > WARNING: Found potential symbol conflict of prefdialog.h > (preferences/prefdialog.h) in HEADERS > WARNING: Found potential symbol conflict of accountdialog.cpp > (preferences/accountdialog.cpp) in SOURCES > WARNING: Found potential symbol conflict of accountdialog.h > (preferences/accountdialog.h) in HEADERS > > [root at node250 fscomm]# qmake > WARNING: Found potential symbol conflict of mainwindow.cpp (mainwindow.cpp) > in SOURCES > WARNING: Found potential symbol conflict of mainwindow.h (mainwindow.h) in > HEADERS > WARNING: Found potential symbol conflict of prefdialog.cpp > (preferences/prefdialog.cpp) in SOURCES > WARNING: Found potential symbol conflict of prefdialog.h > (preferences/prefdialog.h) in HEADERS > WARNING: Found potential symbol conflict of accountdialog.cpp > (preferences/accountdialog.cpp) in SOURCES > WARNING: Found potential symbol conflict of accountdialog.h > (preferences/accountdialog.h) in HEADERS > [root at node250 fscomm]# make > Makefile:278: warning: overriding commands for target `prefdialog.o' > Makefile:215: warning: ignoring old commands for target `prefdialog.o' > Makefile:285: warning: overriding commands for target `accountdialog.o' > Makefile:234: warning: ignoring old commands for target `accountdialog.o' > Makefile:320: warning: overriding commands for target `moc_prefdialog.o' > Makefile:298: warning: ignoring old commands for target `moc_prefdialog.o' > Makefile:323: warning: overriding commands for target `moc_accountdialog.o' > Makefile:307: warning: ignoring old commands for target > `moc_accountdialog.o' > Makefile:347: warning: overriding commands for target `moc_mainwindow.cpp' > Makefile:326: warning: ignoring old commands for target > `moc_mainwindow.cpp' > Makefile:350: warning: overriding commands for target > `preferences/moc_prefdialog.cpp' > Makefile:332: warning: ignoring old commands for target > `preferences/moc_prefdialog.cpp' > Makefile:353: warning: overriding commands for target > `preferences/moc_accountdialog.cpp' > Makefile:341: warning: ignoring old commands for target > `preferences/moc_accountdialog.cpp' > g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -DQT_NO_DEBUG > -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT > -I/usr/lib64/qt-3.3/mkspecs/default > -I. -I../src/include -I../libs/apr/include -I../libs/libteletone/src > -I/usr/lib64/qt-3.3/include > -o main.o main.cpp > main.cpp:31:25: error: QSplashScreen: No such file or directory > In file included from main.cpp:32: > mainwindow.h:34:23: error: QMainWindow: No such file or directory > mainwindow.h:35:28: error: QTableWidgetItem: No such file or directory > mainwindow.h:36:25: error: QSignalMapper: No such file or directory > mainwindow.h:37:27: error: QSystemTrayIcon: No such file or directory > In file included from mainwindow.h:39, > from main.cpp:32: > ./fshost.h:32:19: error: QThread: No such file or directory > ./fshost.h:33:17: error: QHash: No such file or directory > ./fshost.h:34:26: error: QSharedPointer: No such file or directory > In file included from ./fshost.h:36, > from mainwindow.h:39, > from main.cpp:32: > ./call.h:32:18: error: QtCore: No such file or directory > ./call.h:33:19: error: QString: No such file or directory > In file included from mainwindow.h:42, > from main.cpp:32: > preferences/prefdialog.h:4:19: error: QDialog: No such file or directory > preferences/prefdialog.h:5:24: error: QDomDocument: No such file or > directory > preferences/prefdialog.h:6:21: error: QSettings: No such file or directory > In file included from ./fshost.h:37, > from mainwindow.h:39, > from main.cpp:32: > ./account.h:18: error: expected constructor, destructor, or type conversion > before ?static? > In file included from mainwindow.h:39, > from main.cpp:32: > ./fshost.h:40: error: invalid use of incomplete type ?struct QThread? > /usr/include/QtCore/qobject.h:68: error: forward declaration of ?struct > QThread? > ./fshost.h:46: error: ISO C++ forbids declaration of ?QSharedPointer? with > no type > ./fshost.h:46: error: expected ?;? before ? ./fshost.h:47: error: expected `;' before ?QSharedPointer? > ./fshost.h:47: error: ISO C++ forbids declaration of ?QSharedPointer? with > no type > ./fshost.h:47: error: expected ?;? before ? ./fshost.h:48: error: ?QSharedPointer? was not declared in this scope > ./fshost.h:48: error: template argument 1 is invalid > ./fshost.h:48: error: expected unqualified-id before ?>? token > ./fshost.h:49: error: ISO C++ forbids declaration of ?QSharedPointer? with > no type > ./fshost.h:49: error: expected ?;? before ? ./fshost.h:50: error: ISO C++ forbids declaration of ?QSharedPointer? with > no type > ./fshost.h:50: error: expected ?;? before ? ./fshost.h:51: error: ISO C++ forbids declaration of ?QSharedPointer? with > no type > ./fshost.h:51: error: expected ?;? before ? ./fshost.h:52: error: ?QSharedPointer? has not been declared > ./fshost.h:52: error: expected ?,? or ?...? before ? ./fshost.h:60: error: ?QSharedPointer? has not been declared > ./fshost.h:60: error: expected ?,? or ?...? before ? ./fshost.h:61: error: ?QSharedPointer? has not been declared > ./fshost.h:61: error: expected ?,? or ?...? before ? ./fshost.h:62: error: ?QSharedPointer? has not been declared > ./fshost.h:62: error: expected ?,? or ?...? before ? ./fshost.h:63: error: ?QSharedPointer? has not been declared > ./fshost.h:63: error: expected ?,? or ?...? before ? ./fshost.h:64: error: ?QSharedPointer? has not been declared > ./fshost.h:64: error: expected ?,? or ?...? before ? ./fshost.h:65: error: ?QSharedPointer? has not been declared > ./fshost.h:65: error: expected ?,? or ?...? before ? ./fshost.h:66: error: ?QSharedPointer? has not been declared > ./fshost.h:66: error: expected ?,? or ?...? before ? ./fshost.h:67: error: ?QSharedPointer? has not been declared > ./fshost.h:67: error: expected ?,? or ?...? before ? ./fshost.h:71: error: ?QSharedPointer? has not been declared > ./fshost.h:71: error: expected ?,? or ?...? before ? ./fshost.h:78: error: ?QSharedPointer? was not declared in this scope > ./fshost.h:78: error: template argument 2 is invalid > ./fshost.h:78: error: expected unqualified-id before ?>? token > ./fshost.h:79: error: ?QSharedPointer? was not declared in this scope > ./fshost.h:79: error: template argument 2 is invalid > ./fshost.h:79: error: expected unqualified-id before ?>? token > ./fshost.h:80: error: field ?_bleg_uuids? has incomplete type > In file included from mainwindow.h:42, > from main.cpp:32: > preferences/prefdialog.h:17: error: invalid use of incomplete type ?struct > QDialog? > /usr/include/QtGui/qwindowdefs.h:57: error: forward declaration of ?struct > QDialog? > preferences/prefdialog.h:31: error: ISO C++ forbids declaration of > ?QSettings? with no type > preferences/prefdialog.h:31: error: expected ?;? before ?*? token > In file included from main.cpp:32: > mainwindow.h:48: error: expected class-name before ?{? token > mainwindow.h:65: error: ?QTableWidgetItem? has not been declared > mainwindow.h:71: error: ?QSharedPointer? has not been declared > mainwindow.h:71: error: expected ?,? or ?...? before ? mainwindow.h:72: error: ?QSharedPointer? has not been declared > mainwindow.h:72: error: expected ?,? or ?...? before ? mainwindow.h:73: error: ?QSharedPointer? has not been declared > mainwindow.h:73: error: expected ?,? or ?...? before ? mainwindow.h:74: error: ?QSharedPointer? has not been declared > mainwindow.h:74: error: expected ?,? or ?...? before ? mainwindow.h:75: error: ?QSharedPointer? has not been declared > mainwindow.h:75: error: expected ?,? or ?...? before ? mainwindow.h:78: error: ?QSharedPointer? has not been declared > mainwindow.h:78: error: expected ?,? or ?...? before ? mainwindow.h:79: error: ?QSharedPointer? has not been declared > mainwindow.h:79: error: expected ?,? or ?...? before ? mainwindow.h:80: error: ?QSharedPointer? has not been declared > mainwindow.h:80: error: expected ?,? or ?...? before ? mainwindow.h:81: error: ?QSystemTrayIcon? has not been declared > mainwindow.h:81: error: expected ?,? or ?...? before ?reason? > mainwindow.h:86: error: ISO C++ forbids declaration of ?QSignalMapper? with > no type > mainwindow.h:86: error: expected ?;? before ?*? token > mainwindow.h:88: error: ISO C++ forbids declaration of ?QSystemTrayIcon? > with no type > mainwindow.h:88: error: expected ?;? before ?*? token > main.cpp: In function ?int main(int, char**)?: > main.cpp:41: error: variable ?QPixmap image? has initializer but incomplete > type > main.cpp:42: error: ?QSplashScreen? was not declared in this scope > main.cpp:42: error: ?splash? was not declared in this scope > main.cpp:42: error: expected type-specifier before ?QSplashScreen? > main.cpp:42: error: expected `;' before ?QSplashScreen? > main.cpp:48: error: no matching function for call to > ?QObject::connect(FSHost*, const char [9], MainWindow*, const char [8])? > /usr/include/QtCore/qobject.h:202: note: candidates are: static bool > QObject::connect(const QObject*, const char*, const QObject*, const char*, > Qt::ConnectionType) > /usr/include/QtCore/qobject.h:307: note: bool > QObject::connect(const QObject*, const char*, const char*, > Qt::ConnectionType) const > main.cpp:49: error: ?class FSHost? has no member named ?start? > main.cpp:41: warning: unused variable ?image? > ./fshost.h: At global scope: > ./fshost.h:90: warning: ?void eventHandlerCallback(switch_event_t*)? > defined > but not used > make: *** [main.o] Error 1 > > > Any idea ? > > Thx > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/7a9ed411/attachment-0001.html From jmesquita at freeswitch.org Tue Mar 2 22:01:46 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Wed, 3 Mar 2010 03:01:46 -0300 Subject: [Freeswitch-users] How to exchange media when I developed new endpoint module? In-Reply-To: <93b0f8ce1002201812x24cf3853u920bdba87f938b43@mail.gmail.com> References: <93b0f8ce1002091914q581f12fvd1de01e2181f0f3a@mail.gmail.com> <4021C303-1AC3-48F2-A17B-63C02C1C54D4@freeswitch.org> <93b0f8ce1002191722h5782b787qe56a06dd0cb94e76@mail.gmail.com> <93b0f8ce1002201812x24cf3853u920bdba87f938b43@mail.gmail.com> Message-ID: I have added you on GTalk, let me know if you need help. Regards, Jo?o Mesquita On Sat, Feb 20, 2010 at 11:12 PM, ??? wrote: > Oh, My God! You are the developer of mod_khomp! I read your blog, checked > out mod_khomp from google code, and found it had not update for a long time. > So what is your roadmap about mod_khomp? > > I share my snippet in FS pastebin, you can find it with ' > http://pastebin.freeswitch.org/12192 '. > > My MSN is spiritonly at live.cn. > My Gtalk is spiritonly at gmail.com. > Hope we can keep connected. > > > 2010/2/21 Jo?o Mesquita > > I developed the current implementation of mod_khomp. I wouldn't take it as >> an example for anything since there has been no activity there for the past >> 4 months. If you care to share a snippet of your code, maybe we can help >> better. >> >> >> JM >> >> >> >> On Fri, Feb 19, 2010 at 11:22 PM, ??? wrote: >> >>> Do you know mod_khomp? You can found it in FS wiki. I am developing an >>> endpoint module like it. >>> So you can give me some advice to bridge two session? >>> >>> >>> On Wed, Feb 10, 2010 at 11:44 AM, Brian West wrote: >>> >>>> But the bigger question is what protocol are you doing that you have to >>>> create your own endpoint module? >>>> >>>> /b >>>> >>>> On Feb 9, 2010, at 9:32 PM, Jo?o Mesquita wrote: >>>> >>>> > You should look at read_frame and write_frame implementations of other >>>> endpoint modules. >>>> > >>>> > This should pretty much tell you how things work... >>>> > >>>> > Jo?o Mesquita >>>> >>>> >>>> _______________________________________________ >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>> >>> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100303/9a04f546/attachment.html From infos at madovsky.org Tue Mar 2 22:26:54 2010 From: infos at madovsky.org (Madovsky) Date: Wed, 3 Mar 2010 01:26:54 -0500 Subject: [Freeswitch-users] FScomm References: <157FDB96FB88476FBAEC69C1309A0A5F@MOBILEE1705><11F8492DFC2546598E6FDC3E538301CD@MOBILEE1705> Message-ID: <13F83F4CC35047199F95ED9EA80149BE@MOBILEE1705> Hi Joao, thanks for your answer. I have a standard RPM QT last update for Fedora10 64bits. so I really don't know what path FScomm needs Regards Franck ----- Original Message ----- From: Jo?o Mesquita To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 1:00 AM Subject: Re: [Freeswitch-users] FScomm This is definitely a problem with your Qt installation. You need to be able to find the libs to link it, otherwise, unresolved symbols everywhere! Regards, Jo?o Mesquita FSComm Developer On Wed, Feb 24, 2010 at 2:42 PM, Madovsky wrote: ----- Original Message ----- From: "Michael Jerris" To: Sent: Wednesday, February 24, 2010 3:40 AM Subject: Re: [Freeswitch-users] FScomm On Feb 23, 2010, at 6:18 PM, Madovsky wrote: > > ----- Original Message ----- > From: Jeff Lenk > To: freeswitch-users at lists.freeswitch.org > Sent: Tuesday, February 23, 2010 5:05 PM > Subject: Re: [Freeswitch-users] FScomm > > > http://wiki.freeswitch.org/wiki/FSComm#Linux > > you must run those from the FSComm directory > ?. > > It's what I did, > but from FS trunk, inside fscomm directory, > there s only > > account.cpp conf fshost.h mainwindow.ui > resources.qrc > account.h FSComm.2008.vcproj main.cpp mod_qsettings > call.cpp FSComm.pro mainwindow.cpp preferences > call.h fshost.cpp mainwindow.h resources > Read those installation instructions again and do them step by step, you skipped one. _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org Ok now I have [root at node250 fscomm]# qmake WARNING: Found potential symbol conflict of mainwindow.cpp (mainwindow.cpp) in SOURCES WARNING: Found potential symbol conflict of mainwindow.h (mainwindow.h) in HEADERS WARNING: Found potential symbol conflict of prefdialog.cpp (preferences/prefdialog.cpp) in SOURCES WARNING: Found potential symbol conflict of prefdialog.h (preferences/prefdialog.h) in HEADERS WARNING: Found potential symbol conflict of accountdialog.cpp (preferences/accountdialog.cpp) in SOURCES WARNING: Found potential symbol conflict of accountdialog.h (preferences/accountdialog.h) in HEADERS [root at node250 fscomm]# qmake WARNING: Found potential symbol conflict of mainwindow.cpp (mainwindow.cpp) in SOURCES WARNING: Found potential symbol conflict of mainwindow.h (mainwindow.h) in HEADERS WARNING: Found potential symbol conflict of prefdialog.cpp (preferences/prefdialog.cpp) in SOURCES WARNING: Found potential symbol conflict of prefdialog.h (preferences/prefdialog.h) in HEADERS WARNING: Found potential symbol conflict of accountdialog.cpp (preferences/accountdialog.cpp) in SOURCES WARNING: Found potential symbol conflict of accountdialog.h (preferences/accountdialog.h) in HEADERS [root at node250 fscomm]# make Makefile:278: warning: overriding commands for target `prefdialog.o' Makefile:215: warning: ignoring old commands for target `prefdialog.o' Makefile:285: warning: overriding commands for target `accountdialog.o' Makefile:234: warning: ignoring old commands for target `accountdialog.o' Makefile:320: warning: overriding commands for target `moc_prefdialog.o' Makefile:298: warning: ignoring old commands for target `moc_prefdialog.o' Makefile:323: warning: overriding commands for target `moc_accountdialog.o' Makefile:307: warning: ignoring old commands for target `moc_accountdialog.o' Makefile:347: warning: overriding commands for target `moc_mainwindow.cpp' Makefile:326: warning: ignoring old commands for target `moc_mainwindow.cpp' Makefile:350: warning: overriding commands for target `preferences/moc_prefdialog.cpp' Makefile:332: warning: ignoring old commands for target `preferences/moc_prefdialog.cpp' Makefile:353: warning: overriding commands for target `preferences/moc_accountdialog.cpp' Makefile:341: warning: ignoring old commands for target `preferences/moc_accountdialog.cpp' g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/lib64/qt-3.3/mkspecs/default -I. -I../src/include -I../libs/apr/include -I../libs/libteletone/src -I/usr/lib64/qt-3.3/include -o main.o main.cpp main.cpp:31:25: error: QSplashScreen: No such file or directory In file included from main.cpp:32: mainwindow.h:34:23: error: QMainWindow: No such file or directory mainwindow.h:35:28: error: QTableWidgetItem: No such file or directory mainwindow.h:36:25: error: QSignalMapper: No such file or directory mainwindow.h:37:27: error: QSystemTrayIcon: No such file or directory In file included from mainwindow.h:39, from main.cpp:32: ./fshost.h:32:19: error: QThread: No such file or directory ./fshost.h:33:17: error: QHash: No such file or directory ./fshost.h:34:26: error: QSharedPointer: No such file or directory In file included from ./fshost.h:36, from mainwindow.h:39, from main.cpp:32: ./call.h:32:18: error: QtCore: No such file or directory ./call.h:33:19: error: QString: No such file or directory In file included from mainwindow.h:42, from main.cpp:32: preferences/prefdialog.h:4:19: error: QDialog: No such file or directory preferences/prefdialog.h:5:24: error: QDomDocument: No such file or directory preferences/prefdialog.h:6:21: error: QSettings: No such file or directory In file included from ./fshost.h:37, from mainwindow.h:39, from main.cpp:32: ./account.h:18: error: expected constructor, destructor, or type conversion before ?static? In file included from mainwindow.h:39, from main.cpp:32: ./fshost.h:40: error: invalid use of incomplete type ?struct QThread? /usr/include/QtCore/qobject.h:68: error: forward declaration of ?struct QThread? ./fshost.h:46: error: ISO C++ forbids declaration of ?QSharedPointer? with no type ./fshost.h:46: error: expected ?;? before ?? token ./fshost.h:49: error: ISO C++ forbids declaration of ?QSharedPointer? with no type ./fshost.h:49: error: expected ?;? before ?? token ./fshost.h:79: error: ?QSharedPointer? was not declared in this scope ./fshost.h:79: error: template argument 2 is invalid ./fshost.h:79: error: expected unqualified-id before ?>? token ./fshost.h:80: error: field ?_bleg_uuids? has incomplete type In file included from mainwindow.h:42, from main.cpp:32: preferences/prefdialog.h:17: error: invalid use of incomplete type ?struct QDialog? /usr/include/QtGui/qwindowdefs.h:57: error: forward declaration of ?struct QDialog? preferences/prefdialog.h:31: error: ISO C++ forbids declaration of ?QSettings? with no type preferences/prefdialog.h:31: error: expected ?;? before ?*? token In file included from main.cpp:32: mainwindow.h:48: error: expected class-name before ?{? token mainwindow.h:65: error: ?QTableWidgetItem? has not been declared mainwindow.h:71: error: ?QSharedPointer? has not been declared mainwindow.h:71: error: expected ?,? or ?...? before ? Dear All, I use nibllebill + postgresql for longtime. it' work wel when concurrent about 500 calls.. Now i have 1200 calls . postgresql got many problem and slow. so i have 2 choice. 1. upgrade hardware , add more memory may be 32 GB and change HDD to SSD (or IOdrive ). 2. split DB some path to NoSQL (I'm testing memcachedb,redis,tokyo tyrant) I choose 2. and use tokyo tyrant. because it's persistant and support memcache API. Today i create new module base on nibblebill but use memcacahe API connect to tokyo tyrant. it's look fast. and work without any problem. If someone want to use my module I'l acttach to JIRA and create WIKI page. Please let's me know if you want. BG Dome C. From infos at madovsky.org Tue Mar 2 22:49:34 2010 From: infos at madovsky.org (Madovsky) Date: Wed, 3 Mar 2010 01:49:34 -0500 Subject: [Freeswitch-users] Nibblebill for NoSQL References: <8ccbff061003022238j50d28546j34d85b05cce40a9f@mail.gmail.com> Message-ID: <1B6F4F74BC724CCC8FB842F63D0279E0@MOBILEE1705> Hi Dome, postgresql is a very powerful DB that can accepts a lot of simultaneous connections it needs to be set carefully to fit your memory and HD. try google postgresql tuning However the other solution can be interesting too. Regards F ----- Original Message ----- From: "Dome Charoenyost" To: Sent: Wednesday, March 03, 2010 1:38 AM Subject: [Freeswitch-users] Nibblebill for NoSQL > Dear All, > I use nibllebill + postgresql for longtime. it' work wel when > concurrent about 500 calls.. Now i have 1200 calls . postgresql got > many problem and slow. so i have 2 choice. > 1. upgrade hardware , add more memory may be 32 GB and change HDD to > SSD (or IOdrive ). > 2. split DB some path to NoSQL (I'm testing memcachedb,redis,tokyo tyrant) > I choose 2. and use tokyo tyrant. because it's persistant and support > memcache API. > Today i create new module base on nibblebill but use memcacahe API > connect to tokyo tyrant. it's look fast. and work without any problem. > If someone want to use my module I'l acttach to JIRA and create WIKI > page. > > Please let's me know if you want. > > BG > Dome C. > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 mayamatakeshi at gmail.com Wed Mar 3 00:06:28 2010 From: mayamatakeshi at gmail.com (mayamatakeshi) Date: Wed, 3 Mar 2010 17:06:28 +0900 Subject: [Freeswitch-users] "Throttle Error" after updating to trunk Message-ID: <15b9404e1003030006o29e0c729w9c78ccfb2d7620b9@mail.gmail.com> Hello, was any timing related change done recently in FS? I have updated to trunk r. 16873 (was just some 200 revisions behind) and now I'm seeing several messages like this when I try as little as 5 calls per second: 2010-03-03 16:55:16.139880 [CRIT] switch_core_session.c:1496 Throttle Error! 111 When this happens, FS refuses the related call with "503 Maximum Calls In Progress" although, I'm using default config files (sessions-per-second=30). So it seems to me FS is wrongly aggregating incoming calls on the same interval. I have tested this in a CentOS5.3 64-bit and with a CentOS5.2 32-bit. FS never showed this before in any of them. regards, takeshi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/165cb0fa/attachment.html From jonas.gauffin at gmail.com Wed Mar 3 00:07:09 2010 From: jonas.gauffin at gmail.com (Jonas Gauffin) Date: Wed, 3 Mar 2010 09:07:09 +0100 Subject: [Freeswitch-users] OT: SIP and IP spoofing Message-ID: Hello, My sip gateway provider are using both IP address locking (only my servers IP addresses can use my gateway account) and Digest authentication on every call. I asked why and they said that the account would be vulnerable to IP spoofing otherwise. Is that possible? I mean, if someone fakes my servers IP address in the packets, shouldn't the responses be sent back to my server and not the one creating the fake packets? Are there any other reasons to use both ip locking and digest authentication? Regards, Jonas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/49c93c4f/attachment.html From red.rain.seven at gmail.com Wed Mar 3 00:07:42 2010 From: red.rain.seven at gmail.com (Henry Huang) Date: Wed, 3 Mar 2010 16:07:42 +0800 Subject: [Freeswitch-users] Nibblebill for NoSQL In-Reply-To: <8ccbff061003022238j50d28546j34d85b05cce40a9f@mail.gmail.com> References: <8ccbff061003022238j50d28546j34d85b05cce40a9f@mail.gmail.com> Message-ID: <59ad9ca11003030007m262d1544hc72af6d2175c072e@mail.gmail.com> Dome I am very interested in your module. Please add it to JIRA and create a WIKI page for it. And does everything else that used to be on your postgresql now being migrated to the memcache API + tokyo tyrant? On Wed, Mar 3, 2010 at 2:38 PM, Dome Charoenyost wrote: > Dear All, > I use nibllebill + postgresql for longtime. it' work wel when > concurrent about 500 calls.. Now i have 1200 calls . postgresql got > many problem and slow. so i have 2 choice. > 1. upgrade hardware , add more memory may be 32 GB and change HDD to > SSD (or IOdrive ). > 2. split DB some path to NoSQL (I'm testing memcachedb,redis,tokyo tyrant) > I choose 2. and use tokyo tyrant. because it's persistant and support > memcache API. > Today i create new module base on nibblebill but use memcacahe API > connect to tokyo tyrant. it's look fast. and work without any problem. > If someone want to use my module I'l acttach to JIRA and create WIKI page. > > Please let's me know if you want. > > BG > Dome C. > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Henry Huang UniC Solution - Communication Unified VoIP & Open Source software Consultant -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/60090550/attachment.html From jaybinks at gmail.com Wed Mar 3 00:42:18 2010 From: jaybinks at gmail.com (jay binks) Date: Wed, 3 Mar 2010 18:42:18 +1000 Subject: [Freeswitch-users] Nibblebill for NoSQL In-Reply-To: <8ccbff061003022238j50d28546j34d85b05cce40a9f@mail.gmail.com> References: <8ccbff061003022238j50d28546j34d85b05cce40a9f@mail.gmail.com> Message-ID: im VERY interested in this... ( and the use of NoSQL in general with FS ) please can you email over what you have, or post it to jira. J On Wed, Mar 3, 2010 at 4:38 PM, Dome Charoenyost wrote: > Dear All, > I use nibllebill + postgresql for longtime. it' work wel when > concurrent about 500 calls.. Now i have 1200 calls . postgresql got > many problem and slow. so i have 2 choice. > 1. upgrade hardware , add more memory may be 32 GB and change HDD to > SSD (or IOdrive ). > 2. split DB some path to NoSQL (I'm testing memcachedb,redis,tokyo tyrant) > I choose 2. and use tokyo tyrant. because it's persistant and support > memcache API. > Today i create new module base on nibblebill but use memcacahe API > connect to tokyo tyrant. it's look fast. and work without any problem. > If someone want to use my module I'l acttach to JIRA and create WIKI page. > > Please let's me know if you want. > > BG > Dome C. > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100303/da0e070c/attachment.html From viper at fx-services.com Wed Mar 3 05:49:54 2010 From: viper at fx-services.com (Robin Vleij) Date: Wed, 03 Mar 2010 14:49:54 +0100 Subject: [Freeswitch-users] Incorrect nonce In-Reply-To: References: Message-ID: <4B8E6902.90106@fx-services.com> On 2010-03-02 16:02, Jonas Gauffin wrote: Hi Jonas, > I got a problem with rejected calls due to 403 (happens sometimes). > My sip provider found the problem, the nonce used by FS is sometimes > incorrect (I got the trace from my sip provider). Your problem is not a bug. The problem is that your SIP provider has two proxies (that you probably find via SRV). Instead of using one gateway profile that selects either of them, you have to configure both gateways as separate elements. That way FS will use the nonce it gets in the 407, instead of mixing them up between the two proxies (who don't have state). You either use one gateway for outbound and the other one as failover in the bridge app, or you use mod_distribute to distribute. /Robin From phunk0000 at hotmail.com Wed Mar 3 06:19:37 2010 From: phunk0000 at hotmail.com (Todd) Date: Wed, 3 Mar 2010 09:19:37 -0500 Subject: [Freeswitch-users] Play message upon call anwser In-Reply-To: <87f2f3b91003022003x8de4c92v42620a48d5bf4d78@mail.gmail.com> References: <87f2f3b91003022003x8de4c92v42620a48d5bf4d78@mail.gmail.com> Message-ID: He group confirm feature seems like it should work, but I can't figure out where in the default dialplan to put this line so that the audio file is played for everycall made to a local extension. here us the group_confirm_playback action, I am wondering where it should go. Here is the local extension portion of the default dialplan where I think it should go, but I can't figure out exactly where. Thanks! From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Tuesday, March 02, 2010 11:04 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Play message upon call anwser On Tue, Mar 2, 2010 at 1:15 PM, Todd wrote: Hey List.. I am trying to setup my dial plan so whenever a call is answered a recording is played to the person who answered the phone before the call is connected.. Any help would be great. Thanks Are you talking about the group confirm feature? http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#Answer_confirmation -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/021c86e6/attachment-0001.html From brian at freeswitch.org Wed Mar 3 06:30:35 2010 From: brian at freeswitch.org (Brian West) Date: Wed, 3 Mar 2010 08:30:35 -0600 Subject: [Freeswitch-users] Play message upon call anwser In-Reply-To: References: <87f2f3b91003022003x8de4c92v42620a48d5bf4d78@mail.gmail.com> Message-ID: <28735474-6C43-4B1C-A815-CEB9CF39128E@freeswitch.org> you need user/user at domain not user/user%domain,,,, The faq outlines this syntax used for sofia/profiel/user%domain notation. Please don't confuse the two. /b On Mar 3, 2010, at 8:19 AM, Todd wrote: > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/f7fb01b8/attachment.html From phunk0000 at hotmail.com Wed Mar 3 06:37:33 2010 From: phunk0000 at hotmail.com (Todd) Date: Wed, 3 Mar 2010 09:37:33 -0500 Subject: [Freeswitch-users] Play message upon call anwser In-Reply-To: References: <87f2f3b91003022003x8de4c92v42620a48d5bf4d78@mail.gmail.com> Message-ID: Or maybe there is an easier way to play an audio file to whoever answers the phone before the call is bridged.. And is it best practice to put these changes in the default dial plan or somewhere else? Still kinda new to this, Thanks. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Todd Sent: Wednesday, March 03, 2010 9:20 AM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Play message upon call anwser He group confirm feature seems like it should work, but I can't figure out where in the default dialplan to put this line so that the audio file is played for everycall made to a local extension. here us the group_confirm_playback action, I am wondering where it should go. Here is the local extension portion of the default dialplan where I think it should go, but I can't figure out exactly where. Thanks! From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Tuesday, March 02, 2010 11:04 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Play message upon call anwser On Tue, Mar 2, 2010 at 1:15 PM, Todd wrote: Hey List.. I am trying to setup my dial plan so whenever a call is answered a recording is played to the person who answered the phone before the call is connected.. Any help would be great. Thanks Are you talking about the group confirm feature? http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#Answer_confirmation -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/5cbbe337/attachment.html From brent at overthewire.com.au Tue Mar 2 22:19:35 2010 From: brent at overthewire.com.au (Brent Paddon) Date: Wed, 3 Mar 2010 16:19:35 +1000 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: <3c5cf5261003022127o6a16b2der84a6711565367026@mail.gmail.com> References: <8EA5AF34-49E2-4594-91E1-8D05E66FB460@gmail.com> <3c5cf5261003022127o6a16b2der84a6711565367026@mail.gmail.com> Message-ID: I suspect you would be better off with some virtualization platform more like OpenVZ ('containers' rather than VM's) - and probably without any hardware installed (ie SIP to SIP - leave the gateways to a different part of the network). We've run some Asterisk instances in Proxmox ( http://pve.proxmox.com/wiki/Main_Page) and while it's early days, it looks pretty promising. Brent On Wed, Mar 3, 2010 at 3:27 PM, Brian May wrote: > On 3 March 2010 16:04, Rob Forman wrote: > > Is anyone running FreeSWITCH virtualized (xen or vmware) in > > production? I saw ec2 and xen mentioned a few places. If so, are > > there tips or tricks for handle timer issues which affect virtual > > machines in general, such as recommended divider or clocksource > > settings? I'm seeing funny timing issues while testing with audio > > recording and playback that speed up or slow down. > > I tried tdm400+xen DOM0+asterisk years ago, on a single processor > machine but gave up. zttest returned good results, but analogue > quality has intermittently very poor quality and it made telephone > conversations difficult to understand. Especially a problem when > hourly cron jobs would start on all VMs at exactly the same time, but > was a problem at other times too. Plus the fact people who used the > phone more often then me didn't report the problem, so I thought it > was fine. > > Plus the general fact I didn't really like the idea of running > Asterisk on DOM0, and running it on DOMU seemed to imply even more > overheard, as DOM0 would have to process the interrupts and pass them > to the DOMU. > > Unfortunately I don't remember what scheduler I used, maybe sedf? > > I suspect a multi-processor system would be a lot better suited for > the task. Also might be OK if you don't use zaptel hardware... I seem > to remember these cards generate a huge number of interrupts. > > While this was with Asterisk, I suspect my results were not specific > to Asterisk in anyway. > -- > Brian May > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- -- Brent Paddon Director | Over the Wire Pty Ltd brent.paddon at overthewire.com.au | www.overthewire.com.au Phone: 07 3847 9292 | Fax: 07 3847 9696 | Mobile: 0400 2400 54 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/ab9a0add/attachment-0001.html From sos at sokhapkin.dyndns.org Wed Mar 3 07:17:00 2010 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Wed, 3 Mar 2010 10:17:00 -0500 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: References: <8EA5AF34-49E2-4594-91E1-8D05E66FB460@gmail.com> <3c5cf5261003022127o6a16b2der84a6711565367026@mail.gmail.com> Message-ID: <201003031017.00850.sos@sokhapkin.dyndns.org> I second that, do not use VMs. I run tens of asterisks under linux vserver on the single box, no issues. I do not expect FS will behave differently under vserver. On Wednesday 03 March 2010, Brent Paddon wrote: > I suspect you would be better off with some virtualization platform more > like OpenVZ ('containers' rather than VM's) - and probably without any > hardware > installed (ie SIP to SIP - leave the gateways to a different part of the > network). > > We've run some Asterisk instances in Proxmox ( > http://pve.proxmox.com/wiki/Main_Page) and while it's early days, it looks > pretty > promising. > > Brent > > On Wed, Mar 3, 2010 at 3:27 PM, Brian May wrote: > > On 3 March 2010 16:04, Rob Forman wrote: > > > Is anyone running FreeSWITCH virtualized (xen or vmware) in > > > production? I saw ec2 and xen mentioned a few places. If so, are > > > there tips or tricks for handle timer issues which affect virtual > > > machines in general, such as recommended divider or clocksource > > > settings? I'm seeing funny timing issues while testing with audio > > > recording and playback that speed up or slow down. > > > > I tried tdm400+xen DOM0+asterisk years ago, on a single processor > > machine but gave up. zttest returned good results, but analogue > > quality has intermittently very poor quality and it made telephone > > conversations difficult to understand. Especially a problem when > > hourly cron jobs would start on all VMs at exactly the same time, but > > was a problem at other times too. Plus the fact people who used the > > phone more often then me didn't report the problem, so I thought it > > was fine. > > > > Plus the general fact I didn't really like the idea of running > > Asterisk on DOM0, and running it on DOMU seemed to imply even more > > overheard, as DOM0 would have to process the interrupts and pass them > > to the DOMU. > > > > Unfortunately I don't remember what scheduler I used, maybe sedf? > > > > I suspect a multi-processor system would be a lot better suited for > > the task. Also might be OK if you don't use zaptel hardware... I seem > > to remember these cards generate a huge number of interrupts. > > > > While this was with Asterisk, I suspect my results were not specific > > to Asterisk in anyway. > > -- > > Brian May > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 javieraristizabal at gmail.com Wed Mar 3 07:19:26 2010 From: javieraristizabal at gmail.com (=?ISO-8859-1?Q?Javier_Aristiz=E1bal?=) Date: Wed, 3 Mar 2010 10:19:26 -0500 Subject: [Freeswitch-users] Nibblebill for NoSQL In-Reply-To: References: <8ccbff061003022238j50d28546j34d85b05cce40a9f@mail.gmail.com> Message-ID: Hi.. I'm interesting too.. Thanks :) On Wed, Mar 3, 2010 at 3:42 AM, jay binks wrote: > im VERY interested in this... > ( and the use of NoSQL in general with FS ) > > please can you email over what you have, or post it to jira. > > J > > On Wed, Mar 3, 2010 at 4:38 PM, Dome Charoenyost wrote: > >> Dear All, >> I use nibllebill + postgresql for longtime. it' work wel when >> concurrent about 500 calls.. Now i have 1200 calls . postgresql got >> many problem and slow. so i have 2 choice. >> 1. upgrade hardware , add more memory may be 32 GB and change HDD to >> SSD (or IOdrive ). >> 2. split DB some path to NoSQL (I'm testing memcachedb,redis,tokyo tyrant) >> I choose 2. and use tokyo tyrant. because it's persistant and support >> memcache API. >> Today i create new module base on nibblebill but use memcacahe API >> connect to tokyo tyrant. it's look fast. and work without any problem. >> If someone want to use my module I'l acttach to JIRA and create WIKI >> page. >> >> Please let's me know if you want. >> >> BG >> Dome C. >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/8b06b457/attachment.html From msc at freeswitch.org Wed Mar 3 08:19:11 2010 From: msc at freeswitch.org (Michael Collins) Date: Wed, 3 Mar 2010 08:19:11 -0800 Subject: [Freeswitch-users] FreeSWITCH Conference Call Agenda Message-ID: <87f2f3b91003030819ld02171ub6bc4cbc191eeb94@mail.gmail.com> Hello all. We have a nice agenda today: http://bit.ly/9zDiBq We invite everyone to join us. I believe that today we may have user todpunk giving a talk on mod_fifo. Talk to you all soon, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/b315b00d/attachment.html From anthony.minessale at gmail.com Wed Mar 3 08:23:47 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 3 Mar 2010 10:23:47 -0600 Subject: [Freeswitch-users] "Throttle Error" after updating to trunk In-Reply-To: <15b9404e1003030006o29e0c729w9c78ccfb2d7620b9@mail.gmail.com> References: <15b9404e1003030006o29e0c729w9c78ccfb2d7620b9@mail.gmail.com> Message-ID: <191c3a031003030823v5cd17166wc8b14e6f81af17e3@mail.gmail.com> try again 16880 or higher On Wed, Mar 3, 2010 at 2:06 AM, mayamatakeshi wrote: > Hello, > was any timing related change done recently in FS? > I have updated to trunk r. 16873 (was just some 200 revisions behind) and > now I'm seeing several messages like this when I try as little as 5 calls > per second: > 2010-03-03 16:55:16.139880 [CRIT] switch_core_session.c:1496 Throttle > Error! 111 > > When this happens, FS refuses the related call with "503 Maximum Calls In > Progress" although, I'm using default config files (sessions-per-second=30). > So it seems to me FS is wrongly aggregating incoming calls on the same > interval. > > I have tested this in a CentOS5.3 64-bit and with a CentOS5.2 32-bit. > FS never showed this before in any of them. > > regards, > takeshi > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100303/6f3d4aaf/attachment.html From chris at fowler.cc Wed Mar 3 09:17:02 2010 From: chris at fowler.cc (Chris Fowler) Date: Wed, 3 Mar 2010 12:17:02 -0500 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: <8EA5AF34-49E2-4594-91E1-8D05E66FB460@gmail.com> References: <8EA5AF34-49E2-4594-91E1-8D05E66FB460@gmail.com> Message-ID: <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> Hi Rob, We run FreeSWITCH on AWS' EC2. A medium EC2 instance is happily supporting 100 Polycom users, conference bridges etc. Been running for over a year. We also use FlowRoute as our PSTN->SIP Interface, and also Skype Business SIP. Our users are scattered across the globe - so having the box sitting on AWS' network infrastructure is key to avoiding issues with latency, jitter, packet loss (i.e. I don't think we could afford the connectivity AWS gives us if we had to provision this in-house). There were no special tricks; you do need to modify/override the following with the box's Elastic IP (EIP). modify conf/vars.xml and update conf/sip_profiles/internal.xml conf/sip_profiles/external.xml conf/autoload/switch.conf.xml Cheers, Chris. -- RightScale, Inc. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Rob Forman Sent: Tuesday, March 02, 2010 9:05 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Virtualized FreeSWITCH Hi all, Is anyone running FreeSWITCH virtualized (xen or vmware) in production? I saw ec2 and xen mentioned a few places. If so, are there tips or tricks for handle timer issues which affect virtual machines in general, such as recommended divider or clocksource settings? I'm seeing funny timing issues while testing with audio recording and playback that speed up or slow down. I have tried both paravirt and hvm. The default xen kernel has a timer of 250, so I tried to hvm instead using the stock 5.3 kernel with the 1khz timer but didn't see much improvement. All of this was tested on 64-bit CentOS 5.3. - Physical host: Linux localhost.localdomain 2.6.18-164.11.1.el5xen #1 SMP Wed Jan 20 08:06:04 EST 2010 x86_64 x86_64 x86_64 GNU/Linux CONFIG_HZ=250 - Paravirt host: Linux localhost.localdomain 2.6.18-128.el5xen #1 SMP Wed Jan 21 11:12:42 EST 2009 x86_64 x86_64 x86_64 GNU/Linux CONFIG_HZ=250 - Hvm host: Linux localhost.localdomain 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux CONFIG_HZ=1000 I'm sure physical hosts are the de-facto best practice, but are virtual machines not worth it at all? Cheers, Rob _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 mayamatakeshi at gmail.com Wed Mar 3 09:22:17 2010 From: mayamatakeshi at gmail.com (mayamatakeshi) Date: Thu, 4 Mar 2010 02:22:17 +0900 Subject: [Freeswitch-users] "Throttle Error" after updating to trunk In-Reply-To: <191c3a031003030823v5cd17166wc8b14e6f81af17e3@mail.gmail.com> References: <15b9404e1003030006o29e0c729w9c78ccfb2d7620b9@mail.gmail.com> <191c3a031003030823v5cd17166wc8b14e6f81af17e3@mail.gmail.com> Message-ID: <15b9404e1003030922p716b1c0cj3999b1d4ff5cf2ad@mail.gmail.com> It is OK now, Anthony. Thanks. On Thu, Mar 4, 2010 at 1:23 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > try again 16880 or higher > > On Wed, Mar 3, 2010 at 2:06 AM, mayamatakeshi wrote: > >> Hello, >> was any timing related change done recently in FS? >> I have updated to trunk r. 16873 (was just some 200 revisions behind) and >> now I'm seeing several messages like this when I try as little as 5 calls >> per second: >> 2010-03-03 16:55:16.139880 [CRIT] switch_core_session.c:1496 Throttle >> Error! 111 >> >> When this happens, FS refuses the related call with "503 Maximum Calls In >> Progress" although, I'm using default config files (sessions-per-second=30). >> So it seems to me FS is wrongly aggregating incoming calls on the same >> interval. >> >> I have tested this in a CentOS5.3 64-bit and with a CentOS5.2 32-bit. >> FS never showed this before in any of them. >> >> regards, >> takeshi >> >> >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/bebf60bc/attachment-0001.html From msc at freeswitch.org Wed Mar 3 09:23:39 2010 From: msc at freeswitch.org (Michael Collins) Date: Wed, 3 Mar 2010 09:23:39 -0800 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> References: <8EA5AF34-49E2-4594-91E1-8D05E66FB460@gmail.com> <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> Message-ID: <87f2f3b91003030923v24deedc1wd034f1c1337c3536@mail.gmail.com> Chris, This is good stuff! Would you be willing to compare this to what's on the wiki and update the wiki as needed? I believe we have some EC2 information on the wiki... Thanks, MC On Wed, Mar 3, 2010 at 9:17 AM, Chris Fowler wrote: > Hi Rob, > > We run FreeSWITCH on AWS' EC2. A medium EC2 instance is happily supporting > 100 Polycom users, conference bridges etc. Been running for over a year. > We also use FlowRoute as our PSTN->SIP Interface, and also Skype Business > SIP. Our users are scattered across the globe - so having the box sitting > on AWS' network infrastructure is key to avoiding issues with latency, > jitter, packet loss (i.e. I don't think we could afford the connectivity AWS > gives us if we had to provision this in-house). > > There were no special tricks; you do need to modify/override the following > with the box's Elastic IP (EIP). > > modify conf/vars.xml and update > > > > > > > > > > > > > > > > conf/sip_profiles/internal.xml > > > > > > > > > > conf/sip_profiles/external.xml > > > > > > conf/autoload/switch.conf.xml > > > > > Cheers, Chris. > -- > RightScale, Inc. > > > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Rob Forman > Sent: Tuesday, March 02, 2010 9:05 PM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Virtualized FreeSWITCH > > Hi all, > > Is anyone running FreeSWITCH virtualized (xen or vmware) in > production? I saw ec2 and xen mentioned a few places. If so, are > there tips or tricks for handle timer issues which affect virtual > machines in general, such as recommended divider or clocksource > settings? I'm seeing funny timing issues while testing with audio > recording and playback that speed up or slow down. > > I have tried both paravirt and hvm. The default xen kernel has a > timer of 250, so I tried to hvm instead using the stock 5.3 kernel > with the 1khz timer but didn't see much improvement. > > All of this was tested on 64-bit CentOS 5.3. > - Physical host: Linux localhost.localdomain 2.6.18-164.11.1.el5xen #1 > SMP Wed Jan 20 08:06:04 EST 2010 x86_64 x86_64 x86_64 GNU/Linux > CONFIG_HZ=250 > - Paravirt host: Linux localhost.localdomain 2.6.18-128.el5xen #1 SMP > Wed Jan 21 11:12:42 EST 2009 x86_64 x86_64 x86_64 GNU/Linux > CONFIG_HZ=250 > - Hvm host: Linux localhost.localdomain 2.6.18-128.el5 #1 SMP Wed Jan > 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux > CONFIG_HZ=1000 > > > I'm sure physical hosts are the de-facto best practice, but are > virtual machines not worth it at all? > > Cheers, > Rob > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100303/82b0f0de/attachment.html From rob4manhere at gmail.com Wed Mar 3 09:47:35 2010 From: rob4manhere at gmail.com (Rob Forman) Date: Wed, 3 Mar 2010 11:47:35 -0600 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> References: <8EA5AF34-49E2-4594-91E1-8D05E66FB460@gmail.com> <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> Message-ID: <3F2BADF0-DE12-42A8-9F39-2B89FCCB45DD@gmail.com> Hi Chris, Thanks for sharing what you're doing. That's very helpful. Which AMI did you deploy from? I'm wondering what your ec2 kernel timer is set to. Thanks! Rob On Mar 3, 2010, at 11:17 AM, Chris Fowler wrote: > Hi Rob, > > We run FreeSWITCH on AWS' EC2. A medium EC2 instance is happily > supporting 100 Polycom users, conference bridges etc. Been running > for over a year. We also use FlowRoute as our PSTN->SIP Interface, > and also Skype Business SIP. Our users are scattered across the > globe - so having the box sitting on AWS' network infrastructure is > key to avoiding issues with latency, jitter, packet loss (i.e. I > don't think we could afford the connectivity AWS gives us if we had > to provision this in-house). > > There were no special tricks; you do need to modify/override the > following with the box's Elastic IP (EIP). > > modify conf/vars.xml and update > > > > > > data="default_provider_from_domain=flowroute.com"/> > > > > > > > > > > conf/sip_profiles/internal.xml > > > > > > > > > > conf/sip_profiles/external.xml > > > > > > conf/autoload/switch.conf.xml > > > > > Cheers, Chris. > -- > RightScale, Inc. > > > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org > ] On Behalf Of Rob Forman > Sent: Tuesday, March 02, 2010 9:05 PM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Virtualized FreeSWITCH > > Hi all, > > Is anyone running FreeSWITCH virtualized (xen or vmware) in > production? I saw ec2 and xen mentioned a few places. If so, are > there tips or tricks for handle timer issues which affect virtual > machines in general, such as recommended divider or clocksource > settings? I'm seeing funny timing issues while testing with audio > recording and playback that speed up or slow down. > > I have tried both paravirt and hvm. The default xen kernel has a > timer of 250, so I tried to hvm instead using the stock 5.3 kernel > with the 1khz timer but didn't see much improvement. > > All of this was tested on 64-bit CentOS 5.3. > - Physical host: Linux localhost.localdomain 2.6.18-164.11.1.el5xen #1 > SMP Wed Jan 20 08:06:04 EST 2010 x86_64 x86_64 x86_64 GNU/Linux > CONFIG_HZ=250 > - Paravirt host: Linux localhost.localdomain 2.6.18-128.el5xen #1 SMP > Wed Jan 21 11:12:42 EST 2009 x86_64 x86_64 x86_64 GNU/Linux > CONFIG_HZ=250 > - Hvm host: Linux localhost.localdomain 2.6.18-128.el5 #1 SMP Wed Jan > 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux > CONFIG_HZ=1000 > > > I'm sure physical hosts are the de-facto best practice, but are > virtual machines not worth it at all? > > Cheers, > Rob > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 From robert.hadley at teotech.com Wed Mar 3 09:52:15 2010 From: robert.hadley at teotech.com (Robert Hadley) Date: Wed, 3 Mar 2010 09:52:15 -0800 Subject: [Freeswitch-users] Delete custom voicemail greetings In-Reply-To: <7315F3D9A8C54944B2D8699811DA85D4@MOBILEE1705> References: <4D58851467464E15801979AC635DAA00@greyhawk.tonecommander.com> <7315F3D9A8C54944B2D8699811DA85D4@MOBILEE1705> Message-ID: <8F957DA2497F4E238E254B455B6DA49D@greyhawk.tonecommander.com> Thanks for replying. I tried make install samples but it didn't work. My original question should have been "How would an individual user delete a custom voicemail greeting and reset back to the default greeting?" Thanks, Robert _____ From: Madovsky [mailto:infos at madovsky.org] Sent: Tuesday, March 02, 2010 6:47 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Delete custom voicemail greetings make install samples ----- Original Message ----- From: Robert Hadley To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 02, 2010 4:31 PM Subject: [Freeswitch-users] Delete custom voicemail greetings Hi FS users, How do I delete custom voicemail greetings and go back to the default greeting? Thanks, Robert _____ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/10475f44/attachment-0001.html From infos at madovsky.org Wed Mar 3 10:03:26 2010 From: infos at madovsky.org (Madovsky) Date: Wed, 3 Mar 2010 13:03:26 -0500 Subject: [Freeswitch-users] Delete custom voicemail greetings References: <4D58851467464E15801979AC635DAA00@greyhawk.tonecommander.com><7315F3D9A8C54944B2D8699811DA85D4@MOBILEE1705> <8F957DA2497F4E238E254B455B6DA49D@greyhawk.tonecommander.com> Message-ID: <380273FE029E45BCB5D83B505372F27A@MOBILEE1705> try to loo at the FS sources folder, I'm sure there will be the right .wav for that ----- Original Message ----- From: Robert Hadley To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 12:52 PM Subject: Re: [Freeswitch-users] Delete custom voicemail greetings Thanks for replying. I tried make install samples but it didn't work. My original question should have been "How would an individual user delete a custom voicemail greeting and reset back to the default greeting?" Thanks, Robert ------------------------------------------------------------------------------ From: Madovsky [mailto:infos at madovsky.org] Sent: Tuesday, March 02, 2010 6:47 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Delete custom voicemail greetings make install samples ----- Original Message ----- From: Robert Hadley To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 02, 2010 4:31 PM Subject: [Freeswitch-users] Delete custom voicemail greetings Hi FS users, How do I delete custom voicemail greetings and go back to the default greeting? Thanks, Robert ---------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100303/bbe897b2/attachment.html From freeswitch at cartissolutions.com Wed Mar 3 10:04:26 2010 From: freeswitch at cartissolutions.com (Yossi Neiman) Date: Wed, 03 Mar 2010 12:04:26 -0600 Subject: [Freeswitch-users] Nibblebill for NoSQL In-Reply-To: <8ccbff061003022238j50d28546j34d85b05cce40a9f@mail.gmail.com> References: <8ccbff061003022238j50d28546j34d85b05cce40a9f@mail.gmail.com> Message-ID: <4B8EA4AA.4010602@cartissolutions.com> On 03/03/2010 12:38 AM, Dome Charoenyost wrote: > Today i create new module base on nibblebill but use memcacahe API > connect to tokyo tyrant. it's look fast. and work without any problem. > If someone want to use my module I'l acttach to JIRA and create WIKI page. > > Please let's me know if you want. > > BG > Dome C. > > Maybe it would be even more useful to provide general functionality that can be shared amongst multiple components of freeswitch. That would make it all the more useful. However, seeing that I'm not a big fan of the NoSQL data engines, I don't know if this is possible. In my opinion, most NoSQL is just key=>value pairs, and is basically a reinvention of the wheel that RDBMS's had taken care of years ago... Not meaning to open up a discussion about the virtues of NoSQL (and certainly not a flamewar)... Yossi Neiman Cartis Solutions, Inc. - http://www.cartissolutions.com From helmut.kuper at ewetel.de Wed Mar 3 10:16:23 2010 From: helmut.kuper at ewetel.de (Helmut Kuper) Date: Wed, 03 Mar 2010 19:16:23 +0100 Subject: [Freeswitch-users] RFC3326 Reason Header field Message-ID: <4B8EA777.9080207@ewetel.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm looking for a way to add a reason header field (like 'Reason: SIP;cause=200;text="Call completed elsewhere"') to SIP CANCEL message send by bridge application when a call times out or was denied. I would like to set it on demand in dialplan, e.g. when a queue is calling a queue member and I don't want to have that call in the phone's missed calls list. Is there a way in FS to do this, yet? best regards helmut -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFLjqd34tZeNddg3dwRAvaTAJ46LCweLzvE1pupvcsX3HVR/XW0MACdE5yr hcWP9lUEFxINGpyLXgfDKLU= =8qjy -----END PGP SIGNATURE----- From Russell.Mosemann at cune.org Wed Mar 3 10:19:09 2010 From: Russell.Mosemann at cune.org (Russell.Mosemann at cune.org) Date: Wed, 3 Mar 2010 18:19:09 -0000 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> Message-ID: <20100303181909.DEFD22E73C8@cuneorg-email.cune.pri> Chris Fowler said: > There were no special tricks; you do need to modify/override the > following with the box's Elastic IP (EIP). This would be helpful to have in the wiki along with any other tips for your virtual environment. :-) -- Russell Mosemann ________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events! From brian at freeswitch.org Wed Mar 3 10:21:49 2010 From: brian at freeswitch.org (Brian West) Date: Wed, 3 Mar 2010 12:21:49 -0600 Subject: [Freeswitch-users] RFC3326 Reason Header field In-Reply-To: <4B8EA777.9080207@ewetel.de> References: <4B8EA777.9080207@ewetel.de> Message-ID: <0986F893-F06D-4223-AD1E-85EA5C9A2102@freeswitch.org> FreeSWITCH already does this for you on cancel when the call is answered elsewhere. /b On Mar 3, 2010, at 12:16 PM, Helmut Kuper wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > I'm looking for a way to add a reason header field (like 'Reason: > SIP;cause=200;text="Call completed elsewhere"') to SIP CANCEL message > send by bridge application when a call times out or was denied. > > I would like to set it on demand in dialplan, e.g. when a queue is > calling a queue member and I don't want to have that call in the phone's > missed calls list. > > Is there a way in FS to do this, yet? > > best regards > helmut > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > > iD8DBQFLjqd34tZeNddg3dwRAvaTAJ46LCweLzvE1pupvcsX3HVR/XW0MACdE5yr > hcWP9lUEFxINGpyLXgfDKLU= > =8qjy > -----END PGP SIGNATURE----- > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 rupa at rupa.com Wed Mar 3 10:25:37 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Wed, 3 Mar 2010 12:25:37 -0600 Subject: [Freeswitch-users] Nibblebill for NoSQL In-Reply-To: <4B8EA4AA.4010602@cartissolutions.com> References: <8ccbff061003022238j50d28546j34d85b05cce40a9f@mail.gmail.com> <4B8EA4AA.4010602@cartissolutions.com> Message-ID: On Wed, Mar 3, 2010 at 12:04 PM, Yossi Neiman < freeswitch at cartissolutions.com> wrote: > > > Maybe it would be even more useful to provide general functionality that > can be shared amongst multiple components of freeswitch. That would > make it all the more useful. However, seeing that I'm not a big fan of > the NoSQL data engines, I don't know if this is possible. In my > opinion, most NoSQL is just key=>value pairs, and is basically a > reinvention of the wheel that RDBMS's had taken care of years ago... > Not meaning to open up a discussion about the virtues of NoSQL (and > certainly not a flamewar)... > > I created a mod_memcache already and I intend to do a mod_redis at some point. I'm not a huge fan of NoSQL but there are definite uses for it. General functionality: I could be convinced to come up with a general api for distributed key/value store with mod_memcache and mod_redis providing implementation. The problem is that the NoSQL stuff isn't very consistent so even though both support key/value their behavior can significantly differ. eg: updating a value in memcached doesn't bump the expire time but does in redis. Also, redis has support for a much more robust set of value types and operators. Anyway, a generic distributed key/value api might look like: dhash set key value [expire] dhash setnx key value [expire] # only set if it doesn't already exist dhash get key [...] # support multiple keys dhash key [step] dhash del key where backend would be memcache or redis or some other implementation. Notice I didn't even touch things like hashing to support sharding, failover, etc. > > Yossi Neiman > Cartis Solutions, Inc. - http://www.cartissolutions.com > > -- -Rupa -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/a4e02e33/attachment-0001.html From jason at jasonjgw.net Wed Mar 3 10:42:34 2010 From: jason at jasonjgw.net (Jason White) Date: Wed, 03 Mar 2010 12:42:34 -0600 Subject: Tienes una invitación de Jason White a ClubWNC Message-ID: ClubWNC freeswitch-users: Tienes una invitaci?n de Jason White a ClubWNC   Hola He creado un perfil en ClubWNC donde puedo hacer listas de regalos, publicar rese?as sobre productos, ver a mis amigos de Facebook y lo que les gusta, lo que han comprado, y lo que quieren que les regalen, y quiero agregarte a mis amigos para que puedas verlo. Para ello, necesitas registrarte en ClubWNC y, despu?s, podr?s crear tambi?n tu propio perfil. Para registrarte en ClubWNC, sigue este enlace:http://www.clubwnc.com/eshop/create_eshop_account.php?cdr=2465 Jason White ha invitado a freeswitch-users a unirse a ClubWNC. Si no quieres recibir este tipo de mensajes de ClubWNC, haz clic aqu? para borrar tu nombre de la lista de personas suscritas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/19ed2db8/attachment.html From stevendt at primrosebank.net Wed Mar 3 11:39:49 2010 From: stevendt at primrosebank.net (Dave Stevenson) Date: Wed, 3 Mar 2010 19:39:49 -0000 Subject: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMF payload check. Message-ID: Hi, can someone please advise what the above error message means ? "[ERR] switch_rtp.c:2196 Failed DTMF payload check." It appears in response to keypad events during voicemail retrieval, the prompts were actioned correctly, but I was wondering what the message actually means ? regards Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/1efad4fe/attachment.html From brian at freeswitch.org Wed Mar 3 11:50:42 2010 From: brian at freeswitch.org (Brian West) Date: Wed, 3 Mar 2010 13:50:42 -0600 Subject: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMF payload check. In-Reply-To: References: Message-ID: <59198F0C-C8CF-41AA-9489-62C297B5F90D@freeswitch.org> It usually means your device can't do rfc2833 correctly and needs to have a bug opened so they can fix it. /b On Mar 3, 2010, at 1:39 PM, Dave Stevenson wrote: > > It appears in response to keypad events during voicemail retrieval, the prompts were actioned correctly, but I was wondering what the message actually means ? > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/e7df0c96/attachment.html From stevendt at primrosebank.net Wed Mar 3 12:06:53 2010 From: stevendt at primrosebank.net (Dave Stevenson) Date: Wed, 3 Mar 2010 20:06:53 -0000 Subject: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMF payloadcheck. References: <59198F0C-C8CF-41AA-9489-62C297B5F90D@freeswitch.org> Message-ID: Hi, thanks Brian. The device is a Thomson ST2030 which has a basic listing on the Interop Wiki page, but does not specifically mention rfc2833 (although rtp is marked as "not tested"). I have not seen this message before while running the FS version that I'm currently using 16543 - yes, I know that this is a few weeks old and I will update and/or raise a bug once I've upgraded, but it would be nice to know if anyone else sees problems with this phone, regards Dave ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 7:50 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMF payloadcheck. It usually means your device can't do rfc2833 correctly and needs to have a bug opened so they can fix it. /b On Mar 3, 2010, at 1:39 PM, Dave Stevenson wrote: It appears in response to keypad events during voicemail retrieval, the prompts were actioned correctly, but I was wondering what the message actually means ? ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/1fb1e65f/attachment.html From mrene_lists at avgs.ca Wed Mar 3 12:09:31 2010 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Wed, 3 Mar 2010 15:09:31 -0500 Subject: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMF payloadcheck. In-Reply-To: References: <59198F0C-C8CF-41AA-9489-62C297B5F90D@freeswitch.org> Message-ID: <3778B4E1-7DF7-4A11-BC1C-4476319EDAC3@avgs.ca> I don't recall any rfc2833 changes in the past 2 weeks. I would like to see a packet capture of those bogus rtp packets though. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 3-Mar-10, at 3:06 PM, Dave Stevenson wrote: > Hi, > > thanks Brian. > > The device is a Thomson ST2030 which has a basic listing on the > Interop Wiki page, but does not specifically mention rfc2833 > (although rtp is marked as "not tested"). I have not seen this > message before while running the FS version that I'm currently using > 16543 - yes, I know that this is a few weeks old and I will update > and/or raise a bug once I've upgraded, but it would be nice to know > if anyone else sees problems with this phone, > > regards > Dave > ----- Original Message ----- > From: Brian West > To: freeswitch-users at lists.freeswitch.org > Sent: Wednesday, March 03, 2010 7:50 PM > Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMF > payloadcheck. > > It usually means your device can't do rfc2833 correctly and needs to > have a bug opened so they can fix it. > > /b > > On Mar 3, 2010, at 1:39 PM, Dave Stevenson wrote: > >> >> It appears in response to keypad events during voicemail retrieval, >> the prompts were actioned correctly, but I was wondering what the >> message actually means ? >> > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100303/f49bee8d/attachment-0001.html From stevendt at primrosebank.net Wed Mar 3 12:23:02 2010 From: stevendt at primrosebank.net (Dave Stevenson) Date: Wed, 3 Mar 2010 20:23:02 -0000 Subject: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMFpayloadcheck. References: <59198F0C-C8CF-41AA-9489-62C297B5F90D@freeswitch.org> <3778B4E1-7DF7-4A11-BC1C-4476319EDAC3@avgs.ca> Message-ID: <36BDEB9F2E174CA99548A71E14B21AA7@bp1.ad.bp.com> Hi Mathieu, if you tell me how to generate one, I'll do it now ? regards Dave ----- Original Message ----- From: Mathieu Rene To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 8:09 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMFpayloadcheck. I don't recall any rfc2833 changes in the past 2 weeks. I would like to see a packet capture of those bogus rtp packets though. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 3-Mar-10, at 3:06 PM, Dave Stevenson wrote: Hi, thanks Brian. The device is a Thomson ST2030 which has a basic listing on the Interop Wiki page, but does not specifically mention rfc2833 (although rtp is marked as "not tested"). I have not seen this message before while running the FS version that I'm currently using 16543 - yes, I know that this is a few weeks old and I will update and/or raise a bug once I've upgraded, but it would be nice to know if anyone else sees problems with this phone, regards Dave ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 7:50 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMF payloadcheck. It usually means your device can't do rfc2833 correctly and needs to have a bug opened so they can fix it. /b On Mar 3, 2010, at 1:39 PM, Dave Stevenson wrote: It appears in response to keypad events during voicemail retrieval, the prompts were actioned correctly, but I was wondering what the message actually means ? -------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/21921f41/attachment.html From stevendt at primrosebank.net Wed Mar 3 12:39:13 2010 From: stevendt at primrosebank.net (Dave Stevenson) Date: Wed, 3 Mar 2010 20:39:13 -0000 Subject: [Freeswitch-users] [ERR] switch_rtp.c:2196 FailedDTMFpayloadcheck. References: <59198F0C-C8CF-41AA-9489-62C297B5F90D@freeswitch.org><3778B4E1-7DF7-4A11-BC1C-4476319EDAC3@avgs.ca> <36BDEB9F2E174CA99548A71E14B21AA7@bp1.ad.bp.com> Message-ID: <282476B55FD4450A8DBBAFCB673DCBEC@bp1.ad.bp.com> Some more info . . . The error only seems to occur when a "0" is entered. Looking at the Phone config, the RFC2833 options are :- In Band Out of Band (RFC2833) - currently selected SIP Info RTP Payload Type (96-127) - 96 currently selected RTP DTMP Level (0-63) - 0 Currently selected Dave ----- Original Message ----- From: Dave Stevenson To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 8:23 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 FailedDTMFpayloadcheck. Hi Mathieu, if you tell me how to generate one, I'll do it now ? regards Dave ----- Original Message ----- From: Mathieu Rene To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 8:09 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMFpayloadcheck. I don't recall any rfc2833 changes in the past 2 weeks. I would like to see a packet capture of those bogus rtp packets though. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 3-Mar-10, at 3:06 PM, Dave Stevenson wrote: Hi, thanks Brian. The device is a Thomson ST2030 which has a basic listing on the Interop Wiki page, but does not specifically mention rfc2833 (although rtp is marked as "not tested"). I have not seen this message before while running the FS version that I'm currently using 16543 - yes, I know that this is a few weeks old and I will update and/or raise a bug once I've upgraded, but it would be nice to know if anyone else sees problems with this phone, regards Dave ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 7:50 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMF payloadcheck. It usually means your device can't do rfc2833 correctly and needs to have a bug opened so they can fix it. /b On Mar 3, 2010, at 1:39 PM, Dave Stevenson wrote: It appears in response to keypad events during voicemail retrieval, the prompts were actioned correctly, but I was wondering what the message actually means ? ------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 ---------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100303/af0cad5a/attachment.html From chris at fowler.cc Wed Mar 3 12:48:44 2010 From: chris at fowler.cc (Chris Fowler) Date: Wed, 3 Mar 2010 15:48:44 -0500 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: <20100303181909.DEFD22E73C8@cuneorg-email.cune.pri> References: <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> <20100303181909.DEFD22E73C8@cuneorg-email.cune.pri> Message-ID: <7454A296C7EDE34EA57199FAA401E2F11C63F2DA66@VMBX113.ihostexchange.net> Re: Wiki - I'd love to give back to the community; Does anyone have an objection if I create a "How to use FreeSWITCH on EC2 with RightScale's management dashboard"? There are some significant differences to the configuration when using RightScale vs. bare bones AWS; and given this is on my employer's time I need to keep it relevant... The base AMI used is "RightImage CentOS_5.4_i386_v4.4.10"; this is a public AMI (you don't need to be a RightScale customer to use it) Cheers, Chris. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Russell.Mosemann at cune.org Sent: Wednesday, March 03, 2010 10:19 AM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Virtualized FreeSWITCH Chris Fowler said: > There were no special tricks; you do need to modify/override the > following with the box's Elastic IP (EIP). This would be helpful to have in the wiki along with any other tips for your virtual environment. :-) -- Russell Mosemann ________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events! _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 mrene_lists at avgs.ca Wed Mar 3 12:51:24 2010 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Wed, 3 Mar 2010 15:51:24 -0500 Subject: [Freeswitch-users] [ERR] switch_rtp.c:2196 FailedDTMFpayloadcheck. In-Reply-To: <282476B55FD4450A8DBBAFCB673DCBEC@bp1.ad.bp.com> References: <59198F0C-C8CF-41AA-9489-62C297B5F90D@freeswitch.org><3778B4E1-7DF7-4A11-BC1C-4476319EDAC3@avgs.ca> <36BDEB9F2E174CA99548A71E14B21AA7@bp1.ad.bp.com> <282476B55FD4450A8DBBAFCB673DCBEC@bp1.ad.bp.com> Message-ID: You can grab one with wireshark. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 3-Mar-10, at 3:39 PM, Dave Stevenson wrote: > Some more info . . . > > The error only seems to occur when a "0" is entered. > > Looking at the Phone config, the RFC2833 options are :- > > In Band > Out of Band (RFC2833) - currently selected > SIP Info > > RTP Payload Type (96-127) - 96 currently selected > RTP DTMP Level (0-63) - 0 Currently selected > > Dave > ----- Original Message ----- > From: Dave Stevenson > To: freeswitch-users at lists.freeswitch.org > Sent: Wednesday, March 03, 2010 8:23 PM > Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 > FailedDTMFpayloadcheck. > > Hi Mathieu, > > if you tell me how to generate one, I'll do it now ? > > regards > Dave > ----- Original Message ----- > From: Mathieu Rene > To: freeswitch-users at lists.freeswitch.org > Sent: Wednesday, March 03, 2010 8:09 PM > Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed > DTMFpayloadcheck. > > I don't recall any rfc2833 changes in the past 2 weeks. I would like > to see a packet capture of those bogus rtp packets though. > > Mathieu Rene > Avant-Garde Solutions Inc > Office: + 1 (514) 664-1044 x100 > Cell: +1 (514) 664-1044 x200 > mrene at avgs.ca > > > > > On 3-Mar-10, at 3:06 PM, Dave Stevenson wrote: > >> Hi, >> >> thanks Brian. >> >> The device is a Thomson ST2030 which has a basic listing on the >> Interop Wiki page, but does not specifically mention rfc2833 >> (although rtp is marked as "not tested"). I have not seen this >> message before while running the FS version that I'm currently >> using 16543 - yes, I know that this is a few weeks old and I will >> update and/or raise a bug once I've upgraded, but it would be nice >> to know if anyone else sees problems with this phone, >> >> regards >> Dave >> ----- Original Message ----- >> From: Brian West >> To: freeswitch-users at lists.freeswitch.org >> Sent: Wednesday, March 03, 2010 7:50 PM >> Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMF >> payloadcheck. >> >> It usually means your device can't do rfc2833 correctly and needs >> to have a bug opened so they can fix it. >> >> /b >> >> On Mar 3, 2010, at 1:39 PM, Dave Stevenson wrote: >> >>> >>> It appears in response to keypad events during voicemail >>> retrieval, the prompts were actioned correctly, but I was >>> wondering what the message actually means ? >>> >> >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/aa0774e6/attachment.html From stevendt at primrosebank.net Wed Mar 3 12:56:36 2010 From: stevendt at primrosebank.net (Dave Stevenson) Date: Wed, 3 Mar 2010 20:56:36 -0000 Subject: [Freeswitch-users] [ERR] switch_rtp.c:2196FailedDTMFpayloadcheck. References: <59198F0C-C8CF-41AA-9489-62C297B5F90D@freeswitch.org><3778B4E1-7DF7-4A11-BC1C-4476319EDAC3@avgs.ca><36BDEB9F2E174CA99548A71E14B21AA7@bp1.ad.bp.com><282476B55FD4450A8DBBAFCB673DCBEC@bp1.ad.bp.com> Message-ID: <885F4FFA1CFC4A328862377FA9253AE1@bp1.ad.bp.com> Ahh, OK, then I'll need to go and do some work on it. WireShark is not installed on the machine. I've never used it, although I do have a copy, so I'll look at installing in on the server and go from there, regards Dave ----- Original Message ----- From: Mathieu Rene To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 8:51 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196FailedDTMFpayloadcheck. You can grab one with wireshark. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 3-Mar-10, at 3:39 PM, Dave Stevenson wrote: Some more info . . . The error only seems to occur when a "0" is entered. Looking at the Phone config, the RFC2833 options are :- In Band Out of Band (RFC2833) - currently selected SIP Info RTP Payload Type (96-127) - 96 currently selected RTP DTMP Level (0-63) - 0 Currently selected Dave ----- Original Message ----- From: Dave Stevenson To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 8:23 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 FailedDTMFpayloadcheck. Hi Mathieu, if you tell me how to generate one, I'll do it now ? regards Dave ----- Original Message ----- From: Mathieu Rene To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 8:09 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMFpayloadcheck. I don't recall any rfc2833 changes in the past 2 weeks. I would like to see a packet capture of those bogus rtp packets though. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 3-Mar-10, at 3:06 PM, Dave Stevenson wrote: Hi, thanks Brian. The device is a Thomson ST2030 which has a basic listing on the Interop Wiki page, but does not specifically mention rfc2833 (although rtp is marked as "not tested"). I have not seen this message before while running the FS version that I'm currently using 16543 - yes, I know that this is a few weeks old and I will update and/or raise a bug once I've upgraded, but it would be nice to know if anyone else sees problems with this phone, regards Dave ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 7:50 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMF payloadcheck. It usually means your device can't do rfc2833 correctly and needs to have a bug opened so they can fix it. /b On Mar 3, 2010, at 1:39 PM, Dave Stevenson wrote: It appears in response to keypad events during voicemail retrieval, the prompts were actioned correctly, but I was wondering what the message actually means ? -------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 ------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100303/00619304/attachment-0001.html From gmaruzz at celliax.org Wed Mar 3 13:00:00 2010 From: gmaruzz at celliax.org (Giovanni Maruzzelli) Date: Wed, 3 Mar 2010 22:00:00 +0100 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: <7454A296C7EDE34EA57199FAA401E2F11C63F2DA66@VMBX113.ihostexchange.net> References: <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> <20100303181909.DEFD22E73C8@cuneorg-email.cune.pri> <7454A296C7EDE34EA57199FAA401E2F11C63F2DA66@VMBX113.ihostexchange.net> Message-ID: <7b197bef1003031300j756aa0ddv777406fc3224da9c@mail.gmail.com> On Wed, Mar 3, 2010 at 9:48 PM, Chris Fowler wrote: > Re: Wiki - I'd love to give back to the community; ?Does anyone have an objection if I create a "How to use FreeSWITCH on EC2 with RightScale's management dashboard"? > > There are some significant differences to the configuration when using RightScale vs. bare bones AWS; and given this is on my employer's time I need to keep it relevant... Chris, I know can be more work, but the best would be to let know the differences too, and how it would be using bare bone AWS. That's also good for your employer, if he decide to switch back from RightScale... :) -giovanni > > The base AMI used is "RightImage CentOS_5.4_i386_v4.4.10"; this is a public AMI (you don't need to be a RightScale customer to use it) > > Cheers, Chris. > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Russell.Mosemann at cune.org > Sent: Wednesday, March 03, 2010 10:19 AM > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] Virtualized FreeSWITCH > > Chris Fowler said: > >> There were no special tricks; you do need to modify/override the >> following with the box's Elastic IP (EIP). > > This would be helpful to have in the wiki along with any other tips for > your virtual environment. :-) > > -- > Russell Mosemann > > > > ________________________________________________________ > Concordia University, Nebraska > See http://www.cune.edu/ for the latest news and events! > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From rob4manhere at gmail.com Wed Mar 3 13:09:49 2010 From: rob4manhere at gmail.com (Rob Forman) Date: Wed, 3 Mar 2010 15:09:49 -0600 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: <7b197bef1003031300j756aa0ddv777406fc3224da9c@mail.gmail.com> References: <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> <20100303181909.DEFD22E73C8@cuneorg-email.cune.pri> <7454A296C7EDE34EA57199FAA401E2F11C63F2DA66@VMBX113.ihostexchange.net> <7b197bef1003031300j756aa0ddv777406fc3224da9c@mail.gmail.com> Message-ID: <25BD7E1E-B846-43AA-B587-1FCCE5667E79@gmail.com> > Cheers, Chris. > -- > RightScale, Inc. I doubt they'll be switching any time soon. I think his employer IS RightScale :) On Mar 3, 2010, at 3:00 PM, Giovanni Maruzzelli wrote: > On Wed, Mar 3, 2010 at 9:48 PM, Chris Fowler wrote: >> Re: Wiki - I'd love to give back to the community; Does anyone >> have an objection if I create a "How to use FreeSWITCH on EC2 with >> RightScale's management dashboard"? >> >> There are some significant differences to the configuration when >> using RightScale vs. bare bones AWS; and given this is on my >> employer's time I need to keep it relevant... > > Chris, > I know can be more work, but the best would be to let know the > differences too, and how it would be using bare bone AWS. That's also > good for your employer, if he decide to switch back from RightScale... > :) > > -giovanni > > >> >> The base AMI used is "RightImage CentOS_5.4_i386_v4.4.10"; this is >> a public AMI (you don't need to be a RightScale customer to use it) >> >> Cheers, Chris. >> >> -----Original Message----- >> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org >> ] On Behalf Of Russell.Mosemann at cune.org >> Sent: Wednesday, March 03, 2010 10:19 AM >> To: freeswitch-users at lists.freeswitch.org >> Subject: Re: [Freeswitch-users] Virtualized FreeSWITCH >> >> Chris Fowler said: >> >>> There were no special tricks; you do need to modify/override the >>> following with the box's Elastic IP (EIP). >> >> This would be helpful to have in the wiki along with any other tips >> for >> your virtual environment. :-) >> >> -- >> Russell Mosemann >> >> >> >> ________________________________________________________ >> Concordia University, Nebraska >> See http://www.cune.edu/ for the latest news and events! >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 celliax.org Wed Mar 3 13:15:38 2010 From: gmaruzz at celliax.org (Giovanni Maruzzelli) Date: Wed, 3 Mar 2010 22:15:38 +0100 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: <25BD7E1E-B846-43AA-B587-1FCCE5667E79@gmail.com> References: <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> <20100303181909.DEFD22E73C8@cuneorg-email.cune.pri> <7454A296C7EDE34EA57199FAA401E2F11C63F2DA66@VMBX113.ihostexchange.net> <7b197bef1003031300j756aa0ddv777406fc3224da9c@mail.gmail.com> <25BD7E1E-B846-43AA-B587-1FCCE5667E79@gmail.com> Message-ID: <7b197bef1003031315tfe57e3fs98cfcfd9edf92939@mail.gmail.com> On Wed, Mar 3, 2010 at 10:09 PM, Rob Forman wrote: > ?> ?Cheers, Chris. > ?> ?-- > ?> ?RightScale, Inc. > > I doubt they'll be switching any time soon. ?I think his employer IS > RightScale :) Oooops, I'll learn to pay attention to signatures :) > > > On Mar 3, 2010, at 3:00 PM, Giovanni Maruzzelli wrote: > >> On Wed, Mar 3, 2010 at 9:48 PM, Chris Fowler wrote: >>> Re: Wiki - I'd love to give back to the community; ?Does anyone >>> have an objection if I create a "How to use FreeSWITCH on EC2 with >>> RightScale's management dashboard"? >>> >>> There are some significant differences to the configuration when >>> using RightScale vs. bare bones AWS; and given this is on my >>> employer's time I need to keep it relevant... >> >> Chris, >> I know can be more work, but the best would be to let know the >> differences too, and how it would be using bare bone AWS. That's also >> good for your employer, if he decide to switch back from RightScale... >> :) >> >> -giovanni >> >> >>> >>> The base AMI used is "RightImage CentOS_5.4_i386_v4.4.10"; this is >>> a public AMI (you don't need to be a RightScale customer to use it) >>> >>> Cheers, Chris. >>> >>> -----Original Message----- >>> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org >>> ] On Behalf Of Russell.Mosemann at cune.org >>> Sent: Wednesday, March 03, 2010 10:19 AM >>> To: freeswitch-users at lists.freeswitch.org >>> Subject: Re: [Freeswitch-users] Virtualized FreeSWITCH >>> >>> Chris Fowler said: >>> >>>> There were no special tricks; you do need to modify/override the >>>> following with the box's Elastic IP (EIP). >>> >>> This would be helpful to have in the wiki along with any other tips >>> for >>> your virtual environment. :-) >>> >>> -- >>> Russell Mosemann >>> >>> >>> >>> ________________________________________________________ >>> Concordia University, Nebraska >>> See http://www.cune.edu/ for the latest news and events! >>> >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From helmut.kuper at ewetel.de Wed Mar 3 16:20:02 2010 From: helmut.kuper at ewetel.de (Helmut Kuper) Date: Thu, 04 Mar 2010 01:20:02 +0100 Subject: [Freeswitch-users] RFC3326 Reason Header field In-Reply-To: <0986F893-F06D-4223-AD1E-85EA5C9A2102@freeswitch.org> References: <4B8EA777.9080207@ewetel.de> <0986F893-F06D-4223-AD1E-85EA5C9A2102@freeswitch.org> Message-ID: <4B8EFCB2.9070709@ewetel.de> Hi Brian, does this work for serial calls as well ? Am 03.03.2010 19:21, schrieb Brian West: > FreeSWITCH already does this for you on cancel when the call is answered elsewhere. > > /b > > On Mar 3, 2010, at 12:16 PM, Helmut Kuper wrote: > > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hello, >> >> I'm looking for a way to add a reason header field (like 'Reason: >> SIP;cause=200;text="Call completed elsewhere"') to SIP CANCEL message >> send by bridge application when a call times out or was denied. >> >> I would like to set it on demand in dialplan, e.g. when a queue is >> calling a queue member and I don't want to have that call in the phone's >> missed calls list. >> >> Is there a way in FS to do this, yet? >> >> best regards >> helmut >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.7 (MingW32) >> >> iD8DBQFLjqd34tZeNddg3dwRAvaTAJ46LCweLzvE1pupvcsX3HVR/XW0MACdE5yr >> hcWP9lUEFxINGpyLXgfDKLU= >> =8qjy >> -----END PGP SIGNATURE----- >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > > From mgg at giagnocavo.net Wed Mar 3 16:31:54 2010 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Wed, 3 Mar 2010 19:31:54 -0500 Subject: [Freeswitch-users] OT: SIP and IP spoofing In-Reply-To: References: Message-ID: <6E8D2069C08AA84A83D336E996AE4C670353534F47@mse17be1.mse17.exchange.ms> Without knowing more about your account and provider, perhaps they have had issues with users getting their accounts hacked, so they added on IP authentication in addition to diget? Or maybe they've had issues with IP-auth people still having DoS type attacks by sending fake INVITEs and using up credit a bit at a time, so they added on digest? Or maybe they're paranoid? -Michael From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Jonas Gauffin Sent: Wednesday, March 03, 2010 1:07 AM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] OT: SIP and IP spoofing Hello, My sip gateway provider are using both IP address locking (only my servers IP addresses can use my gateway account) and Digest authentication on every call. I asked why and they said that the account would be vulnerable to IP spoofing otherwise. Is that possible? I mean, if someone fakes my servers IP address in the packets, shouldn't the responses be sent back to my server and not the one creating the fake packets? Are there any other reasons to use both ip locking and digest authentication? Regards, Jonas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/9d9476fd/attachment.html From brian at freeswitch.org Wed Mar 3 16:32:28 2010 From: brian at freeswitch.org (Brian West) Date: Wed, 3 Mar 2010 18:32:28 -0600 Subject: [Freeswitch-users] RFC3326 Reason Header field In-Reply-To: <4B8EFCB2.9070709@ewetel.de> References: <4B8EA777.9080207@ewetel.de> <0986F893-F06D-4223-AD1E-85EA5C9A2102@freeswitch.org> <4B8EFCB2.9070709@ewetel.de> Message-ID: <1FF8C930-82A8-4A62-9E4C-503F1FA7AD62@freeswitch.org> Yes if the call was to say 10 phones at once... and the person answers they hangup with LOSE_RACE which results in the reason header doing that. in mod_sofia if (cause > 0 && cause < 128) { switch_snprintf(reason, sizeof(reason), "Q.850;cause=%d;text=\"%s\"", cause, switch_channel_cause2str(cause)); } else if (cause == SWITCH_CAUSE_PICKED_OFF || cause == SWITCH_CAUSE_LOSE_RACE) { switch_snprintf(reason, sizeof(reason), "SIP;cause=200;text=\"Call completed elsewhere\""); } else { switch_snprintf(reason, sizeof(reason), "%s;cause=%d;text=\"%s\"", tech_pvt->profile->username, cause, switch_channel_cause2str(cause)); } /b On Mar 3, 2010, at 6:20 PM, Helmut Kuper wrote: > Hi Brian, > > does this work for serial calls as well ? > > > Am 03.03.2010 19:21, schrieb Brian West: >> FreeSWITCH already does this for you on cancel when the call is answered elsewhere. >> >> /b From mrene_lists at avgs.ca Wed Mar 3 16:34:51 2010 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Wed, 3 Mar 2010 19:34:51 -0500 Subject: [Freeswitch-users] OT: SIP and IP spoofing In-Reply-To: References: Message-ID: <692F0F79-A066-4CC8-833B-B202117CDBB8@avgs.ca> Theorically you can spoof the network's ip address as long as you set the contact header to where the reply should be sent. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 3-Mar-10, at 3:07 AM, Jonas Gauffin wrote: > Hello, > > My sip gateway provider are using both IP address locking (only my > servers IP addresses can use my gateway account) and Digest > authentication on every call. > I asked why and they said that the account would be vulnerable to IP > spoofing otherwise. Is that possible? I mean, if someone fakes my > servers IP address in the packets, shouldn't the responses be sent > back to my server and not the one creating the fake packets? Are > there any other reasons to use both ip locking and digest > authentication? > > Regards, > Jonas > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 dujinfang at gmail.com Wed Mar 3 17:04:08 2010 From: dujinfang at gmail.com (Seven Du) Date: Thu, 4 Mar 2010 09:04:08 +0800 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: <7b197bef1003031315tfe57e3fs98cfcfd9edf92939@mail.gmail.com> References: <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> <20100303181909.DEFD22E73C8@cuneorg-email.cune.pri> <7454A296C7EDE34EA57199FAA401E2F11C63F2DA66@VMBX113.ihostexchange.net> <7b197bef1003031300j756aa0ddv777406fc3224da9c@mail.gmail.com> <25BD7E1E-B846-43AA-B587-1FCCE5667E79@gmail.com> <7b197bef1003031315tfe57e3fs98cfcfd9edf92939@mail.gmail.com> Message-ID: <23f91031003031704ob68528g37f64f9b0ee7a2bd@mail.gmail.com> we run our testing environment on Xen VMs (ubuntu 8.04 32bit), seems pretty well. Of course no much load. 2010/3/4 Giovanni Maruzzelli : > On Wed, Mar 3, 2010 at 10:09 PM, Rob Forman wrote: >> ?> ?Cheers, Chris. >> ?> ?-- >> ?> ?RightScale, Inc. >> >> I doubt they'll be switching any time soon. ?I think his employer IS >> RightScale :) > > Oooops, I'll learn to pay attention to signatures :) > > >> >> >> On Mar 3, 2010, at 3:00 PM, Giovanni Maruzzelli wrote: >> >>> On Wed, Mar 3, 2010 at 9:48 PM, Chris Fowler wrote: >>>> Re: Wiki - I'd love to give back to the community; ?Does anyone >>>> have an objection if I create a "How to use FreeSWITCH on EC2 with >>>> RightScale's management dashboard"? >>>> >>>> There are some significant differences to the configuration when >>>> using RightScale vs. bare bones AWS; and given this is on my >>>> employer's time I need to keep it relevant... >>> >>> Chris, >>> I know can be more work, but the best would be to let know the >>> differences too, and how it would be using bare bone AWS. That's also >>> good for your employer, if he decide to switch back from RightScale... >>> :) >>> >>> -giovanni >>> >>> >>>> >>>> The base AMI used is "RightImage CentOS_5.4_i386_v4.4.10"; this is >>>> a public AMI (you don't need to be a RightScale customer to use it) >>>> >>>> Cheers, Chris. >>>> >>>> -----Original Message----- >>>> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org >>>> ] On Behalf Of Russell.Mosemann at cune.org >>>> Sent: Wednesday, March 03, 2010 10:19 AM >>>> To: freeswitch-users at lists.freeswitch.org >>>> Subject: Re: [Freeswitch-users] Virtualized FreeSWITCH >>>> >>>> Chris Fowler said: >>>> >>>>> There were no special tricks; you do need to modify/override the >>>>> following with the box's Elastic IP (EIP). >>>> >>>> This would be helpful to have in the wiki along with any other tips >>>> for >>>> your virtual environment. :-) >>>> >>>> -- >>>> Russell Mosemann >>>> >>>> >>>> >>>> ________________________________________________________ >>>> Concordia University, Nebraska >>>> See http://www.cune.edu/ for the latest news and events! >>>> >>>> >>>> _______________________________________________ >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> Cell : +39-347-2665618 >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 mgg at giagnocavo.net Wed Mar 3 17:25:31 2010 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Wed, 3 Mar 2010 20:25:31 -0500 Subject: [Freeswitch-users] OT: SIP and IP spoofing In-Reply-To: <692F0F79-A066-4CC8-833B-B202117CDBB8@avgs.ca> References: <692F0F79-A066-4CC8-833B-B202117CDBB8@avgs.ca> Message-ID: <6E8D2069C08AA84A83D336E996AE4C670353534F74@mse17be1.mse17.exchange.ms> Correct me if I'm wrong; it's fortunately been a while since I've had to deal with SIP details. This attack would depend on the strength of the To tag, right? Hopefully they would append ;received to Vias, so the responses would go to the spoofed IP and not the attacker's IP in the Via. The attacker would have to be able to calculate the To tag to construct a valid ACK. But that does depend on received being added and secure To tags - hopefully a security-conscious provider would check their side for that. -Michael -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mathieu Rene Sent: Wednesday, March 03, 2010 5:35 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] OT: SIP and IP spoofing Theorically you can spoof the network's ip address as long as you set the contact header to where the reply should be sent. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 3-Mar-10, at 3:07 AM, Jonas Gauffin wrote: > Hello, > > My sip gateway provider are using both IP address locking (only my > servers IP addresses can use my gateway account) and Digest > authentication on every call. > I asked why and they said that the account would be vulnerable to IP > spoofing otherwise. Is that possible? I mean, if someone fakes my > servers IP address in the packets, shouldn't the responses be sent > back to my server and not the one creating the fake packets? Are there > any other reasons to use both ip locking and digest authentication? > > Regards, > Jonas > _______________________________________________ > FreeSWITCH-users 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 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 delorenzodesign at gmail.com Wed Mar 3 19:04:19 2010 From: delorenzodesign at gmail.com (Michael De Lorenzo) Date: Wed, 3 Mar 2010 22:04:19 -0500 Subject: [Freeswitch-users] Lua Script with mod_vmd, setInputCallback doesn't seem to get called In-Reply-To: <5c9dcbfb1003011917h393ddde5ha8cc3ec74d0a4d53@mail.gmail.com> References: <5c9dcbfb1003011917h393ddde5ha8cc3ec74d0a4d53@mail.gmail.com> Message-ID: <5c9dcbfb1003031904t4586f160ge0daf8c6d07331a7@mail.gmail.com> Has anyone experienced issues with vmd or dtmf with Verizon wireless? I have another script that doesn't even register digits pressed -- it's like no keys are pressed at all. I've checked the FS log and it doesn't seem to log anything with regard to the mod_vmd other than an indication of MIN_TIME of 8000 (not sure what that does exactly). Does anyone have any sample scripts available other than what's on the FS wiki? On Mon, Mar 1, 2010 at 10:17 PM, Michael De Lorenzo < delorenzodesign at gmail.com> wrote: > I've got the following Lua script working in a sense, but the InputCallback > never seems to get called while the file is being streamed to the call > recipient. I've tried moving the "vmd start" command and set input callback > around a bit, but to no avail. I'm testing this against a cell phone voice > mailbox (Verizon). > > >> freeswitch.consoleLog("info","########################################################\n\n"); >> >> number_to_call = argv[1] >> message_to_play = "/opt/freeswitch/recordings/messages/" .. argv[2] >> >> voicemail_detected = false; >> >> function onInput(s, type, obj) >> freeswitch.consoleLog("notice","*********** Type?: " .. type .. " >> *************\n"); >> -- freeswitch.consoleLog("notice","*********** VMD?: " .. >> session:getVariable("vmd_detect") .. " *************\n"); >> >> if(type == "event" and voicemail_detected == false) then >> freeswitch.consoleLog("notice","************ VOICE MAIL/ANSWERING >> MACHINE DETECTED *************\n"); >> voicemail_detected = true; >> return "break"; >> end >> end >> >> function playbackMessage() >> sleep_time = 1000; >> if(voicemail_detected) then >> sleep_time = 2500; >> end >> -- sleep a second >> session:sleep(sleep_time); >> -- play a file >> session:streamFile(message_to_play); >> end >> >> function notify() >> session = >> freeswitch.Session("{ignore_early_media=true}sofia/gateway/voicenetwork/1" >> .. number_to_call) >> >> >> >> if(session:ready()) then >> -- answer the call >> session:answer(); >> session:setInputCallback("onInput", ""); >> session:execute("vmd","start"); >> >> playbackMessage(); >> if(voicemail_detected) then >> freeswitch.consoleLog("notice","************ DOING PLAYBACK >> FOR VOICEMAIL/ANSWERING MACHINE *************\n"); >> playbackMessage(); >> end >> >> freeswitch.consoleLog("notice", "********* hanging up session >> **********\n"); >> -- hangup >> session:hangup(); >> end >> end >> >> notify(); >> >> >> freeswitch.consoleLog("info","########################################################\n\n"); >> > > -- > Michael De Lorenzo > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/5d4e041c/attachment.html From christian.bourke1 at gmail.com Wed Mar 3 19:37:08 2010 From: christian.bourke1 at gmail.com (Bilbo) Date: Wed, 03 Mar 2010 21:37:08 -0600 Subject: Tienes una invitación a ClubWNC Message-ID: ClubWNC Tienes una invitaci?n a ClubWNC   Hola !!! He creado un perfil en ClubWNC donde puedo hacer listas de regalos, publicar rese?as sobre productos, ver a mis amigos de Facebook y lo que les gusta, lo que han comprado, y lo que quieren que les regalen, y quiero agregarte a mis amigos para que puedas verlo. Para ello, necesitas registrarte en ClubWNC y, despu?s, podr?s crear tambi?n tu propio perfil. Para registrarte en ClubWNC, sigue este enlace:http://www.clubwnc.com/eshop/create_eshop_account.php?cdr=2896 Bilbo ha invitado a freeswitch-users at lists.freeswitch.org a unirse a ClubWNC. Si no quieres recibir este tipo de mensajes de ClubWNC, haz clic aqu? para borrar tu nombre de la lista de personas suscritas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/e58f43a1/attachment.html From dujinfang at gmail.com Wed Mar 3 19:37:15 2010 From: dujinfang at gmail.com (seven) Date: Wed, 03 Mar 2010 21:37:15 -0600 Subject: Tienes una invitación a ClubWNC Message-ID: ClubWNC Tienes una invitaci?n a ClubWNC   Hola !!! He creado un perfil en ClubWNC donde puedo hacer listas de regalos, publicar rese?as sobre productos, ver a mis amigos de Facebook y lo que les gusta, lo que han comprado, y lo que quieren que les regalen, y quiero agregarte a mis amigos para que puedas verlo. Para ello, necesitas registrarte en ClubWNC y, despu?s, podr?s crear tambi?n tu propio perfil. Para registrarte en ClubWNC, sigue este enlace:http://www.clubwnc.com/eshop/create_eshop_account.php?cdr=2895 seven ha invitado a freeswitch-users at lists.freeswitch.org a unirse a ClubWNC. Si no quieres recibir este tipo de mensajes de ClubWNC, haz clic aqu? para borrar tu nombre de la lista de personas suscritas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/e4543b9f/attachment-0001.html From msc at freeswitch.org Wed Mar 3 19:39:43 2010 From: msc at freeswitch.org (Michael Collins) Date: Wed, 03 Mar 2010 21:39:43 -0600 Subject: Tienes una invitación a ClubWNC Message-ID: ClubWNC Tienes una invitaci?n a ClubWNC   Hola !!! He creado un perfil en ClubWNC donde puedo hacer listas de regalos, publicar rese?as sobre productos, ver a mis amigos de Facebook y lo que les gusta, lo que han comprado, y lo que quieren que les regalen, y quiero agregarte a mis amigos para que puedas verlo. Para ello, necesitas registrarte en ClubWNC y, despu?s, podr?s crear tambi?n tu propio perfil. Para registrarte en ClubWNC, sigue este enlace:http://www.clubwnc.com/eshop/create_eshop_account.php?cdr=2887 Michael Collins ha invitado a freeswitch-users at lists.freeswitch.org a unirse a ClubWNC. Si no quieres recibir este tipo de mensajes de ClubWNC, haz clic aqu? para borrar tu nombre de la lista de personas suscritas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/e8b475e8/attachment.html From kristian.kielhofner at gmail.com Wed Mar 3 19:41:15 2010 From: kristian.kielhofner at gmail.com (Kristian Kielhofner) Date: Wed, 03 Mar 2010 21:41:15 -0600 Subject: Tienes una invitación a ClubWNC Message-ID: ClubWNC Tienes una invitaci?n a ClubWNC   Hola !!! He creado un perfil en ClubWNC donde puedo hacer listas de regalos, publicar rese?as sobre productos, ver a mis amigos de Facebook y lo que les gusta, lo que han comprado, y lo que quieren que les regalen, y quiero agregarte a mis amigos para que puedas verlo. Para ello, necesitas registrarte en ClubWNC y, despu?s, podr?s crear tambi?n tu propio perfil. Para registrarte en ClubWNC, sigue este enlace:http://www.clubwnc.com/eshop/create_eshop_account.php?cdr=2882 Kristian Kielhofner ha invitado a freeswitch-users at lists.freeswitch.org a unirse a ClubWNC. Si no quieres recibir este tipo de mensajes de ClubWNC, haz clic aqu? para borrar tu nombre de la lista de personas suscritas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/d1694d6a/attachment.html From bjbrashier at gmail.com Wed Mar 3 19:42:05 2010 From: bjbrashier at gmail.com (Bradley Brashier) Date: Wed, 03 Mar 2010 21:42:05 -0600 Subject: Tienes una invitación a ClubWNC Message-ID: ClubWNC Tienes una invitaci?n a ClubWNC   Hola !!! He creado un perfil en ClubWNC donde puedo hacer listas de regalos, publicar rese?as sobre productos, ver a mis amigos de Facebook y lo que les gusta, lo que han comprado, y lo que quieren que les regalen, y quiero agregarte a mis amigos para que puedas verlo. Para ello, necesitas registrarte en ClubWNC y, despu?s, podr?s crear tambi?n tu propio perfil. Para registrarte en ClubWNC, sigue este enlace:http://www.clubwnc.com/eshop/create_eshop_account.php?cdr=2871 Bradley Brashier ha invitado a freeswitch-users at lists.freeswitch.org a unirse a ClubWNC. Si no quieres recibir este tipo de mensajes de ClubWNC, haz clic aqu? para borrar tu nombre de la lista de personas suscritas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/3f8f07d1/attachment.html From brian at freeswitch.org Wed Mar 3 20:30:16 2010 From: brian at freeswitch.org (Brian West) Date: Wed, 3 Mar 2010 22:30:16 -0600 Subject: [Freeswitch-users] =?iso-8859-1?q?Tienes_una_invitaci=F3n__a_Club?= =?iso-8859-1?q?WNC?= In-Reply-To: References: Message-ID: <1CDF95CD-5331-41E8-8B7B-9073AB6D0F7A@freeswitch.org> WTF is going on here. Did someone hit google or something? REALLY? This clubwnc people need to be beat with a sledge hammer. /b From brian at freeswitch.org Wed Mar 3 20:47:40 2010 From: brian at freeswitch.org (Brian West) Date: Wed, 3 Mar 2010 22:47:40 -0600 Subject: [Freeswitch-users] TEST Message-ID: <6C78AD58-771B-41FC-8F93-0D2634C44682@freeswitch.org> TEST /b From christian.bourke1 at gmail.com Wed Mar 3 20:37:44 2010 From: christian.bourke1 at gmail.com (Bilbo) Date: Wed, 03 Mar 2010 22:37:44 -0600 Subject: Tienes una invitación a ClubWNC Message-ID: ClubWNC Tienes una invitaci?n a ClubWNC   Hola !!! He creado un perfil en ClubWNC donde puedo hacer listas de regalos, publicar rese?as sobre productos, ver a mis amigos de Facebook y lo que les gusta, lo que han comprado, y lo que quieren que les regalen, y quiero agregarte a mis amigos para que puedas verlo. Para ello, necesitas registrarte en ClubWNC y, despu?s, podr?s crear tambi?n tu propio perfil. Para registrarte en ClubWNC, sigue este enlace:http://www.clubwnc.com/eshop/create_eshop_account.php?cdr=2896 Bilbo ha invitado a freeswitch-users at lists.freeswitch.org a unirse a ClubWNC. Si no quieres recibir este tipo de mensajes de ClubWNC, haz clic aqu? para borrar tu nombre de la lista de personas suscritas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/15993c8e/attachment.html From infos at madovsky.org Wed Mar 3 22:09:30 2010 From: infos at madovsky.org (Madovsky) Date: Thu, 4 Mar 2010 01:09:30 -0500 Subject: [Freeswitch-users] svn 16892 compilation on Fedora10 64bits Message-ID: <2A95130D21884F8B988302547CA5AB45@MOBILEE1705> Hello, just to say that svn version 16892 compiles well now and CPU load is ok (xeon) excellent job ! Regards F -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/dd7e7be6/attachment-0001.html From infos at madovsky.org Wed Mar 3 22:31:35 2010 From: infos at madovsky.org (Madovsky) Date: Thu, 4 Mar 2010 01:31:35 -0500 Subject: [Freeswitch-users] registration status Message-ID: Is the registration status in DB ? thanks Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/9809fcab/attachment.html From infos at madovsky.org Wed Mar 3 22:33:52 2010 From: infos at madovsky.org (Madovsky) Date: Thu, 4 Mar 2010 01:33:52 -0500 Subject: [Freeswitch-users] registration status Message-ID: Forget my question I found the answer http://wiki.freeswitch.org/wiki/ODBC#ODBC_in_the_core Thanks F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Thursday, March 04, 2010 1:31 AM Subject: registration status Is the registration status in DB ? thanks Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/4eadd433/attachment.html From dujinfang at gmail.com Wed Mar 3 22:46:23 2010 From: dujinfang at gmail.com (seven) Date: Thu, 04 Mar 2010 00:46:23 -0600 Subject: Tienes una invitación a ClubWNC Message-ID: ClubWNC Tienes una invitaci?n a ClubWNC   Hola !!! He creado un perfil en ClubWNC donde puedo hacer listas de regalos, publicar rese?as sobre productos, ver a mis amigos de Facebook y lo que les gusta, lo que han comprado, y lo que quieren que les regalen, y quiero agregarte a mis amigos para que puedas verlo. Para ello, necesitas registrarte en ClubWNC y, despu?s, podr?s crear tambi?n tu propio perfil. Para registrarte en ClubWNC, sigue este enlace:http://www.clubwnc.com/eshop/create_eshop_account.php?cdr=2895 seven ha invitado a freeswitch-users at lists.freeswitch.org a unirse a ClubWNC. Si no quieres recibir este tipo de mensajes de ClubWNC, haz clic aqu? para borrar tu nombre de la lista de personas suscritas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/15f445b0/attachment.html From msc at freeswitch.org Wed Mar 3 22:47:12 2010 From: msc at freeswitch.org (Michael Collins) Date: Thu, 04 Mar 2010 00:47:12 -0600 Subject: Tienes una invitación a ClubWNC Message-ID: ClubWNC Tienes una invitaci?n a ClubWNC   Hola !!! He creado un perfil en ClubWNC donde puedo hacer listas de regalos, publicar rese?as sobre productos, ver a mis amigos de Facebook y lo que les gusta, lo que han comprado, y lo que quieren que les regalen, y quiero agregarte a mis amigos para que puedas verlo. Para ello, necesitas registrarte en ClubWNC y, despu?s, podr?s crear tambi?n tu propio perfil. Para registrarte en ClubWNC, sigue este enlace:http://www.clubwnc.com/eshop/create_eshop_account.php?cdr=2887 Michael Collins ha invitado a freeswitch-users at lists.freeswitch.org a unirse a ClubWNC. Si no quieres recibir este tipo de mensajes de ClubWNC, haz clic aqu? para borrar tu nombre de la lista de personas suscritas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/1ee06b9e/attachment.html From kristian.kielhofner at gmail.com Wed Mar 3 22:47:40 2010 From: kristian.kielhofner at gmail.com (Kristian Kielhofner) Date: Thu, 04 Mar 2010 00:47:40 -0600 Subject: Tienes una invitación a ClubWNC Message-ID: ClubWNC Tienes una invitaci?n a ClubWNC   Hola !!! He creado un perfil en ClubWNC donde puedo hacer listas de regalos, publicar rese?as sobre productos, ver a mis amigos de Facebook y lo que les gusta, lo que han comprado, y lo que quieren que les regalen, y quiero agregarte a mis amigos para que puedas verlo. Para ello, necesitas registrarte en ClubWNC y, despu?s, podr?s crear tambi?n tu propio perfil. Para registrarte en ClubWNC, sigue este enlace:http://www.clubwnc.com/eshop/create_eshop_account.php?cdr=2882 Kristian Kielhofner ha invitado a freeswitch-users at lists.freeswitch.org a unirse a ClubWNC. Si no quieres recibir este tipo de mensajes de ClubWNC, haz clic aqu? para borrar tu nombre de la lista de personas suscritas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/8d38318c/attachment.html From jonas.gauffin at gmail.com Wed Mar 3 23:01:54 2010 From: jonas.gauffin at gmail.com (Jonas Gauffin) Date: Thu, 4 Mar 2010 08:01:54 +0100 Subject: [Freeswitch-users] Incorrect nonce In-Reply-To: <4B8E6902.90106@fx-services.com> References: <4B8E6902.90106@fx-services.com> Message-ID: You are correct, I'm using DNSSRV. imho it's a bug when FS is not using the same nonce in the response as it received in the request. It might be a design flaw only that only appears when running against multiple servers through DNSSRV, but it's still a bug. I'm sure it's easy to fix for Anthony with his m4d sk1llz ;) On Wed, Mar 3, 2010 at 2:49 PM, Robin Vleij wrote: > On 2010-03-02 16:02, Jonas Gauffin wrote: > > Hi Jonas, > > > I got a problem with rejected calls due to 403 (happens sometimes). > > My sip provider found the problem, the nonce used by FS is sometimes > > incorrect (I got the trace from my sip provider). > > Your problem is not a bug. The problem is that your SIP provider has two > proxies (that you probably find via SRV). Instead of using one gateway > profile that selects either of them, you have to configure both gateways > as separate elements. That way FS will use the nonce it gets in the 407, > instead of mixing them up between the two proxies (who don't have state). > > You either use one gateway for outbound and the other one as failover in > the bridge app, or you use mod_distribute to distribute. > > /Robin > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/e79973b2/attachment-0001.html From infos at madovsky.org Thu Mar 4 00:20:10 2010 From: infos at madovsky.org (Madovsky) Date: Thu, 4 Mar 2010 03:20:10 -0500 Subject: [Freeswitch-users] Delete custom voicemail greetings References: <4D58851467464E15801979AC635DAA00@greyhawk.tonecommander.com><7315F3D9A8C54944B2D8699811DA85D4@MOBILEE1705> <8F957DA2497F4E238E254B455B6DA49D@greyhawk.tonecommander.com> Message-ID: <4DEA455178544A028AFCA7D21644E42E@MOBILEE1705> sorry make samples ----- Original Message ----- From: Robert Hadley To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 12:52 PM Subject: Re: [Freeswitch-users] Delete custom voicemail greetings Thanks for replying. I tried make install samples but it didn't work. My original question should have been "How would an individual user delete a custom voicemail greeting and reset back to the default greeting?" Thanks, Robert ------------------------------------------------------------------------------ From: Madovsky [mailto:infos at madovsky.org] Sent: Tuesday, March 02, 2010 6:47 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Delete custom voicemail greetings make install samples ----- Original Message ----- From: Robert Hadley To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 02, 2010 4:31 PM Subject: [Freeswitch-users] Delete custom voicemail greetings Hi FS users, How do I delete custom voicemail greetings and go back to the default greeting? Thanks, Robert ---------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100304/f8941a71/attachment.html From jaybinks at gmail.com Thu Mar 4 00:38:27 2010 From: jaybinks at gmail.com (jay binks) Date: Thu, 4 Mar 2010 18:38:27 +1000 Subject: [Freeswitch-users] Freeswitch & SNMP ( again , but with a difference ) Message-ID: has anyone done any work on getting SNMP monitoring of freeswitch ?? from looking at some other emails about this, it seems that there is not a heap of desire ( from developers point of view ) to have a FS SNMP module. Ive also noticed most requests for this type of monitoring are directed to ESL. so my thought, has anyone done any work on building a script / module for NET-SNMP ( http://net-snmp.sourceforge.net/ ) that uses ESL to fetch its data. so we would run snmpd on our FS boxes, with the FS-ESL module ( or script ) loaded into snmpd. from there SNMP requests would be handled by snmpd and the data would then be pulled over ESL directly from freeswitch. this seems like a decent solution that would not risk stability of FS by introducing yet another module. so I guess my question here is, has anyone done something like this ? what do you all think of this idea ? is there anyone who would like to contribute to this idea or offer other suggestions. oh yea, and why SNMP.. I duno... SNMP is just so easy to integrate into other monitoring systems. -- Sincerely Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/6a023625/attachment.html From testeador01 at gmail.com Thu Mar 4 05:57:42 2010 From: testeador01 at gmail.com (Milena) Date: Thu, 4 Mar 2010 08:57:42 -0500 Subject: [Freeswitch-users] TEST Message-ID: you failed!! O_O after the messages from clubWNC, I'm not getting any more list messages on my e-mail inbox, is it normal? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/2fa94830/attachment.html From brian at freeswitch.org Thu Mar 4 06:40:15 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 4 Mar 2010 08:40:15 -0600 Subject: [Freeswitch-users] Testing Message-ID: <6B4B6A58-5A68-4EC6-B13D-A5DAA9C66519@freeswitch.org> Testing /b From abrownworth at bandwidth.com Wed Mar 3 13:53:49 2010 From: abrownworth at bandwidth.com (Anders Brownworth) Date: Wed, 3 Mar 2010 16:53:49 -0500 Subject: [Freeswitch-users] Splitting a Call Message-ID: Hello fellow FreeSWITCH users, I'm using FreeSWITCH Version 1.0.trunk (16883) and I'm using the event socket to break an in-progress call into two independently controlled legs. I want to be able to work with each leg completely independently - hanging up one without affecting the other. Per the docs: http://wiki.freeswitch.org/wiki/Mod_commands#uuid_transfer I'm using uuid_transfer with an inline lua script to work with one leg without hanging up on the other. I'm setting "hangup_after_bridge" to false on both channels and invoking uuid_transfer with the -bleg option but as soon as I transfer, FreeSWITCH hangs up on one of the legs. Here's what I'm sending on the event socket. (everything gets an "OK" response from FreeSWITCH) Set hangup_after_bridge: api uuid_setvar 53d37581-1f90-44bf-860a-addbc8430e3a hangup_after_bridge false api uuid_setvar 9d1a4f2d-2ce6-40e5-ac84-62ad8c2d4654 hangup_after_bridge false And then do the uuid_transfer: api uuid_transfer 53d37581-1f90-44bf-860a-addbc8430e3a -bleg 'lua:callee.lua' inline api uuid_transfer 9d1a4f2d-2ce6-40e5-ac84-62ad8c2d4654 -bleg 'lua:caller.lua' inline The callee leg (53d37581-1f90-44bf-860a-addbc8430e3a) is immediately hung up and the caller leg runs fine. Here's the log messages: (6505551212 is the caller and 5165551212 is the callee) 2010-03-03 21:29:56.086319 [DEBUG] switch_ivr.c:1441 (sofia/external/+ 16505551212 at 192.168.27.72) State Change CS_EXECUTE -> CS_ROUTING 2010-03-03 21:29:56.086319 [DEBUG] switch_core_session.c:1018 Send signal sofia/external/+16505551212 at 192.168.27.72 [BREAK] 2010-03-03 21:29:56.086319 [DEBUG] switch_core_session.c:638 Send signal sofia/external/+16505551212 at 192.168.27.72 [BREAK] 2010-03-03 21:29:56.086319 [NOTICE] switch_ivr.c:1447 Transfer sofia/external/+16505551212 at 192.168.27.72 to inline[lua:callee.lua at public] 2010-03-03 21:29:56.092461 [DEBUG] switch_core_session.c:638 Send signal sofia/external/+16505551212 at 192.168.27.72 [BREAK] 2010-03-03 21:29:56.092461 [DEBUG] switch_ivr_bridge.c:565 BRIDGE THREAD DONE [sofia/external/+16505551212 at 192.168.27.72] 2010-03-03 21:29:56.092461 [DEBUG] switch_ivr_bridge.c:585 Send signal sofia/external/+15165551212 [BREAK] 2010-03-03 21:29:56.092461 [DEBUG] switch_rtp.c:1626 Send middle packet for [1] ts=91040 dur=1760/1760/2440 seq=7493 2010-03-03 21:29:56.092461 [DEBUG] switch_core_session.c:638 Send signal sofia/external/+15165551212 [BREAK] 2010-03-03 21:29:56.092461 [DEBUG] switch_ivr_bridge.c:565 BRIDGE THREAD DONE [sofia/external/+15165551212] 2010-03-03 21:29:56.092461 [DEBUG] switch_ivr_bridge.c:585 Send signal sofia/external/+16505551212 at 192.168.27.72 [BREAK] 2010-03-03 21:29:56.092461 [NOTICE] switch_ivr_bridge.c:637 Hangup sofia/external/+15165551212 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2010-03-03 21:29:56.092461 [DEBUG] switch_channel.c:2071 Send signal sofia/external/+15165551212 [KILL] 2010-03-03 21:29:56.092461 [DEBUG] switch_core_session.c:1018 Send signal sofia/external/+15165551212 [BREAK] 2010-03-03 21:29:56.092461 [DEBUG] switch_core_state_machine.c:351 (sofia/external/+15165551212) State EXCHANGE_MEDIA going to sleep 2010-03-03 21:29:56.092461 [DEBUG] switch_core_state_machine.c:314 (sofia/external/+15165551212) Running State Change CS_HANGUP 2010-03-03 21:29:56.092461 [DEBUG] switch_core_state_machine.c:499 (sofia/external/+15165551212) State HANGUP 2010-03-03 21:29:56.092461 [DEBUG] mod_sofia.c:411 Channel sofia/external/+15165551212 hanging up, cause: NORMAL_CLEARING 2010-03-03 21:29:56.092461 [DEBUG] mod_sofia.c:454 Sending BYE to sofia/external/+15165551212 2010-03-03 21:29:56.092461 [DEBUG] switch_core_state_machine.c:46 sofia/external/+15165551212 Standard HANGUP, cause: NORMAL_CLEARING 2010-03-03 21:29:56.092461 [DEBUG] switch_core_state_machine.c:499 (sofia/external/+15165551212) State HANGUP going to sleep 2010-03-03 21:29:56.092461 [DEBUG] switch_core_state_machine.c:333 (sofia/external/+15165551212) State Change CS_HANGUP -> CS_REPORTING 2010-03-03 21:29:56.092461 [DEBUG] switch_core_session.c:1018 Send signal sofia/external/+15165551212 [BREAK] 2010-03-03 21:29:56.092461 [DEBUG] switch_core_state_machine.c:314 (sofia/external/+15165551212) Running State Change CS_REPORTING 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:590 (sofia/external/+15165551212) State REPORTING 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:348 (sofia/external/+16505551212 at 192.168.27.72) State EXECUTE going to sleep 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:314 (sofia/external/+16505551212 at 192.168.27.72) Running State Change CS_ROUTING 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:341 (sofia/external/+16505551212 at 192.168.27.72) State ROUTING 2010-03-03 21:29:56.093481 [DEBUG] mod_sofia.c:140 sofia/external/+ 16505551212 at 192.168.27.72 SOFIA ROUTING 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:77 sofia/external/+16505551212 at 192.168.27.72 Standard ROUTING 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:119 (sofia/external/+16505551212 at 192.168.27.72) State Change CS_ROUTING -> CS_EXECUTE 2010-03-03 21:29:56.093481 [DEBUG] switch_core_session.c:1018 Send signal sofia/external/+16505551212 at 192.168.27.72 [BREAK] 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:341 (sofia/external/+16505551212 at 192.168.27.72) State ROUTING going to sleep 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:314 (sofia/external/+16505551212 at 192.168.27.72) Running State Change CS_EXECUTE 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:348 (sofia/external/+16505551212 at 192.168.27.72) State EXECUTE 2010-03-03 21:29:56.093481 [DEBUG] mod_sofia.c:226 sofia/external/+ 16505551212 at 192.168.27.72 SOFIA EXECUTE 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:157 sofia/external/+16505551212 at 192.168.27.72 Standard EXECUTE EXECUTE sofia/external/+16505551212 at 192.168.27.72 lua(callee.lua) 2010-03-03 21:29:56.095544 [DEBUG] switch_core_state_machine.c:53 sofia/external/+15165551212 Standard REPORTING, cause: NORMAL_CLEARING 2010-03-03 21:29:56.095544 [DEBUG] switch_core_state_machine.c:590 (sofia/external/+15165551212) State REPORTING going to sleep 2010-03-03 21:29:56.095544 [DEBUG] switch_core_state_machine.c:327 (sofia/external/+15165551212) State Change CS_REPORTING -> CS_DESTROY 2010-03-03 21:29:56.095544 [DEBUG] switch_core_session.c:1018 Send signal sofia/external/+15165551212 [BREAK] 2010-03-03 21:29:56.095544 [DEBUG] switch_core_session.c:1161 Session 24 (sofia/external/+15165551212) Locked, Waiting on external entities 2010-03-03 21:29:56.095544 [NOTICE] switch_core_session.c:1179 Session 24 (sofia/external/+15165551212) Ended 2010-03-03 21:29:56.095544 [NOTICE] switch_core_session.c:1181 Close Channel sofia/external/+15165551212 [CS_DESTROY] 2010-03-03 21:29:56.095544 [DEBUG] switch_core_state_machine.c:428 (sofia/external/+15165551212) Running State Change CS_DESTROY 2010-03-03 21:29:56.095544 [DEBUG] switch_core_state_machine.c:439 (sofia/external/+15165551212) State DESTROY 2010-03-03 21:29:56.095544 [DEBUG] mod_sofia.c:338 sofia/external/+15165551212 SOFIA DESTROY 2010-03-03 21:29:56.095544 [DEBUG] switch_core_state_machine.c:60 sofia/external/+15165551212 Standard DESTROY 2010-03-03 21:29:56.095544 [DEBUG] switch_core_state_machine.c:439 (sofia/external/+15165551212) State DESTROY going to sleep 2010-03-03 21:29:56.127189 [DEBUG] switch_ivr.c:1441 (sofia/external/+ 16505551212 at 192.168.27.72) State Change CS_EXECUTE -> CS_ROUTING 2010-03-03 21:29:56.127189 [DEBUG] switch_core_session.c:1018 Send signal sofia/external/+16505551212 at 192.168.27.72 [BREAK] 2010-03-03 21:29:56.127189 [DEBUG] switch_core_session.c:638 Send signal sofia/external/+16505551212 at 192.168.27.72 [BREAK] 2010-03-03 21:29:56.127189 [NOTICE] switch_ivr.c:1447 Transfer sofia/external/+16505551212 at 192.168.27.72 to inline[lua:caller.lua] 2010-03-03 21:29:56.875077 [DEBUG] switch_core_media_bug.c:360 Attaching BUG to sofia/external/+16505551212 at 192.168.27.72 2010-03-03 21:29:56.909780 [DEBUG] switch_core_media_bug.c:442 Removing BUG from sofia/external/+16505551212 at 192.168.27.72 2010-03-03 21:29:56.910802 [ERR] inline:1 Session is not active! 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:348 (sofia/external/+16505551212 at 192.168.27.72) State EXECUTE going to sleep 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:314 (sofia/external/+16505551212 at 192.168.27.72) Running State Change CS_ROUTING 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:341 (sofia/external/+16505551212 at 192.168.27.72) State ROUTING 2010-03-03 21:29:56.910802 [DEBUG] mod_sofia.c:140 sofia/external/+ 16505551212 at 192.168.27.72 SOFIA ROUTING 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:77 sofia/external/+16505551212 at 192.168.27.72 Standard ROUTING 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:119 (sofia/external/+16505551212 at 192.168.27.72) State Change CS_ROUTING -> CS_EXECUTE 2010-03-03 21:29:56.910802 [DEBUG] switch_core_session.c:1018 Send signal sofia/external/+16505551212 at 192.168.27.72 [BREAK] 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:341 (sofia/external/+16505551212 at 192.168.27.72) State ROUTING going to sleep 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:314 (sofia/external/+16505551212 at 192.168.27.72) Running State Change CS_EXECUTE 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:348 (sofia/external/+16505551212 at 192.168.27.72) State EXECUTE 2010-03-03 21:29:56.910802 [DEBUG] mod_sofia.c:226 sofia/external/+ 16505551212 at 192.168.27.72 SOFIA EXECUTE 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:157 sofia/external/+16505551212 at 192.168.27.72 Standard EXECUTE EXECUTE sofia/external/+16505551212 at 192.168.27.72 lua(caller.lua) 2010-03-03 21:29:56.911830 [NOTICE] switch_cpp.cpp:1142 *********** Caller.lua - Success: 53d37581-1f90-44bf-860a-addbc8430e3a *********** 2010-03-03 21:29:56.911830 [ERR] switch_core_session.c:357 Could not locate channel type 53d37581-1f90-44bf-860a-addbc8430e3a 2010-03-03 21:29:56.911830 [ERR] switch_ivr_originate.c:2389 Cannot create outgoing channel of type [53d37581-1f90-44bf-860a-addbc8430e3a] cause: [CHAN_NOT_IMPLEMENTED] 2010-03-03 21:29:56.911830 [DEBUG] switch_ivr_originate.c:3187 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED] 2010-03-03 21:29:56.911830 [ERR] switch_cpp.cpp:618 session is not initalized 2010-03-03 21:29:57.032095 [DEBUG] switch_ivr_play_say.c:1156 Codec Activated L16 at 8000hz 1 channels 20ms How can I get the callee leg to stay up? Is this not what -bleg is supposed to do? Am I doing something wrong here? I've tried parking both legs and invoking the lua on the channels but one of the channels still drops and the uuid is no-longer available in the event socket. Is there some other preferred way to split a call apart? Thanks. -Anders -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/989f0198/attachment-0001.html From abrownworth at bandwidth.com Wed Mar 3 14:56:37 2010 From: abrownworth at bandwidth.com (Anders Brownworth) Date: Wed, 3 Mar 2010 17:56:37 -0500 Subject: [Freeswitch-users] Splitting a Call In-Reply-To: References: Message-ID: Answering my own question, parking the call with "uuid_transfer -both 'park' inline" first keeps the other leg busy and things won't hang up. -Anders On Wed, Mar 3, 2010 at 4:53 PM, Anders Brownworth wrote: > Hello fellow FreeSWITCH users, > > I'm using FreeSWITCH Version 1.0.trunk (16883) and I'm using the event > socket to break an in-progress call into two independently controlled legs. > I want to be able to work with each leg completely independently - hanging > up one without affecting the other. Per the docs: > http://wiki.freeswitch.org/wiki/Mod_commands#uuid_transfer I'm using > uuid_transfer with an inline lua script to work with one leg without hanging > up on the other. I'm setting "hangup_after_bridge" to false on both channels > and invoking uuid_transfer with the -bleg option but as soon as I transfer, > FreeSWITCH hangs up on one of the legs. > > Here's what I'm sending on the event socket. (everything gets an "OK" > response from FreeSWITCH) > > Set hangup_after_bridge: > > > api uuid_setvar 53d37581-1f90-44bf-860a-addbc8430e3a hangup_after_bridge > false > api uuid_setvar 9d1a4f2d-2ce6-40e5-ac84-62ad8c2d4654 hangup_after_bridge > false > > And then do the uuid_transfer: > > api uuid_transfer 53d37581-1f90-44bf-860a-addbc8430e3a -bleg > 'lua:callee.lua' inline > api uuid_transfer 9d1a4f2d-2ce6-40e5-ac84-62ad8c2d4654 -bleg > 'lua:caller.lua' inline > > The callee leg (53d37581-1f90-44bf-860a-addbc8430e3a) is immediately hung > up and the caller leg runs fine. Here's the log messages: (6505551212 is the > caller and 5165551212 is the callee) > > 2010-03-03 21:29:56.086319 [DEBUG] switch_ivr.c:1441 (sofia/external/+ > 16505551212 at 192.168.27.72) State Change CS_EXECUTE -> CS_ROUTING > 2010-03-03 21:29:56.086319 [DEBUG] switch_core_session.c:1018 Send signal > sofia/external/+16505551212 at 192.168.27.72 [BREAK] > 2010-03-03 21:29:56.086319 [DEBUG] switch_core_session.c:638 Send signal > sofia/external/+16505551212 at 192.168.27.72 [BREAK] > 2010-03-03 21:29:56.086319 [NOTICE] switch_ivr.c:1447 Transfer > sofia/external/+16505551212 at 192.168.27.72 to inline[lua:callee.lua at public] > 2010-03-03 21:29:56.092461 [DEBUG] switch_core_session.c:638 Send signal > sofia/external/+16505551212 at 192.168.27.72 [BREAK] > 2010-03-03 21:29:56.092461 [DEBUG] switch_ivr_bridge.c:565 BRIDGE THREAD > DONE [sofia/external/+16505551212 at 192.168.27.72] > 2010-03-03 21:29:56.092461 [DEBUG] switch_ivr_bridge.c:585 Send signal > sofia/external/+15165551212 [BREAK] > 2010-03-03 21:29:56.092461 [DEBUG] switch_rtp.c:1626 Send middle packet for > [1] ts=91040 dur=1760/1760/2440 seq=7493 > 2010-03-03 21:29:56.092461 [DEBUG] switch_core_session.c:638 Send signal > sofia/external/+15165551212 [BREAK] > 2010-03-03 21:29:56.092461 [DEBUG] switch_ivr_bridge.c:565 BRIDGE THREAD > DONE [sofia/external/+15165551212] > 2010-03-03 21:29:56.092461 [DEBUG] switch_ivr_bridge.c:585 Send signal > sofia/external/+16505551212 at 192.168.27.72 [BREAK] > 2010-03-03 21:29:56.092461 [NOTICE] switch_ivr_bridge.c:637 Hangup > sofia/external/+15165551212 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] > 2010-03-03 21:29:56.092461 [DEBUG] switch_channel.c:2071 Send signal > sofia/external/+15165551212 [KILL] > 2010-03-03 21:29:56.092461 [DEBUG] switch_core_session.c:1018 Send signal > sofia/external/+15165551212 [BREAK] > 2010-03-03 21:29:56.092461 [DEBUG] switch_core_state_machine.c:351 > (sofia/external/+15165551212) State EXCHANGE_MEDIA going to sleep > 2010-03-03 21:29:56.092461 [DEBUG] switch_core_state_machine.c:314 > (sofia/external/+15165551212) Running State Change CS_HANGUP > 2010-03-03 21:29:56.092461 [DEBUG] switch_core_state_machine.c:499 > (sofia/external/+15165551212) State HANGUP > 2010-03-03 21:29:56.092461 [DEBUG] mod_sofia.c:411 Channel > sofia/external/+15165551212 hanging up, cause: NORMAL_CLEARING > 2010-03-03 21:29:56.092461 [DEBUG] mod_sofia.c:454 Sending BYE to > sofia/external/+15165551212 > 2010-03-03 21:29:56.092461 [DEBUG] switch_core_state_machine.c:46 > sofia/external/+15165551212 Standard HANGUP, cause: NORMAL_CLEARING > 2010-03-03 21:29:56.092461 [DEBUG] switch_core_state_machine.c:499 > (sofia/external/+15165551212) State HANGUP going to sleep > 2010-03-03 21:29:56.092461 [DEBUG] switch_core_state_machine.c:333 > (sofia/external/+15165551212) State Change CS_HANGUP -> CS_REPORTING > 2010-03-03 21:29:56.092461 [DEBUG] switch_core_session.c:1018 Send signal > sofia/external/+15165551212 [BREAK] > 2010-03-03 21:29:56.092461 [DEBUG] switch_core_state_machine.c:314 > (sofia/external/+15165551212) Running State Change CS_REPORTING > 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:590 > (sofia/external/+15165551212) State REPORTING > 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:348 > (sofia/external/+16505551212 at 192.168.27.72) State EXECUTE going to sleep > 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:314 > (sofia/external/+16505551212 at 192.168.27.72) Running State Change > CS_ROUTING > 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:341 > (sofia/external/+16505551212 at 192.168.27.72) State ROUTING > 2010-03-03 21:29:56.093481 [DEBUG] mod_sofia.c:140 sofia/external/+ > 16505551212 at 192.168.27.72 SOFIA ROUTING > 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:77 > sofia/external/+16505551212 at 192.168.27.72 Standard ROUTING > 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:119 > (sofia/external/+16505551212 at 192.168.27.72) State Change CS_ROUTING -> > CS_EXECUTE > 2010-03-03 21:29:56.093481 [DEBUG] switch_core_session.c:1018 Send signal > sofia/external/+16505551212 at 192.168.27.72 [BREAK] > 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:341 > (sofia/external/+16505551212 at 192.168.27.72) State ROUTING going to sleep > 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:314 > (sofia/external/+16505551212 at 192.168.27.72) Running State Change > CS_EXECUTE > 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:348 > (sofia/external/+16505551212 at 192.168.27.72) State EXECUTE > 2010-03-03 21:29:56.093481 [DEBUG] mod_sofia.c:226 sofia/external/+ > 16505551212 at 192.168.27.72 SOFIA EXECUTE > 2010-03-03 21:29:56.093481 [DEBUG] switch_core_state_machine.c:157 > sofia/external/+16505551212 at 192.168.27.72 Standard EXECUTE > EXECUTE sofia/external/+16505551212 at 192.168.27.72 lua(callee.lua) > 2010-03-03 21:29:56.095544 [DEBUG] switch_core_state_machine.c:53 > sofia/external/+15165551212 Standard REPORTING, cause: NORMAL_CLEARING > 2010-03-03 21:29:56.095544 [DEBUG] switch_core_state_machine.c:590 > (sofia/external/+15165551212) State REPORTING going to sleep > 2010-03-03 21:29:56.095544 [DEBUG] switch_core_state_machine.c:327 > (sofia/external/+15165551212) State Change CS_REPORTING -> CS_DESTROY > 2010-03-03 21:29:56.095544 [DEBUG] switch_core_session.c:1018 Send signal > sofia/external/+15165551212 [BREAK] > 2010-03-03 21:29:56.095544 [DEBUG] switch_core_session.c:1161 Session 24 > (sofia/external/+15165551212) Locked, Waiting on external entities > 2010-03-03 21:29:56.095544 [NOTICE] switch_core_session.c:1179 Session 24 > (sofia/external/+15165551212) Ended > 2010-03-03 21:29:56.095544 [NOTICE] switch_core_session.c:1181 Close > Channel sofia/external/+15165551212 [CS_DESTROY] > 2010-03-03 21:29:56.095544 [DEBUG] switch_core_state_machine.c:428 > (sofia/external/+15165551212) Running State Change CS_DESTROY > 2010-03-03 21:29:56.095544 [DEBUG] switch_core_state_machine.c:439 > (sofia/external/+15165551212) State DESTROY > 2010-03-03 21:29:56.095544 [DEBUG] mod_sofia.c:338 > sofia/external/+15165551212 SOFIA DESTROY > 2010-03-03 21:29:56.095544 [DEBUG] switch_core_state_machine.c:60 > sofia/external/+15165551212 Standard DESTROY > 2010-03-03 21:29:56.095544 [DEBUG] switch_core_state_machine.c:439 > (sofia/external/+15165551212) State DESTROY going to sleep > 2010-03-03 21:29:56.127189 [DEBUG] switch_ivr.c:1441 (sofia/external/+ > 16505551212 at 192.168.27.72) State Change CS_EXECUTE -> CS_ROUTING > 2010-03-03 21:29:56.127189 [DEBUG] switch_core_session.c:1018 Send signal > sofia/external/+16505551212 at 192.168.27.72 [BREAK] > 2010-03-03 21:29:56.127189 [DEBUG] switch_core_session.c:638 Send signal > sofia/external/+16505551212 at 192.168.27.72 [BREAK] > 2010-03-03 21:29:56.127189 [NOTICE] switch_ivr.c:1447 Transfer > sofia/external/+16505551212 at 192.168.27.72 to inline[lua:caller.lua] > 2010-03-03 21:29:56.875077 [DEBUG] switch_core_media_bug.c:360 Attaching > BUG to sofia/external/+16505551212 at 192.168.27.72 > 2010-03-03 21:29:56.909780 [DEBUG] switch_core_media_bug.c:442 Removing BUG > from sofia/external/+16505551212 at 192.168.27.72 > 2010-03-03 21:29:56.910802 [ERR] inline:1 Session is not active! > 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:348 > (sofia/external/+16505551212 at 192.168.27.72) State EXECUTE going to sleep > 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:314 > (sofia/external/+16505551212 at 192.168.27.72) Running State Change > CS_ROUTING > 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:341 > (sofia/external/+16505551212 at 192.168.27.72) State ROUTING > 2010-03-03 21:29:56.910802 [DEBUG] mod_sofia.c:140 sofia/external/+ > 16505551212 at 192.168.27.72 SOFIA ROUTING > 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:77 > sofia/external/+16505551212 at 192.168.27.72 Standard ROUTING > 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:119 > (sofia/external/+16505551212 at 192.168.27.72) State Change CS_ROUTING -> > CS_EXECUTE > 2010-03-03 21:29:56.910802 [DEBUG] switch_core_session.c:1018 Send signal > sofia/external/+16505551212 at 192.168.27.72 [BREAK] > 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:341 > (sofia/external/+16505551212 at 192.168.27.72) State ROUTING going to sleep > 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:314 > (sofia/external/+16505551212 at 192.168.27.72) Running State Change > CS_EXECUTE > 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:348 > (sofia/external/+16505551212 at 192.168.27.72) State EXECUTE > 2010-03-03 21:29:56.910802 [DEBUG] mod_sofia.c:226 sofia/external/+ > 16505551212 at 192.168.27.72 SOFIA EXECUTE > 2010-03-03 21:29:56.910802 [DEBUG] switch_core_state_machine.c:157 > sofia/external/+16505551212 at 192.168.27.72 Standard EXECUTE > EXECUTE sofia/external/+16505551212 at 192.168.27.72 lua(caller.lua) > 2010-03-03 21:29:56.911830 [NOTICE] switch_cpp.cpp:1142 *********** > Caller.lua - Success: 53d37581-1f90-44bf-860a-addbc8430e3a *********** > 2010-03-03 21:29:56.911830 [ERR] switch_core_session.c:357 Could not locate > channel type 53d37581-1f90-44bf-860a-addbc8430e3a > 2010-03-03 21:29:56.911830 [ERR] switch_ivr_originate.c:2389 Cannot create > outgoing channel of type [53d37581-1f90-44bf-860a-addbc8430e3a] cause: > [CHAN_NOT_IMPLEMENTED] > 2010-03-03 21:29:56.911830 [DEBUG] switch_ivr_originate.c:3187 Originate > Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED] > 2010-03-03 21:29:56.911830 [ERR] switch_cpp.cpp:618 session is not > initalized > 2010-03-03 21:29:57.032095 [DEBUG] switch_ivr_play_say.c:1156 Codec > Activated L16 at 8000hz 1 channels 20ms > > How can I get the callee leg to stay up? Is this not what -bleg is supposed > to do? Am I doing something wrong here? I've tried parking both legs and > invoking the lua on the channels but one of the channels still drops and the > uuid is no-longer available in the event socket. > > Is there some other preferred way to split a call apart? > > Thanks. > > -Anders > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/bd5d477f/attachment.html From brian at freeswitch.org Thu Mar 4 06:52:01 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 4 Mar 2010 08:52:01 -0600 Subject: [Freeswitch-users] SUCCESS!!! Message-ID: I have to say PYTHON SUCKS... ie Mailman is evil. /b From testa at voicetechnology.com.br Thu Mar 4 06:55:24 2010 From: testa at voicetechnology.com.br (Fernando Testa) Date: Thu, 4 Mar 2010 11:55:24 -0300 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: <23f91031003031704ob68528g37f64f9b0ee7a2bd@mail.gmail.com> References: <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> <20100303181909.DEFD22E73C8@cuneorg-email.cune.pri> <7454A296C7EDE34EA57199FAA401E2F11C63F2DA66@VMBX113.ihostexchange.net> <7b197bef1003031300j756aa0ddv777406fc3224da9c@mail.gmail.com> <25BD7E1E-B846-43AA-B587-1FCCE5667E79@gmail.com> <7b197bef1003031315tfe57e3fs98cfcfd9edf92939@mail.gmail.com> <23f91031003031704ob68528g37f64f9b0ee7a2bd@mail.gmail.com> Message-ID: <9cb0e15e1003040655p500dae55kc22de012c270aedd@mail.gmail.com> I used to do tests on conferencing using linode.com, which is Xen VMs without issues, although there were not much load on it. On Wed, Mar 3, 2010 at 10:04 PM, Seven Du wrote: > we run our testing environment on Xen VMs (ubuntu 8.04 32bit), seems > pretty well. Of course no much load. > > 2010/3/4 Giovanni Maruzzelli : > > On Wed, Mar 3, 2010 at 10:09 PM, Rob Forman > wrote: > >> > Cheers, Chris. > >> > -- > >> > RightScale, Inc. > >> > >> I doubt they'll be switching any time soon. I think his employer IS > >> RightScale :) > > > > Oooops, I'll learn to pay attention to signatures :) > > > > > >> > >> > >> On Mar 3, 2010, at 3:00 PM, Giovanni Maruzzelli wrote: > >> > >>> On Wed, Mar 3, 2010 at 9:48 PM, Chris Fowler wrote: > >>>> Re: Wiki - I'd love to give back to the community; Does anyone > >>>> have an objection if I create a "How to use FreeSWITCH on EC2 with > >>>> RightScale's management dashboard"? > >>>> > >>>> There are some significant differences to the configuration when > >>>> using RightScale vs. bare bones AWS; and given this is on my > >>>> employer's time I need to keep it relevant... > >>> > >>> Chris, > >>> I know can be more work, but the best would be to let know the > >>> differences too, and how it would be using bare bone AWS. That's also > >>> good for your employer, if he decide to switch back from RightScale... > >>> :) > >>> > >>> -giovanni > >>> > >>> > >>>> > >>>> The base AMI used is "RightImage CentOS_5.4_i386_v4.4.10"; this is > >>>> a public AMI (you don't need to be a RightScale customer to use it) > >>>> > >>>> Cheers, Chris. > >>>> > >>>> -----Original Message----- > >>>> From: freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org > >>>> ] On Behalf Of Russell.Mosemann at cune.org > >>>> Sent: Wednesday, March 03, 2010 10:19 AM > >>>> To: freeswitch-users at lists.freeswitch.org > >>>> Subject: Re: [Freeswitch-users] Virtualized FreeSWITCH > >>>> > >>>> Chris Fowler said: > >>>> > >>>>> There were no special tricks; you do need to modify/override the > >>>>> following with the box's Elastic IP (EIP). > >>>> > >>>> This would be helpful to have in the wiki along with any other tips > >>>> for > >>>> your virtual environment. :-) > >>>> > >>>> -- > >>>> Russell Mosemann > >>>> > >>>> > >>>> > >>>> ________________________________________________________ > >>>> Concordia University, Nebraska > >>>> See http://www.cune.edu/ for the latest news and events! > >>>> > >>>> > >>>> _______________________________________________ > >>>> FreeSWITCH-users mailing list > >>>> FreeSWITCH-users at 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 > >>>> > >>> > >>> > >>> > >>> -- > >>> Sincerely, > >>> > >>> Giovanni Maruzzelli > >>> Cell : +39-347-2665618 > >>> > >>> _______________________________________________ > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at 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 > >> > > > > > > > > -- > > Sincerely, > > > > Giovanni Maruzzelli > > Cell : +39-347-2665618 > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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/20100304/d63ab1a4/attachment.html From mustafa.pk at gmail.com Thu Mar 4 07:08:34 2010 From: mustafa.pk at gmail.com (Ghulam Mustafa) Date: Thu, 4 Mar 2010 20:08:34 +0500 Subject: [Freeswitch-users] Testing In-Reply-To: <6B4B6A58-5A68-4EC6-B13D-A5DAA9C66519@freeswitch.org> References: <6B4B6A58-5A68-4EC6-B13D-A5DAA9C66519@freeswitch.org> Message-ID: <8213d6071003040708i790de267g8863980c2d7e0f5f@mail.gmail.com> echo 123 On Thu, Mar 4, 2010 at 7:40 PM, Brian West wrote: > Testing > > /b > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Ghulam Mustafa cell: +92 333.611.7681 sip: cyrenity at ekiga.net mail: mustafa.pk at gmail.com web: cyrenity.wordpress.com From paul at apcl.us Thu Mar 4 07:11:33 2010 From: paul at apcl.us (Paul Levin) Date: Thu, 04 Mar 2010 10:11:33 -0500 Subject: [Freeswitch-users] how to see registration info for a particular user? Message-ID: <4B8FCDA5.6000700@apcl.us> I am familiar with the console command: sofia status profile internal reg to see the registration info for all currently registered users. Is there a modification to this command that will limit the result to just one specific user registered user? Thanks, Paul From gmaruzz at celliax.org Thu Mar 4 07:22:01 2010 From: gmaruzz at celliax.org (Giovanni Maruzzelli) Date: Thu, 4 Mar 2010 16:22:01 +0100 Subject: [Freeswitch-users] Your Future Order with 75% off retail Message-ID: <7b197bef1003040722j66c92e92sfc9ea03bc5c32546@mail.gmail.com> Testing :P -giovanni -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From brian at freeswitch.org Thu Mar 4 07:27:56 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 4 Mar 2010 09:27:56 -0600 Subject: [Freeswitch-users] Your Future Order with 75% off retail In-Reply-To: <7b197bef1003040722j66c92e92sfc9ea03bc5c32546@mail.gmail.com> References: <7b197bef1003040722j66c92e92sfc9ea03bc5c32546@mail.gmail.com> Message-ID: You crazy! /b PS: mirror image of me. On Mar 4, 2010, at 9:22 AM, Giovanni Maruzzelli wrote: > Testing > > :P > > -giovanni > -- > Sincerely, From infos at madovsky.org Thu Mar 4 08:49:00 2010 From: infos at madovsky.org (Madovsky) Date: Thu, 4 Mar 2010 11:49:00 -0500 Subject: [Freeswitch-users] SUCCESS!!! References: Message-ID: <407604F34A7540C3B971AABC4D952060@MOBILEE1705> Mailman, I ll get your scalp ----- Original Message ----- From: "Brian West" To: Sent: Thursday, March 04, 2010 9:52 AM Subject: [Freeswitch-users] SUCCESS!!! >I have to say PYTHON SUCKS... ie Mailman is evil. > > /b > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Thu Mar 4 09:13:59 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 4 Mar 2010 11:13:59 -0600 Subject: [Freeswitch-users] http://jira.freeswitch.org/browse/ESL-33 Message-ID: <78042E0E-4E1B-41A9-885F-867DD621FCE2@freeswitch.org> Any java web heads out there wanna take a smack at this one? /b From anthony.minessale at gmail.com Thu Mar 4 09:17:38 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 4 Mar 2010 11:17:38 -0600 Subject: [Freeswitch-users] SUCCESS!!! In-Reply-To: <407604F34A7540C3B971AABC4D952060@MOBILEE1705> References: <407604F34A7540C3B971AABC4D952060@MOBILEE1705> Message-ID: <191c3a031003040917p47f87a73hc559a5d8633b31fc@mail.gmail.com> Let's upgrade to Angry Dog On Thu, Mar 4, 2010 at 10:49 AM, Madovsky wrote: > Mailman, I ll get your scalp > > ----- Original Message ----- > From: "Brian West" > To: > Sent: Thursday, March 04, 2010 9:52 AM > Subject: [Freeswitch-users] SUCCESS!!! > > > >I have to say PYTHON SUCKS... ie Mailman is evil. > > > > /b > > > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 > -- 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 iax:guest at conference.freeswitch.org/888 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/20100304/e0253490/attachment-0001.html From m.sobkow at marketelsystems.com Thu Mar 4 09:22:07 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Thu, 04 Mar 2010 11:22:07 -0600 Subject: [Freeswitch-users] How to play back a .wav file from Erlang? Message-ID: <4B8FEC3F.5060102@marketelsystems.com> I have the UUID of a parked call. I've waited n seconds for an operator to answer that call, but none are available so I want to play a message to the customer. How do I do that from Erlang? I've tried the following, but it doesn't seem to actually play the file, and I'm not getting any useful information in fs_cli about the playback attempt that would indicate why it's not working. bgapi( eval, "uuid:1f6d7a61-fd1a-4efd-bf84-31c4eea652c2 playback /opt/freeswitch/sounds/en/us/callie/misc/8000/sorry.wav" ) -- Mark Sobkow Senior Developer MarkeTel Multi-Line Dialing Systems LTD. 428 Victoria Ave Regina, SK S4N-0P6 Toll-Free: 800-289-8616-X533 Local: 306-359-6893-X533 Fax: 306-359-6879 Email: m.sobkow at marketelsystems.com Web: http://www.marketelsystems.com From m.sobkow at marketelsystems.com Thu Mar 4 10:36:23 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Thu, 04 Mar 2010 12:36:23 -0600 Subject: [Freeswitch-users] Call keeps hanging up Message-ID: <4B8FFDA7.50708@marketelsystems.com> I'm having some difficulty with Freeswitch/Erlang processing. An operator dials in and registers by entering a PIN code, which triggers an Erlang event handler callback and puts the call into park. This works. A customer calls in, which triggers another Erlang event handler callback and puts the call into park. That works, too. Another thread of Erlang checks the operator and customer queues, and uses uuid_bridge to join the two calls together. That also works. What _doesn't_ work is that when the customer hangs up, I want the operator A leg to go back into a park state, and it's hanging up instead. One suspicion I have is that because there is no dialplan associated with the call (it's controlled by Erlang), there is no dialplan to "continue" by setting hangup_after_bridge=false. Either that or maybe I need to set the variables on the new UUID returned by the uuid_bridge command (though I thought that UUID was just the UUID assigned to the command, not a new call identifier.) BTW, "pbx" is just an OTP rewrite of pieces of the standard "freeswitch.erl" code. pbx:api( uuid_setvar, Operator#pbx_operator_registry.operator_uuid ++ " hangup_after_bridge false" ), pbx:api( uuid_setvar, Operator#pbx_operator_registry.operator_uuid ++ " park_after_bridge true" ), BridgeResult = pbx:api( uuid_bridge, Operator#pbx_operator_registry.operator_uuid ++ " " ++ Customer#pbx_cust_queue.uuid ), -- Mark Sobkow Senior Developer MarkeTel Multi-Line Dialing Systems LTD. 428 Victoria Ave Regina, SK S4N-0P6 Toll-Free: 800-289-8616-X533 Local: 306-359-6893-X533 Fax: 306-359-6879 Email: m.sobkow at marketelsystems.com Web: http://www.marketelsystems.com From andrew at hijacked.us Thu Mar 4 10:47:55 2010 From: andrew at hijacked.us (Andrew Thompson) Date: Thu, 4 Mar 2010 13:47:55 -0500 Subject: [Freeswitch-users] Call keeps hanging up In-Reply-To: <4B8FFDA7.50708@marketelsystems.com> References: <4B8FFDA7.50708@marketelsystems.com> Message-ID: <20100304184755.GK1751@hijacked.us> On Thu, Mar 04, 2010 at 12:36:23PM -0600, Mark Sobkow wrote: > I'm having some difficulty with Freeswitch/Erlang processing. An > operator dials in and registers by entering a PIN code, which triggers > an Erlang event handler callback and puts the call into park. This works. > > A customer calls in, which triggers another Erlang event handler > callback and puts the call into park. That works, too. > > Another thread of Erlang checks the operator and customer queues, and > uses uuid_bridge to join the two calls together. That also works. > > What _doesn't_ work is that when the customer hangs up, I want the > operator A leg to go back into a park state, and it's hanging up > instead. One suspicion I have is that because there is no dialplan > associated with the call (it's controlled by Erlang), there is no > dialplan to "continue" by setting hangup_after_bridge=false. Either > that or maybe I need to set the variables on the new UUID returned by > the uuid_bridge command (though I thought that UUID was just the UUID > assigned to the command, not a new call identifier.) > > BTW, "pbx" is just an OTP rewrite of pieces of the standard > "freeswitch.erl" code. > > > pbx:api( uuid_setvar, Operator#pbx_operator_registry.operator_uuid > ++ " hangup_after_bridge false" ), > pbx:api( uuid_setvar, Operator#pbx_operator_registry.operator_uuid > ++ " park_after_bridge true" ), > Try using park_after_bridge and catch the park event or transfer_after_bridge and set the dialplan location to transfer the call to. Andrew From anthony.minessale at gmail.com Thu Mar 4 11:12:50 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 4 Mar 2010 13:12:50 -0600 Subject: [Freeswitch-users] Call keeps hanging up In-Reply-To: <20100304184755.GK1751@hijacked.us> References: <4B8FFDA7.50708@marketelsystems.com> <20100304184755.GK1751@hijacked.us> Message-ID: <191c3a031003041112q7762f50bya40087db8a967397@mail.gmail.com> "Hello this is the United States Calling are we reaching... *click* See!, he keeps hanging up, is there supposed to be someone there besides your wife sir?" On Thu, Mar 4, 2010 at 12:47 PM, Andrew Thompson wrote: > On Thu, Mar 04, 2010 at 12:36:23PM -0600, Mark Sobkow wrote: > > I'm having some difficulty with Freeswitch/Erlang processing. An > > operator dials in and registers by entering a PIN code, which triggers > > an Erlang event handler callback and puts the call into park. This > works. > > > > A customer calls in, which triggers another Erlang event handler > > callback and puts the call into park. That works, too. > > > > Another thread of Erlang checks the operator and customer queues, and > > uses uuid_bridge to join the two calls together. That also works. > > > > What _doesn't_ work is that when the customer hangs up, I want the > > operator A leg to go back into a park state, and it's hanging up > > instead. One suspicion I have is that because there is no dialplan > > associated with the call (it's controlled by Erlang), there is no > > dialplan to "continue" by setting hangup_after_bridge=false. Either > > that or maybe I need to set the variables on the new UUID returned by > > the uuid_bridge command (though I thought that UUID was just the UUID > > assigned to the command, not a new call identifier.) > > > > BTW, "pbx" is just an OTP rewrite of pieces of the standard > > "freeswitch.erl" code. > > > > > > pbx:api( uuid_setvar, Operator#pbx_operator_registry.operator_uuid > > ++ " hangup_after_bridge false" ), > > pbx:api( uuid_setvar, Operator#pbx_operator_registry.operator_uuid > > ++ " park_after_bridge true" ), > > > > Try using park_after_bridge and catch the park event or > transfer_after_bridge and set the dialplan location to transfer the call > to. > > Andrew > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100304/114285d5/attachment.html From jerry.richards at teotech.com Thu Mar 4 12:19:40 2010 From: jerry.richards at teotech.com (Jerry Richards) Date: Thu, 4 Mar 2010 12:19:40 -0800 Subject: [Freeswitch-users] Dialing ** Message-ID: <613B61547E7C43FFB4978276BDD146D9@greyhawk.tonecommander.com> I used to be able to dial "**" to pickup a ringing call (v. 1.0.5pre9) from a different extension. Since I upgraded to 1.0.5-20100223, this no longer works the same. Is this feature still available under some other star-code? Best Regards, Jerry From tculjaga at gmail.com Thu Mar 4 12:44:23 2010 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Thu, 4 Mar 2010 21:44:23 +0100 Subject: [Freeswitch-users] Freeswitch & SNMP ( again , but with a difference ) In-Reply-To: References: Message-ID: <65d96fc81003041244t363450f2p8bf853c788d2295d@mail.gmail.com> On Thu, Mar 4, 2010 at 9:38 AM, jay binks wrote: > has anyone done any work on getting SNMP monitoring of freeswitch ?? > > from looking at some other emails about this, it seems that there is not a > heap of desire ( from developers point of view ) > to have a FS SNMP module. Ive also noticed most requests for this type of > monitoring are directed to ESL. > because there is no need :) > > so my thought, has anyone done any work on building a script / module for > NET-SNMP ( http://net-snmp.sourceforge.net/ ) > that uses ESL to fetch its data. > > what i'm doing is just make a script to call fs_cli -x command e.g. tculjaga at nemesis:~$ /usr/local/freeswitch/bin/fs_cli -x "status" UP 0 years, 0 days, 0 hours, 0 minutes, 8 seconds, 470 milliseconds, 62 microseconds 0 session(s) since startup 0 session(s) 0/30 1000 session(s) max and bind it to an OID... I'm even firing SIPP with to check end-to-end FS sanity. > so we would run snmpd on our FS boxes, with the FS-ESL module ( or script ) > loaded into snmpd. > from there SNMP requests would be handled by snmpd and the data would then > be pulled over ESL directly from freeswitch. > > this seems like a decent solution that would not risk stability of FS by > introducing yet another module. > > so I guess my question here is, has anyone done something like this ? > yes... > what do you all think of this idea ? > is there anyone who would like to contribute to this idea or offer other > suggestions. > > it is just a script ... quite easy to setup... prepare your script: [tculjaga@ bin]$ cat activeChannels.sh #!/bin/sh CHANNELS=`/usr/local/freeswitch/bin/fs_cli -x "show channels count" |/bin/grep total | /bin/awk {'print $1'}` /bin/echo $CHANNELS exit $CHANNELS [tculjaga at l01sipindir2 bin]$ [tculjaga at l01sipindir2 bin]$ [tculjaga at l01sipindir2 bin]$ cat currentCallsPerSec.sh #!/bin/sh in snmpd.conf add this: exec activeChannels /usr/local/bin/activeChannels.sh exec checkCallFlowCPS /usr/local/bin/sipgen/sipgen.sh 1234 1 10 > oh yea, and why SNMP.. I duno... > SNMP is just so easy to integrate into other monitoring systems. > > because every NMS uses it .. maybe thats why :) > > > -- > Sincerely > > Jay > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/57d02277/attachment-0001.html From m.sobkow at marketelsystems.com Thu Mar 4 12:48:06 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Thu, 04 Mar 2010 14:48:06 -0600 Subject: [Freeswitch-users] Call keeps hanging up In-Reply-To: <20100304184755.GK1751@hijacked.us> References: <4B8FFDA7.50708@marketelsystems.com> <20100304184755.GK1751@hijacked.us> Message-ID: <4B901C86.7040806@marketelsystems.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/84c59a60/attachment.html From jimthomasembedded at yahoo.com Thu Mar 4 13:10:55 2010 From: jimthomasembedded at yahoo.com (Jim Thomas) Date: Thu, 4 Mar 2010 13:10:55 -0800 (PST) Subject: [Freeswitch-users] SUCCESS!!! In-Reply-To: <407604F34A7540C3B971AABC4D952060@MOBILEE1705> References: <407604F34A7540C3B971AABC4D952060@MOBILEE1705> Message-ID: <43146.92621.qm@web44811.mail.sp1.yahoo.com> > PYTHON SUCKS That's like saying: ? Asterisk sucks. ? Asterisk is written in C language. ? Therefore, C language sucks. :-) ? From: "Brian West" To: Sent: Thursday, March 04, 2010 9:52 AM Subject: [Freeswitch-users] SUCCESS!!! >I have to say PYTHON SUCKS... ie Mailman is evil. > > /b -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/3a88c7db/attachment.html From brian at freeswitch.org Thu Mar 4 13:22:17 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 4 Mar 2010 15:22:17 -0600 Subject: [Freeswitch-users] SUCCESS!!! In-Reply-To: <43146.92621.qm@web44811.mail.sp1.yahoo.com> References: <407604F34A7540C3B971AABC4D952060@MOBILEE1705> <43146.92621.qm@web44811.mail.sp1.yahoo.com> Message-ID: You can create shitty art with paint... doesn't mean the paint sucks. /b On Mar 4, 2010, at 3:10 PM, Jim Thomas wrote: > > PYTHON SUCKS > > That's like saying: > > Asterisk sucks. > Asterisk is written in C language. > Therefore, C language sucks. > > :-) > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/86ad5067/attachment.html From christian.loeschenkohl at xpirio.com Thu Mar 4 13:43:31 2010 From: christian.loeschenkohl at xpirio.com (=?ISO-8859-1?Q?Christian_L=F6schenkohl?=) Date: Thu, 04 Mar 2010 22:43:31 +0100 Subject: [Freeswitch-users] how to see registration info for a particular user? In-Reply-To: <4B8FCDA5.6000700@apcl.us> References: <4B8FCDA5.6000700@apcl.us> Message-ID: <4B902983.9080207@xpirio.com> hi simply add the user id to the end of the command like "sofia status profile internal reg 123456" where 123456 is the id of the user you want to see br Paul Levin wrote: > I am familiar with the console command: > sofia status profile internal reg > to see the registration info for all currently registered users. > > Is there a modification to this command that will limit the result to > just one specific user registered user? > > Thanks, > Paul > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Ing. Christian L?schenkohl Technische Leitung, Forschung & Entwicklung VoIP xpirio Telekommunikation & Service GmbH Lakeside B04 9020 Klagenfurt Austria T +43 (0) 5 77 11 - 1000 F +43 (0) 5 77 11 - 1002 E christian.loeschenkohl at xpirio.com From jerry.richards at teotech.com Thu Mar 4 14:14:30 2010 From: jerry.richards at teotech.com (Jerry Richards) Date: Thu, 4 Mar 2010 14:14:30 -0800 Subject: [Freeswitch-users] Dialing ** Message-ID: By the way, it appears that the "**" ringing call pickup feature is intermittent. Sometimes it works, sometimes not. I posted two traces of the following scenario: 1) 1059 calls 5381 2) 5381 rings 3) 5402 dials "**5381" In the bad case (http://pastebin.freeswitch.org/12325), all calls disconnect following above scenario. In the good case (http://pastebin.freeswitch.org/12326), 5402 connects to 1059. Best Regards, Jerry -----Original Message----- From: Jerry Richards [mailto:jerry.richards at teotech.com] Sent: Thursday, March 04, 2010 12:20 PM To: 'freeswitch-users at lists.freeswitch.org' Subject: Dialing ** I used to be able to dial "**" to pickup a ringing call (v. 1.0.5pre9) from a different extension. Since I upgraded to 1.0.5-20100223, this no longer works the same. Is this feature still available under some other star-code? Best Regards, Jerry From jaybinks at gmail.com Thu Mar 4 14:25:57 2010 From: jaybinks at gmail.com (jay binks) Date: Fri, 5 Mar 2010 08:25:57 +1000 Subject: [Freeswitch-users] Freeswitch & SNMP ( again , but with a difference ) In-Reply-To: <65d96fc81003041244t363450f2p8bf853c788d2295d@mail.gmail.com> References: <65d96fc81003041244t363450f2p8bf853c788d2295d@mail.gmail.com> Message-ID: HUH, well there you go.. exactly what I was after... someone has done exactly what I was thinking. I know you've sent it to me by email, but lets get this in the wiki. Ill put this up from your email, but if you have more id encourage you to share what youve done. Jay On Fri, Mar 5, 2010 at 6:44 AM, Tihomir Culjaga wrote: > > > On Thu, Mar 4, 2010 at 9:38 AM, jay binks wrote: > >> has anyone done any work on getting SNMP monitoring of freeswitch ?? >> >> from looking at some other emails about this, it seems that there is not a >> heap of desire ( from developers point of view ) >> to have a FS SNMP module. Ive also noticed most requests for this type >> of monitoring are directed to ESL. >> > > because there is no need :) > > >> >> so my thought, has anyone done any work on building a script / module for >> NET-SNMP ( http://net-snmp.sourceforge.net/ ) >> that uses ESL to fetch its data. >> >> > what i'm doing is just make a script to call fs_cli -x command > > e.g. > > tculjaga at nemesis:~$ /usr/local/freeswitch/bin/fs_cli -x "status" > UP 0 years, 0 days, 0 hours, 0 minutes, 8 seconds, 470 milliseconds, 62 > microseconds > 0 session(s) since startup > 0 session(s) 0/30 > 1000 session(s) max > > > and bind it to an OID... > > > I'm even firing SIPP with to check end-to-end FS sanity. > > > >> so we would run snmpd on our FS boxes, with the FS-ESL module ( or script >> ) loaded into snmpd. >> from there SNMP requests would be handled by snmpd and the data would then >> be pulled over ESL directly from freeswitch. >> >> this seems like a decent solution that would not risk stability of FS by >> introducing yet another module. >> >> so I guess my question here is, has anyone done something like this ? >> > > yes... > > > > > >> what do you all think of this idea ? >> is there anyone who would like to contribute to this idea or offer other >> suggestions. >> >> > it is just a script ... quite easy to setup... > > prepare your script: > > [tculjaga@ bin]$ cat activeChannels.sh > #!/bin/sh > > CHANNELS=`/usr/local/freeswitch/bin/fs_cli -x "show channels count" > |/bin/grep total | /bin/awk {'print $1'}` > /bin/echo $CHANNELS > exit $CHANNELS > [tculjaga at l01sipindir2 bin]$ > [tculjaga at l01sipindir2 bin]$ > [tculjaga at l01sipindir2 bin]$ cat currentCallsPerSec.sh > #!/bin/sh > > > > in snmpd.conf add this: > > exec activeChannels /usr/local/bin/activeChannels.sh > exec checkCallFlowCPS /usr/local/bin/sipgen/sipgen.sh 1234 1 10 > > > > >> oh yea, and why SNMP.. I duno... >> SNMP is just so easy to integrate into other monitoring systems. >> >> > because every NMS uses it .. maybe thats why :) > > >> >> > >> -- >> Sincerely >> >> Jay >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > -- Sincerely Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/16b81578/attachment-0001.html From m.sobkow at marketelsystems.com Thu Mar 4 14:35:32 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Thu, 04 Mar 2010 16:35:32 -0600 Subject: [Freeswitch-users] Call keeps hanging up In-Reply-To: <20100304184755.GK1751@hijacked.us> References: <4B8FFDA7.50708@marketelsystems.com> <20100304184755.GK1751@hijacked.us> Message-ID: <4B9035B4.6030901@marketelsystems.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/35bb3226/attachment.html From msc at freeswitch.org Thu Mar 4 14:58:36 2010 From: msc at freeswitch.org (Michael Collins) Date: Thu, 4 Mar 2010 14:58:36 -0800 Subject: [Freeswitch-users] Dialing ** In-Reply-To: References: Message-ID: <87f2f3b91003041458p3f5463cav844283daa6ab02db@mail.gmail.com> On Thu, Mar 4, 2010 at 2:14 PM, Jerry Richards wrote: > > By the way, it appears that the "**" ringing call pickup feature > is intermittent. Sometimes it works, sometimes not. I posted two traces > of > the following scenario: > > 1) 1059 calls 5381 > 2) 5381 rings > 3) 5402 dials "**5381" > > In the bad case (http://pastebin.freeswitch.org/12325), all calls > disconnect > following above scenario. In the good case > (http://pastebin.freeswitch.org/12326), 5402 connects to 1059. > > Best Regards, > Jerry > I'd suggest turning off the sofia debug stuff cuz that's just line noise unless you know all that stuff. You need to compare the two traces and look for differences. I'd start by looking at only the fs console output of each call and see if there's anything different between the two. See if there's a point where they diverge and work your way back from there. Look at the corresponding SIP dialogs and see if there are any clues as well. You may also want to capture the SIP traffic with tcpdump and analyze it in Wireshark which is easier on the eyes than having it buried in with the sofia and console logs. FWIW, I just updated to latest and I can't make this feature *NOT* work. I'm on 32-bit CentOS using Polycom 550 and Snom 320 phones. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/c9885595/attachment.html From gorand at donevtechconsulting.com Thu Mar 4 14:59:37 2010 From: gorand at donevtechconsulting.com (Goran Donev) Date: Thu, 4 Mar 2010 16:59:37 -0600 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: References: Message-ID: <0ca201cabbee$5ee077a0$1ca166e0$@com> Howdy Freeswitch community; I was wondering if the developers are any closer to the release of 1.05 version. Please don't point me to an e-mail link :) Just inquiring as to whether there is a firm close date of 1.05. Thanks. Goran From msc at freeswitch.org Thu Mar 4 15:00:12 2010 From: msc at freeswitch.org (Michael Collins) Date: Thu, 4 Mar 2010 15:00:12 -0800 Subject: [Freeswitch-users] Call keeps hanging up In-Reply-To: <4B9035B4.6030901@marketelsystems.com> References: <4B8FFDA7.50708@marketelsystems.com> <20100304184755.GK1751@hijacked.us> <4B9035B4.6030901@marketelsystems.com> Message-ID: <87f2f3b91003041500p18f4b523mbf545c30a0612813@mail.gmail.com> On Thu, Mar 4, 2010 at 2:35 PM, Mark Sobkow wrote: > Andrew Thompson wrote: > > On Thu, Mar 04, 2010 at 12:36:23PM -0600, Mark Sobkow wrote: > > > I'm having some difficulty with Freeswitch/Erlang processing. An > operator dials in and registers by entering a PIN code, which triggers > an Erlang event handler callback and puts the call into park. This works. > > A customer calls in, which triggers another Erlang event handler > callback and puts the call into park. That works, too. > > Another thread of Erlang checks the operator and customer queues, and > uses uuid_bridge to join the two calls together. That also works. > > What _doesn't_ work is that when the customer hangs up, I want the > operator A leg to go back into a park state, and it's hanging up > instead. One suspicion I have is that because there is no dialplan > associated with the call (it's controlled by Erlang), there is no > dialplan to "continue" by setting hangup_after_bridge=false. Either > that or maybe I need to set the variables on the new UUID returned by > the uuid_bridge command (though I thought that UUID was just the UUID > assigned to the command, not a new call identifier.) > > BTW, "pbx" is just an OTP rewrite of pieces of the standard > "freeswitch.erl" code. > > > pbx:api( uuid_setvar, Operator#pbx_operator_registry.operator_uuid > ++ " hangup_after_bridge false" ), > pbx:api( uuid_setvar, Operator#pbx_operator_registry.operator_uuid > ++ " park_after_bridge true" ), > > > > Try using park_after_bridge and catch the park event or > transfer_after_bridge and set the dialplan location to transfer the call > to. > > Andrew > > > > What a relief. "transfer_after_bridge" worked! Plus it provided an > obvious way for me to collect the call result code, fire it back to Erlang, > and leave the operator waiting for the next incoming call. :) > > "Another satisfied customer!" :D Now it's time to throw some of that Canadian colored money at Tony's paypal account. ;) BTW, what kind of solution are you developing? -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/5aed1cc3/attachment.html From freeswitch at cartissolutions.com Thu Mar 4 15:04:26 2010 From: freeswitch at cartissolutions.com (Yossi Neiman) Date: Thu, 04 Mar 2010 17:04:26 -0600 Subject: [Freeswitch-users] Call keeps hanging up In-Reply-To: <191c3a031003041112q7762f50bya40087db8a967397@mail.gmail.com> References: <4B8FFDA7.50708@marketelsystems.com> <20100304184755.GK1751@hijacked.us> <191c3a031003041112q7762f50bya40087db8a967397@mail.gmail.com> Message-ID: <4B903C7A.7030902@cartissolutions.com> On 03/04/2010 01:12 PM, Anthony Minessale wrote: > "Hello this is the United States Calling are we reaching... *click* > See!, he keeps hanging up, is there supposed to be someone there > besides your wife sir?" > > "And it's a man answering..." *ring ring... ring ring...* From anthony.minessale at gmail.com Thu Mar 4 15:06:19 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 4 Mar 2010 17:06:19 -0600 Subject: [Freeswitch-users] Dialing ** In-Reply-To: References: Message-ID: <191c3a031003041506r4bad1d75pd28839b3c334dea1@mail.gmail.com> 1) You are supposed to report bugs to jira http://jira.freeswitch.org 2) You are not using svn trunk so the line numbers don't match for debugging. 3) #2 is a prerequisite for #1 On Thu, Mar 4, 2010 at 4:14 PM, Jerry Richards wrote: > > By the way, it appears that the "**" ringing call pickup feature > is intermittent. Sometimes it works, sometimes not. I posted two traces > of > the following scenario: > > 1) 1059 calls 5381 > 2) 5381 rings > 3) 5402 dials "**5381" > > In the bad case (http://pastebin.freeswitch.org/12325), all calls > disconnect > following above scenario. In the good case > (http://pastebin.freeswitch.org/12326), 5402 connects to 1059. > > Best Regards, > Jerry > > > > > -----Original Message----- > From: Jerry Richards [mailto:jerry.richards at teotech.com] > Sent: Thursday, March 04, 2010 12:20 PM > To: 'freeswitch-users at lists.freeswitch.org' > Subject: Dialing ** > > I used to be able to dial "**" to pickup a ringing call (v. > 1.0.5pre9) from a different extension. Since I upgraded to 1.0.5-20100223, > this no longer works the same. > > Is this feature still available under some other star-code? > > Best Regards, > Jerry > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100304/bcaa7164/attachment.html From freeswitch at cartissolutions.com Thu Mar 4 15:07:34 2010 From: freeswitch at cartissolutions.com (Yossi Neiman) Date: Thu, 04 Mar 2010 17:07:34 -0600 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: <0ca201cabbee$5ee077a0$1ca166e0$@com> References: <0ca201cabbee$5ee077a0$1ca166e0$@com> Message-ID: <4B903D36.2040407@cartissolutions.com> On 03/04/2010 04:59 PM, Goran Donev wrote: > Howdy Freeswitch community; > > I was wondering if the developers are any closer to the release of 1.05 > version. Please don't point me to an e-mail link :) Just inquiring as to > whether there is a firm close date of 1.05. > > Thanks. > Goran > "We are delighted that your curiosity of our planet continues unabated. And we're like to assure you that the two nuclear-armed missiles are merely a courtesy detail..." Standard response: It's in the oven baking right now. The muffin man will take it out as soon as it's ready... Yossi Neiman Cartis Solutions, Inc. - http://www.cartissolutions.com From brian at freeswitch.org Thu Mar 4 15:07:58 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 4 Mar 2010 17:07:58 -0600 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: <0ca201cabbee$5ee077a0$1ca166e0$@com> References: <0ca201cabbee$5ee077a0$1ca166e0$@com> Message-ID: Its getting there. Please see jira... and keep an eye out the best thing anyone can do at this point is TEST TEST TEST TEST. ;) /b On Mar 4, 2010, at 4:59 PM, Goran Donev wrote: > Howdy Freeswitch community; > > I was wondering if the developers are any closer to the release of 1.05 > version. Please don't point me to an e-mail link :) Just inquiring as to > whether there is a firm close date of 1.05. > > Thanks. > Goran > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From anthony.minessale at gmail.com Thu Mar 4 15:09:24 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 4 Mar 2010 17:09:24 -0600 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: <0ca201cabbee$5ee077a0$1ca166e0$@com> References: <0ca201cabbee$5ee077a0$1ca166e0$@com> Message-ID: <191c3a031003041509q388996adq1810a4212752ef71@mail.gmail.com> No we have no deadline, we have spent countless hours preparing and we still have a small list of packaging concerns. Feel free to download the code from http://latest.freeswitch.org and rest assured it *is* 1.0.5 On Thu, Mar 4, 2010 at 4:59 PM, Goran Donev wrote: > Howdy Freeswitch community; > > I was wondering if the developers are any closer to the release of 1.05 > version. Please don't point me to an e-mail link :) Just inquiring as to > whether there is a firm close date of 1.05. > > Thanks. > Goran > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100304/d6ab406d/attachment.html From anthony.minessale at gmail.com Thu Mar 4 15:15:24 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 4 Mar 2010 17:15:24 -0600 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: <191c3a031003041509q388996adq1810a4212752ef71@mail.gmail.com> References: <0ca201cabbee$5ee077a0$1ca166e0$@com> <191c3a031003041509q388996adq1810a4212752ef71@mail.gmail.com> Message-ID: <191c3a031003041515g5f85e535ib27e0546ee483eda@mail.gmail.com> You know, that's the only question you have asked on this list. I went back and searched for your name. And you have asked it like 12 times and have been answered the same each time. What is the obsession with an arbitrary tag? On Thu, Mar 4, 2010 at 5:09 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > No we have no deadline, we have spent countless hours preparing and we > still have a small list of packaging concerns. Feel free to download the > code from http://latest.freeswitch.org and rest assured it *is* 1.0.5 > > On Thu, Mar 4, 2010 at 4:59 PM, Goran Donev < > gorand at donevtechconsulting.com> wrote: > >> Howdy Freeswitch community; >> >> I was wondering if the developers are any closer to the release of 1.05 >> version. Please don't point me to an e-mail link :) Just inquiring as to >> whether there is a firm close date of 1.05. >> >> Thanks. >> Goran >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > -- 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 iax:guest at conference.freeswitch.org/888 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/20100304/ec541f67/attachment.html From freeswitch at cartissolutions.com Thu Mar 4 15:30:23 2010 From: freeswitch at cartissolutions.com (Yossi Neiman) Date: Thu, 04 Mar 2010 17:30:23 -0600 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: <191c3a031003041515g5f85e535ib27e0546ee483eda@mail.gmail.com> References: <0ca201cabbee$5ee077a0$1ca166e0$@com> <191c3a031003041509q388996adq1810a4212752ef71@mail.gmail.com> <191c3a031003041515g5f85e535ib27e0546ee483eda@mail.gmail.com> Message-ID: <4B90428F.1000408@cartissolutions.com> On 03/04/2010 05:15 PM, Anthony Minessale wrote: > You know, that's the only question you have asked on this list. > > I went back and searched for your name. > > And you have asked it like 12 times and have been answered the same > each time. > > What is the obsession with an arbitrary tag? Maybe we should name the 1.0.5 official release as the "Donev Release"... > > On Thu, Mar 4, 2010 at 5:09 PM, Anthony Minessale > > wrote: > > No we have no deadline, we have spent countless hours preparing > and we still have a small list of packaging concerns. Feel free > to download the code from http://latest.freeswitch.org and rest > assured it *is* 1.0.5 > > On Thu, Mar 4, 2010 at 4:59 PM, Goran Donev > > wrote: > > Howdy Freeswitch community; > > I was wondering if the developers are any closer to the > release of 1.05 > version. Please don't point me to an e-mail link :) Just > inquiring as to > whether there is a firm close date of 1.05. > > Thanks. > Goran > > Yossi Neiman Cartis Solutions, Inc. - http://www.cartissolutions.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/f5022c4b/attachment.html From andrew at hijacked.us Thu Mar 4 15:40:50 2010 From: andrew at hijacked.us (Andrew Thompson) Date: Thu, 4 Mar 2010 18:40:50 -0500 Subject: [Freeswitch-users] Call keeps hanging up In-Reply-To: <87f2f3b91003041500p18f4b523mbf545c30a0612813@mail.gmail.com> References: <4B8FFDA7.50708@marketelsystems.com> <20100304184755.GK1751@hijacked.us> <4B9035B4.6030901@marketelsystems.com> <87f2f3b91003041500p18f4b523mbf545c30a0612813@mail.gmail.com> Message-ID: <20100304234050.GL1751@hijacked.us> On Thu, Mar 04, 2010 at 03:00:12PM -0800, Michael Collins wrote: > > "Another satisfied customer!" :D Now it's time to throw some of that > Canadian colored money at Tony's paypal account. ;) Hey! I wrote the erlang module and provided the solution to the problem ;) Andrew From gorand at donevtechconsulting.com Thu Mar 4 15:41:17 2010 From: gorand at donevtechconsulting.com (Goran Donev) Date: Thu, 4 Mar 2010 17:41:17 -0600 Subject: [Freeswitch-users] FreeSWITCH-users Digest, Vol 45, Issue 47 In-Reply-To: References: Message-ID: <0cd601cabbf4$30f000d0$92d00270$@com> It has been baking for a while. What's the timer on the oven say, how much more till it's done. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of freeswitch-users-request at lists.freeswitch.org Sent: Thursday, March 04, 2010 5:08 PM To: freeswitch-users at lists.freeswitch.org Subject: FreeSWITCH-users Digest, Vol 45, Issue 47 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..." From brian at freeswitch.org Thu Mar 4 15:41:21 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 4 Mar 2010 17:41:21 -0600 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: <4B90428F.1000408@cartissolutions.com> References: <0ca201cabbee$5ee077a0$1ca166e0$@com> <191c3a031003041509q388996adq1810a4212752ef71@mail.gmail.com> <191c3a031003041515g5f85e535ib27e0546ee483eda@mail.gmail.com> <4B90428F.1000408@cartissolutions.com> Message-ID: <12464591-4662-494A-AC23-ED322F8F6B94@freeswitch.org> HAHAHA NO! :P /b On Mar 4, 2010, at 5:30 PM, Yossi Neiman wrote: > Maybe we should name the 1.0.5 official release as the "Donev Release"... From jaybinks at gmail.com Thu Mar 4 15:42:25 2010 From: jaybinks at gmail.com (jay binks) Date: Fri, 5 Mar 2010 09:42:25 +1000 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: <4B903D36.2040407@cartissolutions.com> References: <0ca201cabbee$5ee077a0$1ca166e0$@com> <4B903D36.2040407@cartissolutions.com> Message-ID: who is the muffin man !?? yuuummm muffins... I Want some... fresh yummy muffins... is BKW the muffin man ? J > Standard response: It's in the oven baking right now. The muffin man > will take it out as soon as it's ready... > > > Yossi Neiman > Cartis Solutions, Inc. - http://www.cartissolutions.com > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100305/dade6176/attachment.html From msc at freeswitch.org Thu Mar 4 15:53:45 2010 From: msc at freeswitch.org (Michael Collins) Date: Thu, 4 Mar 2010 15:53:45 -0800 Subject: [Freeswitch-users] FreeSWITCH-users Digest, Vol 45, Issue 47 In-Reply-To: <0cd601cabbf4$30f000d0$92d00270$@com> References: <0cd601cabbf4$30f000d0$92d00270$@com> Message-ID: <87f2f3b91003041553o1309f27dtf81573e6613775f2@mail.gmail.com> On Thu, Mar 4, 2010 at 3:41 PM, Goran Donev wrote: > It has been baking for a while. What's the timer on the oven say, how much > more till it's done. > > The answer is.... "It depends." For many of us, current SVN is already baked and ready for action. I've been using SVN on several machines for the past month and all has been well. For me, SVN has been "1.0.5" for at least four weeks. The stuff that they're working on is really oddball bugs from goofy use cases and dealing with bugs from phone manufacturers... -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/9d08154c/attachment.html From msc at freeswitch.org Thu Mar 4 15:54:23 2010 From: msc at freeswitch.org (Michael Collins) Date: Thu, 4 Mar 2010 15:54:23 -0800 Subject: [Freeswitch-users] Call keeps hanging up In-Reply-To: <20100304234050.GL1751@hijacked.us> References: <4B8FFDA7.50708@marketelsystems.com> <20100304184755.GK1751@hijacked.us> <4B9035B4.6030901@marketelsystems.com> <87f2f3b91003041500p18f4b523mbf545c30a0612813@mail.gmail.com> <20100304234050.GL1751@hijacked.us> Message-ID: <87f2f3b91003041554y1c7fbe51h956b525ab6dcee67@mail.gmail.com> On Thu, Mar 4, 2010 at 3:40 PM, Andrew Thompson wrote: > On Thu, Mar 04, 2010 at 03:00:12PM -0800, Michael Collins wrote: > > > > "Another satisfied customer!" :D Now it's time to throw some of that > > Canadian colored money at Tony's paypal account. ;) > > Hey! I wrote the erlang module and provided the solution to the problem > ;) > ok ok. what's your paypal account? We'll give you some love too. :) -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/f0d598be/attachment.html From brian at freeswitch.org Thu Mar 4 15:54:37 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 4 Mar 2010 17:54:37 -0600 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: References: <0ca201cabbee$5ee077a0$1ca166e0$@com> <4B903D36.2040407@cartissolutions.com> Message-ID: Yes, I know the muffin man. W-who lives on Drewery Lane? /b On Mar 4, 2010, at 5:42 PM, jay binks wrote: > who is the muffin man !?? > > yuuummm muffins... I Want some... > fresh yummy muffins... > > is BKW the muffin man ? > > J > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/eafcdeb8/attachment.html From jaybinks at gmail.com Thu Mar 4 15:54:29 2010 From: jaybinks at gmail.com (jay binks) Date: Fri, 5 Mar 2010 09:54:29 +1000 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: <4B90428F.1000408@cartissolutions.com> References: <0ca201cabbee$5ee077a0$1ca166e0$@com> <191c3a031003041509q388996adq1810a4212752ef71@mail.gmail.com> <191c3a031003041515g5f85e535ib27e0546ee483eda@mail.gmail.com> <4B90428F.1000408@cartissolutions.com> Message-ID: check this out ... http://forum.sipfoundry.org/index.php?t=tree&goto=12128&S=2bbcfa5f402ed857a96b53b6944cd7d2 I think Goran Donev is Mr "Are we there yet" :) J On Fri, Mar 5, 2010 at 9:30 AM, Yossi Neiman wrote: > > On 03/04/2010 05:15 PM, Anthony Minessale wrote: > > You know, that's the only question you have asked on this list. > > I went back and searched for your name. > > And you have asked it like 12 times and have been answered the same each > time. > > What is the obsession with an arbitrary tag? > > > Maybe we should name the 1.0.5 official release as the "Donev Release"... > > > > > On Thu, Mar 4, 2010 at 5:09 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> No we have no deadline, we have spent countless hours preparing and we >> still have a small list of packaging concerns. Feel free to download the >> code from http://latest.freeswitch.org and rest assured it *is* 1.0.5 >> >> On Thu, Mar 4, 2010 at 4:59 PM, Goran Donev < >> gorand at donevtechconsulting.com> wrote: >> >>> Howdy Freeswitch community; >>> >>> I was wondering if the developers are any closer to the release of 1.05 >>> version. Please don't point me to an e-mail link :) Just inquiring as to >>> whether there is a firm close date of 1.05. >>> >>> Thanks. >>> Goran >>> >>> > > > Yossi Neiman > Cartis Solutions, Inc. - http://www.cartissolutions.com > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100305/492a4027/attachment.html From mayamatakeshi at gmail.com Thu Mar 4 15:55:35 2010 From: mayamatakeshi at gmail.com (mayamatakeshi) Date: Fri, 5 Mar 2010 08:55:35 +0900 Subject: [Freeswitch-users] How to play back a .wav file from Erlang? In-Reply-To: <4B8FEC3F.5060102@marketelsystems.com> References: <4B8FEC3F.5060102@marketelsystems.com> Message-ID: <15b9404e1003041555u12978339tdc35eb6d554fe341@mail.gmail.com> On Fri, Mar 5, 2010 at 2:22 AM, Mark Sobkow wrote: > I have the UUID of a parked call. I've waited n seconds for an operator > to answer that call, but none are available so I want to play a message > to the customer. How do I do that from Erlang? I've tried the > following, but it doesn't seem to actually play the file, and I'm not > getting any useful information in fs_cli about the playback attempt that > would indicate why it's not working. > > bgapi( eval, "uuid:1f6d7a61-fd1a-4efd-bf84-31c4eea652c2 playback > /opt/freeswitch/sounds/en/us/callie/misc/8000/sorry.wav" ) > Command playback is used in the dialplan. For parked calls you must use uuid_broadcast: http://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/c40367f8/attachment.html From brian at microcomaustralia.com.au Thu Mar 4 16:00:30 2010 From: brian at microcomaustralia.com.au (Brian May) Date: Fri, 5 Mar 2010 11:00:30 +1100 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: <4B903D36.2040407@cartissolutions.com> References: <0ca201cabbee$5ee077a0$1ca166e0$@com> <4B903D36.2040407@cartissolutions.com> Message-ID: <3c5cf5261003041600p23bd71betd23802e28854787e@mail.gmail.com> On 5 March 2010 10:07, Yossi Neiman wrote: > Standard response: ?It's in the oven baking right now. ?The muffin man > will take it out as soon as it's ready... Please ensure it is taken out of the oven in time and doesn't burn or get overcooked. -- Brian May From jerry.richards at teotech.com Thu Mar 4 16:01:30 2010 From: jerry.richards at teotech.com (Jerry Richards) Date: Thu, 4 Mar 2010 16:01:30 -0800 Subject: [Freeswitch-users] Dialing ** In-Reply-To: <87f2f3b91003041458p3f5463cav844283daa6ab02db@mail.gmail.com> References: <87f2f3b91003041458p3f5463cav844283daa6ab02db@mail.gmail.com> Message-ID: <79FDBF1AB958496AAFB277D5614EFD4B@greyhawk.tonecommander.com> What I see in the log where they first differ is just after FS sends the CANCEL to the original ringing phone. FS logs a cause: PICKED_OFF when it didn't work. Do you know what PICKED_OFF means? In the good case, FS logs: tport_pend(0x88348e8): pending 0x8942cc0 for udp/192.168.72.141:5060 (already 1) 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:53 sofia/internal/sip:5381 at 192.168.72.58:5060 Standard REPORTING, cause: ORIGINATOR_CANCEL 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING going to sleep 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:327 (sofia/internal/sip:5381 at 192.168.72.58:5060) State Change CS_REPORTING -> CS_DESTROY 2010-03-04 12:13:04.772196 [DEBUG] switch_core_session.c:1019 Send signal sofia/internal/sip:5381 at 192.168.72.58:5060 [BREAK] 2010-03-04 12:13:04.772196 [DEBUG] switch_core_session.c:1161 Session 177 (sofia/internal/sip:5381 at 192.168.72.58:5060) Locked, Waiting on external entities In the bad case, FS logs: tport_pend(0x88348e8): pending 0xb6dd6468 for udp/192.168.72.141:5060 (already 1) 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:333 (sofia/internal/sip:5381 at 192.168.72.58:5060) State Change CS_HANGUP -> CS_REPORTING 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1019 Send signal sofia/internal/sip:5381 at 192.168.72.58:5060 [BREAK] 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/sip:5381 at 192.168.72.58:5060) Running State Change CS_REPORTING 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:53 sofia/internal/sip:5381 at 192.168.72.58:5060 Standard REPORTING, cause: PICKED_OFF 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING going to sleep 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:327 (sofia/internal/sip:5381 at 192.168.72.58:5060) State Change CS_REPORTING -> CS_DESTROY 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1019 Send signal sofia/internal/sip:5381 at 192.168.72.58:5060 [BREAK] 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1161 Session 199 (sofia/internal/sip:5381 at 192.168.72.58:5060) Locked, Waiting on external entities 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1019 Send signal sofia/internal/1059 at 192.168.72.141:5060 [BREAK] 2010-03-04 12:33:45.001563 [NOTICE] switch_ivr_bridge.c:740 Hangup sofia/internal/5402 at 192.168.72.141:5060 [CS_SOFT_EXECUTE] [ORIGINATOR_CANCEL] Best Regards, Jerry _____ From: Michael Collins [mailto:msc at freeswitch.org] Sent: Thursday, March 04, 2010 2:59 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Dialing ** On Thu, Mar 4, 2010 at 2:14 PM, Jerry Richards wrote: By the way, it appears that the "**" ringing call pickup feature is intermittent. Sometimes it works, sometimes not. I posted two traces of the following scenario: 1) 1059 calls 5381 2) 5381 rings 3) 5402 dials "**5381" In the bad case (http://pastebin.freeswitch.org/12325), all calls disconnect following above scenario. In the good case (http://pastebin.freeswitch.org/12326), 5402 connects to 1059. Best Regards, Jerry I'd suggest turning off the sofia debug stuff cuz that's just line noise unless you know all that stuff. You need to compare the two traces and look for differences. I'd start by looking at only the fs console output of each call and see if there's anything different between the two. See if there's a point where they diverge and work your way back from there. Look at the corresponding SIP dialogs and see if there are any clues as well. You may also want to capture the SIP traffic with tcpdump and analyze it in Wireshark which is easier on the eyes than having it buried in with the sofia and console logs. FWIW, I just updated to latest and I can't make this feature *NOT* work. I'm on 32-bit CentOS using Polycom 550 and Snom 320 phones. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/ad8e9666/attachment-0001.html From anthony.minessale at gmail.com Thu Mar 4 16:14:18 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 4 Mar 2010 18:14:18 -0600 Subject: [Freeswitch-users] Dialing ** In-Reply-To: <79FDBF1AB958496AAFB277D5614EFD4B@greyhawk.tonecommander.com> References: <87f2f3b91003041458p3f5463cav844283daa6ab02db@mail.gmail.com> <79FDBF1AB958496AAFB277D5614EFD4B@greyhawk.tonecommander.com> Message-ID: <191c3a031003041614j458e6af6sf49df61fd5194cd0@mail.gmail.com> Did you totally ignore my instructions? Do you want help or not? On Thu, Mar 4, 2010 at 6:01 PM, Jerry Richards wrote: > What I see in the log where they first differ is just after FS sends the > CANCEL to the original ringing phone. FS logs a cause: PICKED_OFF when it > didn't work. Do you know what PICKED_OFF means? > > In the good case, FS logs: > > tport_pend(0x88348e8): pending 0x8942cc0 for udp/192.168.72.141:5060(already 1) > 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:585 > (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING > 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:53 > sofia/internal/sip:5381 at 192.168.72.58:5060 Standard REPORTING, cause: > ORIGINATOR_CANCEL > 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:585 > (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING going to > sleep > 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:327 > (sofia/internal/sip:5381 at 192.168.72.58:5060) State Change CS_REPORTING -> > CS_DESTROY > 2010-03-04 12:13:04.772196 [DEBUG] switch_core_session.c:1019 Send signal > sofia/internal/sip:5381 at 192.168.72.58:5060 [BREAK] > 2010-03-04 12:13:04.772196 [DEBUG] switch_core_session.c:1161 Session 177 > (sofia/internal/sip:5381 at 192.168.72.58:5060) Locked, Waiting on external > entities > In the bad case, FS logs: > > tport_pend(0x88348e8): pending 0xb6dd6468 for udp/192.168.72.141:5060(already 1) > 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:333 > (sofia/internal/sip:5381 at 192.168.72.58:5060) State Change CS_HANGUP -> > CS_REPORTING > 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1019 Send signal > sofia/internal/sip:5381 at 192.168.72.58:5060 [BREAK] > 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:314 > (sofia/internal/sip:5381 at 192.168.72.58:5060) Running State Change > CS_REPORTING > 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:585 > (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING > 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:53 > sofia/internal/sip:5381 at 192.168.72.58:5060 Standard REPORTING, cause: > PICKED_OFF > 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:585 > (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING going to > sleep > 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:327 > (sofia/internal/sip:5381 at 192.168.72.58:5060) State Change CS_REPORTING -> > CS_DESTROY > 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1019 Send signal > sofia/internal/sip:5381 at 192.168.72.58:5060 [BREAK] > 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1161 Session 199 > (sofia/internal/sip:5381 at 192.168.72.58:5060) Locked, Waiting on external > entities > 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1019 Send signal > sofia/internal/1059 at 192.168.72.141:5060 [BREAK] > 2010-03-04 12:33:45.001563 [NOTICE] switch_ivr_bridge.c:740 Hangup > sofia/internal/5402 at 192.168.72.141:5060 [CS_SOFT_EXECUTE] > [ORIGINATOR_CANCEL] > Best Regards, > Jerry > > ------------------------------ > *From:* Michael Collins [mailto:msc at freeswitch.org] > *Sent:* Thursday, March 04, 2010 2:59 PM > > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* Re: [Freeswitch-users] Dialing ** > > > > On Thu, Mar 4, 2010 at 2:14 PM, Jerry Richards > wrote: > >> >> By the way, it appears that the "**" ringing call pickup >> feature >> is intermittent. Sometimes it works, sometimes not. I posted two traces >> of >> the following scenario: >> >> 1) 1059 calls 5381 >> 2) 5381 rings >> 3) 5402 dials "**5381" >> >> In the bad case (http://pastebin.freeswitch.org/12325), all calls >> disconnect >> following above scenario. In the good case >> (http://pastebin.freeswitch.org/12326), 5402 connects to 1059. >> >> Best Regards, >> Jerry >> > > I'd suggest turning off the sofia debug stuff cuz that's just line noise > unless you know all that stuff. You need to compare the two traces and look > for differences. I'd start by looking at only the fs console output of each > call and see if there's anything different between the two. See if there's a > point where they diverge and work your way back from there. Look at the > corresponding SIP dialogs and see if there are any clues as well. You may > also want to capture the SIP traffic with tcpdump and analyze it in > Wireshark which is easier on the eyes than having it buried in with the > sofia and console logs. > > FWIW, I just updated to latest and I can't make this feature *NOT* work. > I'm on 32-bit CentOS using Polycom 550 and Snom 320 phones. > > -MC > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100304/0178eb3d/attachment.html From brian at freeswitch.org Thu Mar 4 16:19:13 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 4 Mar 2010 18:19:13 -0600 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: <3c5cf5261003041600p23bd71betd23802e28854787e@mail.gmail.com> References: <0ca201cabbee$5ee077a0$1ca166e0$@com> <4B903D36.2040407@cartissolutions.com> <3c5cf5261003041600p23bd71betd23802e28854787e@mail.gmail.com> Message-ID: ?Find something you're passionate about and keep tremendously interested in it.? /b On Mar 4, 2010, at 6:00 PM, Brian May wrote: > Please ensure it is taken out of the oven in time and doesn't burn or > get overcooked. From paul at apcl.us Thu Mar 4 17:01:14 2010 From: paul at apcl.us (Paul Levin) Date: Thu, 04 Mar 2010 20:01:14 -0500 Subject: [Freeswitch-users] how to see registration info for a particular user? In-Reply-To: <4B902983.9080207@xpirio.com> References: <4B8FCDA5.6000700@apcl.us> <4B902983.9080207@xpirio.com> Message-ID: <4B9057DA.2010602@apcl.us> Thanks Christian. I thought I had tried that, but I guess I didn't. It works. Thanks! Paul On 3/4/2010 4:43 PM, Christian L?schenkohl wrote: > hi > > simply add the user id to the end of the command > like "sofia status profile internal reg 123456" > where 123456 is the id of the user you want to see > > br > > Paul Levin wrote: > > >> I am familiar with the console command: >> sofia status profile internal reg >> to see the registration info for all currently registered users. >> >> Is there a modification to this command that will limit the result to >> just one specific user registered user? >> >> Thanks, >> Paul >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 jcasale at activenetwerx.com Thu Mar 4 17:09:55 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Fri, 5 Mar 2010 01:09:55 +0000 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: References: <0ca201cabbee$5ee077a0$1ca166e0$@com> <191c3a031003041509q388996adq1810a4212752ef71@mail.gmail.com> <191c3a031003041515g5f85e535ib27e0546ee483eda@mail.gmail.com> <4B90428F.1000408@cartissolutions.com> Message-ID: >check this out ...? >http://forum.sipfoundry.org/index.php?t=tree&goto=12128&S=2bbcfa5f402ed857a96b53b6944cd7d2 > >I think?Goran Donev is Mr "Are we there yet" :) Lol, you guys are just fscking merciless:) Oh and btw, How 'bout now;) /me Ducks... From brian at freeswitch.org Thu Mar 4 17:14:24 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 4 Mar 2010 19:14:24 -0600 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: References: <0ca201cabbee$5ee077a0$1ca166e0$@com> <191c3a031003041509q388996adq1810a4212752ef71@mail.gmail.com> <191c3a031003041515g5f85e535ib27e0546ee483eda@mail.gmail.com> <4B90428F.1000408@cartissolutions.com> Message-ID: <9CA09109-0FA1-4F29-A1AB-1EAB0B152EED@freeswitch.org> How about NO. We aren't there yet... got new batteries? /b On Mar 4, 2010, at 7:09 PM, Joseph L. Casale wrote: > Oh and btw, How 'bout now;) From infos at madovsky.org Thu Mar 4 17:15:43 2010 From: infos at madovsky.org (Madovsky) Date: Thu, 4 Mar 2010 20:15:43 -0500 Subject: [Freeswitch-users] Release of 1.5 References: <0ca201cabbee$5ee077a0$1ca166e0$@com><191c3a031003041509q388996adq1810a4212752ef71@mail.gmail.com> <191c3a031003041515g5f85e535ib27e0546ee483eda@mail.gmail.com> <4B90428F.1000408@cartissolutions.com> Message-ID: Hey, this is my friend ! don't touch him !! or I upgrade your faces with angry dog !! :D ----- Original Message ----- From: jay binks To: freeswitch-users at lists.freeswitch.org Sent: Thursday, March 04, 2010 6:54 PM Subject: Re: [Freeswitch-users] Release of 1.5 check this out ... http://forum.sipfoundry.org/index.php?t=tree&goto=12128&S=2bbcfa5f402ed857a96b53b6944cd7d2 I think Goran Donev is Mr "Are we there yet" :) J On Fri, Mar 5, 2010 at 9:30 AM, Yossi Neiman wrote: On 03/04/2010 05:15 PM, Anthony Minessale wrote: You know, that's the only question you have asked on this list. I went back and searched for your name. And you have asked it like 12 times and have been answered the same each time. What is the obsession with an arbitrary tag? Maybe we should name the 1.0.5 official release as the "Donev Release"... On Thu, Mar 4, 2010 at 5:09 PM, Anthony Minessale wrote: No we have no deadline, we have spent countless hours preparing and we still have a small list of packaging concerns. Feel free to download the code from http://latest.freeswitch.org and rest assured it *is* 1.0.5 On Thu, Mar 4, 2010 at 4:59 PM, Goran Donev wrote: Howdy Freeswitch community; I was wondering if the developers are any closer to the release of 1.05 version. Please don't point me to an e-mail link :) Just inquiring as to whether there is a firm close date of 1.05. Thanks. Goran Yossi Neiman Cartis Solutions, Inc. - http://www.cartissolutions.com _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/b92831a0/attachment-0001.html From brian at freeswitch.org Thu Mar 4 17:22:46 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 4 Mar 2010 19:22:46 -0600 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: References: <0ca201cabbee$5ee077a0$1ca166e0$@com><191c3a031003041509q388996adq1810a4212752ef71@mail.gmail.com> <191c3a031003041515g5f85e535ib27e0546ee483eda@mail.gmail.com> <4B90428F.1000408@cartissolutions.com> Message-ID: <8782F8E0-F079-4BD4-9F7A-CBBA4B66026A@freeswitch.org> I raise our angry dog... and see you a dirty dog... /b On Mar 4, 2010, at 7:15 PM, Madovsky wrote: > Hey, this is my friend ! don't touch him !! > or I upgrade your faces with angry dog !! :D > ----- Original Message ----- > From: jay binks > To: freeswitch-users at lists.freeswitch.org > Sent: Thursday, March 04, 2010 6:54 PM > Subject: Re: [Freeswitch-users] Release of 1.5 > > check this out ... > http://forum.sipfoundry.org/index.php?t=tree&goto=12128&S=2bbcfa5f402ed857a96b53b6944cd7d2 > > I think Goran Donev is Mr "Are we there yet" :) > > J -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/c068b0ac/attachment.html From lfurrea at gmail.com Thu Mar 4 17:29:46 2010 From: lfurrea at gmail.com (Luis F Urrea) Date: Thu, 4 Mar 2010 19:29:46 -0600 Subject: [Freeswitch-users] event_socket outbound, trying to find out if a call gets put on hold by the phone Message-ID: Hi guys, I am fooling (for the moment) around with event socket outbound and basically I want to control a call that is made to a particular extension and find out if this extension puts the call on hold. At the moment I don't even know if the hold part is possible but I am having a hard time bridging the call to a user. Currently what I do is to direct the call made to user/301 to an outbound socket, then I answer the channel and park it. Then I originate a channel to user/301 and park it and then I try to use uuid_bridge to bridge both channels and it seems that both channels drop. Am I doing it correctly? I am sure there are better ways to do it and I wanted to get some input from you guys. Thx a lot -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/7e93433b/attachment.html From gorand at donevtechconsulting.com Thu Mar 4 17:34:55 2010 From: gorand at donevtechconsulting.com (Goran Donev) Date: Thu, 4 Mar 2010 19:34:55 -0600 Subject: [Freeswitch-users] FreeSWITCH-users Digest, Vol 45, Issue 48 In-Reply-To: References: Message-ID: <0d1e01cabc04$10896010$319c2030$@com> I am having problems with my production server and I can not mess with interim builds not knowing what else they can break. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of freeswitch-users-request at lists.freeswitch.org Sent: Thursday, March 04, 2010 5:42 PM To: freeswitch-users at lists.freeswitch.org Subject: FreeSWITCH-users Digest, Vol 45, Issue 48 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..." From Russell.Mosemann at cune.org Thu Mar 4 17:36:02 2010 From: Russell.Mosemann at cune.org (Russell Mosemann) Date: Thu, 4 Mar 2010 19:36:02 -0600 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: <8782F8E0-F079-4BD4-9F7A-CBBA4B66026A@freeswitch.org> References: <0ca201cabbee$5ee077a0$1ca166e0$@com><191c3a031003041509q388996adq1810a4212752ef71@mail.gmail.com><191c3a031003041515g5f85e535ib27e0546ee483eda@mail.gmail.com><4B90428F.1000408@cartissolutions.com> <8782F8E0-F079-4BD4-9F7A-CBBA4B66026A@freeswitch.org> Message-ID: Brian West wrote: > I raise our angry dog... and see you a dirty dog... OK, everyone just needs to kick back and enjoy a Mad Dog. :-) -- Russell Mosemann From brian at freeswitch.org Thu Mar 4 17:42:17 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 4 Mar 2010 19:42:17 -0600 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: References: <0ca201cabbee$5ee077a0$1ca166e0$@com><191c3a031003041509q388996adq1810a4212752ef71@mail.gmail.com><191c3a031003041515g5f85e535ib27e0546ee483eda@mail.gmail.com><4B90428F.1000408@cartissolutions.com> <8782F8E0-F079-4BD4-9F7A-CBBA4B66026A@freeswitch.org> Message-ID: <33E87EE7-5179-4C0D-8B00-AFCC0209898F@freeswitch.org> I think you mean redbull. /b On Mar 4, 2010, at 7:36 PM, Russell Mosemann wrote: > OK, everyone just needs to kick back and enjoy a Mad Dog. :-) From rupa at rupa.com Thu Mar 4 17:43:13 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Thu, 4 Mar 2010 19:43:13 -0600 Subject: [Freeswitch-users] FreeSWITCH-users Digest, Vol 45, Issue 48 In-Reply-To: <0d1e01cabc04$10896010$319c2030$@com> References: <0d1e01cabc04$10896010$319c2030$@com> Message-ID: On Thu, Mar 4, 2010 at 7:34 PM, Goran Donev wrote: > I am having problems with my production server and I can not mess with > interim builds not knowing what else they can break. > If you are going to participate in the mailing list, please switch to non-digest mode. Current trunk is more stable than whatever old version you are currently running.... Try it out in a lab machine and after verifying go for it. No need to wait for 1.0.5. -- -Rupa -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/3b2a8aec/attachment.html From infos at madovsky.org Thu Mar 4 19:55:22 2010 From: infos at madovsky.org (Madovsky) Date: Thu, 4 Mar 2010 22:55:22 -0500 Subject: [Freeswitch-users] freeswitch and postgresql as db core Message-ID: <2C03B3DA35D3431F89B79B2F633EDBF9@MOBILEE1705> Is there any example of how to use pgsql as db core on wiki ? I tried to adapt this example http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core for pgsql but no success. I'm trying to connect to it fhru openvpn. tcpdump -i tap1 on the destination server doesn't show any packet exchange. I set odbc.ini as this : [freeswitch-pgsql] Driver = /usr/lib64/psqlodbc.so SERVER = 10.0.0.1 PORT = 5432 DATABASE = freeswitch and set all xml conf where odbc-dsn is as this : didn't find anything interesting on google Thanks Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/4b4b3cd2/attachment.html From infos at madovsky.org Thu Mar 4 19:59:03 2010 From: infos at madovsky.org (Madovsky) Date: Thu, 4 Mar 2010 22:59:03 -0500 Subject: [Freeswitch-users] freeswitch and postgresql as db core Message-ID: <50B10EA17E63478E9ECC55AB1FC55D71@MOBILEE1705> forgot debug : 2010-03-04 22:42:33.174950 [ERR] switch_odbc.c:313 STATE: 08001 CODE 101 ERROR: [unixODBC]Could not connect to the server; Could not connect to remote socket immedaitely 2010-03-04 22:42:33.174967 [CRIT] mod_nibblebill.c:210 Cannot connect to ODBC driver/database freeswitch-pgsql (user: login / pass pwd)! thx F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Thursday, March 04, 2010 10:55 PM Subject: freeswitch and postgresql as db core Is there any example of how to use pgsql as db core on wiki ? I tried to adapt this example http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core for pgsql but no success. I'm trying to connect to it fhru openvpn. tcpdump -i tap1 on the destination server doesn't show any packet exchange. I set odbc.ini as this : [freeswitch-pgsql] Driver = /usr/lib64/psqlodbc.so SERVER = 10.0.0.1 PORT = 5432 DATABASE = freeswitch and set all xml conf where odbc-dsn is as this : didn't find anything interesting on google Thanks Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/80e4b693/attachment-0001.html From lakindia89 at gmail.com Thu Mar 4 20:06:16 2010 From: lakindia89 at gmail.com (lakshmanan ganapathy) Date: Fri, 5 Mar 2010 09:36:16 +0530 Subject: [Freeswitch-users] event_socket outbound, trying to find out if a call gets put on hold by the phone In-Reply-To: References: Message-ID: <7d79b3931003042006v1720f8a8g7a0eb0b3728e1dc2@mail.gmail.com> Can you please pastebin the dialplan! as well as the error! On Fri, Mar 5, 2010 at 6:59 AM, Luis F Urrea wrote: > Hi guys, > > I am fooling (for the moment) around with event socket outbound and > basically I want to control a call that is made to a particular extension > and find out if this extension puts the call on hold. At the moment I don't > even know if the hold part is possible but I am having a hard time bridging > the call to a user. > > Currently what I do is to direct the call made to user/301 to an outbound > socket, then I answer the channel and park it. Then I originate a channel to > user/301 and park it and then I try to use uuid_bridge to bridge both > channels and it seems that both channels drop. > > Am I doing it correctly? > > I am sure there are better ways to do it and I wanted to get some input > from you guys. > > Thx a lot > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/96586c10/attachment.html From lakindia89 at gmail.com Thu Mar 4 20:11:18 2010 From: lakindia89 at gmail.com (lakshmanan ganapathy) Date: Fri, 5 Mar 2010 09:41:18 +0530 Subject: [Freeswitch-users] smg_prid not bridging the call In-Reply-To: <6d15d07f1002270033n71d8ac85u1895b05f75540e63@mail.gmail.com> References: <6d15d07f1002270033n71d8ac85u1895b05f75540e63@mail.gmail.com> Message-ID: <7d79b3931003042011v154fd1d4g136f4b4e2f6800a@mail.gmail.com> Ok. This is to say how the problem got solved. Need openzap 1047 or above version. Need wanpipe-3.5.8.6.smg_pri-v1.63.tgz My telco is not accepting the display IE. Finally setting disable_display_ie=yes in smg_pri.conf solved the issue. Thanks for all. On Sat, Feb 27, 2010 at 2:03 PM, Tomasz Augustyn wrote: > Hello, > > I had similar problem and I think it is more a problem between Sangoma card > and your E1 provider than with freeswitch. > > In my case it was necessary to set "origination_caller_id_number" to one > of the telephone numbers linked to my E1 line. In other case the calls were > rejected with "invalid information element" error. > > You can try Sangoma's support they are very helpful. > > Tomasz Augustyn > > > ---------- Forwarded message ---------- > From: lakshmanan ganapathy > To: freeswitch-users at lists.freeswitch.org > Date: Sat, 27 Feb 2010 10:32:08 +0530 > Subject: Re: [Freeswitch-users] smg_prid not bridging the call > In the Dchan log it is saying Invalid Information Elements. That might be a > problem??? But I even don't know why it is saying Invalid Information > Element?? > Please guide me!!! > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/90a0efd1/attachment.html From infos at madovsky.org Thu Mar 4 21:00:20 2010 From: infos at madovsky.org (Madovsky) Date: Fri, 5 Mar 2010 00:00:20 -0500 Subject: [Freeswitch-users] freeswitch and postgresql as db core [SOLVED] Message-ID: <489E6063C33B46119F9C7B4DE9E9FB50@MOBILEE1705> to make PostgreSQL 8.4.2 works with ODBC 2.2.12 (tested from fedora 10 update rpm and Postgresql source) odbcinst.ini [PostgreSQL] Description = ODBC for PostgreSQL Driver = /usr/lib64/psqlodbc.so Setup = /usr/lib64/libodbcpsqlS.so FileUsage = 1 odbc.ini [ODBC Data Sources] freeswitch-pgsql = ODBC for PostgreSQL [freeswitch-pgsql] Description = ODBC for PostgreSQL Driver = /usr/lib64/psqlodbc.so Servername = 10.0.0.1 UserName = login Password = pwd Port = 5432 Database = dbdb Thanks me ;D ----- Original Message ----- From: Madovsky To: Madovsky Sent: Thursday, March 04, 2010 10:58 PM Subject: Re: freeswitch and postgresql as db core forgot debug : 2010-03-04 22:42:33.174950 [ERR] switch_odbc.c:313 STATE: 08001 CODE 101 ERROR: [unixODBC]Could not connect to the server; Could not connect to remote socket immedaitely 2010-03-04 22:42:33.174967 [CRIT] mod_nibblebill.c:210 Cannot connect to ODBC driver/database freeswitch-pgsql (user: login / pass pwd)! thx F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Thursday, March 04, 2010 10:55 PM Subject: freeswitch and postgresql as db core Is there any example of how to use pgsql as db core on wiki ? I tried to adapt this example http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core for pgsql but no success. I'm trying to connect to it fhru openvpn. tcpdump -i tap1 on the destination server doesn't show any packet exchange. I set odbc.ini as this : [freeswitch-pgsql] Driver = /usr/lib64/psqlodbc.so SERVER = 10.0.0.1 PORT = 5432 DATABASE = freeswitch and set all xml conf where odbc-dsn is as this : didn't find anything interesting on google Thanks Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/f18b6b17/attachment.html From craig at overthewire.com.au Thu Mar 4 21:01:43 2010 From: craig at overthewire.com.au (Craig Askings) Date: Fri, 5 Mar 2010 15:01:43 +1000 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: <33E87EE7-5179-4C0D-8B00-AFCC0209898F@freeswitch.org> References: <0ca201cabbee$5ee077a0$1ca166e0$@com> <191c3a031003041509q388996adq1810a4212752ef71@mail.gmail.com> <191c3a031003041515g5f85e535ib27e0546ee483eda@mail.gmail.com> <4B90428F.1000408@cartissolutions.com> <8782F8E0-F079-4BD4-9F7A-CBBA4B66026A@freeswitch.org> <33E87EE7-5179-4C0D-8B00-AFCC0209898F@freeswitch.org> Message-ID: <8cc991dd1003042101h30508b9eg1d63fd9c2c33d608@mail.gmail.com> Bah, Jolt is the one true caffeinated beverage. Craig. On 5 March 2010 11:42, Brian West wrote: > I think you mean redbull. > > /b > > On Mar 4, 2010, at 7:36 PM, Russell Mosemann wrote: > > > OK, everyone just needs to kick back and enjoy a Mad Dog. :-) > > -- Craig Askings Network Engineer | Over the Wire Pty Ltd craig at overthewire.com.au | www.overthewire.com.au Phone: 07 3847 9292 | Fax: 07 3847 9696 | Mobile: 0404 019 365 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/c46cd0bc/attachment.html From nagalenoj at gmail.com Thu Mar 4 21:07:10 2010 From: nagalenoj at gmail.com (Nagalenoj H.) Date: Fri, 5 Mar 2010 10:37:10 +0530 Subject: [Freeswitch-users] recvEventTimed - SERVER_DISCONNECTED Message-ID: Dear friends, I've faced an issue in event socket. I would want to know why it behaves such a way. My program is working with the hep of events. So, based on the received event, the process will continue it's work. When I need DTMF, I use recvEventTimed and in the other cases, I use recvEvent. So, In the mid if caller hangsup, I expect for the SERVER_DISCONNECTED event. When the caller hangsup when I'm waiting in recvEvent, I'm getting SERVER_DISCONNECTED. But, when I'm waiting in recvEventTimed, I'mnot receiving SERVER_DISCONNECTED, instead receiving an undefined value. To handle this, I've checked esl connection inside the timeout part and put a recvEvent, then I receive SERVER_DISCONNECTED. My question is, why am I not receiving SERVER_DISCONNECTED when I recv event using recvEventTimed?! This is a sample program I execute, require ESL; use IO::Socket::INET; my $ip = "127.0.0.1"; my $sock = new IO::Socket::INET ( LocalHost => $ip, LocalPort => '9242', Proto => 'tcp', Listen => 1, Reuse => 1 ); die "Could not create socket: $!\n" unless $sock; for(;;) { my $new_sock = $sock->accept(); my $pid = fork(); if ($pid) { close($new_sock); next; } my $host = $new_sock->sockhost(); my $fd = fileno($new_sock); my $con = new ESL::ESLconnection($fd); my $info = $con->getInfo(); my $uuid = $info->getHeader("unique-id"); printf "Connected call %s, from %s\n", $uuid, $info->getHeader("caller-caller-id-number"); my $e = $con->filter("unique-id", $uuid); if ($e) { print $e->serialize(); } else { printf("WTF?\n"); } $con->events("plain", "SERVER_DISCONNECTED DTMF"); $con->execute("answer"); while($con->connected()) { $e = $con->recvEvent(); ############# CASE 1 ## # $e = $con->recvEventTimed(10000); ############# CASE 2 ## unless ($e) { unless ($con->connected()) { ############################### $e = $con->recvEvent(); ## print $e->serialize(); ## Added code to get SERVER_DISCONNECTED. print "SERVER_DISCONNECTED"; ## } ############################### print "DTMF timeout\n"; } if ($e) { my $name = $e->getHeader("event-name"); print "EVENT [$name]\n"; if ($name eq "DTMF") { my $digit = $e->getHeader("dtmf-digit"); my $duration = $e->getHeader("dtmf-duration"); print "DTMF digit $digit ($duration)\n"; } } } print "BYE\n"; close($new_sock); } -- Regards, Nagalenoj H. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/c58798d3/attachment-0001.html From freeswitch.org at todandlorna.com Thu Mar 4 21:25:22 2010 From: freeswitch.org at todandlorna.com (Tod Hansmann) Date: Thu, 04 Mar 2010 22:25:22 -0700 Subject: [Freeswitch-users] Changing Title just for Goran! In-Reply-To: <0d1e01cabc04$10896010$319c2030$@com> References: <0d1e01cabc04$10896010$319c2030$@com> Message-ID: <4B9095C2.8080508@todandlorna.com> Goran, I can understand your desire for production stable versions. You are obviously looking for stability for your client(s) and any risk you put them in you incur. I have similar concerns in my own work, where updating FreeSWITCH could potentially cause issues that might cost the company money for downtime and headaches for me. I empathize. For a moment, please return this courtesy and try to understand this from the developers' perspective. I believe you have (if you don't currently) done tech support for others. Nagging didn't help you solve the problem any faster and often time, it makes the problem more difficult to approach with such a distraction. This is effectively what you are doing for your needs. Exercise some patience, or for a more timely solution, realize something about the FreeSWITCH project. This is not a company with a Q-A department or a robust test-lab. This is a group of individuals working on open-source software in various locations with various testing processes in place, and further help needed. Thus, their current "trunk" from SVN has to be stable for their multitude of test processes, and code review has more relevance than Q-A. Try trunk. It will be just as stable for 90% of uses as 1.0.5 release will be. Do a proper backup and a test run. If you see problems, roll back. It's not hard, it gets you resolved fast, and the project doesn't get derailed by constant questions about when it can get done. Perhaps you'd like to give back to the project your client is relying on. In that case, you can do some Q-A and test as well. Work in Jira if you have such skills and do the testing. If not, that's ok too. Just let other capable hands do it on their own timetable. They're not lazy, and they're not unaware of the demand for 1.0.5. It would do wonders if you could acknowledge that talent working for your benefit instead of conveying your displeasure that it is not happening on your specific timetable. Cheers, -Tod Hansmann On 3/4/2010 6:34 PM, Goran Donev wrote: > I am having problems with my production server and I can not mess with > interim builds not knowing what else they can break. > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > freeswitch-users-request at lists.freeswitch.org > Sent: Thursday, March 04, 2010 5:42 PM > To: freeswitch-users at lists.freeswitch.org > Subject: FreeSWITCH-users Digest, Vol 45, Issue 48 > > 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..." > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > From mike at jerris.com Fri Mar 5 00:20:02 2010 From: mike at jerris.com (Michael Jerris) Date: Fri, 5 Mar 2010 03:20:02 -0500 Subject: [Freeswitch-users] TEST In-Reply-To: References: Message-ID: sure, your email provider now flagged everything from this address or ip as spam, this is of course totally normal. On Mar 4, 2010, at 8:57 AM, Milena wrote: > you failed!! O_O > after the messages from clubWNC, I'm not getting any more list messages on my e-mail inbox, is it normal? From mike at jerris.com Fri Mar 5 00:31:02 2010 From: mike at jerris.com (Michael Jerris) Date: Fri, 5 Mar 2010 03:31:02 -0500 Subject: [Freeswitch-users] about pizza demo In-Reply-To: <1871231B5C344CB08333565ED2EC2260@MOBILEE1705> References: <1871231B5C344CB08333565ED2EC2260@MOBILEE1705> Message-ID: <1F4E6321-3C01-4994-83A0-ABE4D6BCDC75@jerris.com> no, it would require much much more, first step is to understand how your ASR engine deals with other languages. This is a complicated task well outside the expertise of this list and best suited to the support resources for the specific asr engine. Mike On Feb 26, 2010, at 5:39 AM, Madovsky wrote: > Hi, > > I'm trying to change the language of pizza demo script. > is it need to change only words inside addItemAlias() ? > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/f02cf232/attachment.html From mike at jerris.com Fri Mar 5 00:34:35 2010 From: mike at jerris.com (Michael Jerris) Date: Fri, 5 Mar 2010 03:34:35 -0500 Subject: [Freeswitch-users] Video pass problem In-Reply-To: <5be734a51002250459wb974018ue1ffd7d7a88ace59@mail.gmail.com> References: <5be734a51002250459wb974018ue1ffd7d7a88ace59@mail.gmail.com> Message-ID: double check if the behavior on this is the same with svn trunk of FreeSWITCH on something other than a bleeding edge operating system. Mike On Feb 25, 2010, at 7:59 AM, Mikhail Krivushin wrote: > Hello! We have problem with pass video over FreeSWITCH. I tshark traf, and see that we have 1280 video packets input, and only 560 passed to B leg. Anyone can point me to right direction? I can send pcap file by request. > > Most time I have black screen, and then one frame can appear, and I see frozen picture pair minutes, and then other frozen picture. We have not network issues, we have good video, when bypass FS. We have not perfomance troubles to. > > We have ubuntu 9.10 x64, and powerfull server board. uname: > Linux fs 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux > > config: > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/c1700dfc/attachment.html From tculjaga at gmail.com Fri Mar 5 01:44:55 2010 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Fri, 5 Mar 2010 10:44:55 +0100 Subject: [Freeswitch-users] Freeswitch & SNMP ( again , but with a difference ) In-Reply-To: References: <65d96fc81003041244t363450f2p8bf853c788d2295d@mail.gmail.com> Message-ID: <65d96fc81003050144k76ffdf70rea30b109e2b19392@mail.gmail.com> On Thu, Mar 4, 2010 at 11:25 PM, jay binks wrote: > HUH, well there you go.. exactly what I was after... > someone has done exactly what I was thinking. > > I know you've sent it to me by email, but lets get this in the wiki. > Ill put this up from your email, but if you have more id encourage you to > share what youve done. > > let me finish the current project ..."wholesale routing machine". and i will put everything on wiki T. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/4d313419/attachment.html From Suneel.Papineni at mettoni.com Fri Mar 5 03:04:05 2010 From: Suneel.Papineni at mettoni.com (Suneel Papineni) Date: Fri, 5 Mar 2010 11:04:05 -0000 Subject: [Freeswitch-users] Call transfer using eventsockets with FSComm Message-ID: <3181A30B8C35AB4AA8577B78DDF46138068F6214@nickel.mettonigroup.com> Hi, Is there a way to transfer call with FSComm. I tried different ways using eventsockets but failed. Tried the scenario as follows: Received a call from 1001 to FSComm (registered with 1002) and is answered (Unique-id is 784dd690-6d0a-47de-b5f4-b923264581a5). Made a call from FSComm to extension 1003 and is answered (Unique-id is ec7a3bdd-c265-41fb-8cef-b897d2e8bf62). Now I want to transfer this call to 1001 and FSComm should be out of loop. a. Tried with command "api uuid_transfer 784dd690-6d0a-47de-b5f4-b923264581a5 -both park inline" but failed. With this call at 1001 is dropped and call between FSComm and 1003 is still there. b. Tried with command "api uuid_bridge 784dd690-6d0a-47de-b5f4-b923264581a5 ec7a3bdd-c265-41fb-8cef-b897d2e8bf62". With this all calls are dropped. Could someone let me know if there is any procedure for call transfer (using event sockets). Thanks & Regards Suneel ************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/2f9de1f9/attachment-0001.html From ahmed.ajmal at breezecom.ae Fri Mar 5 05:02:46 2010 From: ahmed.ajmal at breezecom.ae (Ahmed Ajmal) Date: Fri, 5 Mar 2010 18:02:46 +0500 Subject: [Freeswitch-users] Losing Log lines Message-ID: <013d01cabc64$29ae4a00$7d0ade00$@ajmal@breezecom.ae> Hi I am seeing the following "CRIT" log lines in my freeswitch logs: freeswitch.log.2010-03-05-04-30-01.1:2010-03-05 04:27:49.633560 [CRIT] mod_event_socket.c:161 Lost 134 log lines! freeswitch.log.2010-03-05-04-30-01.1:2010-03-05 04:27:54.374504 [CRIT] mod_event_socket.c:161 Lost 218 log lines! freeswitch.log.2010-03-05-04-30-01.1:2010-03-05 04:27:54.893504 [CRIT] mod_event_socket.c:161 Lost 143 log lines! freeswitch.log.2010-03-05-04-30-01.1:2010-03-05 04:27:59.093785 [CRIT] mod_event_socket.c:161 Lost 27 log lines! And this is happening too often now. I am relying on ESL to capture HANGUP_COMPLETE event and insert the cdr fields in a database and it appears from the above lines that freeswitch is missing some logs here. I am running freeswitch on a 64-bit version of CentOS 5.4 with 4 gigs of RAM. There were around 72 active calls(fs_cli -x "show calls count") when I noticed the above. Also heres what my max sessions look like: I am not sure if this is a memory issue or not but I also noticed that the machine was running on very low memory when all this was happening. Heres what my free -m stats looked like: total used free shared buffers cached Mem: 3952 3926 26 0 186 1156 -/+ buffers/cache: 264 3688 Swap: 8189 0 8189 Please help me with any resolution and/or suggestions. Thanks Ahmed -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/c2e506b2/attachment.html From abrownworth at bandwidth.com Fri Mar 5 06:29:02 2010 From: abrownworth at bandwidth.com (Anders Brownworth) Date: Fri, 5 Mar 2010 09:29:02 -0500 Subject: [Freeswitch-users] freeswitch and postgresql as db core In-Reply-To: <50B10EA17E63478E9ECC55AB1FC55D71@MOBILEE1705> References: <50B10EA17E63478E9ECC55AB1FC55D71@MOBILEE1705> Message-ID: Try telnetting from your FreeSWITCH box to 10.0.0.1: shell#> telnet 10.0.0.1 5432 if it doesn't connect, then this isn't a FreeSWITCH / unixODBC error. Check your routing, etc. If it does connect, then the error looks unixODBC related. -a On Thu, Mar 4, 2010 at 10:59 PM, Madovsky wrote: > forgot debug : > > 2010-03-04 22:42:33.174950 [ERR] switch_odbc.c:313 STATE: 08001 CODE 101 > ERROR: [unixODBC]Could not connect to the server; > Could not connect to remote socket immedaitely > > 2010-03-04 22:42:33.174967 [CRIT] mod_nibblebill.c:210 Cannot connect to > ODBC driver/database freeswitch-pgsql (user: login / pass pwd)! > > thx > > F > > ----- Original Message ----- > *From:* Madovsky > *To:* freeswitch-users at lists.freeswitch.org > *Sent:* Thursday, March 04, 2010 10:55 PM > *Subject:* freeswitch and postgresql as db core > > Is there any example of how to use pgsql as db core on wiki ? > I tried to adapt this example > http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core > for pgsql but no success. > I'm trying to connect to it fhru openvpn. > tcpdump -i tap1 on the destination server doesn't show any packet exchange. > I set odbc.ini as this : > > [freeswitch-pgsql] > Driver = /usr/lib64/psqlodbc.so > SERVER = 10.0.0.1 > PORT = 5432 > DATABASE = freeswitch > and set all xml conf where odbc-dsn is as this : > > > didn't find anything interesting on google > > Thanks > > Franck > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/8c29a494/attachment.html From brian at freeswitch.org Fri Mar 5 06:32:55 2010 From: brian at freeswitch.org (Brian West) Date: Fri, 5 Mar 2010 08:32:55 -0600 Subject: [Freeswitch-users] Losing Log lines In-Reply-To: <013d01cabc64$29ae4a00$7d0ade00$@ajmal@breezecom.ae> References: <013d01cabc64$29ae4a00$7d0ade00$@ajmal@breezecom.ae> Message-ID: You're not reading everything off the socket so it has to drop them at some point. /b On Mar 5, 2010, at 7:02 AM, Ahmed Ajmal wrote: > Hi > > I am seeing the following ?CRIT? log lines in my freeswitch logs: > > freeswitch.log.2010-03-05-04-30-01.1:2010-03-05 04:27:49.633560 [CRIT] mod_event_socket.c:161 Lost 134 log lines! > freeswitch.log.2010-03-05-04-30-01.1:2010-03-05 04:27:54.374504 [CRIT] mod_event_socket.c:161 Lost 218 log lines! > freeswitch.log.2010-03-05-04-30-01.1:2010-03-05 04:27:54.893504 [CRIT] mod_event_socket.c:161 Lost 143 log lines! > freeswitch.log.2010-03-05-04-30-01.1:2010-03-05 04:27:59.093785 [CRIT] mod_event_socket.c:161 Lost 27 log lines! > > And this is happening too often now. I am relying on ESL to capture HANGUP_COMPLETE event and insert the cdr fields in a database and it appears from the above lines that freeswitch is missing some logs here. I am running freeswitch on a 64-bit version of CentOS 5.4 with 4 gigs of RAM. There were around 72 active calls(fs_cli -x "show calls count") when I noticed the above. Also heres what my max sessions look like: > > > > > > I am not sure if this is a memory issue or not but I also noticed that the machine was running on very low memory when all this was happening. Heres what my free -m stats looked like: > > total used free shared buffers cached > Mem: 3952 3926 26 0 186 1156 > -/+ buffers/cache: 264 3688 > Swap: 8189 0 8189 > > Please help me with any resolution and/or suggestions. > > Thanks > Ahmed > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/103d4363/attachment-0001.html From dome at tel.co.th Fri Mar 5 08:00:01 2010 From: dome at tel.co.th (Dome Charoenyost) Date: Fri, 5 Mar 2010 23:00:01 +0700 Subject: [Freeswitch-users] freeswitch and postgresql as db core In-Reply-To: <2C03B3DA35D3431F89B79B2F633EDBF9@MOBILEE1705> References: <2C03B3DA35D3431F89B79B2F633EDBF9@MOBILEE1705> Message-ID: <8ccbff061003050800h12f720e9uba448422065b92fb@mail.gmail.com> I just update wiki http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core#Postgresql_8.4_on_Debian_Squeeze It's work fine forme. Dome C. 2010/3/5 Madovsky : > Is there any example of how to use pgsql as db core on wiki ? > I tried to adapt this example > http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core > for pgsql but no success. > I'm trying to connect to it fhru openvpn. > tcpdump -i tap1 on the destination server doesn't show any packet exchange. > I set odbc.ini as this : > > [freeswitch-pgsql] > Driver?? = /usr/lib64/psqlodbc.so > SERVER?? = 10.0.0.1 > PORT???? = 5432 > DATABASE = freeswitch > and set all xml conf where odbc-dsn is as this : > > > didn't find anything interesting on google > > Thanks > > Franck > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 m.sobkow at marketelsystems.com Fri Mar 5 08:42:39 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Fri, 05 Mar 2010 10:42:39 -0600 Subject: [Freeswitch-users] Call keeps hanging up In-Reply-To: <87f2f3b91003041500p18f4b523mbf545c30a0612813@mail.gmail.com> References: <4B8FFDA7.50708@marketelsystems.com> <20100304184755.GK1751@hijacked.us> <4B9035B4.6030901@marketelsystems.com> <87f2f3b91003041500p18f4b523mbf545c30a0612813@mail.gmail.com> Message-ID: <4B91347F.6070509@marketelsystems.com> >>> >> Try using park_after_bridge and catch the park event or >> transfer_after_bridge and set the dialplan location to transfer the call >> to. >> >> Andrew >> >> > What a relief. "transfer_after_bridge" worked! Plus it provided > an obvious way for me to collect the call result code, fire it > back to Erlang, and leave the operator waiting for the next > incoming call. :) > > "Another satisfied customer!" :D Now it's time to throw some of that > Canadian colored money at Tony's paypal account. ;) > BTW, what kind of solution are you developing? > -MC Tech support call center solution right now, with bidirectional calling. If a customer calls in and no one is available, they have the option of requesting a callback instead of waiting online, so both inbound and outbound calls have to be handled. I'm also having fun with skill-based routing of calls (which is more complex than mod_fifo can handle.) From infos at madovsky.org Fri Mar 5 08:45:04 2010 From: infos at madovsky.org (Madovsky) Date: Fri, 5 Mar 2010 11:45:04 -0500 Subject: [Freeswitch-users] Fw: freeswitch and postgresql as db core [SOLVED] Message-ID: I sent An email last night but didn't work, so I retry it now... to make PostgreSQL 8.4.2 works with ODBC 2.2.12 (tested from fedora 10 update rpm and Postgresql source) odbcinst.ini [PostgreSQL] Description = ODBC for PostgreSQL Driver = /usr/lib64/psqlodbc.so Setup = /usr/lib64/libodbcpsqlS.so FileUsage = 1 odbc.ini [ODBC Data Sources] freeswitch-pgsql = ODBC for PostgreSQL [freeswitch-pgsql] Description = ODBC for PostgreSQL Driver = /usr/lib64/psqlodbc.so Servername = 10.0.0.1 UserName = login Password = pwd Port = 5432 Database = dbdb Thanks me ;D ----- Original Message ----- From: Madovsky To: Madovsky Sent: Thursday, March 04, 2010 10:58 PM Subject: Re: freeswitch and postgresql as db core forgot debug : 2010-03-04 22:42:33.174950 [ERR] switch_odbc.c:313 STATE: 08001 CODE 101 ERROR: [unixODBC]Could not connect to the server; Could not connect to remote socket immedaitely 2010-03-04 22:42:33.174967 [CRIT] mod_nibblebill.c:210 Cannot connect to ODBC driver/database freeswitch-pgsql (user: login / pass pwd)! thx F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Thursday, March 04, 2010 10:55 PM Subject: freeswitch and postgresql as db core Is there any example of how to use pgsql as db core on wiki ? I tried to adapt this example http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core for pgsql but no success. I'm trying to connect to it fhru openvpn. tcpdump -i tap1 on the destination server doesn't show any packet exchange. I set odbc.ini as this : [freeswitch-pgsql] Driver = /usr/lib64/psqlodbc.so SERVER = 10.0.0.1 PORT = 5432 DATABASE = freeswitch and set all xml conf where odbc-dsn is as this : didn't find anything interesting on google Thanks Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/55e3d18e/attachment.html From anthony.minessale at gmail.com Fri Mar 5 08:45:34 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 5 Mar 2010 10:45:34 -0600 Subject: [Freeswitch-users] Release of 1.5 In-Reply-To: <8cc991dd1003042101h30508b9eg1d63fd9c2c33d608@mail.gmail.com> References: <191c3a031003041509q388996adq1810a4212752ef71@mail.gmail.com> <191c3a031003041515g5f85e535ib27e0546ee483eda@mail.gmail.com> <4B90428F.1000408@cartissolutions.com> <8782F8E0-F079-4BD4-9F7A-CBBA4B66026A@freeswitch.org> <33E87EE7-5179-4C0D-8B00-AFCC0209898F@freeswitch.org> <8cc991dd1003042101h30508b9eg1d63fd9c2c33d608@mail.gmail.com> Message-ID: <191c3a031003050845u1fb2380bg6d0638379d2d29ae@mail.gmail.com> No mad dog is the preferred beverage of winos across the land! On Mar 4, 2010 11:07 PM, "Craig Askings" wrote: Bah, Jolt is the one true caffeinated beverage. Craig. On 5 March 2010 11:42, Brian West wrote: > > I think you mean redbull. > > ... -- Craig Askings Network Engineer | Over the Wire Pty Ltd craig at overthewire.com.au | www.overthewire.com.au Phone: 07 3847 9292 | Fax: 07 3847 9696 | Mobile: 0404 019 365 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/7428e5a7/attachment.html From m.sobkow at marketelsystems.com Fri Mar 5 08:45:42 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Fri, 05 Mar 2010 10:45:42 -0600 Subject: [Freeswitch-users] Play message upon call anwser In-Reply-To: <87f2f3b91003022003x8de4c92v42620a48d5bf4d78@mail.gmail.com> References: <87f2f3b91003022003x8de4c92v42620a48d5bf4d78@mail.gmail.com> Message-ID: <4B913536.70407@marketelsystems.com> Michael Collins wrote: > > > On Tue, Mar 2, 2010 at 1:15 PM, Todd > wrote: > > Hey List.. I am trying to setup my dial plan so whenever a call > is answered a recording is played to the person who answered the > phone before the call is connected?. Any help would be great. > Thanks > > Are you talking about the group confirm feature? > http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#Answer_confirmation > > -MC You might also try uuid_broadcast if you're doing code-driven dialplans. That's what I ended up using for my Erlang-Freeswitch integration. From infos at madovsky.org Fri Mar 5 08:53:55 2010 From: infos at madovsky.org (Madovsky) Date: Fri, 5 Mar 2010 11:53:55 -0500 Subject: [Freeswitch-users] about pizza demo References: <1871231B5C344CB08333565ED2EC2260@MOBILEE1705> <1F4E6321-3C01-4994-83A0-ABE4D6BCDC75@jerris.com> Message-ID: <796886F978564D60A19E8B282E810127@MOBILEE1705> Mike, I took time to learn more about this feature, I understand now how it works. If I have time I will try to create an ASR engine for French and Italian Regards ----- Original Message ----- From: Michael Jerris To: freeswitch-users at lists.freeswitch.org Sent: Friday, March 05, 2010 3:31 AM Subject: Re: [Freeswitch-users] about pizza demo no, it would require much much more, first step is to understand how your ASR engine deals with other languages. This is a complicated task well outside the expertise of this list and best suited to the support resources for the specific asr engine. Mike On Feb 26, 2010, at 5:39 AM, Madovsky wrote: Hi, I'm trying to change the language of pizza demo script. is it need to change only words inside addItemAlias() ? ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/ba20f99e/attachment-0001.html From abrownworth at bandwidth.com Fri Mar 5 08:54:22 2010 From: abrownworth at bandwidth.com (Anders Brownworth) Date: Fri, 5 Mar 2010 11:54:22 -0500 Subject: [Freeswitch-users] Fw: freeswitch and postgresql as db core [SOLVED] In-Reply-To: References: Message-ID: I suspect your problem is not FreeSWITCH or unixODBC but rather connectivity through your tap1 device. Does this work: telnet 10.0.0.1 5432 -Anders On Fri, Mar 5, 2010 at 11:45 AM, Madovsky wrote: > I sent An email last night but didn't work, > so I retry it now... > > to make PostgreSQL 8.4.2 works with ODBC 2.2.12 (tested from fedora 10 > update rpm and Postgresql source) > > odbcinst.ini > > [PostgreSQL] > Description = ODBC for PostgreSQL > Driver = /usr/lib64/psqlodbc.so > Setup = /usr/lib64/libodbcpsqlS.so > FileUsage = 1 > odbc.ini > > [ODBC Data Sources] > freeswitch-pgsql = ODBC for PostgreSQL > > [freeswitch-pgsql] > Description = ODBC for PostgreSQL > Driver = /usr/lib64/psqlodbc.so > Servername = 10.0.0.1 > UserName = login > Password = pwd > Port = 5432 > Database = dbdb > > Thanks me ;D > > ----- Original Message ----- > *From:* Madovsky > *To:* Madovsky > *Sent:* Thursday, March 04, 2010 10:58 PM > *Subject:* Re: freeswitch and postgresql as db core > > forgot debug : > > 2010-03-04 22:42:33.174950 [ERR] switch_odbc.c:313 STATE: 08001 CODE 101 > ERROR: [unixODBC]Could not connect to the server; > Could not connect to remote socket immedaitely > > 2010-03-04 22:42:33.174967 [CRIT] mod_nibblebill.c:210 Cannot connect to > ODBC driver/database freeswitch-pgsql (user: login / pass pwd)! > > thx > > F > > ----- Original Message ----- > *From:* Madovsky > *To:* freeswitch-users at lists.freeswitch.org > *Sent:* Thursday, March 04, 2010 10:55 PM > *Subject:* freeswitch and postgresql as db core > > Is there any example of how to use pgsql as db core on wiki ? > I tried to adapt this example > http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core > for pgsql but no success. > I'm trying to connect to it fhru openvpn. > tcpdump -i tap1 on the destination server doesn't show any packet exchange. > I set odbc.ini as this : > > [freeswitch-pgsql] > Driver = /usr/lib64/psqlodbc.so > SERVER = 10.0.0.1 > PORT = 5432 > DATABASE = freeswitch > and set all xml conf where odbc-dsn is as this : > > > didn't find anything interesting on google > > Thanks > > Franck > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/5aed3e6a/attachment.html From infos at madovsky.org Fri Mar 5 09:06:39 2010 From: infos at madovsky.org (Madovsky) Date: Fri, 5 Mar 2010 12:06:39 -0500 Subject: [Freeswitch-users] Fw: freeswitch and postgresql as db core[SOLVED] References: Message-ID: No, it works without problem ----- Original Message ----- From: Anders Brownworth To: freeswitch-users at lists.freeswitch.org Sent: Friday, March 05, 2010 11:54 AM Subject: Re: [Freeswitch-users] Fw: freeswitch and postgresql as db core[SOLVED] I suspect your problem is not FreeSWITCH or unixODBC but rather connectivity through your tap1 device. Does this work: telnet 10.0.0.1 5432 -Anders On Fri, Mar 5, 2010 at 11:45 AM, Madovsky wrote: I sent An email last night but didn't work, so I retry it now... to make PostgreSQL 8.4.2 works with ODBC 2.2.12 (tested from fedora 10 update rpm and Postgresql source) odbcinst.ini [PostgreSQL] Description = ODBC for PostgreSQL Driver = /usr/lib64/psqlodbc.so Setup = /usr/lib64/libodbcpsqlS.so FileUsage = 1 odbc.ini [ODBC Data Sources] freeswitch-pgsql = ODBC for PostgreSQL [freeswitch-pgsql] Description = ODBC for PostgreSQL Driver = /usr/lib64/psqlodbc.so Servername = 10.0.0.1 UserName = login Password = pwd Port = 5432 Database = dbdb Thanks me ;D ----- Original Message ----- From: Madovsky To: Madovsky Sent: Thursday, March 04, 2010 10:58 PM Subject: Re: freeswitch and postgresql as db core forgot debug : 2010-03-04 22:42:33.174950 [ERR] switch_odbc.c:313 STATE: 08001 CODE 101 ERROR: [unixODBC]Could not connect to the server; Could not connect to remote socket immedaitely 2010-03-04 22:42:33.174967 [CRIT] mod_nibblebill.c:210 Cannot connect to ODBC driver/database freeswitch-pgsql (user: login / pass pwd)! thx F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Thursday, March 04, 2010 10:55 PM Subject: freeswitch and postgresql as db core Is there any example of how to use pgsql as db core on wiki ? I tried to adapt this example http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core for pgsql but no success. I'm trying to connect to it fhru openvpn. tcpdump -i tap1 on the destination server doesn't show any packet exchange. I set odbc.ini as this : [freeswitch-pgsql] Driver = /usr/lib64/psqlodbc.so SERVER = 10.0.0.1 PORT = 5432 DATABASE = freeswitch and set all xml conf where odbc-dsn is as this : didn't find anything interesting on google Thanks Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100305/1232a0f9/attachment.html From infos at madovsky.org Fri Mar 5 09:07:04 2010 From: infos at madovsky.org (Madovsky) Date: Fri, 5 Mar 2010 12:07:04 -0500 Subject: [Freeswitch-users] Fw: freeswitch and postgresql as db core[SOLVED] References: Message-ID: <6AA8ACBF2F5C45E68DFA552625F8FD29@MOBILEE1705> I wrote below, it solved ----- Original Message ----- From: Anders Brownworth To: freeswitch-users at lists.freeswitch.org Sent: Friday, March 05, 2010 11:54 AM Subject: Re: [Freeswitch-users] Fw: freeswitch and postgresql as db core[SOLVED] I suspect your problem is not FreeSWITCH or unixODBC but rather connectivity through your tap1 device. Does this work: telnet 10.0.0.1 5432 -Anders On Fri, Mar 5, 2010 at 11:45 AM, Madovsky wrote: I sent An email last night but didn't work, so I retry it now... to make PostgreSQL 8.4.2 works with ODBC 2.2.12 (tested from fedora 10 update rpm and Postgresql source) odbcinst.ini [PostgreSQL] Description = ODBC for PostgreSQL Driver = /usr/lib64/psqlodbc.so Setup = /usr/lib64/libodbcpsqlS.so FileUsage = 1 odbc.ini [ODBC Data Sources] freeswitch-pgsql = ODBC for PostgreSQL [freeswitch-pgsql] Description = ODBC for PostgreSQL Driver = /usr/lib64/psqlodbc.so Servername = 10.0.0.1 UserName = login Password = pwd Port = 5432 Database = dbdb Thanks me ;D ----- Original Message ----- From: Madovsky To: Madovsky Sent: Thursday, March 04, 2010 10:58 PM Subject: Re: freeswitch and postgresql as db core forgot debug : 2010-03-04 22:42:33.174950 [ERR] switch_odbc.c:313 STATE: 08001 CODE 101 ERROR: [unixODBC]Could not connect to the server; Could not connect to remote socket immedaitely 2010-03-04 22:42:33.174967 [CRIT] mod_nibblebill.c:210 Cannot connect to ODBC driver/database freeswitch-pgsql (user: login / pass pwd)! thx F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Thursday, March 04, 2010 10:55 PM Subject: freeswitch and postgresql as db core Is there any example of how to use pgsql as db core on wiki ? I tried to adapt this example http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core for pgsql but no success. I'm trying to connect to it fhru openvpn. tcpdump -i tap1 on the destination server doesn't show any packet exchange. I set odbc.ini as this : [freeswitch-pgsql] Driver = /usr/lib64/psqlodbc.so SERVER = 10.0.0.1 PORT = 5432 DATABASE = freeswitch and set all xml conf where odbc-dsn is as this : didn't find anything interesting on google Thanks Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100305/89057671/attachment-0001.html From dome at tel.co.th Fri Mar 5 09:14:39 2010 From: dome at tel.co.th (Dome Charoenyost) Date: Sat, 6 Mar 2010 00:14:39 +0700 Subject: [Freeswitch-users] ODBC connection in 1.0.5 (trunk 16912) Problem. Message-ID: <8ccbff061003050914q6535dabldf8fe977255f43f6@mail.gmail.com> Dear All, I found big odbc problem when i try to move to FS 1.0.5. in same server i'm testing 1.0.4 and 1.0.5 and same config 1. config limit.conf.xml use odbc (i use postgresql) 2. create dialplan in context public for test limit 3. use sipp generate test call sipp -rtp_echo -sn uac -r 30 -l 500 -d 30000 -s 1111 -mp 25000 xx.xx.xx.xx:5080 1.0.4 work fine i found 2 connection in postgresql server but 1.0.5 use 1 connection for 1 calls. and get error when call over 100 calls. (postgresql maximum client connect is 100 ) So i'm not sure its' BUG or not ? BG Dome C. From msc at freeswitch.org Fri Mar 5 09:24:52 2010 From: msc at freeswitch.org (Michael Collins) Date: Fri, 5 Mar 2010 09:24:52 -0800 Subject: [Freeswitch-users] Call keeps hanging up In-Reply-To: <4B91347F.6070509@marketelsystems.com> References: <4B8FFDA7.50708@marketelsystems.com> <20100304184755.GK1751@hijacked.us> <4B9035B4.6030901@marketelsystems.com> <87f2f3b91003041500p18f4b523mbf545c30a0612813@mail.gmail.com> <4B91347F.6070509@marketelsystems.com> Message-ID: <87f2f3b91003050924j4efe2088x868c550239b87bb6@mail.gmail.com> > > "Another satisfied customer!" :D Now it's time to throw some of that > > Canadian colored money at Tony's paypal account. ;) > > BTW, what kind of solution are you developing? > > -MC > Tech support call center solution right now, with bidirectional > calling. If a customer calls in and no one is available, they have the > option of requesting a callback instead of waiting online, so both > inbound and outbound calls have to be handled. I'm also having fun with > skill-based routing of calls (which is more complex than mod_fifo can > handle.) > Very interesting. Okay, keep us posted on how your setup is coming along. You might also want to join the Wednesday morning conference calls and talk to some of the other users as well as listen to some of the presentations. Next week Math will be discussing mod_sofia in excruciating detail. :) -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/f9a5e67a/attachment.html From brian at freeswitch.org Fri Mar 5 09:32:30 2010 From: brian at freeswitch.org (Brian West) Date: Fri, 5 Mar 2010 11:32:30 -0600 Subject: [Freeswitch-users] Call keeps hanging up In-Reply-To: <87f2f3b91003050924j4efe2088x868c550239b87bb6@mail.gmail.com> References: <4B8FFDA7.50708@marketelsystems.com> <20100304184755.GK1751@hijacked.us> <4B9035B4.6030901@marketelsystems.com> <87f2f3b91003041500p18f4b523mbf545c30a0612813@mail.gmail.com> <4B91347F.6070509@marketelsystems.com> <87f2f3b91003050924j4efe2088x868c550239b87bb6@mail.gmail.com> Message-ID: Better clear your schedule for a few days for that talk :P /b On Mar 5, 2010, at 11:24 AM, Michael Collins wrote: > > Very interesting. Okay, keep us posted on how your setup is coming along. You might also want to join the Wednesday morning conference calls and talk to some of the other users as well as listen to some of the presentations. Next week Math will be discussing mod_sofia in excruciating detail. :) > > -MC From edpimentl at gmail.com Fri Mar 5 10:16:55 2010 From: edpimentl at gmail.com (EdPimentl) Date: Fri, 5 Mar 2010 13:16:55 -0500 Subject: [Freeswitch-users] smart-http Message-ID: <9dc4a1671003051016l11955a62wb2dde816cf3b1d13@mail.gmail.com> This is just an FYI and get your thinking on the value of smart-http for future use. http://progit.org/2010/03/04/smart-http.html -E http://vCardCloud.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/a53b2de0/attachment.html From mike at van.lammeren.net Fri Mar 5 11:04:54 2010 From: mike at van.lammeren.net (Mike van Lammeren) Date: Fri, 5 Mar 2010 14:04:54 -0500 Subject: [Freeswitch-users] Which Lua script am I? Message-ID: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> Hello! I am working on a high-availability system and need a Lua script that can run in the background and loop forever, periodically waking up to accomplish some tasks. I would like to be able to handle at least 10 concurrent tasks. My first idea was to have a simple background script that would call another script, let's call it the 'task' script, every 5 seconds or so. This would spread the work around, and if any task script quit with an error, the background script would remain running, and would continue to launch new task scripts. However, I can see no way for the background script to launch other Lua scripts. Am I missing something? I need something like session:execute(), but unfortunately this background script has no session, and I'm not sure if session:execute() can even make a call like the "luarun" console command. So, my next ideas was to have 10 copies of the background script. Each script would loop forever. Upon launch, each script would perform a single task, then sleep for 60 seconds. This allows handling of 10 concurrent tasks. However, there are some problems with running 10 copies of the same script, which I believe can be solved if each script could be given a unique identifier. One problem is that I would like the scripts to actually sleep for a variable amount of time, say between 55 and 65 seconds, so that the workload would spread around. Another, similar problem, is that each script needs to 'claim' a number of database records from a table that is queuing up work for the scripts. Once again, if each script had a unique identifier, then I could use an update query to effectively 'set and test' a record that would be tied to that script instance. I could use a random number to identify each script, but since math.random is seeded with a timestamp that only resolves to seconds, then all 10 scripts will be given the same sequence of random numbers, and all 10 will run in lock-step with each other. So, random numbers are out. (If I had a unique ID to seed the random number generator, then I could just use that unique ID and wouldn't need random numbers.) Is there a way of uniquely identifying 10 Lua scripts that FreeSWITCH launches at startup? Or is there a better way of handling this situation altogether? I'm open to any suggestions that people would care to make! (I would entertain the idea of a single script that would start with FreeSWITCH, then launch 10 other scripts, giving each a unique identifier, but that brings me back to the original problem of not knowing how to launch other Lua scripts under FreeSWITCH.) Mike van Lammeren -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/81c4d7a7/attachment.html From msc at freeswitch.org Fri Mar 5 11:16:26 2010 From: msc at freeswitch.org (Michael Collins) Date: Fri, 5 Mar 2010 11:16:26 -0800 Subject: [Freeswitch-users] Which Lua script am I? In-Reply-To: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> References: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> Message-ID: <87f2f3b91003051116p524bc237wca60baa697b99789@mail.gmail.com> May I ask what the end goal is? It could be that there are better tools in the toolbox to help you... -MC On Fri, Mar 5, 2010 at 11:04 AM, Mike van Lammeren wrote: > Hello! > > I am working on a high-availability system and need a Lua script that can > run in the background and loop forever, periodically waking up to accomplish > some tasks. I would like to be able to handle at least 10 concurrent tasks. > > My first idea was to have a simple background script that would call > another script, let's call it the 'task' script, every 5 seconds or so. This > would spread the work around, and if any task script quit with an error, the > background script would remain running, and would continue to launch new > task scripts. > > However, I can see no way for the background script to launch other Lua > scripts. Am I missing something? I need something like session:execute(), > but unfortunately this background script has no session, and I'm not sure if > session:execute() can even make a call like the "luarun" console command. > > So, my next ideas was to have 10 copies of the background script. Each > script would loop forever. Upon launch, each script would perform a single > task, then sleep for 60 seconds. This allows handling of 10 concurrent > tasks. > > However, there are some problems with running 10 copies of the same script, > which I believe can be solved if each script could be given a unique > identifier. One problem is that I would like the scripts to actually sleep > for a variable amount of time, say between 55 and 65 seconds, so that the > workload would spread around. Another, similar problem, is that each script > needs to 'claim' a number of database records from a table that is queuing > up work for the scripts. Once again, if each script had a unique identifier, > then I could use an update query to effectively 'set and test' a record that > would be tied to that script instance. > > I could use a random number to identify each script, but since math.random > is seeded with a timestamp that only resolves to seconds, then all 10 > scripts will be given the same sequence of random numbers, and all 10 will > run in lock-step with each other. So, random numbers are out. (If I had a > unique ID to seed the random number generator, then I could just use that > unique ID and wouldn't need random numbers.) > > Is there a way of uniquely identifying 10 Lua scripts that FreeSWITCH > launches at startup? > > Or is there a better way of handling this situation altogether? I'm open to > any suggestions that people would care to make! > > (I would entertain the idea of a single script that would start with > FreeSWITCH, then launch 10 other scripts, giving each a unique identifier, > but that brings me back to the original problem of not knowing how to launch > other Lua scripts under FreeSWITCH.) > > Mike van Lammeren > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/4ce05dd5/attachment.html From brian at freeswitch.org Fri Mar 5 11:16:39 2010 From: brian at freeswitch.org (Brian West) Date: Fri, 5 Mar 2010 13:16:39 -0600 Subject: [Freeswitch-users] Which Lua script am I? In-Reply-To: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> References: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> Message-ID: <7C4D5C83-9A67-4024-BC68-4B92353545CD@freeswitch.org> What exactly are your scripts doing? /b On Mar 5, 2010, at 1:04 PM, Mike van Lammeren wrote: > Or is there a better way of handling this situation altogether? I'm open to any suggestions that people would care to make! From mike at van.lammeren.net Fri Mar 5 11:32:39 2010 From: mike at van.lammeren.net (Mike van Lammeren) Date: Fri, 5 Mar 2010 14:32:39 -0500 Subject: [Freeswitch-users] Which Lua script am I? In-Reply-To: <87f2f3b91003051116p524bc237wca60baa697b99789@mail.gmail.com> References: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> <87f2f3b91003051116p524bc237wca60baa697b99789@mail.gmail.com> Message-ID: <5d2828f1003051132m7af18875i49567dc0f3a788ce@mail.gmail.com> I can only talk about the project in vague terms, due to client confidentiality, but here goes: Many thousands of devices will be reporting events, via HTTP Post, to a central server farm. There will be at least 5 or 6 web servers recording these events, and a similar number of VoIP servers running FreeSWITCH. Communication between the web servers and VoIP servers is via a shared MySQL Cluster. Certain events will result in FreeSWITCH originating a phone call, playing a voice message to a human, then recording a number typed in by that human. It is important that each event result in just one phone call. We don't want people bothered with multiple, simultaneous calls, and we don't want things to be missed, either. What do you think? On Fri, Mar 5, 2010 at 2:16 PM, Michael Collins wrote: > May I ask what the end goal is? It could be that there are better tools in > the toolbox to help you... > > -MC > > On Fri, Mar 5, 2010 at 11:04 AM, Mike van Lammeren wrote: > >> Hello! >> >> I am working on a high-availability system and need a Lua script that can >> run in the background and loop forever, periodically waking up to accomplish >> some tasks. I would like to be able to handle at least 10 concurrent tasks. >> >> My first idea was to have a simple background script that would call >> another script, let's call it the 'task' script, every 5 seconds or so. This >> would spread the work around, and if any task script quit with an error, the >> background script would remain running, and would continue to launch new >> task scripts. >> >> However, I can see no way for the background script to launch other Lua >> scripts. Am I missing something? I need something like session:execute(), >> but unfortunately this background script has no session, and I'm not sure if >> session:execute() can even make a call like the "luarun" console command. >> >> So, my next ideas was to have 10 copies of the background script. Each >> script would loop forever. Upon launch, each script would perform a single >> task, then sleep for 60 seconds. This allows handling of 10 concurrent >> tasks. >> >> However, there are some problems with running 10 copies of the same >> script, which I believe can be solved if each script could be given a unique >> identifier. One problem is that I would like the scripts to actually sleep >> for a variable amount of time, say between 55 and 65 seconds, so that the >> workload would spread around. Another, similar problem, is that each script >> needs to 'claim' a number of database records from a table that is queuing >> up work for the scripts. Once again, if each script had a unique identifier, >> then I could use an update query to effectively 'set and test' a record that >> would be tied to that script instance. >> >> I could use a random number to identify each script, but since math.random >> is seeded with a timestamp that only resolves to seconds, then all 10 >> scripts will be given the same sequence of random numbers, and all 10 will >> run in lock-step with each other. So, random numbers are out. (If I had a >> unique ID to seed the random number generator, then I could just use that >> unique ID and wouldn't need random numbers.) >> >> Is there a way of uniquely identifying 10 Lua scripts that FreeSWITCH >> launches at startup? >> >> Or is there a better way of handling this situation altogether? I'm open >> to any suggestions that people would care to make! >> >> (I would entertain the idea of a single script that would start with >> FreeSWITCH, then launch 10 other scripts, giving each a unique identifier, >> but that brings me back to the original problem of not knowing how to launch >> other Lua scripts under FreeSWITCH.) >> >> Mike van Lammeren >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100305/17d23669/attachment-0001.html From anthony.minessale at gmail.com Fri Mar 5 11:36:25 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 5 Mar 2010 13:36:25 -0600 Subject: [Freeswitch-users] Which Lua script am I? In-Reply-To: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> References: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> Message-ID: <191c3a031003051136n36f6aed1m4adfdcd925ffaa71@mail.gmail.com> indeed you are missing something. The FSAPI interface, see the API object in the lua docs and the "luarun" api command. You will probably find this knowledge very useful but even more important you may want to know that high-availability and script do not go together as well as high-availability and C, for instance. On Fri, Mar 5, 2010 at 1:04 PM, Mike van Lammeren wrote: > Hello! > > I am working on a high-availability system and need a Lua script that can > run in the background and loop forever, periodically waking up to accomplish > some tasks. I would like to be able to handle at least 10 concurrent tasks. > > My first idea was to have a simple background script that would call > another script, let's call it the 'task' script, every 5 seconds or so. This > would spread the work around, and if any task script quit with an error, the > background script would remain running, and would continue to launch new > task scripts. > > However, I can see no way for the background script to launch other Lua > scripts. Am I missing something? I need something like session:execute(), > but unfortunately this background script has no session, and I'm not sure if > session:execute() can even make a call like the "luarun" console command. > > So, my next ideas was to have 10 copies of the background script. Each > script would loop forever. Upon launch, each script would perform a single > task, then sleep for 60 seconds. This allows handling of 10 concurrent > tasks. > > However, there are some problems with running 10 copies of the same script, > which I believe can be solved if each script could be given a unique > identifier. One problem is that I would like the scripts to actually sleep > for a variable amount of time, say between 55 and 65 seconds, so that the > workload would spread around. Another, similar problem, is that each script > needs to 'claim' a number of database records from a table that is queuing > up work for the scripts. Once again, if each script had a unique identifier, > then I could use an update query to effectively 'set and test' a record that > would be tied to that script instance. > > I could use a random number to identify each script, but since math.random > is seeded with a timestamp that only resolves to seconds, then all 10 > scripts will be given the same sequence of random numbers, and all 10 will > run in lock-step with each other. So, random numbers are out. (If I had a > unique ID to seed the random number generator, then I could just use that > unique ID and wouldn't need random numbers.) > > Is there a way of uniquely identifying 10 Lua scripts that FreeSWITCH > launches at startup? > > Or is there a better way of handling this situation altogether? I'm open to > any suggestions that people would care to make! > > (I would entertain the idea of a single script that would start with > FreeSWITCH, then launch 10 other scripts, giving each a unique identifier, > but that brings me back to the original problem of not knowing how to launch > other Lua scripts under FreeSWITCH.) > > Mike van Lammeren > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100305/d741adca/attachment.html From mike at van.lammeren.net Fri Mar 5 11:38:37 2010 From: mike at van.lammeren.net (Mike van Lammeren) Date: Fri, 5 Mar 2010 14:38:37 -0500 Subject: [Freeswitch-users] Which Lua script am I? In-Reply-To: <5d2828f1003051132m7af18875i49567dc0f3a788ce@mail.gmail.com> References: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> <87f2f3b91003051116p524bc237wca60baa697b99789@mail.gmail.com> <5d2828f1003051132m7af18875i49567dc0f3a788ce@mail.gmail.com> Message-ID: <5d2828f1003051138n5b755291vfcd2c9f5ff34bc08@mail.gmail.com> So much for theory! Take a look at this sample script. -- math.randomseed(os.time()) for i=1,9 do -- final version will loop forever freeswitch.consoleLog("info", "wake-up #" .. i .. ", random number: " .. math.random(111,999) .. "\n") -- Sleep for a while freeswitch.msleep(5000) end freeswitch.consoleLog("warning", "Script end.\n") return 0 If I launch 10 copies of this Lua script with FreeSWITCH, with the 'startup-script' param in lua.conf.xml, then it turns out that each time through the loop for each script does actually produce a unique random number. If I comment out the first line, thus seeding the random number generator, then all 10 scripts give the same 'random' number the first time through the loop, then a unique random number for each subsequent loop! Apparently, I don't really have the problem I thought I had. All the same, I'm still open to suggestions on better ways to achieve my ultimate goals! Mike van Lammeren On Fri, Mar 5, 2010 at 2:32 PM, Mike van Lammeren wrote: > I can only talk about the project in vague terms, due to client > confidentiality, but here goes: > > Many thousands of devices will be reporting events, via HTTP Post, to a > central server farm. There will be at least 5 or 6 web servers recording > these events, and a similar number of VoIP servers running FreeSWITCH. > Communication between the web servers and VoIP servers is via a shared MySQL > Cluster. Certain events will result in FreeSWITCH originating a phone call, > playing a voice message to a human, then recording a number typed in by that > human. > > It is important that each event result in just one phone call. We don't > want people bothered with multiple, simultaneous calls, and we don't want > things to be missed, either. > > What do you think? > > > On Fri, Mar 5, 2010 at 2:16 PM, Michael Collins wrote: > >> May I ask what the end goal is? It could be that there are better tools in >> the toolbox to help you... >> >> -MC >> >> On Fri, Mar 5, 2010 at 11:04 AM, Mike van Lammeren > > wrote: >> >>> Hello! >>> >>> I am working on a high-availability system and need a Lua script that can >>> run in the background and loop forever, periodically waking up to accomplish >>> some tasks. I would like to be able to handle at least 10 concurrent tasks. >>> >>> My first idea was to have a simple background script that would call >>> another script, let's call it the 'task' script, every 5 seconds or so. This >>> would spread the work around, and if any task script quit with an error, the >>> background script would remain running, and would continue to launch new >>> task scripts. >>> >>> However, I can see no way for the background script to launch other Lua >>> scripts. Am I missing something? I need something like session:execute(), >>> but unfortunately this background script has no session, and I'm not sure if >>> session:execute() can even make a call like the "luarun" console command. >>> >>> So, my next ideas was to have 10 copies of the background script. Each >>> script would loop forever. Upon launch, each script would perform a single >>> task, then sleep for 60 seconds. This allows handling of 10 concurrent >>> tasks. >>> >>> However, there are some problems with running 10 copies of the same >>> script, which I believe can be solved if each script could be given a unique >>> identifier. One problem is that I would like the scripts to actually sleep >>> for a variable amount of time, say between 55 and 65 seconds, so that the >>> workload would spread around. Another, similar problem, is that each script >>> needs to 'claim' a number of database records from a table that is queuing >>> up work for the scripts. Once again, if each script had a unique identifier, >>> then I could use an update query to effectively 'set and test' a record that >>> would be tied to that script instance. >>> >>> I could use a random number to identify each script, but since >>> math.random is seeded with a timestamp that only resolves to seconds, then >>> all 10 scripts will be given the same sequence of random numbers, and all 10 >>> will run in lock-step with each other. So, random numbers are out. (If I had >>> a unique ID to seed the random number generator, then I could just use that >>> unique ID and wouldn't need random numbers.) >>> >>> Is there a way of uniquely identifying 10 Lua scripts that FreeSWITCH >>> launches at startup? >>> >>> Or is there a better way of handling this situation altogether? I'm open >>> to any suggestions that people would care to make! >>> >>> (I would entertain the idea of a single script that would start with >>> FreeSWITCH, then launch 10 other scripts, giving each a unique identifier, >>> but that brings me back to the original problem of not knowing how to launch >>> other Lua scripts under FreeSWITCH.) >>> >>> Mike van Lammeren >>> >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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/20100305/f7c304ff/attachment.html From dave at 3c.co.uk Fri Mar 5 11:40:14 2010 From: dave at 3c.co.uk (David Knell) Date: Fri, 5 Mar 2010 12:40:14 -0700 Subject: [Freeswitch-users] Which Lua script am I? References: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> Message-ID: Hi Mike, You can spawn a new script with something like api = freeswitch.API(); reply = api:executeString("luarun /tmp/msg.lua"); - and you can pass parameters, accessed in the normal way. So there's no reason why you couldn't have a background script running which spawns one worker per task that needs doing; each worker can do its task and then exit. Cheers -- Dave ----- Original Message ----- From: Mike van Lammeren To: FreeSWITCH Users Sent: Friday, March 05, 2010 12:04 PM Subject: [Freeswitch-users] Which Lua script am I? Hello! I am working on a high-availability system and need a Lua script that can run in the background and loop forever, periodically waking up to accomplish some tasks. I would like to be able to handle at least 10 concurrent tasks. My first idea was to have a simple background script that would call another script, let's call it the 'task' script, every 5 seconds or so. This would spread the work around, and if any task script quit with an error, the background script would remain running, and would continue to launch new task scripts. However, I can see no way for the background script to launch other Lua scripts. Am I missing something? I need something like session:execute(), but unfortunately this background script has no session, and I'm not sure if session:execute() can even make a call like the "luarun" console command. So, my next ideas was to have 10 copies of the background script. Each script would loop forever. Upon launch, each script would perform a single task, then sleep for 60 seconds. This allows handling of 10 concurrent tasks. However, there are some problems with running 10 copies of the same script, which I believe can be solved if each script could be given a unique identifier. One problem is that I would like the scripts to actually sleep for a variable amount of time, say between 55 and 65 seconds, so that the workload would spread around. Another, similar problem, is that each script needs to 'claim' a number of database records from a table that is queuing up work for the scripts. Once again, if each script had a unique identifier, then I could use an update query to effectively 'set and test' a record that would be tied to that script instance. I could use a random number to identify each script, but since math.random is seeded with a timestamp that only resolves to seconds, then all 10 scripts will be given the same sequence of random numbers, and all 10 will run in lock-step with each other. So, random numbers are out. (If I had a unique ID to seed the random number generator, then I could just use that unique ID and wouldn't need random numbers.) Is there a way of uniquely identifying 10 Lua scripts that FreeSWITCH launches at startup? Or is there a better way of handling this situation altogether? I'm open to any suggestions that people would care to make! (I would entertain the idea of a single script that would start with FreeSWITCH, then launch 10 other scripts, giving each a unique identifier, but that brings me back to the original problem of not knowing how to launch other Lua scripts under FreeSWITCH.) Mike van Lammeren ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/dd8e633f/attachment-0001.html From brian at freeswitch.org Fri Mar 5 11:42:54 2010 From: brian at freeswitch.org (Brian West) Date: Fri, 5 Mar 2010 13:42:54 -0600 Subject: [Freeswitch-users] Which Lua script am I? In-Reply-To: <5d2828f1003051138n5b755291vfcd2c9f5ff34bc08@mail.gmail.com> References: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> <87f2f3b91003051116p524bc237wca60baa697b99789@mail.gmail.com> <5d2828f1003051132m7af18875i49567dc0f3a788ce@mail.gmail.com> <5d2828f1003051138n5b755291vfcd2c9f5ff34bc08@mail.gmail.com> Message-ID: <5084F072-9194-4461-930B-C79AFD978944@freeswitch.org> Write it in C and use the FreeSWITCH task scheduler API. /b On Mar 5, 2010, at 1:38 PM, Mike van Lammeren wrote: > All the same, I'm still open to suggestions on better ways to achieve my ultimate goals! From mike at van.lammeren.net Fri Mar 5 11:59:48 2010 From: mike at van.lammeren.net (Mike van Lammeren) Date: Fri, 5 Mar 2010 14:59:48 -0500 Subject: [Freeswitch-users] Which Lua script am I? In-Reply-To: <5084F072-9194-4461-930B-C79AFD978944@freeswitch.org> References: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> <87f2f3b91003051116p524bc237wca60baa697b99789@mail.gmail.com> <5d2828f1003051132m7af18875i49567dc0f3a788ce@mail.gmail.com> <5d2828f1003051138n5b755291vfcd2c9f5ff34bc08@mail.gmail.com> <5084F072-9194-4461-930B-C79AFD978944@freeswitch.org> Message-ID: <5d2828f1003051159i48107791m58730e23fe9291e9@mail.gmail.com> Thanks so much, everyone! Awesome advice, as usual! Due to a deadline situation, I'm going with the Lua script idea. However, if it gives us any trouble after the looming deadline, then I will definitely go the C route. Thanks again! Mike van Lammeren On Fri, Mar 5, 2010 at 2:42 PM, Brian West wrote: > Write it in C and use the FreeSWITCH task scheduler API. > > /b > > On Mar 5, 2010, at 1:38 PM, Mike van Lammeren wrote: > > > All the same, I'm still open to suggestions on better ways to achieve my > ultimate goals! > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/fecd1073/attachment.html From mike at van.lammeren.net Fri Mar 5 12:17:35 2010 From: mike at van.lammeren.net (Mike van Lammeren) Date: Fri, 5 Mar 2010 15:17:35 -0500 Subject: [Freeswitch-users] Which Lua script am I? In-Reply-To: <5d2828f1003051159i48107791m58730e23fe9291e9@mail.gmail.com> References: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> <87f2f3b91003051116p524bc237wca60baa697b99789@mail.gmail.com> <5d2828f1003051132m7af18875i49567dc0f3a788ce@mail.gmail.com> <5d2828f1003051138n5b755291vfcd2c9f5ff34bc08@mail.gmail.com> <5084F072-9194-4461-930B-C79AFD978944@freeswitch.org> <5d2828f1003051159i48107791m58730e23fe9291e9@mail.gmail.com> Message-ID: <5d2828f1003051217g52dd8574t81c9bb349e6a1e63@mail.gmail.com> In case anyone's interested, I just found something cool. You can pass parameters to the Lua script from the lua.conf.xml file, like so: I can see that being useful. Mike van Lammeren On Fri, Mar 5, 2010 at 2:59 PM, Mike van Lammeren wrote: > Thanks so much, everyone! Awesome advice, as usual! > > Due to a deadline situation, I'm going with the Lua script idea. However, > if it gives us any trouble after the looming deadline, then I will > definitely go the C route. > > Thanks again! > > Mike van Lammeren > > > On Fri, Mar 5, 2010 at 2:42 PM, Brian West wrote: > >> Write it in C and use the FreeSWITCH task scheduler API. >> >> /b >> >> On Mar 5, 2010, at 1:38 PM, Mike van Lammeren wrote: >> >> > All the same, I'm still open to suggestions on better ways to achieve my >> ultimate goals! >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/04fe586f/attachment.html From rob4manhere at gmail.com Fri Mar 5 12:31:35 2010 From: rob4manhere at gmail.com (Rob Forman) Date: Fri, 5 Mar 2010 14:31:35 -0600 Subject: [Freeswitch-users] ESL Event Message-ID: <4F3EF9D7-AB88-404D-A94C-E894E8DDED93@gmail.com> Hi all, I'm sending a custom event via an outbound ESL socket (using ESL's pymod ESL.py and _ESL.so). Does this look right? event = ESL.ESLevent("CUSTOM", "test::event1") event.addHeader("Name1", "Value1") self.esl.sendEvent(event) It used to work (r16593) but now doesn't on trunk (r16897). I have a lot more information which I'll submit in jira, but just wanted to check that I'm not missing something obvious about sending custom events before I do. All done on trunk release, 64-bit CentOS 5.3, and python 2.4.3 (stock). Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/031eaf8a/attachment.html From brian at freeswitch.org Fri Mar 5 12:39:56 2010 From: brian at freeswitch.org (Brian West) Date: Fri, 5 Mar 2010 14:39:56 -0600 Subject: [Freeswitch-users] ESL Event In-Reply-To: <4F3EF9D7-AB88-404D-A94C-E894E8DDED93@gmail.com> References: <4F3EF9D7-AB88-404D-A94C-E894E8DDED93@gmail.com> Message-ID: <828714BA-792C-4BB7-9AFA-039EAE629081@freeswitch.org> Wouldn't that be event.sendEvent? /b On Mar 5, 2010, at 2:31 PM, Rob Forman wrote: > > event = ESL.ESLevent("CUSTOM", "test::event1") > event.addHeader("Name1", "Value1") > self.esl.sendEvent(event) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/48162217/attachment.html From anthony.minessale at gmail.com Fri Mar 5 12:43:26 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 5 Mar 2010 14:43:26 -0600 Subject: [Freeswitch-users] ESL Event In-Reply-To: <4F3EF9D7-AB88-404D-A94C-E894E8DDED93@gmail.com> References: <4F3EF9D7-AB88-404D-A94C-E894E8DDED93@gmail.com> Message-ID: <191c3a031003051243p5b9d36efle46774208b44aa0d@mail.gmail.com> are you trying to send the event to a specific channel or fire the event? The default action is fire the event, if you want to send it to a specific channel you need to add the unique-id header with the appropriate uuid. On Fri, Mar 5, 2010 at 2:31 PM, Rob Forman wrote: > Hi all, > > I'm sending a custom event via an outbound ESL socket (using ESL's pymod > ESL.py and _ESL.so). > > Does this look right? > > event = ESL.ESLevent("CUSTOM", "test::event1") > event.addHeader("Name1", "Value1") > self.esl.sendEvent(event) > > > It used to work (r16593) but now doesn't on trunk (r16897). I have a lot > more information which I'll submit in jira, but just wanted to check that > I'm not missing something obvious about sending custom events before I do. > > All done on trunk release, 64-bit CentOS 5.3, and python 2.4.3 (stock). > > Rob > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100305/927385b7/attachment.html From rob4manhere at gmail.com Fri Mar 5 12:49:40 2010 From: rob4manhere at gmail.com (Rob Forman) Date: Fri, 5 Mar 2010 14:49:40 -0600 Subject: [Freeswitch-users] ESL Event In-Reply-To: <191c3a031003051243p5b9d36efle46774208b44aa0d@mail.gmail.com> References: <4F3EF9D7-AB88-404D-A94C-E894E8DDED93@gmail.com> <191c3a031003051243p5b9d36efle46774208b44aa0d@mail.gmail.com> Message-ID: <26BCAA97-D813-4C84-AEA2-3149EDB3CE84@gmail.com> Sorry I didn't specify. I'm trying to fire an event, which is picked up by another event listening daemon. On Mar 5, 2010, at 2:43 PM, Anthony Minessale wrote: > are you trying to send the event to a specific channel or fire the > event? > > The default action is fire the event, if you want to send it to a > specific channel you need to > add the unique-id header with the appropriate uuid. > > > > On Fri, Mar 5, 2010 at 2:31 PM, Rob Forman > wrote: > Hi all, > > I'm sending a custom event via an outbound ESL socket (using ESL's > pymod ESL.py and _ESL.so). > > Does this look right? > > event = ESL.ESLevent("CUSTOM", "test::event1") > event.addHeader("Name1", "Value1") > self.esl.sendEvent(event) > > > It used to work (r16593) but now doesn't on trunk (r16897). I have > a lot more information which I'll submit in jira, but just wanted to > check that I'm not missing something obvious about sending custom > events before I do. > > All done on trunk release, 64-bit CentOS 5.3, and python 2.4.3 > (stock). > > Rob > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/f9cfd877/attachment-0001.html From rob4manhere at gmail.com Fri Mar 5 14:02:30 2010 From: rob4manhere at gmail.com (Rob Forman) Date: Fri, 5 Mar 2010 16:02:30 -0600 Subject: [Freeswitch-users] ESL Event In-Reply-To: <828714BA-792C-4BB7-9AFA-039EAE629081@freeswitch.org> References: <4F3EF9D7-AB88-404D-A94C-E894E8DDED93@gmail.com> <828714BA-792C-4BB7-9AFA-039EAE629081@freeswitch.org> Message-ID: <926AA714-1B8C-480C-A67E-1D6B07ACECA5@gmail.com> I don't think so. I see sendEvent under the ESLconnection class in ESL.py. And it used to work. Just doing a sanity check. If it looks right I'll submit a jira ticket. On Mar 5, 2010, at 2:39 PM, Brian West wrote: > Wouldn't that be event.sendEvent? > > /b > > On Mar 5, 2010, at 2:31 PM, Rob Forman wrote: > >> >> event = ESL.ESLevent("CUSTOM", "test::event1") >> event.addHeader("Name1", "Value1") >> self.esl.sendEvent(event) > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/2ed5e77a/attachment.html From jerry.richards at teotech.com Fri Mar 5 14:57:23 2010 From: jerry.richards at teotech.com (Jerry Richards) Date: Fri, 5 Mar 2010 14:57:23 -0800 Subject: [Freeswitch-users] Dialing ** In-Reply-To: <191c3a031003041614j458e6af6sf49df61fd5194cd0@mail.gmail.com> References: <87f2f3b91003041458p3f5463cav844283daa6ab02db@mail.gmail.com><79FDBF1AB958496AAFB277D5614EFD4B@greyhawk.tonecommander.com> <191c3a031003041614j458e6af6sf49df61fd5194cd0@mail.gmail.com> Message-ID: <15FDA7562D044B4DBCD7654C73F13F07@greyhawk.tonecommander.com> Sorry, I just looked for diffs in the logs I had. Thank you for all of your good advice. I do appreciate it! I did try a snom 360 phone (but not a polycomm) and it behaved the same, however, I did find that one of my servers (with a 2-day newer FS version and different config) does not have this problem. So I will isolate the issue between my config or just upgrade to the newer FS. Thank You and Best Regards, Jerry _____ From: Anthony Minessale [mailto:anthony.minessale at gmail.com] Sent: Thursday, March 04, 2010 4:14 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Dialing ** Did you totally ignore my instructions? Do you want help or not? On Thu, Mar 4, 2010 at 6:01 PM, Jerry Richards wrote: What I see in the log where they first differ is just after FS sends the CANCEL to the original ringing phone. FS logs a cause: PICKED_OFF when it didn't work. Do you know what PICKED_OFF means? In the good case, FS logs: tport_pend(0x88348e8): pending 0x8942cc0 for udp/192.168.72.141:5060 (already 1) 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:53 sofia/internal/sip:5381 at 192.168.72.58:5060 Standard REPORTING, cause: ORIGINATOR_CANCEL 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING going to sleep 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:327 (sofia/internal/sip:5381 at 192.168.72.58:5060) State Change CS_REPORTING -> CS_DESTROY 2010-03-04 12:13:04.772196 [DEBUG] switch_core_session.c:1019 Send signal sofia/internal/sip:5381 at 192.168.72.58:5060 [BREAK] 2010-03-04 12:13:04.772196 [DEBUG] switch_core_session.c:1161 Session 177 (sofia/internal/sip:5381 at 192.168.72.58:5060) Locked, Waiting on external entities In the bad case, FS logs: tport_pend(0x88348e8): pending 0xb6dd6468 for udp/192.168.72.141:5060 (already 1) 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:333 (sofia/internal/sip:5381 at 192.168.72.58:5060) State Change CS_HANGUP -> CS_REPORTING 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1019 Send signal sofia/internal/sip:5381 at 192.168.72.58:5060 [BREAK] 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/sip:5381 at 192.168.72.58:5060) Running State Change CS_REPORTING 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:53 sofia/internal/sip:5381 at 192.168.72.58:5060 Standard REPORTING, cause: PICKED_OFF 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING going to sleep 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:327 (sofia/internal/sip:5381 at 192.168.72.58:5060) State Change CS_REPORTING -> CS_DESTROY 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1019 Send signal sofia/internal/sip:5381 at 192.168.72.58:5060 [BREAK] 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1161 Session 199 (sofia/internal/sip:5381 at 192.168.72.58:5060) Locked, Waiting on external entities 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1019 Send signal sofia/internal/1059 at 192.168.72.141:5060 [BREAK] 2010-03-04 12:33:45.001563 [NOTICE] switch_ivr_bridge.c:740 Hangup sofia/internal/5402 at 192.168.72.141:5060 [CS_SOFT_EXECUTE] [ORIGINATOR_CANCEL] Best Regards, Jerry _____ From: Michael Collins [mailto:msc at freeswitch.org] Sent: Thursday, March 04, 2010 2:59 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Dialing ** On Thu, Mar 4, 2010 at 2:14 PM, Jerry Richards wrote: By the way, it appears that the "**" ringing call pickup feature is intermittent. Sometimes it works, sometimes not. I posted two traces of the following scenario: 1) 1059 calls 5381 2) 5381 rings 3) 5402 dials "**5381" In the bad case (http://pastebin.freeswitch.org/12325), all calls disconnect following above scenario. In the good case (http://pastebin.freeswitch.org/12326), 5402 connects to 1059. Best Regards, Jerry I'd suggest turning off the sofia debug stuff cuz that's just line noise unless you know all that stuff. You need to compare the two traces and look for differences. I'd start by looking at only the fs console output of each call and see if there's anything different between the two. See if there's a point where they diverge and work your way back from there. Look at the corresponding SIP dialogs and see if there are any clues as well. You may also want to capture the SIP traffic with tcpdump and analyze it in Wireshark which is easier on the eyes than having it buried in with the sofia and console logs. FWIW, I just updated to latest and I can't make this feature *NOT* work. I'm on 32-bit CentOS using Polycom 550 and Snom 320 phones. -MC _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100305/9406279d/attachment.html From anthony.minessale at gmail.com Fri Mar 5 15:11:41 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 5 Mar 2010 17:11:41 -0600 Subject: [Freeswitch-users] ESL Event In-Reply-To: <926AA714-1B8C-480C-A67E-1D6B07ACECA5@gmail.com> References: <4F3EF9D7-AB88-404D-A94C-E894E8DDED93@gmail.com> <828714BA-792C-4BB7-9AFA-039EAE629081@freeswitch.org> <926AA714-1B8C-480C-A67E-1D6B07ACECA5@gmail.com> Message-ID: <191c3a031003051511i5fe87c76u6fdbe28e0834169c@mail.gmail.com> found your problem fixed in r16921 I think in the future maybe just open the jira right away, it's easy to close them as "not a bug" if you are wrong. If you are right it spares us the trouble of tracking issues over email. On Fri, Mar 5, 2010 at 4:02 PM, Rob Forman wrote: > I don't think so. I see sendEvent under the ESLconnection class in ESL.py. > And it used to work. > > Just doing a sanity check. If it looks right I'll submit a jira ticket. > > > > On Mar 5, 2010, at 2:39 PM, Brian West wrote: > > Wouldn't that be event.sendEvent? > > /b > > On Mar 5, 2010, at 2:31 PM, Rob Forman wrote: > > > event = ESL.ESLevent("CUSTOM", "test::event1") > event.addHeader("Name1", "Value1") > self.esl.sendEvent(event) > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > > -- 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 iax:guest at conference.freeswitch.org/888 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/20100305/92720b56/attachment-0001.html From anthony.minessale at gmail.com Fri Mar 5 15:15:06 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 5 Mar 2010 17:15:06 -0600 Subject: [Freeswitch-users] Dialing ** In-Reply-To: <15FDA7562D044B4DBCD7654C73F13F07@greyhawk.tonecommander.com> References: <87f2f3b91003041458p3f5463cav844283daa6ab02db@mail.gmail.com> <79FDBF1AB958496AAFB277D5614EFD4B@greyhawk.tonecommander.com> <191c3a031003041614j458e6af6sf49df61fd5194cd0@mail.gmail.com> <15FDA7562D044B4DBCD7654C73F13F07@greyhawk.tonecommander.com> Message-ID: <191c3a031003051515u232820a3ob8b13ab70377549c@mail.gmail.com> What I am trying to tell you going forward is to open issues on jira not the mailing list I have to say it 4-10 times a day to people. We cant follow issues over email, we get literally 100+ emails a day some days. It's for your own good. We need proper workflow.... On Fri, Mar 5, 2010 at 4:57 PM, Jerry Richards wrote: > Sorry, I just looked for diffs in the logs I had. Thank you for all of > your good advice. I do appreciate it! I did try a snom 360 phone (but > not a polycomm) and it behaved the same, however, I did find that one of my > servers (with a 2-day newer FS version and different config) does not have > this problem. So I will isolate the issue between my config or just upgrade > to the newer FS. > > Thank You and Best Regards, > Jerry > > > ------------------------------ > *From:* Anthony Minessale [mailto:anthony.minessale at gmail.com] > *Sent:* Thursday, March 04, 2010 4:14 PM > > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* Re: [Freeswitch-users] Dialing ** > > Did you totally ignore my instructions? > Do you want help or not? > > > On Thu, Mar 4, 2010 at 6:01 PM, Jerry Richards > wrote: > >> What I see in the log where they first differ is just after FS sends the >> CANCEL to the original ringing phone. FS logs a cause: PICKED_OFF when it >> didn't work. Do you know what PICKED_OFF means? >> >> In the good case, FS logs: >> >> tport_pend(0x88348e8): pending 0x8942cc0 for udp/192.168.72.141:5060(already 1) >> 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:585 >> (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING >> 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:53 >> sofia/internal/sip:5381 at 192.168.72.58:5060 Standard REPORTING, cause: >> ORIGINATOR_CANCEL >> 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:585 >> (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING going to >> sleep >> 2010-03-04 12:13:04.772196 [DEBUG] switch_core_state_machine.c:327 >> (sofia/internal/sip:5381 at 192.168.72.58:5060) State Change CS_REPORTING -> >> CS_DESTROY >> 2010-03-04 12:13:04.772196 [DEBUG] switch_core_session.c:1019 Send signal >> sofia/internal/sip:5381 at 192.168.72.58:5060 [BREAK] >> 2010-03-04 12:13:04.772196 [DEBUG] switch_core_session.c:1161 Session 177 >> (sofia/internal/sip:5381 at 192.168.72.58:5060) Locked, Waiting on external >> entities >> In the bad case, FS logs: >> >> tport_pend(0x88348e8): pending 0xb6dd6468 for udp/192.168.72.141:5060(already 1) >> 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:333 >> (sofia/internal/sip:5381 at 192.168.72.58:5060) State Change CS_HANGUP -> >> CS_REPORTING >> 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1019 Send signal >> sofia/internal/sip:5381 at 192.168.72.58:5060 [BREAK] >> 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:314 >> (sofia/internal/sip:5381 at 192.168.72.58:5060) Running State Change >> CS_REPORTING >> 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:585 >> (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING >> 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:53 >> sofia/internal/sip:5381 at 192.168.72.58:5060 Standard REPORTING, cause: >> PICKED_OFF >> 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:585 >> (sofia/internal/sip:5381 at 192.168.72.58:5060) State REPORTING going to >> sleep >> 2010-03-04 12:33:45.001563 [DEBUG] switch_core_state_machine.c:327 >> (sofia/internal/sip:5381 at 192.168.72.58:5060) State Change CS_REPORTING -> >> CS_DESTROY >> 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1019 Send signal >> sofia/internal/sip:5381 at 192.168.72.58:5060 [BREAK] >> 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1161 Session 199 >> (sofia/internal/sip:5381 at 192.168.72.58:5060) Locked, Waiting on external >> entities >> 2010-03-04 12:33:45.001563 [DEBUG] switch_core_session.c:1019 Send signal >> sofia/internal/1059 at 192.168.72.141:5060 [BREAK] >> 2010-03-04 12:33:45.001563 [NOTICE] switch_ivr_bridge.c:740 Hangup >> sofia/internal/5402 at 192.168.72.141:5060 [CS_SOFT_EXECUTE] >> [ORIGINATOR_CANCEL] >> Best Regards, >> Jerry >> >> ------------------------------ >> *From:* Michael Collins [mailto:msc at freeswitch.org] >> *Sent:* Thursday, March 04, 2010 2:59 PM >> >> *To:* freeswitch-users at lists.freeswitch.org >> *Subject:* Re: [Freeswitch-users] Dialing ** >> >> >> >> On Thu, Mar 4, 2010 at 2:14 PM, Jerry Richards < >> jerry.richards at teotech.com> wrote: >> >>> >>> By the way, it appears that the "**" ringing call pickup >>> feature >>> is intermittent. Sometimes it works, sometimes not. I posted two traces >>> of >>> the following scenario: >>> >>> 1) 1059 calls 5381 >>> 2) 5381 rings >>> 3) 5402 dials "**5381" >>> >>> In the bad case (http://pastebin.freeswitch.org/12325), all calls >>> disconnect >>> following above scenario. In the good case >>> (http://pastebin.freeswitch.org/12326), 5402 connects to 1059. >>> >>> Best Regards, >>> Jerry >>> >> >> I'd suggest turning off the sofia debug stuff cuz that's just line noise >> unless you know all that stuff. You need to compare the two traces and look >> for differences. I'd start by looking at only the fs console output of each >> call and see if there's anything different between the two. See if there's a >> point where they diverge and work your way back from there. Look at the >> corresponding SIP dialogs and see if there are any clues as well. You may >> also want to capture the SIP traffic with tcpdump and analyze it in >> Wireshark which is easier on the eyes than having it buried in with the >> sofia and console logs. >> >> FWIW, I just updated to latest and I can't make this feature *NOT* work. >> I'm on 32-bit CentOS using Polycom 550 and Snom 320 phones. >> >> -MC >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100305/061f01c6/attachment.html From rupa at rupa.com Fri Mar 5 15:29:49 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Fri, 5 Mar 2010 17:29:49 -0600 Subject: [Freeswitch-users] ODBC connection in 1.0.5 (trunk 16912) Problem. In-Reply-To: <8ccbff061003050914q6535dabldf8fe977255f43f6@mail.gmail.com> References: <8ccbff061003050914q6535dabldf8fe977255f43f6@mail.gmail.com> Message-ID: hmm.. at some point postgres is falling behind and rather than waiting, we're opening another connection. can you open a jira on this? we probably need to implement connection limits in the core db connection thingie. On Fri, Mar 5, 2010 at 11:14 AM, Dome Charoenyost wrote: > Dear All, > I found big odbc problem when i try to move to FS 1.0.5. > in same server i'm testing 1.0.4 and 1.0.5 and same config > 1. config limit.conf.xml use odbc (i use postgresql) > > 2. create dialplan in context public for test limit > > > > > > 3. use sipp generate test call > sipp -rtp_echo -sn uac -r 30 -l 500 -d 30000 -s 1111 -mp 25000 > xx.xx.xx.xx:5080 > > 1.0.4 work fine i found 2 connection in postgresql server > but 1.0.5 use 1 connection for 1 calls. and get error when call over > 100 calls. (postgresql maximum client connect is 100 ) > > So i'm not sure its' BUG or not ? > > > BG > > Dome C. > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/644ba9fd/attachment-0001.html From lloyd.aloysius at gmail.com Fri Mar 5 15:34:32 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Fri, 5 Mar 2010 18:34:32 -0500 Subject: [Freeswitch-users] Multi-tenant - DNS SRV and SIP Configuration Message-ID: <8a19bf2e1003051534k1673648fucfba348a760029fd@mail.gmail.com> Hi All, I follow all the steps in the wiki. Multi-tenant work properly , I need to setup DNS SRV and SIP for each Domain. If I do not have the access the domains DNS how can I make Multi-tenant work. Thank you. Lloyd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/27e8efb7/attachment.html From jerry.richards at teotech.com Fri Mar 5 15:36:08 2010 From: jerry.richards at teotech.com (Jerry Richards) Date: Fri, 5 Mar 2010 15:36:08 -0800 Subject: [Freeswitch-users] 415 Unsupported Media Handling In-Reply-To: <191c3a031002261255x7e037e6ftc119eab0ed21b69b@mail.gmail.com> References: <835A36B2-1C04-42B0-86C1-36528E93589D@freeswitch.org> <191c3a031002261255x7e037e6ftc119eab0ed21b69b@mail.gmail.com> Message-ID: Sorry again for the late reply on this issue. I think I understand what you're saying. Since IMs are not sent in the context of a dialog (it's simply a send/receive handshake), the b2bua has nothing to tell the originator. I will investigate the possibility of getting the Bria phones to send plain text. Regarding commercial support options for FS, I raised the issue to management here, but I'm not sure what the outcome of that will be (it's not my decision to make). Thanks And Best Regards, Jerry _____ From: Anthony Minessale [mailto:anthony.minessale at gmail.com] Sent: Friday, February 26, 2010 12:56 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] 415 Unsupported Media Handling It says SHOULD, not MUST right? The message passing in FS is abstracted and protocol agnostic and we are a b2bua not a proxy in terms of SIP. You are sending a message to 1 UA on FS who is accepting the message and delivering it to the core who is happy to receive messages in any format. Then it's routed back out another sip dialog where it's rejected. It's too late to go tell the sender that is unacceptable because we already happily accepted it (messages are not always passed out to other phones they can easily be directed at other internal resources). We don't know what the content-type means as we are a neutral party in the whole thing so there is not much else we can do but violate this scope issue and break out of our role as a neutral party and translate it to plain text and try again which is not very elegant. If FS was a proxy software, like openser and friends, we would be passing the data between UA in the way you expect but we are not a proxy. Based on the frequency and specific nature of your constant inquiries, and the likelihood that you are offering commercial VoIP services to customers. I suggest you contact us at consulting at freeswitch.org to investigate commercial support options for FreeSWITCH. Even then, I am not sure I could help you besides maybe a param to convert all text/html messages to plain text or some other sad hack. On Fri, Feb 26, 2010 at 1:43 PM, Jerry Richards wrote: I'm not sure I follow your comment. The first device prefers text/html so that's what it normally sets in the initial MESSAGE. Devices that support text/html will not generate this 415 error reply. It's only devices that don't support it that would send the 415 reply, so the issue is that the 415 is not getting passed back to the originator. Best Regards, Jerry -----Original Message----- From: Brian West [mailto:brian at freeswitch.org] Sent: Friday, February 26, 2010 11:01 AM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] 415 Unsupported Media Handling Its really clear here you'll need to say text/plain in the content type their accept header says they only take text/plain. /b On Feb 26, 2010, at 12:57 PM, Jerry Richards wrote: > > I have two types of devices, one supports text/html MESSAGE content > and one that only supports text/plain MESSAGE content. When I send an > IM from the first to the second, the second replies with 415 > Unsupported Media Type (as shown below). Section 8.1.3.5 of RFC 3261 > says the sender should retry using the media type acceptable to the receiver (in this case: plain/text). > > The problem I have is that Freeswitch doesn't pass the error back to > the sender (nor does it retry itself using plain/text). So the IM is lost. > Does anyone see the reason why the error is not being handled correctly? > > > ---------------------------------------------------------------------- > -- send 668 bytes to udp/[192.168.72.141]:5062 at 18:43:24.720446: > ------------------------------------------------------------------------ > MESSAGE sip:5398 at 192.168.72.141:5062 SIP/2.0 > Via: SIP/2.0/UDP 192.168.72.141;rport;branch=z9hG4bKXg6SNUcQa5Kre > Max-Forwards: 70 > From: "5382 on 141" >;tag=66661130 > To: "5398" > Call-ID: a9891a15-9da9-122d-b3ad-003048d7e9f0 > CSeq: 127444135 MESSAGE > Contact: > User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-32M > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, > REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE > Supported: timer, precondition, path, replaces > Content-Type: text/html > Content-Length: 63 > > hello this is Jerry from Teo > > ---------------------------------------------------------------------- > -- recv 459 bytes from udp/[192.168.72.141]:5062 at 18:43:24.728390: > ------------------------------------------------------------------------ > SIP/2.0 415 Unsupported media type > Via: SIP/2.0/UDP > 192.168.72.141;rport=5060;branch=z9hG4bKXg6SNUcQa5Kre;received=192.168 > .72.14 > 1 > From: "5382 on 141" >;tag=66661130 > To: "5398" > Call-ID: a9891a15-9da9-122d-b3ad-003048d7e9f0 > CSeq: 127444135 MESSAGE > Date: Fri, 26 Feb 2010 18:43:24 GMT > User-Agent: MobilityGateway-2.0.34078 > Server: MobilityGateway-2.0.34078 > Accept: text/plain > Content-Length: 0 > > Best Regards, > Jerry > > > _______________________________________________ > FreeSWITCH-users 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 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100305/565dedcf/attachment.html From rob4manhere at gmail.com Fri Mar 5 15:40:08 2010 From: rob4manhere at gmail.com (Rob Forman) Date: Fri, 5 Mar 2010 17:40:08 -0600 Subject: [Freeswitch-users] ESL Event In-Reply-To: <191c3a031003051511i5fe87c76u6fdbe28e0834169c@mail.gmail.com> References: <4F3EF9D7-AB88-404D-A94C-E894E8DDED93@gmail.com> <828714BA-792C-4BB7-9AFA-039EAE629081@freeswitch.org> <926AA714-1B8C-480C-A67E-1D6B07ACECA5@gmail.com> <191c3a031003051511i5fe87c76u6fdbe28e0834169c@mail.gmail.com> Message-ID: <64C2AEA6-E0BA-483F-BAB8-1F85BBEC070A@gmail.com> Thanks, and will do. On Mar 5, 2010, at 5:11 PM, Anthony Minessale wrote: > found your problem > fixed in r16921 > > I think in the future maybe just open the jira right away, it's easy > to close them as "not a bug" if you are wrong. > If you are right it spares us the trouble of tracking issues over > email. > > > On Fri, Mar 5, 2010 at 4:02 PM, Rob Forman > wrote: > I don't think so. I see sendEvent under the ESLconnection class in > ESL.py. And it used to work. > > Just doing a sanity check. If it looks right I'll submit a jira > ticket. > > > > On Mar 5, 2010, at 2:39 PM, Brian West wrote: > >> Wouldn't that be event.sendEvent? >> >> /b >> >> On Mar 5, 2010, at 2:31 PM, Rob Forman wrote: >> >>> >>> event = ESL.ESLevent("CUSTOM", "test::event1") >>> event.addHeader("Name1", "Value1") >>> self.esl.sendEvent(event) >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > > > > -- > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/1e3308d4/attachment-0001.html From rupa at rupa.com Fri Mar 5 15:43:32 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Fri, 5 Mar 2010 17:43:32 -0600 Subject: [Freeswitch-users] Multi-tenant - DNS SRV and SIP Configuration In-Reply-To: <8a19bf2e1003051534k1673648fucfba348a760029fd@mail.gmail.com> References: <8a19bf2e1003051534k1673648fucfba348a760029fd@mail.gmail.com> Message-ID: You have access to your own DNS, so you could do something like: companya.supersip.com companyb.supersip.com etc so you are actually doing the dns in your domain (supersip.com) and provision the phones as such. On Fri, Mar 5, 2010 at 5:34 PM, Aloysius Lloyd wrote: > Hi All, > > I follow all the steps in the wiki. > > Multi-tenant work properly , I need to setup DNS SRV and SIP for each > Domain. > > If I do not have the access the domains DNS how can I make Multi-tenant > work. > > Thank you. > Lloyd > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100305/1d33df8f/attachment.html From anthony.minessale at gmail.com Fri Mar 5 16:43:45 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 5 Mar 2010 18:43:45 -0600 Subject: [Freeswitch-users] ODBC connection in 1.0.5 (trunk 16912) Problem. In-Reply-To: <191c3a031003051641u4d31ca0eg20dd5eada8ebfec0@mail.gmail.com> References: <8ccbff061003050914q6535dabldf8fe977255f43f6@mail.gmail.com> <191c3a031003051641u4d31ca0eg20dd5eada8ebfec0@mail.gmail.com> Message-ID: <191c3a031003051643l2cd1af05ua84bf32a47cc45d0@mail.gmail.com> Now you are getting a dedicated handle per thread because of our cache db system. Either allow a max connections that matches the most calls you anticipate or file a bug with rupa to downgrade the mod back to sharing one db handle globally. On Mar 5, 2010 5:35 PM, "Rupa Schomaker" wrote: hmm.. at some point postgres is falling behind and rather than waiting, we're opening another connection. can you open a jira on this? we probably need to implement connection limits in the core db connection thingie. On Fri, Mar 5, 2010 at 11:14 AM, Dome Charoenyost wrote: > > Dear All, > I... -- -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/20100305/6c755b40/attachment.html From lloyd.aloysius at gmail.com Fri Mar 5 17:32:34 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Fri, 5 Mar 2010 20:32:34 -0500 Subject: [Freeswitch-users] Multi-tenant - DNS SRV and SIP Configuration In-Reply-To: References: <8a19bf2e1003051534k1673648fucfba348a760029fd@mail.gmail.com> Message-ID: <8a19bf2e1003051732v3ec9e004q7217e73aed6a9726@mail.gmail.com> Thanks Rupa. I will try your suggestion. On Fri, Mar 5, 2010 at 6:43 PM, Rupa Schomaker wrote: > You have access to your own DNS, so you could do something like: > > companya.supersip.com > companyb.supersip.com > etc > > so you are actually doing the dns in your domain (supersip.com) and > provision the phones as such. > > On Fri, Mar 5, 2010 at 5:34 PM, Aloysius Lloyd wrote: > >> Hi All, >> >> I follow all the steps in the wiki. >> >> Multi-tenant work properly , I need to setup DNS SRV and SIP for each >> Domain. >> >> If I do not have the access the domains DNS how can I make Multi-tenant >> work. >> >> Thank you. >> Lloyd >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100305/f499f58e/attachment.html From dujinfang at gmail.com Fri Mar 5 19:28:41 2010 From: dujinfang at gmail.com (Seven Du) Date: Sat, 6 Mar 2010 11:28:41 +0800 Subject: [Freeswitch-users] Which Lua script am I? In-Reply-To: <5d2828f1003051217g52dd8574t81c9bb349e6a1e63@mail.gmail.com> References: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> <87f2f3b91003051116p524bc237wca60baa697b99789@mail.gmail.com> <5d2828f1003051132m7af18875i49567dc0f3a788ce@mail.gmail.com> <5d2828f1003051138n5b755291vfcd2c9f5ff34bc08@mail.gmail.com> <5084F072-9194-4461-930B-C79AFD978944@freeswitch.org> <5d2828f1003051159i48107791m58730e23fe9291e9@mail.gmail.com> <5d2828f1003051217g52dd8574t81c9bb349e6a1e63@mail.gmail.com> Message-ID: <23f91031003051928j6d0c8f82mbf22483a6c3b06ad@mail.gmail.com> and also you can get the script name from argv[0] if you name you script in different names 2010/3/6 Mike van Lammeren : > In case anyone's interested, I just found something cool. You can pass > parameters to the Lua script from the lua.conf.xml file, like so: > ?? ? > ?? ? > ?? ? > I can see that being useful. > Mike van Lammeren > > On Fri, Mar 5, 2010 at 2:59 PM, Mike van Lammeren > wrote: >> >> Thanks so much, everyone! Awesome advice, as usual! >> Due to a deadline situation, I'm going with the Lua script idea. However, >> if it gives us any trouble after the looming deadline, then I will >> definitely go the C route. >> Thanks again! >> Mike van Lammeren >> >> On Fri, Mar 5, 2010 at 2:42 PM, Brian West wrote: >>> >>> Write it in C and use the FreeSWITCH task scheduler API. >>> >>> /b >>> >>> On Mar 5, 2010, at 1:38 PM, Mike van Lammeren wrote: >>> >>> > All the same, I'm still open to suggestions on better ways to achieve >>> > my ultimate goals! >>> >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 > > From dome at tel.co.th Fri Mar 5 19:36:07 2010 From: dome at tel.co.th (Dome Charoenyost) Date: Sat, 6 Mar 2010 10:36:07 +0700 Subject: [Freeswitch-users] ODBC connection in 1.0.5 (trunk 16912) Problem. In-Reply-To: <191c3a031003051643l2cd1af05ua84bf32a47cc45d0@mail.gmail.com> References: <8ccbff061003050914q6535dabldf8fe977255f43f6@mail.gmail.com> <191c3a031003051641u4d31ca0eg20dd5eada8ebfec0@mail.gmail.com> <191c3a031003051643l2cd1af05ua84bf32a47cc45d0@mail.gmail.com> Message-ID: <8ccbff061003051936ue24c8f9pda00418a36d93313@mail.gmail.com> How to limit cache db max connections in FS ? Dome C. 2010/3/6 Anthony Minessale : > Now you are getting a dedicated handle per thread because of our cache db > system.? Either allow a max connections that matches the most calls you > anticipate or file a bug with rupa to downgrade the mod back to sharing one > db handle globally. > > On Mar 5, 2010 5:35 PM, "Rupa Schomaker" wrote: > > hmm.. at some point postgres is falling behind and rather than waiting, > we're opening another connection. ? ?can you open a jira on this? > ?we probably need to implement connection limits in the core db connection > thingie. > > On Fri, Mar 5, 2010 at 11:14 AM, Dome Charoenyost wrote: >> >> Dear All, >> ? ? ? ?I... > > -- > -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 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 dome at tel.co.th Fri Mar 5 19:39:18 2010 From: dome at tel.co.th (Dome Charoenyost) Date: Sat, 6 Mar 2010 10:39:18 +0700 Subject: [Freeswitch-users] ODBC connection in 1.0.5 (trunk 16912) Problem. In-Reply-To: References: <8ccbff061003050914q6535dabldf8fe977255f43f6@mail.gmail.com> Message-ID: <8ccbff061003051939x3949475en4b138a2066950830@mail.gmail.com> Now i use mod_limit from 1.0.4 and fix some code for work in 1.0.5 I'll open JIRA for this case. Dome C. 2010/3/6 Rupa Schomaker : > hmm.. at some point postgres is falling behind and rather than waiting, > we're opening another connection. ? ?can you open a jira on this? > ?we probably need to implement connection limits in the core db connection > thingie. > > On Fri, Mar 5, 2010 at 11:14 AM, Dome Charoenyost wrote: >> >> Dear All, >> ? ? ? ?I found big odbc problem when i try to move to FS 1.0.5. >> in same server i'm testing 1.0.4 and 1.0.5 and same config >> 1. config ?limit.conf.xml use odbc (i use postgresql) >> ? >> 2. create dialplan in context public for test limit >> ? >> ? ? ? >> ? ? ? >> ? ? ? >> >> 3. use sipp generate test call >> ? sipp -rtp_echo -sn uac -r 30 -l 500 -d 30000 -s 1111 -mp 25000 >> xx.xx.xx.xx:5080 >> >> 1.0.4 work fine i found 2 connection in postgresql server >> but 1.0.5 use 1 connection for 1 calls. and get error when call over >> 100 calls. (postgresql maximum client connect is 100 ) >> >> So i'm not sure its' BUG or not ? >> >> >> BG >> >> Dome C. >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > From infos at madovsky.org Fri Mar 5 22:24:00 2010 From: infos at madovsky.org (Madovsky) Date: Sat, 6 Mar 2010 01:24:00 -0500 Subject: [Freeswitch-users] wiki DNS page update Message-ID: <6219FBA750E5472A95F2467D78174484@MOBILEE1705> for anyone who can update this page for NAPTR ex http://wiki.freeswitch.org/wiki/DNS # NAPTR for SIP over UDP example.com NAPTR 10 100 "S" "SIP+D2U" "" _sip._udp.example.com. # NAPTR for SIP over TCP example.com NAPTR 20 100 "S" "SIP+D2T" "" _sip._tcp.example.com. # NAPTR for SIP over TLS example.com NAPTR 20 100 "S" "SIPS+D2T" "" _sip._tcp.example.com. Regards Franck -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100306/192e5386/attachment-0001.html From infos at madovsky.org Fri Mar 5 23:28:45 2010 From: infos at madovsky.org (Madovsky) Date: Sat, 6 Mar 2010 02:28:45 -0500 Subject: [Freeswitch-users] fundamental question Message-ID: Concerning softphones not SRV compatible how to make them work for registration with a domain name managed by NAPTR and/or SRV ? I tried x-lite ---> register 3cx ---> not register Thanks Franck -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100306/a43d93b7/attachment.html From brian at freeswitch.org Sat Mar 6 07:42:50 2010 From: brian at freeswitch.org (Brian West) Date: Sat, 6 Mar 2010 09:42:50 -0600 Subject: [Freeswitch-users] wiki DNS page update In-Reply-To: <6219FBA750E5472A95F2467D78174484@MOBILEE1705> References: <6219FBA750E5472A95F2467D78174484@MOBILEE1705> Message-ID: <709C073E-42B2-4A0D-BCAC-5FAC163553FC@freeswitch.org> Anyone can update it thats the point. Login and add them. http://wiki.freeswitch.org/wiki/Tls#Configuring_DNS_NAPTR_and_SRV_for_TLS Verify them against that. I think the flag is lowercase. /b On Mar 6, 2010, at 12:24 AM, Madovsky wrote: > for anyone who can update this page for NAPTR ex > > http://wiki.freeswitch.org/wiki/DNS > > > # NAPTR for SIP over UDP > example.com NAPTR 10 100 "S" "SIP+D2U" "" _sip._udp.example.com. > # NAPTR for SIP over TCP > example.com NAPTR 20 100 "S" "SIP+D2T" "" _sip._tcp.example.com. > # NAPTR for SIP over TLS > example.com NAPTR 20 100 "S" "SIPS+D2T" "" _sip._tcp.example.com. > > Regards > > Franck > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100306/97003002/attachment.html From infos at madovsky.org Sat Mar 6 08:24:28 2010 From: infos at madovsky.org (Madovsky) Date: Sat, 6 Mar 2010 11:24:28 -0500 Subject: [Freeswitch-users] wiki DNS page update References: <6219FBA750E5472A95F2467D78174484@MOBILEE1705> <709C073E-42B2-4A0D-BCAC-5FAC163553FC@freeswitch.org> Message-ID: <64963983C9224EBCA1C69CE27C37F7BE@MOBILEE1705> It doesn't matter apparently, but it needs to correct the line # NAPTR for SIP over TLS example.com NAPTR 20 100 "S" "SIPS+D2T" "" _sips._tcp.example.com. ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Saturday, March 06, 2010 10:42 AM Subject: Re: [Freeswitch-users] wiki DNS page update Anyone can update it thats the point. Login and add them. http://wiki.freeswitch.org/wiki/Tls#Configuring_DNS_NAPTR_and_SRV_for_TLS Verify them against that. I think the flag is lowercase. /b On Mar 6, 2010, at 12:24 AM, Madovsky wrote: for anyone who can update this page for NAPTR ex http://wiki.freeswitch.org/wiki/DNS # NAPTR for SIP over UDP example.com NAPTR 10 100 "S" "SIP+D2U" "" _sip._udp.example.com. # NAPTR for SIP over TCP example.com NAPTR 20 100 "S" "SIP+D2T" "" _sip._tcp.example.com. # NAPTR for SIP over TLS example.com NAPTR 20 100 "S" "SIPS+D2T" "" _sip._tcp.example.com. Regards Franck -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100306/2c2ae8e7/attachment.html From infos at madovsky.org Sat Mar 6 08:25:26 2010 From: infos at madovsky.org (Madovsky) Date: Sat, 6 Mar 2010 11:25:26 -0500 Subject: [Freeswitch-users] wiki DNS page update References: <6219FBA750E5472A95F2467D78174484@MOBILEE1705> <709C073E-42B2-4A0D-BCAC-5FAC163553FC@freeswitch.org> Message-ID: <551B5E333314487FB4D5AA0EDA0D9AC9@MOBILEE1705> but anyway, to be sure let's change it in lower case ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Saturday, March 06, 2010 10:42 AM Subject: Re: [Freeswitch-users] wiki DNS page update Anyone can update it thats the point. Login and add them. http://wiki.freeswitch.org/wiki/Tls#Configuring_DNS_NAPTR_and_SRV_for_TLS Verify them against that. I think the flag is lowercase. /b On Mar 6, 2010, at 12:24 AM, Madovsky wrote: for anyone who can update this page for NAPTR ex http://wiki.freeswitch.org/wiki/DNS # NAPTR for SIP over UDP example.com NAPTR 10 100 "S" "SIP+D2U" "" _sip._udp.example.com. # NAPTR for SIP over TCP example.com NAPTR 20 100 "S" "SIP+D2T" "" _sip._tcp.example.com. # NAPTR for SIP over TLS example.com NAPTR 20 100 "S" "SIPS+D2T" "" _sip._tcp.example.com. Regards Franck -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100306/64247410/attachment.html From brian at freeswitch.org Sat Mar 6 09:02:44 2010 From: brian at freeswitch.org (Brian West) Date: Sat, 6 Mar 2010 11:02:44 -0600 Subject: [Freeswitch-users] wiki DNS page update In-Reply-To: <64963983C9224EBCA1C69CE27C37F7BE@MOBILEE1705> References: <6219FBA750E5472A95F2467D78174484@MOBILEE1705> <709C073E-42B2-4A0D-BCAC-5FAC163553FC@freeswitch.org> <64963983C9224EBCA1C69CE27C37F7BE@MOBILEE1705> Message-ID: <427E641C-70AA-457A-80EA-675360805515@freeswitch.org> I'm almost 100% positive its _sip._tls. its what I used in my testing with polycoms and snoms to direct the phone to use TLS. /b On Mar 6, 2010, at 10:24 AM, Madovsky wrote: > # NAPTR for SIP over TLS > example.com NAPTR 20 100 "S" "SIPS+D2T" "" _sips._tcp.example.com. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100306/9fbae926/attachment-0001.html From brian at freeswitch.org Sat Mar 6 09:09:09 2010 From: brian at freeswitch.org (Brian West) Date: Sat, 6 Mar 2010 11:09:09 -0600 Subject: [Freeswitch-users] wiki DNS page update In-Reply-To: <551B5E333314487FB4D5AA0EDA0D9AC9@MOBILEE1705> References: <6219FBA750E5472A95F2467D78174484@MOBILEE1705> <709C073E-42B2-4A0D-BCAC-5FAC163553FC@freeswitch.org> <551B5E333314487FB4D5AA0EDA0D9AC9@MOBILEE1705> Message-ID: <6F12E9C2-2C42-421E-89D8-139FD630D1BB@freeswitch.org> I don't know who changed it to _sips._tcp.domain.com. but that is 100% WRONG I want back to my zone files I used for testing and its _sip._tls and you can even google that. Can someone pin down something to prove me wrong? /b On Mar 6, 2010, at 10:25 AM, Madovsky wrote: > but anyway, to be sure let's change it in lower case > ----- Original Message ----- > From: Brian West > To: freeswitch-users at lists.freeswitch.org > Sent: Saturday, March 06, 2010 10:42 AM > Subject: Re: [Freeswitch-users] wiki DNS page update > > Anyone can update it thats the point. Login and add them. > > http://wiki.freeswitch.org/wiki/Tls#Configuring_DNS_NAPTR_and_SRV_for_TLS > > Verify them against that. I think the flag is lowercase. > > /b -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100306/c701772f/attachment.html From infos at madovsky.org Sat Mar 6 09:11:05 2010 From: infos at madovsky.org (Madovsky) Date: Sat, 6 Mar 2010 12:11:05 -0500 Subject: [Freeswitch-users] wiki DNS page update References: <6219FBA750E5472A95F2467D78174484@MOBILEE1705><709C073E-42B2-4A0D-BCAC-5FAC163553FC@freeswitch.org><64963983C9224EBCA1C69CE27C37F7BE@MOBILEE1705> <427E641C-70AA-457A-80EA-675360805515@freeswitch.org> Message-ID: <8D677CB395454F21B5691A27515AB558@MOBILEE1705> I dont' think _sip._tls is standard, but if it works, great ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Saturday, March 06, 2010 12:02 PM Subject: Re: [Freeswitch-users] wiki DNS page update I'm almost 100% positive its _sip._tls. its what I used in my testing with polycoms and snoms to direct the phone to use TLS. /b On Mar 6, 2010, at 10:24 AM, Madovsky wrote: # NAPTR for SIP over TLS example.com NAPTR 20 100 "S" "SIPS+D2T" "" _sips._tcp.example.com. ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100306/b9b86f24/attachment.html From brian at freeswitch.org Sat Mar 6 09:15:05 2010 From: brian at freeswitch.org (Brian West) Date: Sat, 6 Mar 2010 11:15:05 -0600 Subject: [Freeswitch-users] wiki DNS page update In-Reply-To: <8D677CB395454F21B5691A27515AB558@MOBILEE1705> References: <6219FBA750E5472A95F2467D78174484@MOBILEE1705><709C073E-42B2-4A0D-BCAC-5FAC163553FC@freeswitch.org><64963983C9224EBCA1C69CE27C37F7BE@MOBILEE1705> <427E641C-70AA-457A-80EA-675360805515@freeswitch.org> <8D677CB395454F21B5691A27515AB558@MOBILEE1705> Message-ID: <776AD47A-1BDF-4EE8-87A6-7D4A9E2F1A3C@freeswitch.org> I know aastra does sips: but polycom/snom do sip: with transport=tls and lookup _sip._tls So its safe to say SIP sucks and you prob. need both but FreeSWITCH doesn't fully handle sips: because every device we had that tried it was badly busted i.e. aastra. /b On Mar 6, 2010, at 11:11 AM, Madovsky wrote: > I dont' think _sip._tls is standard, but if it works, great > ----- Original Message ----- > From: Brian West > To: freeswitch-users at lists.freeswitch.org > Sent: Saturday, March 06, 2010 12:02 PM > Subject: Re: [Freeswitch-users] wiki DNS page update > > I'm almost 100% positive its _sip._tls. its what I used in my testing with polycoms and snoms to direct the phone to use TLS. > > /b -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100306/02ee8266/attachment.html From brian at freeswitch.org Sat Mar 6 09:15:24 2010 From: brian at freeswitch.org (Brian West) Date: Sat, 6 Mar 2010 11:15:24 -0600 Subject: [Freeswitch-users] wiki DNS page update In-Reply-To: <8D677CB395454F21B5691A27515AB558@MOBILEE1705> References: <6219FBA750E5472A95F2467D78174484@MOBILEE1705><709C073E-42B2-4A0D-BCAC-5FAC163553FC@freeswitch.org><64963983C9224EBCA1C69CE27C37F7BE@MOBILEE1705> <427E641C-70AA-457A-80EA-675360805515@freeswitch.org> <8D677CB395454F21B5691A27515AB558@MOBILEE1705> Message-ID: <30FD929F-6817-450D-A240-E4AB742D04D9@freeswitch.org> Oh and eyebeam does _sip._tls /b On Mar 6, 2010, at 11:11 AM, Madovsky wrote: > I dont' think _sip._tls is standard, but if it works, great > ----- Original Message ----- > From: Brian West > To: freeswitch-users at lists.freeswitch.org > Sent: Saturday, March 06, 2010 12:02 PM > Subject: Re: [Freeswitch-users] wiki DNS page update > > I'm almost 100% positive its _sip._tls. its what I used in my testing with polycoms and snoms to direct the phone to use TLS. > > /b -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100306/4bd138e1/attachment.html From infos at madovsky.org Sat Mar 6 09:35:54 2010 From: infos at madovsky.org (Madovsky) Date: Sat, 6 Mar 2010 12:35:54 -0500 Subject: [Freeswitch-users] wiki DNS page update References: <6219FBA750E5472A95F2467D78174484@MOBILEE1705><709C073E-42B2-4A0D-BCAC-5FAC163553FC@freeswitch.org><551B5E333314487FB4D5AA0EDA0D9AC9@MOBILEE1705> <6F12E9C2-2C42-421E-89D8-139FD630D1BB@freeswitch.org> Message-ID: <21F56D3A23CF434AA7E2844256AD0494@MOBILEE1705> What DNS server you use ? ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Saturday, March 06, 2010 12:09 PM Subject: Re: [Freeswitch-users] wiki DNS page update I don't know who changed it to _sips._tcp.domain.com. but that is 100% WRONG I want back to my zone files I used for testing and its _sip._tls and you can even google that. Can someone pin down something to prove me wrong? /b On Mar 6, 2010, at 10:25 AM, Madovsky wrote: but anyway, to be sure let's change it in lower case ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Saturday, March 06, 2010 10:42 AM Subject: Re: [Freeswitch-users] wiki DNS page update Anyone can update it thats the point. Login and add them. http://wiki.freeswitch.org/wiki/Tls#Configuring_DNS_NAPTR_and_SRV_for_TLS Verify them against that. I think the flag is lowercase. /b ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100306/21c9a77f/attachment-0001.html From infos at madovsky.org Sat Mar 6 09:36:50 2010 From: infos at madovsky.org (Madovsky) Date: Sat, 6 Mar 2010 12:36:50 -0500 Subject: [Freeswitch-users] wiki DNS page update References: <6219FBA750E5472A95F2467D78174484@MOBILEE1705><709C073E-42B2-4A0D-BCAC-5FAC163553FC@freeswitch.org><64963983C9224EBCA1C69CE27C37F7BE@MOBILEE1705><427E641C-70AA-457A-80EA-675360805515@freeswitch.org><8D677CB395454F21B5691A27515AB558@MOBILEE1705> <776AD47A-1BDF-4EE8-87A6-7D4A9E2F1A3C@freeswitch.org> Message-ID: ok ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Saturday, March 06, 2010 12:15 PM Subject: Re: [Freeswitch-users] wiki DNS page update I know aastra does sips: but polycom/snom do sip: with transport=tls and lookup _sip._tls So its safe to say SIP sucks and you prob. need both but FreeSWITCH doesn't fully handle sips: because every device we had that tried it was badly busted i.e. aastra. /b On Mar 6, 2010, at 11:11 AM, Madovsky wrote: I dont' think _sip._tls is standard, but if it works, great ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Saturday, March 06, 2010 12:02 PM Subject: Re: [Freeswitch-users] wiki DNS page update I'm almost 100% positive its _sip._tls. its what I used in my testing with polycoms and snoms to direct the phone to use TLS. /b ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100306/0f7254c7/attachment.html From brian at freeswitch.org Sat Mar 6 10:05:48 2010 From: brian at freeswitch.org (Brian West) Date: Sat, 6 Mar 2010 12:05:48 -0600 Subject: [Freeswitch-users] wiki DNS page update In-Reply-To: References: <6219FBA750E5472A95F2467D78174484@MOBILEE1705><709C073E-42B2-4A0D-BCAC-5FAC163553FC@freeswitch.org><64963983C9224EBCA1C69CE27C37F7BE@MOBILEE1705><427E641C-70AA-457A-80EA-675360805515@freeswitch.org><8D677CB395454F21B5691A27515AB558@MOBILEE1705> <776AD47A-1BDF-4EE8-87A6-7D4A9E2F1A3C@freeswitch.org> Message-ID: <46F21E0D-FDEC-49C4-9725-2B14C12CDF42@freeswitch.org> Let clarify this ... after digging thru the code sofia looks for _sips._tcp but polycom/snom/eyebeam will look for _sip._tls, I use Bind. /b On Mar 6, 2010, at 11:36 AM, Madovsky wrote: > ok > ----- Original Message ----- > From: Brian West > To: freeswitch-users at lists.freeswitch.org > Sent: Saturday, March 06, 2010 12:15 PM > Subject: Re: [Freeswitch-users] wiki DNS page update > > I know aastra does sips: but polycom/snom do sip: with transport=tls and lookup _sip._tls > > So its safe to say SIP sucks and you prob. need both but FreeSWITCH doesn't fully handle sips: because every device we had that tried it was badly busted i.e. aastra. > > /b -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100306/102c42e0/attachment.html From anthony.minessale at gmail.com Sat Mar 6 10:06:29 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Sat, 6 Mar 2010 12:06:29 -0600 Subject: [Freeswitch-users] ODBC connection in 1.0.5 (trunk 16912) Problem. In-Reply-To: <191c3a031003061005s444fa099y67f5e07851fb3d8b@mail.gmail.com> References: <8ccbff061003050914q6535dabldf8fe977255f43f6@mail.gmail.com> <8ccbff061003051939x3949475en4b138a2066950830@mail.gmail.com> <191c3a031003061005s444fa099y67f5e07851fb3d8b@mail.gmail.com> Message-ID: <191c3a031003061006j5fe9a734o2f4041a2ce917d92@mail.gmail.com> Did anyone read my last email? It is only worthy of jira if its a real problem. There is 1 db con per channel did you try increasing the max conns and compare the performance? On Mar 5, 2010 9:44 PM, "Dome Charoenyost" wrote: Now i use mod_limit from 1.0.4 and fix some code for work in 1.0.5 I'll open JIRA for this case. Dome C. 2010/3/6 Rupa Schomaker : > hmm.. at some point postgres is falling behind and rather than waiting, > we're opening another co... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100306/1ed6456c/attachment.html From infos at madovsky.org Sat Mar 6 10:17:14 2010 From: infos at madovsky.org (Madovsky) Date: Sat, 6 Mar 2010 13:17:14 -0500 Subject: [Freeswitch-users] wiki DNS page update References: <6219FBA750E5472A95F2467D78174484@MOBILEE1705><709C073E-42B2-4A0D-BCAC-5FAC163553FC@freeswitch.org><64963983C9224EBCA1C69CE27C37F7BE@MOBILEE1705><427E641C-70AA-457A-80EA-675360805515@freeswitch.org><8D677CB395454F21B5691A27515AB558@MOBILEE1705><776AD47A-1BDF-4EE8-87A6-7D4A9E2F1A3C@freeswitch.org> <46F21E0D-FDEC-49C4-9725-2B14C12CDF42@freeswitch.org> Message-ID: <0B32A78695AA4AF19FF2E286B5F29D2B@MOBILEE1705> eyebeam doesn't use strct standard stuff ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Saturday, March 06, 2010 1:05 PM Subject: Re: [Freeswitch-users] wiki DNS page update Let clarify this ... after digging thru the code sofia looks for _sips._tcp but polycom/snom/eyebeam will look for _sip._tls, I use Bind. /b On Mar 6, 2010, at 11:36 AM, Madovsky wrote: ok ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Saturday, March 06, 2010 12:15 PM Subject: Re: [Freeswitch-users] wiki DNS page update I know aastra does sips: but polycom/snom do sip: with transport=tls and lookup _sip._tls So its safe to say SIP sucks and you prob. need both but FreeSWITCH doesn't fully handle sips: because every device we had that tried it was badly busted i.e. aastra. /b ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100306/5b38fd24/attachment.html From infos at madovsky.org Sat Mar 6 10:19:10 2010 From: infos at madovsky.org (Madovsky) Date: Sat, 6 Mar 2010 13:19:10 -0500 Subject: [Freeswitch-users] ODBC connection in 1.0.5 (trunk 16912)Problem. References: <8ccbff061003050914q6535dabldf8fe977255f43f6@mail.gmail.com><8ccbff061003051939x3949475en4b138a2066950830@mail.gmail.com><191c3a031003061005s444fa099y67f5e07851fb3d8b@mail.gmail.com> <191c3a031003061006j5fe9a734o2f4041a2ce917d92@mail.gmail.com> Message-ID: <48640F1B60F64D87BCF88646668EB341@MOBILEE1705> I use postgresql, but I can test it if you have a tools that similate calls charge. ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Saturday, March 06, 2010 1:06 PM Subject: Re: [Freeswitch-users] ODBC connection in 1.0.5 (trunk 16912)Problem. Did anyone read my last email? It is only worthy of jira if its a real problem. There is 1 db con per channel did you try increasing the max conns and compare the performance? On Mar 5, 2010 9:44 PM, "Dome Charoenyost" wrote: Now i use mod_limit from 1.0.4 and fix some code for work in 1.0.5 I'll open JIRA for this case. Dome C. 2010/3/6 Rupa Schomaker : > hmm.. at some point postgres is falling behind and rather than waiting, > we're opening another co... ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100306/c9d0a227/attachment-0001.html From dome at tel.co.th Sat Mar 6 19:54:48 2010 From: dome at tel.co.th (Dome Charoenyost) Date: Sun, 7 Mar 2010 10:54:48 +0700 Subject: [Freeswitch-users] ODBC connection in 1.0.5 (trunk 16912) Problem. In-Reply-To: <191c3a031003061006j5fe9a734o2f4041a2ce917d92@mail.gmail.com> References: <8ccbff061003050914q6535dabldf8fe977255f43f6@mail.gmail.com> <8ccbff061003051939x3949475en4b138a2066950830@mail.gmail.com> <191c3a031003061005s444fa099y67f5e07851fb3d8b@mail.gmail.com> <191c3a031003061006j5fe9a734o2f4041a2ce917d92@mail.gmail.com> Message-ID: <8ccbff061003061954y16da64e1m16e17a743b943490@mail.gmail.com> 2010/3/7 Anthony Minessale : > Did anyone read my last email? Sorry just read it:) > > It is only worthy of jira if its a real problem. > There is 1 db con per channel did you try increasing the max conns and > compare the performance? max conns ? you mean in postgresql ? I think postgresql need more resource if change max client from 100 to 2000 Now i port mod_limit from 1.0.4 to 1.0.5 it's work for this case. but i'm not sure about other db connect (core , sofia) i only use mod_limit. > > On Mar 5, 2010 9:44 PM, "Dome Charoenyost" wrote: > > Now i use mod_limit from 1.0.4 and fix some code for work in 1.0.5 > I'll open JIRA for this case. > > Dome C. > > 2010/3/6 Rupa Schomaker : > >> hmm.. at some point postgres is falling behind and rather than waiting, >> we're opening another co... > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 shaheryarkh at googlemail.com Sun Mar 7 01:38:44 2010 From: shaheryarkh at googlemail.com (Muhammad Shahzad) Date: Sun, 7 Mar 2010 14:38:44 +0500 Subject: [Freeswitch-users] =?utf-8?q?Tienes_una_invitaci=C3=B3n_a_ClubWNC?= In-Reply-To: References: Message-ID: Hola, Chicos, por favor, poner fin a este correo spam en list.I FreeSwitch estoy haciendo unos 20-30 mensajes de este tipo todos los d?as. S?rvase no abusen de este foro para fines publicitarios y de marketing. Gracias. 2010/3/4 seven > [image: ClubWNC] > *Tienes una invitaci?n a ClubWNC* > Hola !!! > He creado un perfil en ClubWNC donde puedo hacer listas de regalos, > publicar rese?as sobre productos, ver a mis amigos de Facebook y lo que les > gusta, lo que han comprado, y lo que quieren que les regalen, y quiero > agregarte a mis amigos para que puedas verlo. Para ello, necesitas > registrarte en ClubWNC y, despu?s, podr?s crear tambi?n tu propio perfil. > Para registrarte en ClubWNC, sigue este enlace: > http://www.clubwnc.com/eshop/create_eshop_account.php?cdr=2895 seven > ha invitado a freeswitch-users at lists.freeswitch.org a unirse a ClubWNC. Si > no quieres recibir este tipo de mensajes de ClubWNC, haz clic aqu? para > borrar tu nombre de la lista de personas suscritas. > > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 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/20100307/e4dce4a0/attachment.html From neil.burgess at redmatter.com Sun Mar 7 04:31:31 2010 From: neil.burgess at redmatter.com (Neil Burgess) Date: Sun, 7 Mar 2010 12:31:31 +0000 Subject: [Freeswitch-users] Export b-leg variables in bridge string for a user bridge lookup Message-ID: <787302A89ACCE24DA8F56DA101E77C84139B8D275D@THHS2E12BE1X.hostedservice2.net> Hi, Wonder if anyone can help me with a bridge to user question? We are trying to bridge to a user in the directory using a command of the form:- session.execute("bridge","[leg_confirm=yes]user/1009"); We want to be able to pass a number of channel variables to the b-leg. In the case above, we want to pass leg_confirm to enable us to use the group_confirm functionality on the leg, but have found that whilst this is fine using something like session.execute("bridge","[leg_confirm=yes]sofia/blah/blah"), when used against a user/ lookup it doesn't set the variable. I can see that the dial-string in the User's Directory definition would presumably need these bridge channel variables added to it somehow, but don't see how to achieve that! We have used export in some cases to set the channel variable on the b-leg for a user which is fine, until we want to do something like session.execute("bridge","[leg_confirm=yes]user/1009, [leg_confirm=no]user/1012"), where the two b-legs have differing requirements. Any ideas how I can achieve a working version of session.execute("bridge","[leg_confirm=yes]user/1009"); As an added twist, we are using mod_xml_curl to perform our directory lookups! Many thanks, Neil Burgess -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/a6992b65/attachment.html From infos at madovsky.org Sun Mar 7 10:56:42 2010 From: infos at madovsky.org (Madovsky) Date: Sun, 7 Mar 2010 13:56:42 -0500 Subject: [Freeswitch-users] xmpp IM Message-ID: <660B041BADA44ADE924CD4E293B118BB@MOBILEE1705> Is there any already existing vas that contains IM in mod_dingaling ? Thanks Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/c4250497/attachment.html From paul.gore.j at gmail.com Sun Mar 7 11:03:46 2010 From: paul.gore.j at gmail.com (paul gore) Date: Sun, 7 Mar 2010 14:03:46 -0500 Subject: [Freeswitch-users] XML curl and multiple extension in dialplan Message-ID: Greetings, We use XML curl to fetch our dial plan extensions from a database. As per FS wiki we can only return one XML extension upon FS request. Now we need to return a set of extensions with same number condition and context but with different second condition so that FS can pick up the right one. Is it possible at all? And if yes how response XML with multiple extensions should look like? Thanks a lot. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/09b78359/attachment.html From lloyd.aloysius at gmail.com Sun Mar 7 11:55:50 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Sun, 7 Mar 2010 14:55:50 -0500 Subject: [Freeswitch-users] Multi-tenant - DNS SRV and SIP Configuration In-Reply-To: <8a19bf2e1003051732v3ec9e004q7217e73aed6a9726@mail.gmail.com> References: <8a19bf2e1003051534k1673648fucfba348a760029fd@mail.gmail.com> <8a19bf2e1003051732v3ec9e004q7217e73aed6a9726@mail.gmail.com> Message-ID: <8a19bf2e1003071155m76bbc0kee7688929604cbcc@mail.gmail.com> Rupa, Thank you again. It is working great. Lloyd On Fri, Mar 5, 2010 at 8:32 PM, Aloysius Lloyd wrote: > Thanks Rupa. I will try your suggestion. > > > > On Fri, Mar 5, 2010 at 6:43 PM, Rupa Schomaker wrote: > >> You have access to your own DNS, so you could do something like: >> >> companya.supersip.com >> companyb.supersip.com >> etc >> >> so you are actually doing the dns in your domain (supersip.com) and >> provision the phones as such. >> >> On Fri, Mar 5, 2010 at 5:34 PM, Aloysius Lloyd wrote: >> >>> Hi All, >>> >>> I follow all the steps in the wiki. >>> >>> Multi-tenant work properly , I need to setup DNS SRV and SIP for each >>> Domain. >>> >>> If I do not have the access the domains DNS how can I make Multi-tenant >>> work. >>> >>> Thank you. >>> Lloyd >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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/20100307/01483886/attachment-0001.html From lloyd.aloysius at gmail.com Sun Mar 7 12:03:34 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Sun, 7 Mar 2010 15:03:34 -0500 Subject: [Freeswitch-users] Voice Mail 2 Email Configuration Message-ID: <8a19bf2e1003071203u10e8919s3e659e266bfc1e19@mail.gmail.com> Hi All, I am running FreeSWITCH on CentOS5.4 . Sendmail already installed in the system and running . I can send email the following way echo "test" | mail -s testsubject lloyd.aloysius at gmail.com Here is the FreeSWITCH configuration *1. Extension setup* *2. /usr/local/freeswitch/conf/autoload_configs/switch.conf.xml* But not a single voicemail deliver to email. How to troubleshoot this problem. Am I missing any configuration? Thanks, Lloyd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/465f7c44/attachment.html From nazim.agabekov at gmail.com Sun Mar 7 12:18:07 2010 From: nazim.agabekov at gmail.com (Nazim Agabekov) Date: Mon, 08 Mar 2010 00:18:07 +0400 Subject: [Freeswitch-users] XML curl and multiple extension in dialplan In-Reply-To: References: Message-ID: <4B9409FF.5060608@gmail.com> Hello Paul I also use mod_xml_curl for a dialplan. I've solved this issue by generating the XML extension dynamically. My fastcgi daemon checks the input variables like caller id, originator, e.t.c, makes routing decision and dynamically generates only one XML extension. So, there is no real need for creating complex dialplan on mod_xml_curl output. Nazim On 03/07/2010 11:03 PM, paul gore wrote: > Greetings, > We use XML curl to fetch our dial plan extensions from a database. As > per FS wiki we can only return one XML extension upon FS request. > Now we need to return a set of extensions with same number condition > and context but with different second condition so that FS can pick up > the right one. > Is it possible at all? And if yes how response XML with multiple > extensions should look like? > > Thanks a lot. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/5111239d/attachment.html From lloyd.aloysius at gmail.com Sun Mar 7 12:36:07 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Sun, 7 Mar 2010 15:36:07 -0500 Subject: [Freeswitch-users] Voice Mail 2 Email Configuration In-Reply-To: <8a19bf2e1003071203u10e8919s3e659e266bfc1e19@mail.gmail.com> References: <8a19bf2e1003071203u10e8919s3e659e266bfc1e19@mail.gmail.com> Message-ID: <8a19bf2e1003071236n67f7f2d9l9c7a234ae1bb4fe2@mail.gmail.com> Hi All, I am answering my question. I fixed the problem it is a sendemail problem. Thanks Lloyd On Sun, Mar 7, 2010 at 3:03 PM, Aloysius Lloyd wrote: > Hi All, > > I am running FreeSWITCH on CentOS5.4 . Sendmail already installed in the > system and running . I can send email the following way > > echo "test" | mail -s testsubject lloyd.aloysius at gmail.com > > Here is the FreeSWITCH configuration > > *1. Extension setup* > > > > > > > > > > > > > > > > > > value="$${outbound_caller_name}"/> > value="$${outbound_caller_id}"/> > > > > > > > *2. /usr/local/freeswitch/conf/autoload_configs/switch.conf.xml* > > > > > > > But not a single voicemail deliver to email. How to troubleshoot this > problem. Am I missing any configuration? > > > Thanks, > Lloyd > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/e482fa0a/attachment.html From m.sobkow at marketelsystems.com Sun Mar 7 13:33:03 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Sun, 07 Mar 2010 15:33:03 -0600 Subject: [Freeswitch-users] Having some trouble recording calls. Message-ID: <4B941B8F.1070506@marketelsystems.com> I'm using the uuid_record command to tell Freeswitch to record a call. RecordResult = pbx:api( uuid_record, Operator#pbx_operator_registry.operator_uuid ++ " start " ++ FullFileName ), After the customer hangs up, I tell it to stop recording: StopRecordResult = pbx:api( uuid_record, Operator#pbx_operator_registry.operator_uuid ++ " stop " ++ FullFileName ), However, I get an error "-ERR Cannot stop record session!". Any subsequent attempts to start a new recording file also fail. What am I doing wrong? From m.sobkow at marketelsystems.com Sun Mar 7 14:10:10 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Sun, 07 Mar 2010 16:10:10 -0600 Subject: [Freeswitch-users] Having some trouble recording calls. In-Reply-To: <4B941B8F.1070506@marketelsystems.com> References: <4B941B8F.1070506@marketelsystems.com> Message-ID: <4B942442.2050001@marketelsystems.com> Mark Sobkow wrote: > I'm using the uuid_record command to tell Freeswitch to record a call. > > RecordResult = pbx:api( uuid_record, > Operator#pbx_operator_registry.operator_uuid ++ " start " ++ > FullFileName ), > > After the customer hangs up, I tell it to stop recording: > > StopRecordResult = pbx:api( uuid_record, > Operator#pbx_operator_registry.operator_uuid ++ " stop " ++ > FullFileName ), > > However, I get an error "-ERR Cannot stop record session!". Any > subsequent attempts to start a new recording file also fail. > > What am I doing wrong? > Actually the logs show a bit more. The first time I try to record a session, I get an ok message. When I stop that recording, it tells me ok as well. But on every subsequent attempt to record part of the session, I'm getting errors. It's as if Freeswitch will only allow you to record once for an operator session. From paul.gore.j at gmail.com Sun Mar 7 14:13:20 2010 From: paul.gore.j at gmail.com (paul gore) Date: Sun, 7 Mar 2010 17:13:20 -0500 Subject: [Freeswitch-users] XML curl and multiple extension in dialplan In-Reply-To: <4B9409FF.5060608@gmail.com> References: <4B9409FF.5060608@gmail.com> Message-ID: Thanks fro the input. I thought about such approach, the only problem I see is there that I essentially would have to duplicate FS dial plan parsing functionality, so my question basically is there a way to avoid that? I have seen a Ruby dial plan example on XML curl wiki page which actually seem to generate response with multiple extensions, but unfortunately FS cannot read such response. On Sun, Mar 7, 2010 at 3:18 PM, Nazim Agabekov wrote: > Hello Paul > > I also use mod_xml_curl for a dialplan. I've solved this issue by > generating the XML extension dynamically. > My fastcgi daemon checks the input variables like caller id, originator, > e.t.c, makes routing decision > and dynamically generates only one XML extension. > So, there is no real need for creating complex dialplan on mod_xml_curl > output. > > Nazim > > > On 03/07/2010 11:03 PM, paul gore wrote: > > Greetings, > We use XML curl to fetch our dial plan extensions from a database. As per > FS wiki we can only return one XML extension upon FS request. > Now we need to return a set of extensions with same number condition and > context but with different second condition so that FS can pick up the right > one. > Is it possible at all? And if yes how response XML with multiple extensions > should look like? > > Thanks a lot. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://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/20100307/571cb8c7/attachment-0001.html From msc at freeswitch.org Sun Mar 7 14:38:05 2010 From: msc at freeswitch.org (Michael S Collins) Date: Sun, 7 Mar 2010 14:38:05 -0800 Subject: [Freeswitch-users] XML curl and multiple extension in dialplan In-Reply-To: References: <4B9409FF.5060608@gmail.com> Message-ID: <81F54B71-2C10-448D-8053-6E151E8CCB3D@freeswitch.org> Can you pastebin a sample dialplan and script? I'd like to better visualize what problem you're trying to solve. -MC Sent from my iPhone On Mar 7, 2010, at 2:13 PM, paul gore wrote: > Thanks fro the input. > I thought about such approach, the only problem I see is there that > I essentially would have to duplicate FS dial plan parsing > functionality, so my question basically is there a way to avoid that? > I have seen a Ruby dial plan example on XML curl wiki page which > actually seem to generate response with multiple extensions, but > unfortunately FS cannot read such response. > > On Sun, Mar 7, 2010 at 3:18 PM, Nazim Agabekov > wrote: > Hello Paul > > I also use mod_xml_curl for a dialplan. I've solved this issue by > generating the XML extension dynamically. > My fastcgi daemon checks the input variables like caller id, > originator, e.t.c, makes routing decision > and dynamically generates only one XML extension. > So, there is no real need for creating complex dialplan on > mod_xml_curl output. > > Nazim > > > On 03/07/2010 11:03 PM, paul gore wrote: >> Greetings, >> We use XML curl to fetch our dial plan extensions from a database. >> As per FS wiki we can only return one XML extension upon FS request. >> Now we need to return a set of extensions with same number >> condition and context but with different second condition so that >> FS can pick up the right one. >> Is it possible at all? And if yes how response XML with multiple >> extensions should look like? >> >> Thanks a lot. >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- > users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/e4482800/attachment.html From paul.gore.j at gmail.com Sun Mar 7 15:07:27 2010 From: paul.gore.j at gmail.com (paul gore) Date: Sun, 7 Mar 2010 18:07:27 -0500 Subject: [Freeswitch-users] XML curl and multiple extension in dialplan In-Reply-To: <81F54B71-2C10-448D-8053-6E151E8CCB3D@freeswitch.org> References: <4B9409FF.5060608@gmail.com> <81F54B71-2C10-448D-8053-6E151E8CCB3D@freeswitch.org> Message-ID: Well, basically we used to return XML dial plan response with one extension like
and now we want to return response like that
But FS seem not to understand the latter, we get "No route..." On Sun, Mar 7, 2010 at 5:38 PM, Michael S Collins wrote: > Can you pastebin a sample dialplan and script? I'd like to better visualize > what problem you're trying to solve. > -MC > > Sent from my iPhone > > On Mar 7, 2010, at 2:13 PM, paul gore wrote: > > Thanks fro the input. > I thought about such approach, the only problem I see is there that > I essentially would have to duplicate FS dial plan parsing functionality, so > my question basically is there a way to avoid that? > I have seen a Ruby dial plan example on XML curl wiki page which actually > seem to generate response with multiple extensions, but unfortunately FS > cannot read such response. > > On Sun, Mar 7, 2010 at 3:18 PM, Nazim Agabekov < > nazim.agabekov at gmail.com> wrote: > >> Hello Paul >> >> I also use mod_xml_curl for a dialplan. I've solved this issue by >> generating the XML extension dynamically. >> My fastcgi daemon checks the input variables like caller id, originator, >> e.t.c, makes routing decision >> and dynamically generates only one XML extension. >> So, there is no real need for creating complex dialplan on mod_xml_curl >> output. >> >> Nazim >> >> >> On 03/07/2010 11:03 PM, paul gore wrote: >> >> Greetings, >> We use XML curl to fetch our dial plan extensions from a database. As per >> FS wiki we can only return one XML extension upon FS request. >> Now we need to return a set of extensions with same number condition and >> context but with different second condition so that FS can pick up the right >> one. >> Is it possible at all? And if yes how response XML with multiple >> extensions should look like? >> >> Thanks a lot. >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> >> > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100307/9221ff81/attachment.html From paul.gore.j at gmail.com Sun Mar 7 16:19:31 2010 From: paul.gore.j at gmail.com (paul gore) Date: Sun, 7 Mar 2010 19:19:31 -0500 Subject: [Freeswitch-users] XML curl and multiple extension in dialplan In-Reply-To: References: <4B9409FF.5060608@gmail.com> <81F54B71-2C10-448D-8053-6E151E8CCB3D@freeswitch.org> Message-ID: Actually to be correct - FS does read such response, but looks like it processes only the first one from the top, and if its condition evaluates to false it does not process further extensions. On Sun, Mar 7, 2010 at 6:07 PM, paul gore wrote: > Well, basically we used to return XML dial plan response with one extension > like > > >
> > > > > >
> > and now we want to return response like that > > >
> > > >
> > > But FS seem not to understand the latter, we get "No route..." > > > On Sun, Mar 7, 2010 at 5:38 PM, Michael S Collins wrote: > >> Can you pastebin a sample dialplan and script? I'd like to better >> visualize what problem you're trying to solve. >> -MC >> >> Sent from my iPhone >> >> On Mar 7, 2010, at 2:13 PM, paul gore wrote: >> >> Thanks fro the input. >> I thought about such approach, the only problem I see is there that >> I essentially would have to duplicate FS dial plan parsing functionality, so >> my question basically is there a way to avoid that? >> I have seen a Ruby dial plan example on XML curl wiki page which actually >> seem to generate response with multiple extensions, but unfortunately FS >> cannot read such response. >> >> On Sun, Mar 7, 2010 at 3:18 PM, Nazim Agabekov < >> nazim.agabekov at gmail.com> wrote: >> >>> Hello Paul >>> >>> I also use mod_xml_curl for a dialplan. I've solved this issue by >>> generating the XML extension dynamically. >>> My fastcgi daemon checks the input variables like caller id, originator, >>> e.t.c, makes routing decision >>> and dynamically generates only one XML extension. >>> So, there is no real need for creating complex dialplan on mod_xml_curl >>> output. >>> >>> Nazim >>> >>> >>> On 03/07/2010 11:03 PM, paul gore wrote: >>> >>> Greetings, >>> We use XML curl to fetch our dial plan extensions from a database. As per >>> FS wiki we can only return one XML extension upon FS request. >>> Now we need to return a set of extensions with same number condition and >>> context but with different second condition so that FS can pick up the right >>> one. >>> Is it possible at all? And if yes how response XML with multiple >>> extensions should look like? >>> >>> Thanks a lot. >>> >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >>> >>> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100307/83a3aaef/attachment-0001.html From josh at radianttiger.com Sun Mar 7 16:28:31 2010 From: josh at radianttiger.com (Josh Rivers) Date: Sun, 7 Mar 2010 16:28:31 -0800 Subject: [Freeswitch-users] Conference Recording Message-ID: On last week's conference call, someone was recording, did that recording get put online somewhere? Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/eb161ebd/attachment.html From brian at freeswitch.org Sun Mar 7 16:32:28 2010 From: brian at freeswitch.org (Brian West) Date: Sun, 7 Mar 2010 18:32:28 -0600 Subject: [Freeswitch-users] XML curl and multiple extension in dialplan In-Reply-To: References: <4B9409FF.5060608@gmail.com> Message-ID: <5632B84B-4513-4C02-BABC-CC1C0C48A078@freeswitch.org> You generate exactly ONE extension which was the exact way it was designed to be used. You don't have to parse anything only look at the variables you care about and run with it. Its nothing too complex or overly intensive to do. /b On Mar 7, 2010, at 4:13 PM, paul gore wrote: > Thanks fro the input. > I thought about such approach, the only problem I see is there that I essentially would have to duplicate FS dial plan parsing functionality, so my question basically is there a way to avoid that? > I have seen a Ruby dial plan example on XML curl wiki page which actually seem to generate response with multiple extensions, but unfortunately FS cannot read such response. From paul.gore.j at gmail.com Sun Mar 7 17:30:02 2010 From: paul.gore.j at gmail.com (paul gore) Date: Sun, 7 Mar 2010 20:30:02 -0500 Subject: [Freeswitch-users] XML curl and multiple extension in dialplan In-Reply-To: <5632B84B-4513-4C02-BABC-CC1C0C48A078@freeswitch.org> References: <4B9409FF.5060608@gmail.com> <5632B84B-4513-4C02-BABC-CC1C0C48A078@freeswitch.org> Message-ID: OK, so that means multiple extensions not possible. Yes, it's not overly intensive, but nevertheless I actually have to parse regex in the second condition to find out which extension matches incoming number and I wanted instead to let FS do that for me. It is a bit complex since we store complete extension XML in DB, so I have to retrieve all the extensions matching first condition, extract their second condition, then run them in loop... Looks like I can be better off using JS for that instead. Thank you everybody. On Sun, Mar 7, 2010 at 7:32 PM, Brian West wrote: > You generate exactly ONE extension which was the exact way it was designed > to be used. You don't have to parse anything only look at the variables you > care about and run with it. Its nothing too complex or overly intensive to > do. > > /b > > On Mar 7, 2010, at 4:13 PM, paul gore wrote: > > > Thanks fro the input. > > I thought about such approach, the only problem I see is there that I > essentially would have to duplicate FS dial plan parsing functionality, so > my question basically is there a way to avoid that? > > I have seen a Ruby dial plan example on XML curl wiki page which actually > seem to generate response with multiple extensions, but unfortunately FS > cannot read such response. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/2d7a827c/attachment.html From djbinter at gmail.com Sun Mar 7 17:40:45 2010 From: djbinter at gmail.com (DJB INTERNATIONAL) Date: Sun, 7 Mar 2010 17:40:45 -0800 Subject: [Freeswitch-users] mod xml rpc Message-ID: <94f7dfb11003071740ld55ca1dhb3a7e24af7be027c@mail.gmail.com> I just enabled mod xml rpc to test the web interface to retrieve the voicemail; however, every time when I tried to access via http://(fs_ip):8080/api/voicemail/web, somehow FS process got killed by itself. I wonder whether anyone experienced this problem. I am running r16928. Thank you, Dorn B. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/f461a607/attachment.html From brian at freeswitch.org Sun Mar 7 17:46:33 2010 From: brian at freeswitch.org (Brian West) Date: Sun, 7 Mar 2010 19:46:33 -0600 Subject: [Freeswitch-users] XML curl and multiple extension in dialplan In-Reply-To: References: <4B9409FF.5060608@gmail.com> <5632B84B-4513-4C02-BABC-CC1C0C48A078@freeswitch.org> Message-ID: <84088BC7-954F-4830-959B-989FDD062612@freeswitch.org> Apparently you haven't used a SQL db before. SELECT * from extensions where did='1234'; You can query for EXACTLY the info you need. /b On Mar 7, 2010, at 7:30 PM, paul gore wrote: > It is a bit complex since we store complete extension XML in DB, so I have to retrieve all the extensions matching first condition, extract their second condition, then run them in loop... Looks like I can be better off using JS for that instead. From brian at freeswitch.org Sun Mar 7 17:47:12 2010 From: brian at freeswitch.org (Brian West) Date: Sun, 7 Mar 2010 19:47:12 -0600 Subject: [Freeswitch-users] mod xml rpc In-Reply-To: <94f7dfb11003071740ld55ca1dhb3a7e24af7be027c@mail.gmail.com> References: <94f7dfb11003071740ld55ca1dhb3a7e24af7be027c@mail.gmail.com> Message-ID: <63AEAD12-F18F-4E61-B753-5F285ED067BB@freeswitch.org> Please read this http://wiki.freeswitch.org/wiki/Reporting_Bugs and report a bug to jira. /b On Mar 7, 2010, at 7:40 PM, DJB INTERNATIONAL wrote: > I just enabled mod xml rpc to test the web interface to retrieve the voicemail; however, every time when I tried to access via http://(fs_ip):8080/api/voicemail/web, somehow FS process got killed by itself. > I wonder whether anyone experienced this problem. I am running r16928. > > > Thank you, > Dorn B. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/63ac0abc/attachment.html From paul.gore.j at gmail.com Sun Mar 7 18:03:14 2010 From: paul.gore.j at gmail.com (paul gore) Date: Sun, 7 Mar 2010 21:03:14 -0500 Subject: [Freeswitch-users] XML curl and multiple extension in dialplan In-Reply-To: <84088BC7-954F-4830-959B-989FDD062612@freeswitch.org> References: <4B9409FF.5060608@gmail.com> <5632B84B-4513-4C02-BABC-CC1C0C48A078@freeswitch.org> <84088BC7-954F-4830-959B-989FDD062612@freeswitch.org> Message-ID: :-)) I used it a lot. Unfortunately we do not store did number as a field, as I said we store complete extension XML, with extension number and context as a key. So essentially I will retrieve a bunch of extension XMLs which I need to parse and run against regex matcher to find out the one, which is what exactly FS is doing when XML dial plan is defined in a static file. On Sun, Mar 7, 2010 at 8:46 PM, Brian West wrote: > Apparently you haven't used a SQL db before. SELECT * from extensions > where did='1234'; You can query for EXACTLY the info you need. > > /b > > On Mar 7, 2010, at 7:30 PM, paul gore wrote: > > > It is a bit complex since we store complete extension XML in DB, so I > have to retrieve all the extensions matching first condition, extract their > second condition, then run them in loop... Looks like I can be better off > using JS for that instead. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/148555f9/attachment-0001.html From infos at madovsky.org Sun Mar 7 18:07:59 2010 From: infos at madovsky.org (Madovsky) Date: Sun, 7 Mar 2010 21:07:59 -0500 Subject: [Freeswitch-users] alias in profile Message-ID: <16B4AB8FDE0149A98BFA5128C312957B@MOBILEE1705> Is anyone can enlight me of the definition of "alias" in profile and for what is it made for ? Thanks Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/a33062b6/attachment.html From brian at freeswitch.org Sun Mar 7 18:17:19 2010 From: brian at freeswitch.org (Brian West) Date: Sun, 7 Mar 2010 20:17:19 -0600 Subject: [Freeswitch-users] XML curl and multiple extension in dialplan In-Reply-To: References: <4B9409FF.5060608@gmail.com> <5632B84B-4513-4C02-BABC-CC1C0C48A078@freeswitch.org> <84088BC7-954F-4830-959B-989FDD062612@freeswitch.org> Message-ID: Sounds like you zigged where you should have zagged. /b On Mar 7, 2010, at 8:03 PM, paul gore wrote: > :-)) > I used it a lot. Unfortunately we do not store did number as a field, as I said we store complete extension XML, with extension number and context as a key. > So essentially I will retrieve a bunch of extension XMLs which I need to parse and run against regex matcher to find out the one, which is what exactly FS is doing when XML dial plan is defined in a static file. From rob4manhere at gmail.com Sun Mar 7 18:34:00 2010 From: rob4manhere at gmail.com (Rob Forman) Date: Sun, 7 Mar 2010 20:34:00 -0600 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: <9cb0e15e1003040655p500dae55kc22de012c270aedd@mail.gmail.com> References: <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> <20100303181909.DEFD22E73C8@cuneorg-email.cune.pri> <7454A296C7EDE34EA57199FAA401E2F11C63F2DA66@VMBX113.ihostexchange.net> <7b197bef1003031300j756aa0ddv777406fc3224da9c@mail.gmail.com> <25BD7E1E-B846-43AA-B587-1FCCE5667E79@gmail.com> <7b197bef1003031315tfe57e3fs98cfcfd9edf92939@mail.gmail.com> <23f91031003031704ob68528g37f64f9b0ee7a2bd@mail.gmail.com> <9cb0e15e1003040655p500dae55kc22de012c270aedd@mail.gmail.com> Message-ID: Nice to see so many people using it in so many different ways. For those using ec2 or xen, have you noticed this in your logs? 2010-03-08 02:29:50.472745 [CONSOLE] switch_time.c:1021 Calibrating timer, please wait... 2010-03-08 02:29:50.472851 [WARNING] switch_time.c:206 Timer resolution of 4000 microseconds detected! Do you have your kernel timer set to higher than 1 kHz? You may experience audio problems. "You may experience audio problems." Seems pretty clear. Can that just be ignored? Rob On Thu, Mar 4, 2010 at 8:55 AM, Fernando Testa wrote: > I used to do tests on conferencing using linode.com, which is Xen VMs > without issues, although there were not much load on it. > > On Wed, Mar 3, 2010 at 10:04 PM, Seven Du wrote: > >> we run our testing environment on Xen VMs (ubuntu 8.04 32bit), seems >> pretty well. Of course no much load. >> >> 2010/3/4 Giovanni Maruzzelli : >> > On Wed, Mar 3, 2010 at 10:09 PM, Rob Forman >> wrote: >> >> > Cheers, Chris. >> >> > -- >> >> > RightScale, Inc. >> >> >> >> I doubt they'll be switching any time soon. I think his employer IS >> >> RightScale :) >> > >> > Oooops, I'll learn to pay attention to signatures :) >> > >> > >> >> >> >> >> >> On Mar 3, 2010, at 3:00 PM, Giovanni Maruzzelli wrote: >> >> >> >>> On Wed, Mar 3, 2010 at 9:48 PM, Chris Fowler wrote: >> >>>> Re: Wiki - I'd love to give back to the community; Does anyone >> >>>> have an objection if I create a "How to use FreeSWITCH on EC2 with >> >>>> RightScale's management dashboard"? >> >>>> >> >>>> There are some significant differences to the configuration when >> >>>> using RightScale vs. bare bones AWS; and given this is on my >> >>>> employer's time I need to keep it relevant... >> >>> >> >>> Chris, >> >>> I know can be more work, but the best would be to let know the >> >>> differences too, and how it would be using bare bone AWS. That's also >> >>> good for your employer, if he decide to switch back from RightScale... >> >>> :) >> >>> >> >>> -giovanni >> >>> >> >>> >> >>>> >> >>>> The base AMI used is "RightImage CentOS_5.4_i386_v4.4.10"; this is >> >>>> a public AMI (you don't need to be a RightScale customer to use it) >> >>>> >> >>>> Cheers, Chris. >> >>>> >> >>>> -----Original Message----- >> >>>> From: freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org >> >>>> ] On Behalf Of Russell.Mosemann at cune.org >> >>>> Sent: Wednesday, March 03, 2010 10:19 AM >> >>>> To: freeswitch-users at lists.freeswitch.org >> >>>> Subject: Re: [Freeswitch-users] Virtualized FreeSWITCH >> >>>> >> >>>> Chris Fowler said: >> >>>> >> >>>>> There were no special tricks; you do need to modify/override the >> >>>>> following with the box's Elastic IP (EIP). >> >>>> >> >>>> This would be helpful to have in the wiki along with any other tips >> >>>> for >> >>>> your virtual environment. :-) >> >>>> >> >>>> -- >> >>>> Russell Mosemann >> >>>> >> >>>> >> >>>> >> >>>> ________________________________________________________ >> >>>> Concordia University, Nebraska >> >>>> See http://www.cune.edu/ for the latest news and events! >> >>>> >> >>>> >> >>>> _______________________________________________ >> >>>> FreeSWITCH-users mailing list >> >>>> FreeSWITCH-users at 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 >> >>>> >> >>> >> >>> >> >>> >> >>> -- >> >>> Sincerely, >> >>> >> >>> Giovanni Maruzzelli >> >>> Cell : +39-347-2665618 >> >>> >> >>> _______________________________________________ >> >>> FreeSWITCH-users mailing list >> >>> FreeSWITCH-users at 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 >> >> >> > >> > >> > >> > -- >> > Sincerely, >> > >> > Giovanni Maruzzelli >> > Cell : +39-347-2665618 >> > >> > _______________________________________________ >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at 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 >> > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/193d2d35/attachment.html From jmesquita at freeswitch.org Sun Mar 7 20:14:36 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Mon, 8 Mar 2010 01:14:36 -0300 Subject: [Freeswitch-users] [Freeswitch-dev] Call transfer using eventsockets with FSComm In-Reply-To: <3181A30B8C35AB4AA8577B78DDF46138068F6214@nickel.mettonigroup.com> References: <3181A30B8C35AB4AA8577B78DDF46138068F6214@nickel.mettonigroup.com> Message-ID: A few logs for this would be just amazing so I can help figure this out. I am very interested at this process because when I can give FSComm some love, I will start implementing those types of features. Regards, Jo?o Mesquita On Fri, Mar 5, 2010 at 8:04 AM, Suneel Papineni wrote: > Hi, > > > > Is there a way to transfer call with FSComm. I tried different ways using > eventsockets but failed. > > > > Tried the scenario as follows: > > Received a call from 1001 to FSComm (registered with 1002) and is answered > (Unique-id is 784dd690-6d0a-47de-b5f4-b923264581a5). Made a call from FSComm > to extension 1003 and is answered (Unique-id is > ec7a3bdd-c265-41fb-8cef-b897d2e8bf62). Now I want to transfer this call to > 1001 and FSComm should be out of loop. > > > > a. Tried with command ?api uuid_transfer > 784dd690-6d0a-47de-b5f4-b923264581a5 ?both park inline? but failed. With > this call at 1001 is dropped and call between FSComm and 1003 is still > there. > > b. Tried with command ?api uuid_bridge > 784dd690-6d0a-47de-b5f4-b923264581a5 ec7a3bdd-c265-41fb-8cef-b897d2e8bf62?. > With this all calls are dropped. > > > > Could someone let me know if there is any procedure for call transfer > (using event sockets). > > > > Thanks & Regards > > Suneel > > ************************************************************************* > Please consider the environment before printing this e-mail > ************************************************************************* > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. http://www.mettoni.com > > Mettoni Ltd > Registered in England and Wales: 4485956 > 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN > ************************************************************************* > > > _______________________________________________ > 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/20100308/25faac3a/attachment-0001.html From jmesquita at freeswitch.org Sun Mar 7 20:15:19 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Mon, 8 Mar 2010 01:15:19 -0300 Subject: [Freeswitch-users] FScomm In-Reply-To: <13F83F4CC35047199F95ED9EA80149BE@MOBILEE1705> References: <157FDB96FB88476FBAEC69C1309A0A5F@MOBILEE1705> <11F8492DFC2546598E6FDC3E538301CD@MOBILEE1705> <13F83F4CC35047199F95ED9EA80149BE@MOBILEE1705> Message-ID: If I can access your system over SSH I can probably figure this out. Is this possible? Jo?o Mesquita On Wed, Mar 3, 2010 at 3:26 AM, Madovsky wrote: > Hi Joao, > > thanks for your answer. > I have a standard RPM QT last update for Fedora10 64bits. > so I really don't know what path FScomm needs > > Regards > > Franck > > ----- Original Message ----- > *From:* Jo?o Mesquita > *To:* freeswitch-users at lists.freeswitch.org > *Sent:* Wednesday, March 03, 2010 1:00 AM > *Subject:* Re: [Freeswitch-users] FScomm > > This is definitely a problem with your Qt installation. You need to be able > to find the libs to link it, otherwise, unresolved symbols everywhere! > > Regards, > Jo?o Mesquita > FSComm Developer > > > On Wed, Feb 24, 2010 at 2:42 PM, Madovsky wrote: > >> >> ----- Original Message ----- >> From: "Michael Jerris" >> To: >> Sent: Wednesday, February 24, 2010 3:40 AM >> Subject: Re: [Freeswitch-users] FScomm >> >> >> >> On Feb 23, 2010, at 6:18 PM, Madovsky wrote: >> >> > >> > ----- Original Message ----- >> > From: Jeff Lenk >> > To: freeswitch-users at lists.freeswitch.org >> > Sent: Tuesday, February 23, 2010 5:05 PM >> > Subject: Re: [Freeswitch-users] FScomm >> > >> > >> > http://wiki.freeswitch.org/wiki/FSComm#Linux >> > >> > you must run those from the FSComm directory >> > >> >> ?. >> >> > >> > It's what I did, >> > but from FS trunk, inside fscomm directory, >> > there s only >> > >> > account.cpp conf fshost.h mainwindow.ui >> > resources.qrc >> > account.h FSComm.2008.vcproj main.cpp mod_qsettings >> > call.cpp FSComm.pro mainwindow.cpp preferences >> > call.h fshost.cpp mainwindow.h resources >> > >> >> >> Read those installation instructions again and do them step by step, you >> skipped one. >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> Ok now I have >> >> [root at node250 fscomm]# qmake >> WARNING: Found potential symbol conflict of mainwindow.cpp >> (mainwindow.cpp) >> in SOURCES >> WARNING: Found potential symbol conflict of mainwindow.h (mainwindow.h) in >> HEADERS >> WARNING: Found potential symbol conflict of prefdialog.cpp >> (preferences/prefdialog.cpp) in SOURCES >> WARNING: Found potential symbol conflict of prefdialog.h >> (preferences/prefdialog.h) in HEADERS >> WARNING: Found potential symbol conflict of accountdialog.cpp >> (preferences/accountdialog.cpp) in SOURCES >> WARNING: Found potential symbol conflict of accountdialog.h >> (preferences/accountdialog.h) in HEADERS >> >> [root at node250 fscomm]# qmake >> WARNING: Found potential symbol conflict of mainwindow.cpp >> (mainwindow.cpp) >> in SOURCES >> WARNING: Found potential symbol conflict of mainwindow.h (mainwindow.h) in >> HEADERS >> WARNING: Found potential symbol conflict of prefdialog.cpp >> (preferences/prefdialog.cpp) in SOURCES >> WARNING: Found potential symbol conflict of prefdialog.h >> (preferences/prefdialog.h) in HEADERS >> WARNING: Found potential symbol conflict of accountdialog.cpp >> (preferences/accountdialog.cpp) in SOURCES >> WARNING: Found potential symbol conflict of accountdialog.h >> (preferences/accountdialog.h) in HEADERS >> [root at node250 fscomm]# make >> Makefile:278: warning: overriding commands for target `prefdialog.o' >> Makefile:215: warning: ignoring old commands for target `prefdialog.o' >> Makefile:285: warning: overriding commands for target `accountdialog.o' >> Makefile:234: warning: ignoring old commands for target `accountdialog.o' >> Makefile:320: warning: overriding commands for target `moc_prefdialog.o' >> Makefile:298: warning: ignoring old commands for target `moc_prefdialog.o' >> Makefile:323: warning: overriding commands for target >> `moc_accountdialog.o' >> Makefile:307: warning: ignoring old commands for target >> `moc_accountdialog.o' >> Makefile:347: warning: overriding commands for target `moc_mainwindow.cpp' >> Makefile:326: warning: ignoring old commands for target >> `moc_mainwindow.cpp' >> Makefile:350: warning: overriding commands for target >> `preferences/moc_prefdialog.cpp' >> Makefile:332: warning: ignoring old commands for target >> `preferences/moc_prefdialog.cpp' >> Makefile:353: warning: overriding commands for target >> `preferences/moc_accountdialog.cpp' >> Makefile:341: warning: ignoring old commands for target >> `preferences/moc_accountdialog.cpp' >> g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 >> -fexceptions >> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic >> -DQT_NO_DEBUG >> -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT >> -I/usr/lib64/qt-3.3/mkspecs/default >> -I. -I../src/include -I../libs/apr/include -I../libs/libteletone/src >> -I/usr/lib64/qt-3.3/include >> -o main.o main.cpp >> main.cpp:31:25: error: QSplashScreen: No such file or directory >> In file included from main.cpp:32: >> mainwindow.h:34:23: error: QMainWindow: No such file or directory >> mainwindow.h:35:28: error: QTableWidgetItem: No such file or directory >> mainwindow.h:36:25: error: QSignalMapper: No such file or directory >> mainwindow.h:37:27: error: QSystemTrayIcon: No such file or directory >> In file included from mainwindow.h:39, >> from main.cpp:32: >> ./fshost.h:32:19: error: QThread: No such file or directory >> ./fshost.h:33:17: error: QHash: No such file or directory >> ./fshost.h:34:26: error: QSharedPointer: No such file or directory >> In file included from ./fshost.h:36, >> from mainwindow.h:39, >> from main.cpp:32: >> ./call.h:32:18: error: QtCore: No such file or directory >> ./call.h:33:19: error: QString: No such file or directory >> In file included from mainwindow.h:42, >> from main.cpp:32: >> preferences/prefdialog.h:4:19: error: QDialog: No such file or directory >> preferences/prefdialog.h:5:24: error: QDomDocument: No such file or >> directory >> preferences/prefdialog.h:6:21: error: QSettings: No such file or directory >> In file included from ./fshost.h:37, >> from mainwindow.h:39, >> from main.cpp:32: >> ./account.h:18: error: expected constructor, destructor, or type >> conversion >> before ?static? >> In file included from mainwindow.h:39, >> from main.cpp:32: >> ./fshost.h:40: error: invalid use of incomplete type ?struct QThread? >> /usr/include/QtCore/qobject.h:68: error: forward declaration of ?struct >> QThread? >> ./fshost.h:46: error: ISO C++ forbids declaration of ?QSharedPointer? with >> no type >> ./fshost.h:46: error: expected ?;? before ?> ./fshost.h:47: error: expected `;' before ?QSharedPointer? >> ./fshost.h:47: error: ISO C++ forbids declaration of ?QSharedPointer? with >> no type >> ./fshost.h:47: error: expected ?;? before ?> ./fshost.h:48: error: ?QSharedPointer? was not declared in this scope >> ./fshost.h:48: error: template argument 1 is invalid >> ./fshost.h:48: error: expected unqualified-id before ?>? token >> ./fshost.h:49: error: ISO C++ forbids declaration of ?QSharedPointer? with >> no type >> ./fshost.h:49: error: expected ?;? before ?> ./fshost.h:50: error: ISO C++ forbids declaration of ?QSharedPointer? with >> no type >> ./fshost.h:50: error: expected ?;? before ?> ./fshost.h:51: error: ISO C++ forbids declaration of ?QSharedPointer? with >> no type >> ./fshost.h:51: error: expected ?;? before ?> ./fshost.h:52: error: ?QSharedPointer? has not been declared >> ./fshost.h:52: error: expected ?,? or ?...? before ?> ./fshost.h:60: error: ?QSharedPointer? has not been declared >> ./fshost.h:60: error: expected ?,? or ?...? before ?> ./fshost.h:61: error: ?QSharedPointer? has not been declared >> ./fshost.h:61: error: expected ?,? or ?...? before ?> ./fshost.h:62: error: ?QSharedPointer? has not been declared >> ./fshost.h:62: error: expected ?,? or ?...? before ?> ./fshost.h:63: error: ?QSharedPointer? has not been declared >> ./fshost.h:63: error: expected ?,? or ?...? before ?> ./fshost.h:64: error: ?QSharedPointer? has not been declared >> ./fshost.h:64: error: expected ?,? or ?...? before ?> ./fshost.h:65: error: ?QSharedPointer? has not been declared >> ./fshost.h:65: error: expected ?,? or ?...? before ?> ./fshost.h:66: error: ?QSharedPointer? has not been declared >> ./fshost.h:66: error: expected ?,? or ?...? before ?> ./fshost.h:67: error: ?QSharedPointer? has not been declared >> ./fshost.h:67: error: expected ?,? or ?...? before ?> ./fshost.h:71: error: ?QSharedPointer? has not been declared >> ./fshost.h:71: error: expected ?,? or ?...? before ?> ./fshost.h:78: error: ?QSharedPointer? was not declared in this scope >> ./fshost.h:78: error: template argument 2 is invalid >> ./fshost.h:78: error: expected unqualified-id before ?>? token >> ./fshost.h:79: error: ?QSharedPointer? was not declared in this scope >> ./fshost.h:79: error: template argument 2 is invalid >> ./fshost.h:79: error: expected unqualified-id before ?>? token >> ./fshost.h:80: error: field ?_bleg_uuids? has incomplete type >> In file included from mainwindow.h:42, >> from main.cpp:32: >> preferences/prefdialog.h:17: error: invalid use of incomplete type ?struct >> QDialog? >> /usr/include/QtGui/qwindowdefs.h:57: error: forward declaration of ?struct >> QDialog? >> preferences/prefdialog.h:31: error: ISO C++ forbids declaration of >> ?QSettings? with no type >> preferences/prefdialog.h:31: error: expected ?;? before ?*? token >> In file included from main.cpp:32: >> mainwindow.h:48: error: expected class-name before ?{? token >> mainwindow.h:65: error: ?QTableWidgetItem? has not been declared >> mainwindow.h:71: error: ?QSharedPointer? has not been declared >> mainwindow.h:71: error: expected ?,? or ?...? before ?> mainwindow.h:72: error: ?QSharedPointer? has not been declared >> mainwindow.h:72: error: expected ?,? or ?...? before ?> mainwindow.h:73: error: ?QSharedPointer? has not been declared >> mainwindow.h:73: error: expected ?,? or ?...? before ?> mainwindow.h:74: error: ?QSharedPointer? has not been declared >> mainwindow.h:74: error: expected ?,? or ?...? before ?> mainwindow.h:75: error: ?QSharedPointer? has not been declared >> mainwindow.h:75: error: expected ?,? or ?...? before ?> mainwindow.h:78: error: ?QSharedPointer? has not been declared >> mainwindow.h:78: error: expected ?,? or ?...? before ?> mainwindow.h:79: error: ?QSharedPointer? has not been declared >> mainwindow.h:79: error: expected ?,? or ?...? before ?> mainwindow.h:80: error: ?QSharedPointer? has not been declared >> mainwindow.h:80: error: expected ?,? or ?...? before ?> mainwindow.h:81: error: ?QSystemTrayIcon? has not been declared >> mainwindow.h:81: error: expected ?,? or ?...? before ?reason? >> mainwindow.h:86: error: ISO C++ forbids declaration of ?QSignalMapper? >> with >> no type >> mainwindow.h:86: error: expected ?;? before ?*? token >> mainwindow.h:88: error: ISO C++ forbids declaration of ?QSystemTrayIcon? >> with no type >> mainwindow.h:88: error: expected ?;? before ?*? token >> main.cpp: In function ?int main(int, char**)?: >> main.cpp:41: error: variable ?QPixmap image? has initializer but >> incomplete >> type >> main.cpp:42: error: ?QSplashScreen? was not declared in this scope >> main.cpp:42: error: ?splash? was not declared in this scope >> main.cpp:42: error: expected type-specifier before ?QSplashScreen? >> main.cpp:42: error: expected `;' before ?QSplashScreen? >> main.cpp:48: error: no matching function for call to >> ?QObject::connect(FSHost*, const char [9], MainWindow*, const char [8])? >> /usr/include/QtCore/qobject.h:202: note: candidates are: static bool >> QObject::connect(const QObject*, const char*, const QObject*, const char*, >> Qt::ConnectionType) >> /usr/include/QtCore/qobject.h:307: note: bool >> QObject::connect(const QObject*, const char*, const char*, >> Qt::ConnectionType) const >> main.cpp:49: error: ?class FSHost? has no member named ?start? >> main.cpp:41: warning: unused variable ?image? >> ./fshost.h: At global scope: >> ./fshost.h:90: warning: ?void eventHandlerCallback(switch_event_t*)? >> defined >> but not used >> make: *** [main.o] Error 1 >> >> >> Any idea ? >> >> Thx >> >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/82f54c8f/attachment-0001.html From jmesquita at freeswitch.org Sun Mar 7 20:18:59 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Mon, 8 Mar 2010 01:18:59 -0300 Subject: [Freeswitch-users] [Freeswitch-dev] FSComm basic issue In-Reply-To: <3181A30B8C35AB4AA8577B78DDF4613806886903@nickel.mettonigroup.com> References: <3181A30B8C35AB4AA8577B78DDF4613806886903@nickel.mettonigroup.com> Message-ID: Sorry for the late reply. Was out of town... Inline... JM On Fri, Feb 26, 2010 at 1:59 PM, Suneel Papineni < Suneel.Papineni at mettoni.com> wrote: > Hi, > > > > I am trying to use FSComm with Freeswitch and facing following issues. > > > > 1. Using pre-build binary (windows), when the application is started > FSComm is getting Registered properly. When I tried to make a call, UI > displays Dialing... but unable to see any SIP (INVITE) messages in wireshark > traces. After sometime UI displays with message ?Call with (destination > number) failed with reason DESTINATION_OUT_OF_ORDER though destination > number is registered with another FSComm? > How exactly are you dialing from the UI? What version are you running? You can check the build on Help -> About > 2. Also I am unable to see any logs generated in the log folder. > > > What do you mean by unable? > Downloaded the latest source code (Freeswitch 1.0.5 latest updated as on > 26/02/10 at 4am) and tried to build FSComm. Build was succeeded. Application > (FSComm) also started and displayed with UI. When I try to change the > preferences, it has thrown Porta Audio Error saying ?Error Querying Audio > Devices? even though proper audio devices are present. > Have you checked if mod_portaudio was loaded? I still have to implement some error messages on startup when PA or the core does not load. > Also it doesn?t create folders like ?conf?, ?mod?. Even after copying all > the required dll?s and mod files (as specified in FSComm wiki pages), > application is throwing the same error. > That's why ppl have been packaging the Windows build. On Linux, we create all dirs just fine. I just checked. > > > I am using Windows XP machine. Built a Debug & Release version with 32-bit > option. > > If someone has built FSComm for windows environment and is working fine, > could you please let me know if there are any additional things I need to do > to make it work. > I will try to get myself built FSComm over Windows, but I have lousy skills on MSVS... jlenk was helping me out, will pick it up again to get code improved. > > > Thanks & Regards > > Suneel > > > > > > ************************************************************************* > Please consider the environment before printing this e-mail > ************************************************************************* > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. http://www.mettoni.com > > Mettoni Ltd > Registered in England and Wales: 4485956 > 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN > ************************************************************************* > > > _______________________________________________ > 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/20100308/e2cb3e1c/attachment.html From freeswitch.org at todandlorna.com Sun Mar 7 21:28:46 2010 From: freeswitch.org at todandlorna.com (Tod Hansmann) Date: Sun, 07 Mar 2010 22:28:46 -0700 Subject: [Freeswitch-users] Conference Recording In-Reply-To: References: Message-ID: <4B948B0E.8050909@todandlorna.com> For the whole thing? I know parts were recorded by different people. I'm not sure about the whole thing. -Tod Hansmann On 3/7/2010 5:28 PM, Josh Rivers wrote: > On last week's conference call, someone was recording, did that > recording get put online somewhere? > > Josh > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/16340c95/attachment.html From infos at madovsky.org Sun Mar 7 22:20:01 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 8 Mar 2010 01:20:01 -0500 Subject: [Freeswitch-users] registration in a DB shared mode Message-ID: I set 2 freeswitch on 2 nodes with a shared DB, set all configs for shared db with ODBC postgresql, but if I call an extension registered from the another node voicemail answer. I missed to set something somewhere, if anyone can help it would be great Regards Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/2b06090a/attachment.html From jingwei.yang at gmail.com Mon Mar 8 00:43:01 2010 From: jingwei.yang at gmail.com (Jingwei Yang) Date: Mon, 8 Mar 2010 16:43:01 +0800 Subject: [Freeswitch-users] How to set background music for application park Message-ID: <13529f9d1003080043u34f870c8vf7786ec8296f6be5@mail.gmail.com> Hello, I'm using this command to put each party of a call to hold: uuid_transfer -both 'park' inline It works perfectly except none of them can hear the background music. May I know how to set the music in this case? And is it possible to set different music for different parties? Thanks, -Jingwei -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/44d203b0/attachment.html From gavin.henry at gmail.com Mon Mar 8 01:34:34 2010 From: gavin.henry at gmail.com (Gavin Henry) Date: Mon, 8 Mar 2010 09:34:34 +0000 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: References: <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> <20100303181909.DEFD22E73C8@cuneorg-email.cune.pri> <7454A296C7EDE34EA57199FAA401E2F11C63F2DA66@VMBX113.ihostexchange.net> <7b197bef1003031300j756aa0ddv777406fc3224da9c@mail.gmail.com> <25BD7E1E-B846-43AA-B587-1FCCE5667E79@gmail.com> <7b197bef1003031315tfe57e3fs98cfcfd9edf92939@mail.gmail.com> <23f91031003031704ob68528g37f64f9b0ee7a2bd@mail.gmail.com> <9cb0e15e1003040655p500dae55kc22de012c270aedd@mail.gmail.com> Message-ID: <13ca621c1003080134n7e2a5d14kb5c1744ddc85d665@mail.gmail.com> We use a 256mb xen vm for customers hosted pbx platforms for up to 20 users. Everything is fine re conferencing and voicemails etc. We also use the -vm flag and this is driven by FusionPBX Each customer gets their own vm so not much load. Thanks, Gavin. On 08/03/2010, Rob Forman wrote: > Nice to see so many people using it in so many different ways. For those > using ec2 or xen, have you noticed this in your logs? > > 2010-03-08 02:29:50.472745 [CONSOLE] switch_time.c:1021 Calibrating timer, > please wait... > 2010-03-08 02:29:50.472851 [WARNING] switch_time.c:206 Timer resolution of > 4000 microseconds detected! > Do you have your kernel timer set to higher than 1 kHz? You may experience > audio problems. > > > "You may experience audio problems." Seems pretty clear. Can that just be > ignored? > > Rob > > > On Thu, Mar 4, 2010 at 8:55 AM, Fernando Testa > wrote: > >> I used to do tests on conferencing using linode.com, which is Xen VMs >> without issues, although there were not much load on it. >> >> On Wed, Mar 3, 2010 at 10:04 PM, Seven Du wrote: >> >>> we run our testing environment on Xen VMs (ubuntu 8.04 32bit), seems >>> pretty well. Of course no much load. >>> >>> 2010/3/4 Giovanni Maruzzelli : >>> > On Wed, Mar 3, 2010 at 10:09 PM, Rob Forman >>> wrote: >>> >> > Cheers, Chris. >>> >> > -- >>> >> > RightScale, Inc. >>> >> >>> >> I doubt they'll be switching any time soon. I think his employer IS >>> >> RightScale :) >>> > >>> > Oooops, I'll learn to pay attention to signatures :) >>> > >>> > >>> >> >>> >> >>> >> On Mar 3, 2010, at 3:00 PM, Giovanni Maruzzelli wrote: >>> >> >>> >>> On Wed, Mar 3, 2010 at 9:48 PM, Chris Fowler wrote: >>> >>>> Re: Wiki - I'd love to give back to the community; Does anyone >>> >>>> have an objection if I create a "How to use FreeSWITCH on EC2 with >>> >>>> RightScale's management dashboard"? >>> >>>> >>> >>>> There are some significant differences to the configuration when >>> >>>> using RightScale vs. bare bones AWS; and given this is on my >>> >>>> employer's time I need to keep it relevant... >>> >>> >>> >>> Chris, >>> >>> I know can be more work, but the best would be to let know the >>> >>> differences too, and how it would be using bare bone AWS. That's also >>> >>> good for your employer, if he decide to switch back from >>> >>> RightScale... >>> >>> :) >>> >>> >>> >>> -giovanni >>> >>> >>> >>> >>> >>>> >>> >>>> The base AMI used is "RightImage CentOS_5.4_i386_v4.4.10"; this is >>> >>>> a public AMI (you don't need to be a RightScale customer to use it) >>> >>>> >>> >>>> Cheers, Chris. >>> >>>> >>> >>>> -----Original Message----- >>> >>>> From: freeswitch-users-bounces at lists.freeswitch.org [mailto: >>> freeswitch-users-bounces at lists.freeswitch.org >>> >>>> ] On Behalf Of Russell.Mosemann at cune.org >>> >>>> Sent: Wednesday, March 03, 2010 10:19 AM >>> >>>> To: freeswitch-users at lists.freeswitch.org >>> >>>> Subject: Re: [Freeswitch-users] Virtualized FreeSWITCH >>> >>>> >>> >>>> Chris Fowler said: >>> >>>> >>> >>>>> There were no special tricks; you do need to modify/override the >>> >>>>> following with the box's Elastic IP (EIP). >>> >>>> >>> >>>> This would be helpful to have in the wiki along with any other tips >>> >>>> for >>> >>>> your virtual environment. :-) >>> >>>> >>> >>>> -- >>> >>>> Russell Mosemann >>> >>>> >>> >>>> >>> >>>> >>> >>>> ________________________________________________________ >>> >>>> Concordia University, Nebraska >>> >>>> See http://www.cune.edu/ for the latest news and events! >>> >>>> >>> >>>> >>> >>>> _______________________________________________ >>> >>>> FreeSWITCH-users mailing list >>> >>>> FreeSWITCH-users at 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 >>> >>>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> >>> Sincerely, >>> >>> >>> >>> Giovanni Maruzzelli >>> >>> Cell : +39-347-2665618 >>> >>> >>> >>> _______________________________________________ >>> >>> FreeSWITCH-users mailing list >>> >>> FreeSWITCH-users at 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 >>> >> >>> > >>> > >>> > >>> > -- >>> > Sincerely, >>> > >>> > Giovanni Maruzzelli >>> > Cell : +39-347-2665618 >>> > >>> > _______________________________________________ >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at 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 >>> >> >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> > -- Sent from my mobile device http://www.suretecsystems.com/services/openldap/ http://www.suretectelecom.com From jaybinks at gmail.com Mon Mar 8 03:30:48 2010 From: jaybinks at gmail.com (Jay Binks) Date: Mon, 8 Mar 2010 21:30:48 +1000 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: <13ca621c1003080134n7e2a5d14kb5c1744ddc85d665@mail.gmail.com> References: <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> <20100303181909.DEFD22E73C8@cuneorg-email.cune.pri> <7454A296C7EDE34EA57199FAA401E2F11C63F2DA66@VMBX113.ihostexchange.net> <7b197bef1003031300j756aa0ddv777406fc3224da9c@mail.gmail.com> <25BD7E1E-B846-43AA-B587-1FCCE5667E79@gmail.com> <7b197bef1003031315tfe57e3fs98cfcfd9edf92939@mail.gmail.com> <23f91031003031704ob68528g37f64f9b0ee7a2bd@mail.gmail.com> <9cb0e15e1003040655p500dae55kc22de012c270aedd@mail.gmail.com> <13ca621c1003080134n7e2a5d14kb5c1744ddc85d665@mail.gmail.com> Message-ID: <70064BF8-B34E-4320-8B77-42CF82E958A1@gmail.com> The qn here is do you bypass media or do you do complete topology hiding ?? Sip only is kind of a given , it gets harder if the virtualized pbx does media. J On 08/03/2010, at 19:34, Gavin Henry wrote: > We use a 256mb xen vm for customers hosted pbx platforms for up to 20 > users. Everything is fine re conferencing and voicemails etc. We also > use the -vm flag and this is driven by FusionPBX > > Each customer gets their own vm so not much load. > > Thanks, > > Gavin. > > On 08/03/2010, Rob Forman wrote: >> Nice to see so many people using it in so many different ways. For >> those >> using ec2 or xen, have you noticed this in your logs? >> >> 2010-03-08 02:29:50.472745 [CONSOLE] switch_time.c:1021 Calibrating >> timer, >> please wait... >> 2010-03-08 02:29:50.472851 [WARNING] switch_time.c:206 Timer >> resolution of >> 4000 microseconds detected! >> Do you have your kernel timer set to higher than 1 kHz? You may >> experience >> audio problems. >> >> >> "You may experience audio problems." Seems pretty clear. Can that >> just be >> ignored? >> >> Rob >> >> >> On Thu, Mar 4, 2010 at 8:55 AM, Fernando Testa >> wrote: >> >>> I used to do tests on conferencing using linode.com, which is Xen >>> VMs >>> without issues, although there were not much load on it. >>> >>> On Wed, Mar 3, 2010 at 10:04 PM, Seven Du >>> wrote: >>> >>>> we run our testing environment on Xen VMs (ubuntu 8.04 32bit), >>>> seems >>>> pretty well. Of course no much load. >>>> >>>> 2010/3/4 Giovanni Maruzzelli : >>>>> On Wed, Mar 3, 2010 at 10:09 PM, Rob Forman >>>>> >>>> wrote: >>>>>>> Cheers, Chris. >>>>>>> -- >>>>>>> RightScale, Inc. >>>>>> >>>>>> I doubt they'll be switching any time soon. I think his >>>>>> employer IS >>>>>> RightScale :) >>>>> >>>>> Oooops, I'll learn to pay attention to signatures :) >>>>> >>>>> >>>>>> >>>>>> >>>>>> On Mar 3, 2010, at 3:00 PM, Giovanni Maruzzelli wrote: >>>>>> >>>>>>> On Wed, Mar 3, 2010 at 9:48 PM, Chris Fowler >>>>>>> wrote: >>>>>>>> Re: Wiki - I'd love to give back to the community; Does anyone >>>>>>>> have an objection if I create a "How to use FreeSWITCH on EC2 >>>>>>>> with >>>>>>>> RightScale's management dashboard"? >>>>>>>> >>>>>>>> There are some significant differences to the configuration >>>>>>>> when >>>>>>>> using RightScale vs. bare bones AWS; and given this is on my >>>>>>>> employer's time I need to keep it relevant... >>>>>>> >>>>>>> Chris, >>>>>>> I know can be more work, but the best would be to let know the >>>>>>> differences too, and how it would be using bare bone AWS. >>>>>>> That's also >>>>>>> good for your employer, if he decide to switch back from >>>>>>> RightScale... >>>>>>> :) >>>>>>> >>>>>>> -giovanni >>>>>>> >>>>>>> >>>>>>>> >>>>>>>> The base AMI used is "RightImage CentOS_5.4_i386_v4.4.10"; >>>>>>>> this is >>>>>>>> a public AMI (you don't need to be a RightScale customer to >>>>>>>> use it) >>>>>>>> >>>>>>>> Cheers, Chris. >>>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: freeswitch-users-bounces at lists.freeswitch.org [mailto: >>>> freeswitch-users-bounces at lists.freeswitch.org >>>>>>>> ] On Behalf Of Russell.Mosemann at cune.org >>>>>>>> Sent: Wednesday, March 03, 2010 10:19 AM >>>>>>>> To: freeswitch-users at lists.freeswitch.org >>>>>>>> Subject: Re: [Freeswitch-users] Virtualized FreeSWITCH >>>>>>>> >>>>>>>> Chris Fowler said: >>>>>>>> >>>>>>>>> There were no special tricks; you do need to modify/override >>>>>>>>> the >>>>>>>>> following with the box's Elastic IP (EIP). >>>>>>>> >>>>>>>> This would be helpful to have in the wiki along with any >>>>>>>> other tips >>>>>>>> for >>>>>>>> your virtual environment. :-) >>>>>>>> >>>>>>>> -- >>>>>>>> Russell Mosemann >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ________________________________________________________ >>>>>>>> Concordia University, Nebraska >>>>>>>> See http://www.cune.edu/ for the latest news and events! >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at 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 >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Sincerely, >>>>>>> >>>>>>> Giovanni Maruzzelli >>>>>>> Cell : +39-347-2665618 >>>>>>> >>>>>>> _______________________________________________ >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at 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 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Sincerely, >>>>> >>>>> Giovanni Maruzzelli >>>>> Cell : +39-347-2665618 >>>>> >>>>> _______________________________________________ >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at 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 >>>> >>> >>> >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- >>> users >>> http://www.freeswitch.org >>> >>> >> > > -- > Sent from my mobile device > > http://www.suretecsystems.com/services/openldap/ > http://www.suretectelecom.com > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 jbrucehopkins at gmail.com Mon Mar 8 04:56:12 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Mon, 8 Mar 2010 12:56:12 +0000 Subject: [Freeswitch-users] doublenat outgoing call issue Message-ID: Hi, I wonder if some kind soul might be able please to help me by pointing out what I am doing wrong with my doublenat configuration. I have incoming calls from WAN --> LAN working fine, but when I try to call from LAN -->WAN, the Freeswitch CLI says: "[ERR} switch_ivr_originate.c.2389 CAnnot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]" The setup is essentially: phone_1 (192.168.a.b) --> NAT (public ip 1.2.3.4) --> Internet --> NAT (public ip 5.6.7.8) --> Freeswitch (192.168.x.y) --> phone_2 (192.168.x.z) Phone_1 is able to register with Freeswitch using a "doublenat" sip profile I set up using port 5090, created from the default external profile with the port changed. phone_1 can initiate calls to phone_2 fine with no problems with audio - everything works just fine in that direction. However when I try to call from phone_2 --> phone_1 I get the message "The person at extension 1002 is not available. Record your message at the tone." Meanwhile the CLI shows that Freeswitch says phone_1 is not registered. In trying to solve this I have run a Wireshark trace onthe PC running the phone_1 softphone to check that the SIP registration seems to go as I understand it should. the dialog is as follows: phone_1 --> FS request: REGISTER FS --> phone_1 status: 401 Unauthorised phone_1 --> FS request: REGISTER FS --> phone_1 status: 200 OK phone_1 --> FS request: SUBSCRIBE FS --> phone_1 status: 405 Method Not Allowed There does appear to be a difference here to what happens when phone_2 (on the same LAN as Freeswitch) registers. With phone_2 I see: phone_2 --> FS request: REGISTER FS --> phone_2 status: 401 Unauthorised phone_2 --> FS request: REGISTER FS --> phone_2 status 200 OK phone_2 --> FS request: SUBSCRIBE FS --> phone_2 status: 202 Accepted FS --> phone_2 request: NOTIFY phone_2 --> FS status: 200 OK More configuration details: In conf/sip_profiles/doublenat.xml I have not uncommented In conf/sip_profiles/doublenat.xml I have tried setting the context to each of public and default. This does not seem to make a difference. In conf/directory/doublenat.xml I have set the domain name to be the domain name registerd for Fs's external IP with DNS, and used by phone_1. In conf/directory/doublenat.xml I have tried both of the following 9I don't know if this is relevant) 1. Firstly with phone_1 registering to an extension in the default configuration, held in conf/directory/default/: 2. Then I tried moving the .xml file for phone_1's extension to conf/drectory/doublenat/ and changed conf/directory/doublenat.xml to show: Unfortunately this does not make a difference to the issue though. If anybody had the time to tell me what I am doing wrong I would be hugely grateful ! Many thanks in advance Bruce -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/fffed071/attachment.html From jbrucehopkins at gmail.com Mon Mar 8 05:25:35 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Mon, 8 Mar 2010 13:25:35 +0000 Subject: [Freeswitch-users] Kernel timer warning with CentOS 5.4 In-Reply-To: <191c3a031003010847y5036817ekb19379e646dd8cb@mail.gmail.com> References: <191c3a031003010847y5036817ekb19379e646dd8cb@mail.gmail.com> Message-ID: Hi Anthony, Many, many apologies to take so long to reply - I failed to notice your response. Sorry ! It seems to be variable. Most times (on CentOS 5.3) when I start FS it tells me it is around 1995ms. Occasionally it is lower (sub 1000ms) and then does not give a warning. Best wishes Bruce On 1 March 2010 16:47, Anthony Minessale wrote: > we are still wary about 5.3 due to bugs reported in libc. > What number does it say it detected for the gap? > > > On Sun, Feb 28, 2010 at 12:03 PM, Bruce Hopkins wrote: > >> OK - I've realised I do get the same warning with CentOS 5.3, it just goes >> past more quickly so I didn't see it. Maybe it is just the hardware .... >> >> >> On 28 February 2010 15:37, Bruce Hopkins wrote: >> >>> Hi, >>> >>> I wonder if anyone would be able to advise please: >>> >>> When I build FreeSWITCH on yum updated CentOS 5.4, I get a warning when I >>> start FreeSWITCH that >>> >>> "Abnormally large timer gap detected" >>> "Do you have your kernel timer set to greater than 1kHz? You may >>> experience audio problems". >>> >>> I get no such warning if I build on CentOS 5.3, and the test timings it >>> measures on starting FreeSWITCH do look lower. All I was doing to upgrade >>> to Centos5.4 was a yum update on the 5.3 build. >>> >>> I guess the warning comes from here: >>> http://fisheye.freeswitch.org/browse/~raw,r=16409/FreeSWITCH/src/switch_time.c >>> >>> This is all on pretty low spec hardware - a couple of different Dell >>> optiplex p4's I use for testing. >>> >>> Does anyone happen to know if I should just stick to Cent)S 5.3, or use >>> 5.4 and not worry about the warnings, or if there is something I can do to >>> fix the problem it is warning about. Perhaps it is just that I shouldn't >>> use such crummy hardware?! >>> >>> Many thanks in advance >>> Bruce >>> >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/ef171c80/attachment.html From shaheryarkh at googlemail.com Mon Mar 8 05:38:42 2010 From: shaheryarkh at googlemail.com (Muhammad Shahzad) Date: Mon, 8 Mar 2010 18:38:42 +0500 Subject: [Freeswitch-users] FS ZRTP Support: Build Error Message-ID: Hi, I am trying to enable ZRTP support in FS, following the instructions given at http://wiki.freeswitch.org/wiki/ZRTP. Upon executing Step 4, i get following error, afterwords it starts some configure script. root at slave:/usr/src/svn-src/freeswitch# sh build/buildzrtp.sh tar: libzrtp-0.81.514.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors cd: 3: can't cd to libzrtp-0.81.514 build/buildzrtp.sh: 4: cannot open ../patches/zrtp_bnlib_pic.diff: No such file cd: 5: can't cd to projects/gnu/ checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc .... I have no idea, how to fix this. Please help. Thank you. -- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 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/20100308/91368e6c/attachment.html From brian at freeswitch.org Mon Mar 8 06:26:32 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 08:26:32 -0600 Subject: [Freeswitch-users] FS ZRTP Support: Build Error In-Reply-To: References: Message-ID: <920C4D73-C767-43CB-9A5C-1F88E4E6CC25@freeswitch.org> step 1. get the latest libzrtp from their website. Step 2 you don't need the patches now. Step 3. compile and install the lib with --enable-pic /b On Mar 8, 2010, at 7:38 AM, Muhammad Shahzad wrote: > Hi, > > I am trying to enable ZRTP support in FS, following the instructions given at http://wiki.freeswitch.org/wiki/ZRTP. > > Upon executing Step 4, i get following error, afterwords it starts some configure script. > > root at slave:/usr/src/svn-src/freeswitch# sh build/buildzrtp.sh > tar: libzrtp-0.81.514.tar.gz: Cannot open: No such file or directory > tar: Error is not recoverable: exiting now > tar: Child returned status 2 > tar: Error exit delayed from previous errors > cd: 3: can't cd to libzrtp-0.81.514 > build/buildzrtp.sh: 4: cannot open ../patches/zrtp_bnlib_pic.diff: No such file > cd: 5: can't cd to projects/gnu/ > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... no > checking for mawk... mawk > checking whether make sets $(MAKE)... yes > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking for gcc... gcc > .... > > I have no idea, how to fix this. Please help. > > Thank you. > > > -- > Muhammad Shahzad > ----------------------------------- > CISCO Rich Media Communication Specialist (CRMCS) > CISCO Certified Network Associate (CCNA) > Cell: +92 334 422 40 88 > MSN: shari_786pk at hotmail.com > Email: shaheryarkh at googlemail.com > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/cad076a1/attachment-0001.html From brian at freeswitch.org Mon Mar 8 06:28:05 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 08:28:05 -0600 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: References: Message-ID: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> Step 1. Revert everything back to SVN trunk. Step 2. Enable UPNP/NATPMP on both routers. Step 3. It should just work. The doublenat profile is NO LONGER NEEDED. If you can't enable UPNP/NATPMP then by all means static map the ports correctly or put the FreeSWITCH box in the DMZ on both ends. It should just work. /b On Mar 8, 2010, at 6:56 AM, Bruce Hopkins wrote: > Hi, > > I wonder if some kind soul might be able please to help me by pointing out what I am doing wrong with my doublenat configuration. > > I have incoming calls from WAN --> LAN working fine, but when I try to call from LAN -->WAN, the Freeswitch CLI says: > > > "[ERR} switch_ivr_originate.c.2389 CAnnot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]" > > > The setup is essentially: > > > phone_1 (192.168.a.b) --> NAT (public ip 1.2.3.4) --> Internet --> NAT (public ip 5.6.7.8) --> Freeswitch (192.168.x.y) --> phone_2 (192.168.x.z) > > > Phone_1 is able to register with Freeswitch using a "doublenat" sip profile I set up using port 5090, created from the default external profile with the port changed. phone_1 can initiate calls to phone_2 fine with no problems with audio - everything works just fine in that direction. > > However when I try to call from phone_2 --> phone_1 I get the message "The person at extension 1002 is not available. Record your message at the tone." Meanwhile the CLI shows that Freeswitch says phone_1 is not registered. > > In trying to solve this I have run a Wireshark trace onthe PC running the phone_1 softphone to check that the SIP registration seems to go as I understand it should. the dialog is as follows: > > phone_1 --> FS request: REGISTER > FS --> phone_1 status: 401 Unauthorised > phone_1 --> FS request: REGISTER > FS --> phone_1 status: 200 OK > phone_1 --> FS request: SUBSCRIBE > FS --> phone_1 status: 405 Method Not Allowed > > > There does appear to be a difference here to what happens when phone_2 (on the same LAN as Freeswitch) registers. With phone_2 I see: > > phone_2 --> FS request: REGISTER > FS --> phone_2 status: 401 Unauthorised > phone_2 --> FS request: REGISTER > FS --> phone_2 status 200 OK > phone_2 --> FS request: SUBSCRIBE > FS --> phone_2 status: 202 Accepted > FS --> phone_2 request: NOTIFY > phone_2 --> FS status: 200 OK > > > > More configuration details: > > In conf/sip_profiles/doublenat.xml I have not uncommented > > In conf/sip_profiles/doublenat.xml I have tried setting the context to each of public and default. This does not seem to make a difference. > > In conf/directory/doublenat.xml I have set the domain name to be the domain name registerd for Fs's external IP with DNS, and used by phone_1. > > In conf/directory/doublenat.xml I have tried both of the following 9I don't know if this is relevant) > > 1. Firstly with phone_1 registering to an extension in the default configuration, held in conf/directory/default/: > > > > > > > > > 2. Then I tried moving the .xml file for phone_1's extension to conf/drectory/doublenat/ and changed conf/directory/doublenat.xml to show: > > > > > > > > > Unfortunately this does not make a difference to the issue though. > > If anybody had the time to tell me what I am doing wrong I would be hugely grateful ! > > Many thanks in advance > Bruce > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From brian at freeswitch.org Mon Mar 8 06:30:09 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 08:30:09 -0600 Subject: [Freeswitch-users] How to set background music for application park In-Reply-To: <13529f9d1003080043u34f870c8vf7786ec8296f6be5@mail.gmail.com> References: <13529f9d1003080043u34f870c8vf7786ec8296f6be5@mail.gmail.com> Message-ID: <75652D86-1C32-4FF7-B9AE-B328EC069BAB@freeswitch.org> http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_valet_park /b On Mar 8, 2010, at 2:43 AM, Jingwei Yang wrote: > Hello, > > I'm using this command to put each party of a call to hold: > > uuid_transfer -both 'park' inline > > It works perfectly except none of them can hear the background music. May I know how to set the music in this case? And is it possible to set different music for different parties? > > Thanks, > -Jingwei > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 celliax.org Mon Mar 8 06:46:45 2010 From: gmaruzz at celliax.org (Giovanni Maruzzelli) Date: Mon, 8 Mar 2010 15:46:45 +0100 Subject: [Freeswitch-users] mod_skypiax (skype endpoint) call for tests Message-ID: <7b197bef1003080646q91b6e25td5c719739ad8b5b4@mail.gmail.com> Hello FreeSWITCHers, it would be very useful if you could update to the latest svn and test mod_skypiax in your use cases, and report any problems. Please note that the wiki page http://wiki.freeswitch.org/wiki/Skypiax has been almost completely revamped, with complete coverage of the new options, channel variables, command line commands, events, installation, etc. Take the time to at least browse through it, because much new material has been added, that can spare you time and problems. Would be very useful if you report anything wrong, missing, or hard to understand in the wiki page itself too (btw, English is not my first language ;) ). Thanks in advance for your cooperation, that makes this community so nice a place to be in. -giovanni -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From shaheryarkh at googlemail.com Mon Mar 8 06:53:55 2010 From: shaheryarkh at googlemail.com (Muhammad Shahzad) Date: Mon, 8 Mar 2010 19:53:55 +0500 Subject: [Freeswitch-users] FS ZRTP Support: Build Error In-Reply-To: <920C4D73-C767-43CB-9A5C-1F88E4E6CC25@freeswitch.org> References: <920C4D73-C767-43CB-9A5C-1F88E4E6CC25@freeswitch.org> Message-ID: The file i downloaded from their site is named as zfone-linux.tar. Let me install that and rebuild FS to see if zrtp support compiles. Thank you. On Mon, Mar 8, 2010 at 7:26 PM, Brian West wrote: > step 1. get the latest libzrtp from their website. Step 2 you don't need > the patches now. Step 3. compile and install the lib with --enable-pic > > /b > > > On Mar 8, 2010, at 7:38 AM, Muhammad Shahzad wrote: > > Hi, > > I am trying to enable ZRTP support in FS, following the instructions given > at http://wiki.freeswitch.org/wiki/ZRTP. > > Upon executing Step 4, i get following error, afterwords it starts some > configure script. > > root at slave:/usr/src/svn-src/freeswitch# sh build/buildzrtp.sh > tar: libzrtp-0.81.514.tar.gz: Cannot open: No such file or directory > tar: Error is not recoverable: exiting now > tar: Child returned status 2 > tar: Error exit delayed from previous errors > cd: 3: can't cd to libzrtp-0.81.514 > build/buildzrtp.sh: 4: cannot open ../patches/zrtp_bnlib_pic.diff: No such > file > cd: 5: can't cd to projects/gnu/ > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... no > checking for mawk... mawk > checking whether make sets $(MAKE)... yes > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking for gcc... gcc > .... > > I have no idea, how to fix this. Please help. > > Thank you. > > > -- > Muhammad Shahzad > ----------------------------------- > CISCO Rich Media Communication Specialist (CRMCS) > CISCO Certified Network Associate (CCNA) > Cell: +92 334 422 40 88 > MSN: shari_786pk at hotmail.com > Email: shaheryarkh at googlemail.com > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > > -- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 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/20100308/8fe2de34/attachment.html From jbrucehopkins at gmail.com Mon Mar 8 07:03:55 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Mon, 8 Mar 2010 15:03:55 +0000 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> References: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> Message-ID: Many thanks for getting back to me with help so quickly Brian. I was using 1.0.5-20100302-0400 so will update to trunk and do as you suggest. thanks again Bruce On 8 March 2010 14:28, Brian West wrote: > Step 1. Revert everything back to SVN trunk. > Step 2. Enable UPNP/NATPMP on both routers. > Step 3. It should just work. The doublenat profile is NO LONGER NEEDED. > > If you can't enable UPNP/NATPMP then by all means static map the ports > correctly or put the FreeSWITCH box in the DMZ on both ends. It should just > work. > > /b > > On Mar 8, 2010, at 6:56 AM, Bruce Hopkins wrote: > > > Hi, > > > > I wonder if some kind soul might be able please to help me by pointing > out what I am doing wrong with my doublenat configuration. > > > > I have incoming calls from WAN --> LAN working fine, but when I try to > call from LAN -->WAN, the Freeswitch CLI says: > > > > > > "[ERR} switch_ivr_originate.c.2389 CAnnot create outgoing channel of type > [error] cause: [USER_NOT_REGISTERED]" > > > > > > The setup is essentially: > > > > > > phone_1 (192.168.a.b) --> NAT (public ip 1.2.3.4) --> Internet --> NAT > (public ip 5.6.7.8) --> Freeswitch (192.168.x.y) --> phone_2 (192.168.x.z) > > > > > > Phone_1 is able to register with Freeswitch using a "doublenat" sip > profile I set up using port 5090, created from the default external profile > with the port changed. phone_1 can initiate calls to phone_2 fine with no > problems with audio - everything works just fine in that direction. > > > > However when I try to call from phone_2 --> phone_1 I get the message > "The person at extension 1002 is not available. Record your message at the > tone." Meanwhile the CLI shows that Freeswitch says phone_1 is not > registered. > > > > In trying to solve this I have run a Wireshark trace onthe PC running the > phone_1 softphone to check that the SIP registration seems to go as I > understand it should. the dialog is as follows: > > > > phone_1 --> FS request: REGISTER > > FS --> phone_1 status: 401 Unauthorised > > phone_1 --> FS request: REGISTER > > FS --> phone_1 status: 200 OK > > phone_1 --> FS request: SUBSCRIBE > > FS --> phone_1 status: 405 Method Not Allowed > > > > > > There does appear to be a difference here to what happens when phone_2 > (on the same LAN as Freeswitch) registers. With phone_2 I see: > > > > phone_2 --> FS request: REGISTER > > FS --> phone_2 status: 401 Unauthorised > > phone_2 --> FS request: REGISTER > > FS --> phone_2 status 200 OK > > phone_2 --> FS request: SUBSCRIBE > > FS --> phone_2 status: 202 Accepted > > FS --> phone_2 request: NOTIFY > > phone_2 --> FS status: 200 OK > > > > > > > > More configuration details: > > > > In conf/sip_profiles/doublenat.xml I have not uncommented name="force-register-domain" value="$$(domain)"/> > > > > In conf/sip_profiles/doublenat.xml I have tried setting the context to > each of public and default. This does not seem to make a difference. > > > > In conf/directory/doublenat.xml I have set the domain name to be the > domain name registerd for Fs's external IP with DNS, and used by phone_1. > > > > In conf/directory/doublenat.xml I have tried both of the following 9I > don't know if this is relevant) > > > > 1. Firstly with phone_1 registering to an extension in the default > configuration, held in conf/directory/default/: > > > > > > > > > > > > > > > > > > 2. Then I tried moving the .xml file for phone_1's extension to > conf/drectory/doublenat/ and changed conf/directory/doublenat.xml to show: > > > > > > > > > > > > > > > > > > Unfortunately this does not make a difference to the issue though. > > > > If anybody had the time to tell me what I am doing wrong I would be > hugely grateful ! > > > > Many thanks in advance > > Bruce > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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/20100308/31b3796b/attachment-0001.html From srinivas.ksvreddy at gmail.com Mon Mar 8 07:08:34 2010 From: srinivas.ksvreddy at gmail.com (srinivasula reddy) Date: Mon, 8 Mar 2010 20:38:34 +0530 Subject: [Freeswitch-users] Freeswitch to cisco router(gateway) Message-ID: Hi, can any body tried to connect cisco router from Freeswitch, please help me. -- Srinivasula Reddy K -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/9185e194/attachment.html From brian at freeswitch.org Mon Mar 8 07:15:01 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 09:15:01 -0600 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: References: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> Message-ID: Well sounds like you need to sync in your configs too. /b On Mar 8, 2010, at 9:03 AM, Bruce Hopkins wrote: > Many thanks for getting back to me with help so quickly Brian. > > I was using 1.0.5-20100302-0400 so will update to trunk and do as you suggest. > > thanks again > Bruce From shaheryarkh at googlemail.com Mon Mar 8 07:16:34 2010 From: shaheryarkh at googlemail.com (Muhammad Shahzad) Date: Mon, 8 Mar 2010 20:16:34 +0500 Subject: [Freeswitch-users] Freeswitch to cisco router(gateway) In-Reply-To: References: Message-ID: I have CISCO AS 5350 running with Freeswitch in production environment. Seems to work perfect. Thank you. On Mon, Mar 8, 2010 at 8:08 PM, srinivasula reddy < srinivas.ksvreddy at gmail.com> wrote: > Hi, > > can any body tried to connect cisco router from Freeswitch, please help me. > > -- > Srinivasula Reddy K > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 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/20100308/d16e49bf/attachment.html From yehavi.bourvine at gmail.com Mon Mar 8 07:18:45 2010 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Mon, 8 Mar 2010 17:18:45 +0200 Subject: [Freeswitch-users] Freeswitch to cisco router(gateway) In-Reply-To: References: Message-ID: What help do you need? What Cisco do you have? __Yehavi: 2010/3/8 srinivasula reddy > Hi, > > can any body tried to connect cisco router from Freeswitch, please help me. > > -- > Srinivasula Reddy K > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/b105bbf1/attachment.html From srinivas.ksvreddy at gmail.com Mon Mar 8 07:23:35 2010 From: srinivas.ksvreddy at gmail.com (srinivasula reddy) Date: Mon, 8 Mar 2010 20:53:35 +0530 Subject: [Freeswitch-users] Freeswitch to cisco router(gateway) In-Reply-To: References: Message-ID: HI, how do i configure freeswitch gateway to communicate to cisco router, i am using cisco2921. Thanks Srinivas On Mon, Mar 8, 2010 at 8:38 PM, srinivasula reddy < srinivas.ksvreddy at gmail.com> wrote: > Hi, > > can any body tried to connect cisco router from Freeswitch, please help me. > > -- > Srinivasula Reddy K > -- Srinivasula Reddy K -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/05acedb9/attachment.html From brian at freeswitch.org Mon Mar 8 07:33:34 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 09:33:34 -0600 Subject: [Freeswitch-users] Freeswitch to cisco router(gateway) In-Reply-To: References: Message-ID: <9BEDBC36-4830-4682-94C4-15085B150005@freeswitch.org> You seem rather needy. Have you even tried google yet? When asking for help you could be more descriptive if you want help. These "I need help" without any directed questioned signals to me you have a job to do and you don't know how to do it and you're now asking US to do your job for you. Be descriptive and do some research yourself. Again we aren't cisco and you didn't pay us for that hardware so I would start by venturing over to www.cisco.com and searching their docs for that hardware on how to configure voice peers. Then ask questions if anything is left to question. /b On Mar 8, 2010, at 9:23 AM, srinivasula reddy wrote: > > HI, > > how do i configure freeswitch gateway to communicate to cisco router, i am using cisco2921. > > Thanks > Srinivas From kristian.kielhofner at gmail.com Mon Mar 8 07:40:50 2010 From: kristian.kielhofner at gmail.com (Kristian Kielhofner) Date: Mon, 8 Mar 2010 10:40:50 -0500 Subject: [Freeswitch-users] Attrafax Message-ID: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> Disclaimers: - I haven't looked at it in detail (at all, really) - It is GPL2 (although perhaps Zoa and co can budge on this) http://www.venturevoip.com/news.php?rssid=2364 Any thoughts? -- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com From vizentini at hotmail.com Mon Mar 8 07:42:43 2010 From: vizentini at hotmail.com (Paulo Vicentini) Date: Mon, 8 Mar 2010 15:42:43 +0000 Subject: [Freeswitch-users] XML curl and multiple extension in dialplan In-Reply-To: References: , <4B9409FF.5060608@gmail.com>, , <5632B84B-4513-4C02-BABC-CC1C0C48A078@freeswitch.org>, , <84088BC7-954F-4830-959B-989FDD062612@freeswitch.org>, , Message-ID: Hi "As per FS wiki we can only return one XML extension upon FS request. " Could you please tell me where did you find that info? I do return several extensions by request and FS works as expect (Am I wrong doing that?) "Now we need to return a set of extensions with same number condition and context but with different second condition so that FS can pick up the right one. Is it possible at all? And if yes how response XML with multiple extensions should look like?" Yes, It seems to be possible (Am I wrong?) but notice that you are giving the same extension name for all your extensions: I think this can mislead dialplan_hunt in mod_dialplan_xml...Give each extension a unique name, and FS will parse/regex all them for you... All the best,Paulo > From: brian at freeswitch.org > Date: Sun, 7 Mar 2010 20:17:19 -0600 > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] XML curl and multiple extension in dialplan > > Sounds like you zigged where you should have zagged. > > /b > > On Mar 7, 2010, at 8:03 PM, paul gore wrote: > > > :-)) > > I used it a lot. Unfortunately we do not store did number as a field, as I said we store complete extension XML, with extension number and context as a key. > > So essentially I will retrieve a bunch of extension XMLs which I need to parse and run against regex matcher to find out the one, which is what exactly FS is doing when XML dial plan is defined in a static file. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. https://signup.live.com/signup.aspx?id=60969 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/2217fcb1/attachment.html From brian at freeswitch.org Mon Mar 8 07:47:44 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 09:47:44 -0600 Subject: [Freeswitch-users] Attrafax In-Reply-To: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> Message-ID: <007EE533-8154-4B00-AEFD-3857E684E9EB@freeswitch.org> We have SpanDSP and its LGPL. /b On Mar 8, 2010, at 9:40 AM, Kristian Kielhofner wrote: > Disclaimers: > > - I haven't looked at it in detail (at all, really) > - It is GPL2 (although perhaps Zoa and co can budge on this) > > http://www.venturevoip.com/news.php?rssid=2364 > > Any thoughts? > > -- > Kristian Kielhofner > http://www.astlinux.org > http://blog.krisk.org > http://www.star2star.com > http://www.submityoursip.com > http://www.voalte.com > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From steveu at coppice.org Mon Mar 8 07:57:23 2010 From: steveu at coppice.org (Steve Underwood) Date: Mon, 08 Mar 2010 23:57:23 +0800 Subject: [Freeswitch-users] Attrafax In-Reply-To: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> Message-ID: <4B951E63.6060200@coppice.org> On 03/08/2010 11:40 PM, Kristian Kielhofner wrote: > Disclaimers: > > - I haven't looked at it in detail (at all, really) > - It is GPL2 (although perhaps Zoa and co can budge on this) > > http://www.venturevoip.com/news.php?rssid=2364 > > Any thoughts? > We already have a better FAX engine than that. What we struggle to find is the time to properly integrate it with FS. Steve From m.sobkow at marketelsystems.com Mon Mar 8 08:22:34 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Mon, 08 Mar 2010 10:22:34 -0600 Subject: [Freeswitch-users] Eavesdrop Message-ID: <4B95244A.8030808@marketelsystems.com> What module contains the "eavesdrop" command? I'm getting an error command not found from Erlang when I try to do a pbx:api( eavesdrop, ExtensionUUID ). -- Mark Sobkow Senior Developer MarkeTel Multi-Line Dialing Systems LTD. 428 Victoria Ave Regina, SK S4N-0P6 Toll-Free: 800-289-8616-X533 Local: 306-359-6893-X533 Fax: 306-359-6879 Email: m.sobkow at marketelsystems.com Web: http://www.marketelsystems.com From kristian.kielhofner at gmail.com Mon Mar 8 08:24:47 2010 From: kristian.kielhofner at gmail.com (Kristian Kielhofner) Date: Mon, 8 Mar 2010 11:24:47 -0500 Subject: [Freeswitch-users] Attrafax In-Reply-To: <4B951E63.6060200@coppice.org> References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> Message-ID: <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> On Mon, Mar 8, 2010 at 10:57 AM, Steve Underwood wrote: > We already have a better FAX engine than that. What we struggle to find > is the time to properly integrate it with FS. > > Steve Thank you, that's what I was expecting. Without going into grueling detail it isn't clear why T.38 gateway functionality (for example) is missing in FreeSWITCH. I know SpanDSP is available and most likely has this ability. I just wasn't sure why it's missing in FS. This is also a mere curiosity for me; I don't have much interest in fax functionality and I don't follow it too closely. Thanks again for the response and explanation. -- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com From rupa at rupa.com Mon Mar 8 08:55:05 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Mon, 8 Mar 2010 10:55:05 -0600 Subject: [Freeswitch-users] Eavesdrop In-Reply-To: <4B95244A.8030808@marketelsystems.com> References: <4B95244A.8030808@marketelsystems.com> Message-ID: application,eavesdrop,mod_dptools,/opt/freeswitch/mod/mod_dptools.so It is an app, not an API. On Mon, Mar 8, 2010 at 10:22 AM, Mark Sobkow wrote: > What module contains the "eavesdrop" command? I'm getting an error > command not found from Erlang when I try to do a pbx:api( eavesdrop, > ExtensionUUID ). > > -- > Mark Sobkow > Senior Developer > MarkeTel Multi-Line Dialing Systems LTD. > 428 Victoria Ave > Regina, SK S4N-0P6 > Toll-Free: 800-289-8616-X533 > Local: 306-359-6893-X533 > Fax: 306-359-6879 > Email: m.sobkow at marketelsystems.com > Web: http://www.marketelsystems.com > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/537a6726/attachment.html From mike at van.lammeren.net Mon Mar 8 09:00:37 2010 From: mike at van.lammeren.net (Mike van Lammeren) Date: Mon, 8 Mar 2010 12:00:37 -0500 Subject: [Freeswitch-users] Which Lua script am I? In-Reply-To: <23f91031003051928j6d0c8f82mbf22483a6c3b06ad@mail.gmail.com> References: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> <87f2f3b91003051116p524bc237wca60baa697b99789@mail.gmail.com> <5d2828f1003051132m7af18875i49567dc0f3a788ce@mail.gmail.com> <5d2828f1003051138n5b755291vfcd2c9f5ff34bc08@mail.gmail.com> <5084F072-9194-4461-930B-C79AFD978944@freeswitch.org> <5d2828f1003051159i48107791m58730e23fe9291e9@mail.gmail.com> <5d2828f1003051217g52dd8574t81c9bb349e6a1e63@mail.gmail.com> <23f91031003051928j6d0c8f82mbf22483a6c3b06ad@mail.gmail.com> Message-ID: <5d2828f1003080900q36f907f5r10044cc295b47608@mail.gmail.com> Actually, I don't believe that does work. At least, not on my system. Trying to access argv[0] just produces a lua error about "concatenating a nil value." On Fri, Mar 5, 2010 at 10:28 PM, Seven Du wrote: > and also you can get the script name from argv[0] if you name you > script in different names > > 2010/3/6 Mike van Lammeren : > > In case anyone's interested, I just found something cool. You can pass > > parameters to the Lua script from the lua.conf.xml file, like so: > > > > > > > > I can see that being useful. > > Mike van Lammeren > > > > On Fri, Mar 5, 2010 at 2:59 PM, Mike van Lammeren > > > wrote: > >> > >> Thanks so much, everyone! Awesome advice, as usual! > >> Due to a deadline situation, I'm going with the Lua script idea. > However, > >> if it gives us any trouble after the looming deadline, then I will > >> definitely go the C route. > >> Thanks again! > >> Mike van Lammeren > >> > >> On Fri, Mar 5, 2010 at 2:42 PM, Brian West > wrote: > >>> > >>> Write it in C and use the FreeSWITCH task scheduler API. > >>> > >>> /b > >>> > >>> On Mar 5, 2010, at 1:38 PM, Mike van Lammeren wrote: > >>> > >>> > All the same, I'm still open to suggestions on better ways to achieve > >>> > my ultimate goals! > >>> > >>> > >>> _______________________________________________ > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at 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 > > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/c55fbf55/attachment.html From infos at madovsky.org Mon Mar 8 09:07:03 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 8 Mar 2010 12:07:03 -0500 Subject: [Freeswitch-users] FScomm References: <157FDB96FB88476FBAEC69C1309A0A5F@MOBILEE1705><11F8492DFC2546598E6FDC3E538301CD@MOBILEE1705><13F83F4CC35047199F95ED9EA80149BE@MOBILEE1705> Message-ID: <40DCBC09D015499EB5EC5E2B292A3515@MOBILEE1705> sure, I send to you the connection info now Regards ----- Original Message ----- From: Jo?o Mesquita To: freeswitch-users at lists.freeswitch.org Sent: Sunday, March 07, 2010 11:15 PM Subject: Re: [Freeswitch-users] FScomm If I can access your system over SSH I can probably figure this out. Is this possible? Jo?o Mesquita On Wed, Mar 3, 2010 at 3:26 AM, Madovsky wrote: Hi Joao, thanks for your answer. I have a standard RPM QT last update for Fedora10 64bits. so I really don't know what path FScomm needs Regards Franck ----- Original Message ----- From: Jo?o Mesquita To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 1:00 AM Subject: Re: [Freeswitch-users] FScomm This is definitely a problem with your Qt installation. You need to be able to find the libs to link it, otherwise, unresolved symbols everywhere! Regards, Jo?o Mesquita FSComm Developer On Wed, Feb 24, 2010 at 2:42 PM, Madovsky wrote: ----- Original Message ----- From: "Michael Jerris" To: Sent: Wednesday, February 24, 2010 3:40 AM Subject: Re: [Freeswitch-users] FScomm On Feb 23, 2010, at 6:18 PM, Madovsky wrote: > > ----- Original Message ----- > From: Jeff Lenk > To: freeswitch-users at lists.freeswitch.org > Sent: Tuesday, February 23, 2010 5:05 PM > Subject: Re: [Freeswitch-users] FScomm > > > http://wiki.freeswitch.org/wiki/FSComm#Linux > > you must run those from the FSComm directory > ?. > > It's what I did, > but from FS trunk, inside fscomm directory, > there s only > > account.cpp conf fshost.h mainwindow.ui > resources.qrc > account.h FSComm.2008.vcproj main.cpp mod_qsettings > call.cpp FSComm.pro mainwindow.cpp preferences > call.h fshost.cpp mainwindow.h resources > Read those installation instructions again and do them step by step, you skipped one. _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org Ok now I have [root at node250 fscomm]# qmake WARNING: Found potential symbol conflict of mainwindow.cpp (mainwindow.cpp) in SOURCES WARNING: Found potential symbol conflict of mainwindow.h (mainwindow.h) in HEADERS WARNING: Found potential symbol conflict of prefdialog.cpp (preferences/prefdialog.cpp) in SOURCES WARNING: Found potential symbol conflict of prefdialog.h (preferences/prefdialog.h) in HEADERS WARNING: Found potential symbol conflict of accountdialog.cpp (preferences/accountdialog.cpp) in SOURCES WARNING: Found potential symbol conflict of accountdialog.h (preferences/accountdialog.h) in HEADERS [root at node250 fscomm]# qmake WARNING: Found potential symbol conflict of mainwindow.cpp (mainwindow.cpp) in SOURCES WARNING: Found potential symbol conflict of mainwindow.h (mainwindow.h) in HEADERS WARNING: Found potential symbol conflict of prefdialog.cpp (preferences/prefdialog.cpp) in SOURCES WARNING: Found potential symbol conflict of prefdialog.h (preferences/prefdialog.h) in HEADERS WARNING: Found potential symbol conflict of accountdialog.cpp (preferences/accountdialog.cpp) in SOURCES WARNING: Found potential symbol conflict of accountdialog.h (preferences/accountdialog.h) in HEADERS [root at node250 fscomm]# make Makefile:278: warning: overriding commands for target `prefdialog.o' Makefile:215: warning: ignoring old commands for target `prefdialog.o' Makefile:285: warning: overriding commands for target `accountdialog.o' Makefile:234: warning: ignoring old commands for target `accountdialog.o' Makefile:320: warning: overriding commands for target `moc_prefdialog.o' Makefile:298: warning: ignoring old commands for target `moc_prefdialog.o' Makefile:323: warning: overriding commands for target `moc_accountdialog.o' Makefile:307: warning: ignoring old commands for target `moc_accountdialog.o' Makefile:347: warning: overriding commands for target `moc_mainwindow.cpp' Makefile:326: warning: ignoring old commands for target `moc_mainwindow.cpp' Makefile:350: warning: overriding commands for target `preferences/moc_prefdialog.cpp' Makefile:332: warning: ignoring old commands for target `preferences/moc_prefdialog.cpp' Makefile:353: warning: overriding commands for target `preferences/moc_accountdialog.cpp' Makefile:341: warning: ignoring old commands for target `preferences/moc_accountdialog.cpp' g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/lib64/qt-3.3/mkspecs/default -I. -I../src/include -I../libs/apr/include -I../libs/libteletone/src -I/usr/lib64/qt-3.3/include -o main.o main.cpp main.cpp:31:25: error: QSplashScreen: No such file or directory In file included from main.cpp:32: mainwindow.h:34:23: error: QMainWindow: No such file or directory mainwindow.h:35:28: error: QTableWidgetItem: No such file or directory mainwindow.h:36:25: error: QSignalMapper: No such file or directory mainwindow.h:37:27: error: QSystemTrayIcon: No such file or directory In file included from mainwindow.h:39, from main.cpp:32: ./fshost.h:32:19: error: QThread: No such file or directory ./fshost.h:33:17: error: QHash: No such file or directory ./fshost.h:34:26: error: QSharedPointer: No such file or directory In file included from ./fshost.h:36, from mainwindow.h:39, from main.cpp:32: ./call.h:32:18: error: QtCore: No such file or directory ./call.h:33:19: error: QString: No such file or directory In file included from mainwindow.h:42, from main.cpp:32: preferences/prefdialog.h:4:19: error: QDialog: No such file or directory preferences/prefdialog.h:5:24: error: QDomDocument: No such file or directory preferences/prefdialog.h:6:21: error: QSettings: No such file or directory In file included from ./fshost.h:37, from mainwindow.h:39, from main.cpp:32: ./account.h:18: error: expected constructor, destructor, or type conversion before ?static? In file included from mainwindow.h:39, from main.cpp:32: ./fshost.h:40: error: invalid use of incomplete type ?struct QThread? /usr/include/QtCore/qobject.h:68: error: forward declaration of ?struct QThread? ./fshost.h:46: error: ISO C++ forbids declaration of ?QSharedPointer? with no type ./fshost.h:46: error: expected ?;? before ?? token ./fshost.h:49: error: ISO C++ forbids declaration of ?QSharedPointer? with no type ./fshost.h:49: error: expected ?;? before ?? token ./fshost.h:79: error: ?QSharedPointer? was not declared in this scope ./fshost.h:79: error: template argument 2 is invalid ./fshost.h:79: error: expected unqualified-id before ?>? token ./fshost.h:80: error: field ?_bleg_uuids? has incomplete type In file included from mainwindow.h:42, from main.cpp:32: preferences/prefdialog.h:17: error: invalid use of incomplete type ?struct QDialog? /usr/include/QtGui/qwindowdefs.h:57: error: forward declaration of ?struct QDialog? preferences/prefdialog.h:31: error: ISO C++ forbids declaration of ?QSettings? with no type preferences/prefdialog.h:31: error: expected ?;? before ?*? token In file included from main.cpp:32: mainwindow.h:48: error: expected class-name before ?{? token mainwindow.h:65: error: ?QTableWidgetItem? has not been declared mainwindow.h:71: error: ?QSharedPointer? has not been declared mainwindow.h:71: error: expected ?,? or ?...? before ? References: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> Message-ID: Hi again, Thanks for the help so far. Unfotrunately I must still be doing something wrong here as I am still having difficulty, and still have the same problem. I updated to build 16938 by means of "make current" I'm not able to use UPNP or NATPMP so changed the port forwarding to use 5080 instead of 5090. I got rid of the doublenat profile in sip_profiles, though I had to retain an entry in the directory /usr/local/freeeswitch/conf/directory/ext_dns.xml in order to give freeswitch the dns name of the server as a domain for the remote softphone to register on. I left the group name in this entry the same as inthe default entry, so that the remote phone could register on the same extension numbers (100, etc) as in the default build. I still find that, if I initiate a call from the local (on same LAN as freeswitch) phone to the remote phone, I get the message on the CLI: [ERR] switch_ivr_originate.c2389 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED] One possibly unrelated aside, I also found I needed to uncomment in external.xml, otherwise in the case of a call initiated by the remote phone being hung up by the local phone, freeswitch sent the BYE to the private IP of the remote phone, rather than its public ip - meaning that the remote phone didn't receive the BYE. Any further ideas where I am going wrong here please? thanks again in advance Bruce On 8 March 2010 15:15, Brian West wrote: > Well sounds like you need to sync in your configs too. > > /b > > On Mar 8, 2010, at 9:03 AM, Bruce Hopkins wrote: > > > Many thanks for getting back to me with help so quickly Brian. > > > > I was using 1.0.5-20100302-0400 so will update to trunk and do as you > suggest. > > > > thanks again > > Bruce > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/5104d010/attachment.html From freeswitch at gilligan.id.au Sat Mar 6 21:02:42 2010 From: freeswitch at gilligan.id.au (Chris) Date: Sun, 7 Mar 2010 16:02:42 +1100 Subject: [Freeswitch-users] How to originate a new call from mod_managed? Message-ID: <9394d42f1003062102p3d97f86haa81c009f19be817@mail.gmail.com> Hi, I am trying to create a mod_managed API application that takes 2 phone numbers as params. These numbers should then be used to make 2 calls and to bridge them. The issue i am having is working out how to place the first call leg from in mod_managed. All the methods i have found are for the second leg and require you to pass in the first call leg. I know there are easier way to do this out of the managed code but i want it in the managed code as this is just a proof of concept to prove we can do a callback like system via managed code to be hooked into other external systems. In wiki http://wiki.freeswitch.org/wiki/Session there is this example s = new Session("{ignore_early_media=true}sofia/default/foo at bar.com"); while (s.ready()) { // The call has been answered } This seems to be exactly what i am looking for but seems to be missing from mod_managed. I am hoping someone can tell me how to do something similar in mod_managed since even if it is not part of the managed code mod_managed is meant to have the native access as well so i would assume it would be possible. Thanks in advance Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/1c31e9cf/attachment.html From its.solution at cox.net Mon Mar 8 07:16:05 2010 From: its.solution at cox.net (ITS Solution) Date: Mon, 08 Mar 2010 10:16:05 -0500 Subject: [Freeswitch-users] Need help on dingaling module Message-ID: Hi all, I recently installed FS version 16983 with dingaling module enabled. I am using the client configuration. My system is Linux Ubuntu 8.04 hardy running on Xen VM. When I set up a call between a phone and a google talk, the audio from google talk is all noise. The audio from phone to google talk sounds good though. Before I did the upgrade, I was running on version 16892. In that release, I can hear audio on both paths. The audio on the path from google talk to FS results in about 3-5 seconds delay. Does anybody experience the similar issue or can help me to point out where could be the problem? Thanks. Chaofeng -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/6f3d7192/attachment.html From brian at freeswitch.org Mon Mar 8 09:21:48 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 11:21:48 -0600 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: References: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> Message-ID: <8215DEFE-460E-4764-BF96-35FBE820EC11@freeswitch.org> ok you aren't catching one key thing here.. you no longer need two profiles. /b On Mar 8, 2010, at 11:12 AM, Bruce Hopkins wrote: > Hi again, > > Thanks for the help so far. Unfotrunately I must still be doing something wrong here as I am still having difficulty, and still have the same problem. > > I updated to build 16938 by means of "make current" > > I'm not able to use UPNP or NATPMP so changed the port forwarding to use 5080 instead of 5090. > > I got rid of the doublenat profile in sip_profiles, though I had to retain an entry in the directory /usr/local/freeeswitch/conf/directory/ext_dns.xml in order to give freeswitch the dns name of the server as a domain for the remote softphone to register on. I left the group name in this entry the same as inthe default entry, so that the remote phone could register on the same extension numbers (100, etc) as in the default build. > > I still find that, if I initiate a call from the local (on same LAN as freeswitch) phone to the remote phone, I get the message on the CLI: > > [ERR] switch_ivr_originate.c2389 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED] > > One possibly unrelated aside, I also found I needed to uncomment in external.xml, otherwise in the case of a call initiated by the remote phone being hung up by the local phone, freeswitch sent the BYE to the private IP of the remote phone, rather than its public ip - meaning that the remote phone didn't receive the BYE. > > Any further ideas where I am going wrong here please? > > thanks again in advance > Bruce From msc at freeswitch.org Mon Mar 8 09:22:01 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 8 Mar 2010 09:22:01 -0800 Subject: [Freeswitch-users] Eavesdrop In-Reply-To: References: <4B95244A.8030808@marketelsystems.com> Message-ID: <87f2f3b91003080922o34d5495foc9641bfc3357989@mail.gmail.com> On Mon, Mar 8, 2010 at 8:55 AM, Rupa Schomaker wrote: > application,eavesdrop,mod_dptools,/opt/freeswitch/mod/mod_dptools.so > > It is an app, not an API. > I other words use session:execute("eavesdrop") and not pbx:api("eavesdrop") -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/e7b1d749/attachment.html From t.mahe at telemaque.fr Mon Mar 8 09:23:55 2010 From: t.mahe at telemaque.fr (=?ISO-8859-1?Q?Tristan_Mah=E9?=) Date: Mon, 08 Mar 2010 18:23:55 +0100 Subject: [Freeswitch-users] Freeswitch to cisco router(gateway) In-Reply-To: <9BEDBC36-4830-4682-94C4-15085B150005@freeswitch.org> References: <9BEDBC36-4830-4682-94C4-15085B150005@freeswitch.org> Message-ID: <4B9532AB.5030407@telemaque.fr> +1 with Brian, Just as I have 5 spare minutes and to be kind: * E1 controller config: controller E1 0/0/0 framing NO-CRC4 pri-group timeslots 1-31 description E1_1 ! interface Serial0/0/0:15 no ip address encapsulation hdlc isdn switch-type primary-net5 isdn not-end-to-end 64 isdn incoming-voice voice isdn bchan-number-order descending round-robin no cdp enable ! voice-port 0/0/0:15 no comfort-noise cptone FR timeouts call-disconnect 1 timeouts wait-release 1 ! * Dial-peers ( SIP to E1 and E1 to SIP): dial-peer voice 100 pots description SIP_TO_E1 destination-pattern 0........ progress_ind setup enable 3 progress_ind progress enable 8 progress_ind connect enable 8 progress_ind disconnect enable 8 no digit-strip port 0/0/0:15 ! dial-peer voice 500 voip description E1_TO_SIP destination-pattern .... progress_ind setup enable 3 session protocol sipv2 session target ipv4:FREESWITCH_IP session transport udp dtmf-relay rtp-nte codec g711alaw no vad ! Remember to adapt this config to your needs ( there are mandatory missing parts, but at least you have some config options to look for). Regards, Gled. Brian West a ?crit : > You seem rather needy. Have you even tried google yet? When asking for help you could be more descriptive if you want help. These "I need help" without any directed questioned signals to me you have a job to do and you don't know how to do it and you're now asking US to do your job for you. Be descriptive and do some research yourself. Again we aren't cisco and you didn't pay us for that hardware so I would start by venturing over to www.cisco.com and searching their docs for that hardware on how to configure voice peers. Then ask questions if anything is left to question. > > /b > > On Mar 8, 2010, at 9:23 AM, srinivasula reddy wrote: > >> HI, >> >> how do i configure freeswitch gateway to communicate to cisco router, i am using cisco2921. >> >> Thanks >> Srinivas > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 paul.gore.j at gmail.com Mon Mar 8 09:22:37 2010 From: paul.gore.j at gmail.com (paul gore) Date: Mon, 8 Mar 2010 12:22:37 -0500 Subject: [Freeswitch-users] XML curl and multiple extension in dialplan In-Reply-To: References: <4B9409FF.5060608@gmail.com> <5632B84B-4513-4C02-BABC-CC1C0C48A078@freeswitch.org> <84088BC7-954F-4830-959B-989FDD062612@freeswitch.org> Message-ID: It's in the Wiki: http://wiki.freeswitch.org/wiki/Mod_xml_curl - "You will only need to send one extension back..." In my real dial plan I do use unique names for the extensions, but as I mentioned FS only executes first extension from the response. If I place same extensions in a static XML they work as expected. I use FreeSWITCH Version 1.0.trunk (16573M). Which one do you use? Can you post a sample response you generate, please? On Mon, Mar 8, 2010 at 10:42 AM, Paulo Vicentini wrote: > > Hi > > "As per FS wiki we can only return one XML extension upon FS request. " > > Could you please tell me where did you find that info? I do return several > extensions by request and FS works as expect (Am I wrong doing that?) > > "Now we need to return a set of extensions with same number condition and > context but with different second condition so that FS can pick up the right > one. > Is it possible at all? And if yes how response XML with multiple extensions > should look like?" > > Yes, It seems to be possible (Am I wrong?) but notice that you are giving > the same extension name for all your extensions: > > > > > I think this can mislead dialplan_hunt in mod_dialplan_xml... > Give each extension a unique name, and FS will parse/regex all them for > you... > > > All the best, > Paulo > > > From: brian at freeswitch.org > > Date: Sun, 7 Mar 2010 20:17:19 -0600 > > To: freeswitch-users at lists.freeswitch.org > > Subject: Re: [Freeswitch-users] XML curl and multiple extension in > dialplan > > > > > Sounds like you zigged where you should have zagged. > > > > /b > > > > On Mar 7, 2010, at 8:03 PM, paul gore wrote: > > > > > :-)) > > > I used it a lot. Unfortunately we do not store did number as a field, > as I said we store complete extension XML, with extension number and context > as a key. > > > So essentially I will retrieve a bunch of extension XMLs which I need > to parse and run against regex matcher to find out the one, which is what > exactly FS is doing when XML dial plan is defined in a static file. > > > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > ------------------------------ > Hotmail: Powerful Free email with security by Microsoft. Get it now. > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/4b895e99/attachment-0001.html From brian at freeswitch.org Mon Mar 8 09:32:05 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 11:32:05 -0600 Subject: [Freeswitch-users] Freeswitch to cisco router(gateway) In-Reply-To: <4B9532AB.5030407@telemaque.fr> References: <9BEDBC36-4830-4682-94C4-15085B150005@freeswitch.org> <4B9532AB.5030407@telemaque.fr> Message-ID: <23FE228D-9CA2-4858-8A94-5AD5FD770FA8@freeswitch.org> Thank you for taking the time to help out... maybe a wiki page can be created on this moving forward. I wasn't in any way trying to be mean or disrespectful. I'm clearly trying to state that we can't possibly help everyone with everything at some point it just starts to get overwhelming to try to help everyone. I thank everyone that are starting to step up and help people out on the list. Lets keep that up it helps greatly. Thanks, Brian On Mar 8, 2010, at 11:23 AM, Tristan Mah? wrote: > +1 with Brian, > > Just as I have 5 spare minutes and to be kind: From will.traenkle at yahoo.com Mon Mar 8 10:05:24 2010 From: will.traenkle at yahoo.com (William Traenkle) Date: Mon, 8 Mar 2010 10:05:24 -0800 (PST) Subject: [Freeswitch-users] hunt group - play music when trying external numbers Message-ID: <756904.84769.qm@web57613.mail.re1.yahoo.com> I am new to freeSWITCH and this mailing list and I appreciate your support in advance. My Goal: To create a hunt group x7000 that sequentially dials an internal extension, i.e. x1000, and then a cell phone number, i.e. 6194548924, while playing music the entire time when each number is being tried. The Issue: This was working great a few months back, but now music plays when only when x1000 is tried but NOT when the cell phone is tried. Ideas? Please advise. My hunt group code is below: session.answer(); var domain_name = session.getVariable("domain_name"); var extension = '7000'; var result; var timeoutpin = 7500; var objdate = new Date(); var adjusthours = 0; //Adjust Server time that is set to GMT 7 hours var adjustoperator = "-"; //+ or - if (adjustoperator == "-") { var objdate2 = new Date(objdate.getFullYear(),objdate.getMonth(),objdate.getDate(),(objdate.getHours() - adjusthours),objdate.getMinutes(),objdate.getSeconds()); } if (adjustoperator == "+") { var objdate2 = new Date(objdate.getFullYear(),objdate.getMonth(),objdate.getDate(),(objdate.getHours() + adjusthours),objdate.getMinutes(),objdate.getSeconds()); } var Hours = objdate2.getHours(); var Mins = objdate2.getMinutes(); var Seconds = objdate2.getSeconds(); var Month = objdate2.getMonth() + 1; var Date = objdate2.getDate(); var Year = objdate2.getYear() var Day = objdate2.getDay()+1; var exit = false; function get_sofia_contact(extension,domain_name, profile){ if (profile == "auto") { profile = "internal"; session.execute("set", "sofia_contact_"+extension+"=${sofia_contact("+profile+"/"+extension+"@"+domain_name+")}"); sofia_contact = session.getVariable("sofia_contact_"+extension); if (sofia_contact == "error/user_not_registered") { profile = "external"; session.execute("set", "sofia_contact_"+extension+"=${sofia_contact("+profile+"/"+extension+"@"+domain_name+")}"); sofia_contact = session.getVariable("sofia_contact_"+extension); } } else { session.execute("set", "sofia_contact_"+extension+"=${sofia_contact("+profile+"/"+extension+"@"+domain_name+")}"); sofia_contact = session.getVariable("sofia_contact_"+extension); } console_log( "info", "sofia_contact "+profile+": "+sofia_contact+".\n" ); return sofia_contact; } function mycb( session, type, obj, arg ) { try { if ( type == "dtmf" ) { console_log( "info", "digit: "+obj.digit+"\n" ); if ( obj.digit == "#" ) { //console_log( "info", "detected pound sign.\n" ); exit = true; return( false ); } dtmf.digits += obj.digit; if ( dtmf.digits.length >= digitmaxlength ) { exit = true; return( false ); } } } catch (e) { console_log( "err", e+"\n" ); } return( true ); } //end function mycb dialed_extension = session.getVariable("dialed_extension"); domain_name = session.getVariable("domain_name"); domain = session.getVariable("domain"); us_ring = session.getVariable("us-ring"); caller_id_name = session.getVariable("caller_id_name"); caller_id_number = session.getVariable("caller_id_number"); effective_caller_id_name = session.getVariable("effective_caller_id_name"); effective_caller_id_number = session.getVariable("effective_caller_id_number"); outbound_caller_id_name = session.getVariable("outbound_caller_id_name"); outbound_caller_id_number = session.getVariable("outbound_caller_id_number"); session.execute("set", "ringback=${hold_music}"); //set to ringtone session.execute("set", "transfer_ringback=${hold_music}"); //set to ringtone session.execute("set", "call_timeout=30"); session.execute("export", "call_timeout=30"); session.execute("set", "continue_on_fail=true"); session.execute("set", "hangup_after_bridge=true"); //console_log( "info", "dialed extension:"+dialed_extension+".\n" ); //console_log( "info", "domain: "+domain+".\n" ); //console_log( "info", "us_ring: "+us_ring+".\n" ); //console_log( "info", "domain: "+domain+".\n" ); //console_log( "info", "domain_name: "+domain_name+".\n" ); //console_log( "info", "action call now don't wait for dtmf\n" ); if ( session.ready() ) { session.answer(); sofia_contact_1000 = get_sofia_contact("1000",domain_name, "auto"); session.execute("bridge", sofia_contact_1000); session.execute("bridge", "sofia/gateway/flowroute.com/16194548924"); //timeout if (session.getVariable("originate_disposition")!="SUCCESS" && session.getVariable("originate_disposition")!="ORIGINATOR_CANCEL"){ session.execute("info", ""); session.execute("transfer", "*991000"); } //clear variables dialed_extension = ""; new_extension = ""; domain_name = ""; domain = ""; } //end if session.ready Thanks. -Will -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/952fb641/attachment.html From lloyd.aloysius at gmail.com Mon Mar 8 10:23:54 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Mon, 8 Mar 2010 13:23:54 -0500 Subject: [Freeswitch-users] Send a call directly to voicemail Transfer Help Message-ID: <8a19bf2e1003081023t3e786df4m4fa8a2858eac7ad@mail.gmail.com> Hi All, I would like to setup a dial plan, Dial *99[extension number] send a call directly to voicemail. I setup the following Dial Plan . But when I transfer the call *99[extension number] the call failed. But when I transfer the call *99[extension number] the call failed.My extensions range 201 - 209 Please let me know where the mistake is. Thanks Lloyd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/cd6d2bad/attachment-0001.html From vizentini at hotmail.com Mon Mar 8 10:31:39 2010 From: vizentini at hotmail.com (Paulo Vicentini) Date: Mon, 8 Mar 2010 18:31:39 +0000 Subject: [Freeswitch-users] XML curl and multiple extension in dialplan In-Reply-To: References: , <4B9409FF.5060608@gmail.com>, , <5632B84B-4513-4C02-BABC-CC1C0C48A078@freeswitch.org>, , <84088BC7-954F-4830-959B-989FDD062612@freeswitch.org>, , , , Message-ID: Hello, FreeSWITCH version: 1.0.trunk (16870M) I have replied FS even with extensions you have emailed here (in my case I have data="sofia/gateway/myGW/888 at conference.freeswitch.org/888") - it works You may need to give a look at "CS_ROUTING" state. best,PauloDate: Mon, 8 Mar 2010 12:22:37 -0500 From: paul.gore.j at gmail.com To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] XML curl and multiple extension in dialplan It's in the Wiki: http://wiki.freeswitch.org/wiki/Mod_xml_curl - "You will only need to send one extension back..." In my real dial plan I do use unique names for the extensions, but as I mentioned FS only executes first extension from the response. If I place same extensions in a static XML they work as expected. I use FreeSWITCH Version 1.0.trunk (16573M). Which one do you use? Can you post a sample response you generate, please? On Mon, Mar 8, 2010 at 10:42 AM, Paulo Vicentini wrote: Hi "As per FS wiki we can only return one XML extension upon FS request. " Could you please tell me where did you find that info? I do return several extensions by request and FS works as expect (Am I wrong doing that?) "Now we need to return a set of extensions with same number condition and context but with different second condition so that FS can pick up the right one. Is it possible at all? And if yes how response XML with multiple extensions should look like?" Yes, It seems to be possible (Am I wrong?) but notice that you are giving the same extension name for all your extensions: I think this can mislead dialplan_hunt in mod_dialplan_xml...Give each extension a unique name, and FS will parse/regex all them for you... All the best, Paulo > From: brian at freeswitch.org > Date: Sun, 7 Mar 2010 20:17:19 -0600 > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] XML curl and multiple extension in dialplan > > Sounds like you zigged where you should have zagged. > > /b > > On Mar 7, 2010, at 8:03 PM, paul gore wrote: > > > :-)) > > I used it a lot. Unfortunately we do not store did number as a field, as I said we store complete extension XML, with extension number and context as a key. > > So essentially I will retrieve a bunch of extension XMLs which I need to parse and run against regex matcher to find out the one, which is what exactly FS is doing when XML dial plan is defined in a static file. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org Hotmail: Powerful Free email with security by Microsoft. Get it now. _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. https://signup.live.com/signup.aspx?id=60969 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/fa895968/attachment.html From gavin.henry at gmail.com Mon Mar 8 10:33:27 2010 From: gavin.henry at gmail.com (Gavin Henry) Date: Mon, 8 Mar 2010 18:33:27 +0000 Subject: [Freeswitch-users] Virtualized FreeSWITCH In-Reply-To: <70064BF8-B34E-4320-8B77-42CF82E958A1@gmail.com> References: <7454A296C7EDE34EA57199FAA401E2F11C63F2D970@VMBX113.ihostexchange.net> <7454A296C7EDE34EA57199FAA401E2F11C63F2DA66@VMBX113.ihostexchange.net> <7b197bef1003031300j756aa0ddv777406fc3224da9c@mail.gmail.com> <25BD7E1E-B846-43AA-B587-1FCCE5667E79@gmail.com> <7b197bef1003031315tfe57e3fs98cfcfd9edf92939@mail.gmail.com> <23f91031003031704ob68528g37f64f9b0ee7a2bd@mail.gmail.com> <9cb0e15e1003040655p500dae55kc22de012c270aedd@mail.gmail.com> <13ca621c1003080134n7e2a5d14kb5c1744ddc85d665@mail.gmail.com> <70064BF8-B34E-4320-8B77-42CF82E958A1@gmail.com> Message-ID: <13ca621c1003081033n5ab07ea6lf3233194d4027fb3@mail.gmail.com> On 8 March 2010 11:30, Jay Binks wrote: > The qn here is do you bypass media or do you do complete topology > hiding ?? > > Sip only is kind of a given , ?it gets harder if the virtualized pbx > does media. The pbx does the media here and then on to our VoIP provider platform. From brian at freeswitch.org Mon Mar 8 10:33:26 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 12:33:26 -0600 Subject: [Freeswitch-users] Send a call directly to voicemail Transfer Help In-Reply-To: <8a19bf2e1003081023t3e786df4m4fa8a2858eac7ad@mail.gmail.com> References: <8a19bf2e1003081023t3e786df4m4fa8a2858eac7ad@mail.gmail.com> Message-ID: <0419C3ED-7F68-4299-8170-39C376FE3CC0@freeswitch.org> That looks correct can you show me console output? /b On Mar 8, 2010, at 12:23 PM, Aloysius Lloyd wrote: > Hi All, > > I would like to setup a dial plan, Dial *99[extension number] send a call directly to voicemail. > > I setup the following Dial Plan . But when I transfer the call *99[extension number] the call failed. > > > > > > > > > > But when I transfer the call *99[extension number] the call failed.My extensions range 201 - 209 > > Please let me know where the mistake is. > > Thanks > Lloyd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/f89fa482/attachment.html From chris.chen2004 at gmail.com Mon Mar 8 10:34:57 2010 From: chris.chen2004 at gmail.com (Chris Chen) Date: Mon, 8 Mar 2010 13:34:57 -0500 Subject: [Freeswitch-users] Send a call directly to voicemail Transfer Help In-Reply-To: <8a19bf2e1003081023t3e786df4m4fa8a2858eac7ad@mail.gmail.com> References: <8a19bf2e1003081023t3e786df4m4fa8a2858eac7ad@mail.gmail.com> Message-ID: <507898381003081034t13752159y87c2deb138fbb5f6@mail.gmail.com> Lloyd, you didn't define ${dialed_extension}, before you call the voicemail application in your dialplan: Please fix that. Chris On Mon, Mar 8, 2010 at 1:23 PM, Aloysius Lloyd wrote: > Hi All, > > I would like to setup a dial plan, Dial *99[extension number] send a call > directly to voicemail. > > I setup the following Dial Plan . But when I transfer the call > *99[extension number] the call failed. > > > > > > > > > But when I transfer the call *99[extension number] the call failed.My > extensions range 201 - 209 > > Please let me know where the mistake is. > > Thanks > Lloyd > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/74c5b63e/attachment.html From rob4manhere at gmail.com Mon Mar 8 10:34:15 2010 From: rob4manhere at gmail.com (Rob Forman) Date: Mon, 8 Mar 2010 12:34:15 -0600 Subject: [Freeswitch-users] Send a call directly to voicemail Transfer Help In-Reply-To: <8a19bf2e1003081023t3e786df4m4fa8a2858eac7ad@mail.gmail.com> References: <8a19bf2e1003081023t3e786df4m4fa8a2858eac7ad@mail.gmail.com> Message-ID: <95DBAAA1-EB57-4440-8C7B-618053730DB5@gmail.com> Much easier to see what's going on with logs. Post the snippet of a test call from your freeswitch logs in debug to http://pastebin.freeswitch.org/ and share the link. On Mar 8, 2010, at 12:23 PM, Aloysius Lloyd wrote: > Hi All, > > I would like to setup a dial plan, Dial *99[extension number] send > a call directly to voicemail. > > I setup the following Dial Plan . But when I transfer the call > *99[extension number] the call failed. > > > expression="^(\*9920[0-9])$"> > > > > > > > But when I transfer the call *99[extension number] the call > failed.My extensions range 201 - 209 > > Please let me know where the mistake is. > > Thanks > Lloyd > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/7b566ee4/attachment-0001.html From frank at carmickle.com Mon Mar 8 10:40:25 2010 From: frank at carmickle.com (Frank Carmickle) Date: Mon, 8 Mar 2010 13:40:25 -0500 Subject: [Freeswitch-users] hunt group - play music when trying external numbers In-Reply-To: <756904.84769.qm@web57613.mail.re1.yahoo.com> References: <756904.84769.qm@web57613.mail.re1.yahoo.com> Message-ID: <20100308184025.GL18427@base.carmickle.com> Hello On Mon, Mar 08, William Traenkle wrote: > I am new to freeSWITCH and this mailing list and I appreciate your support in advance. > > My Goal: To create a hunt group x7000 that sequentially dials an internal extension, i.e. x1000, and then a cell phone number, i.e. 6194548924, while playing music the entire time when each number is being tried. > > The Issue: This was working great a few months back, but now music plays when only when x1000 is tried but NOT when the cell phone is tried. Make sure that your bridge statement includes {ignore_early_media=true} --FC From frank at carmickle.com Mon Mar 8 10:45:17 2010 From: frank at carmickle.com (Frank Carmickle) Date: Mon, 8 Mar 2010 13:45:17 -0500 Subject: [Freeswitch-users] Send a call directly to voicemail Transfer Help In-Reply-To: <8a19bf2e1003081023t3e786df4m4fa8a2858eac7ad@mail.gmail.com> References: <8a19bf2e1003081023t3e786df4m4fa8a2858eac7ad@mail.gmail.com> Message-ID: <20100308184517.GM18427@base.carmickle.com> Hello On Mon, Mar 08, Aloysius Lloyd wrote: > Hi All, > > I would like to setup a dial plan, Dial *99[extension number] send a call > directly to voicemail. > > I setup the following Dial Plan . But when I transfer the call > *99[extension number] the call failed. > > > Should be > > > and > > HTH --FC From dave at 3c.co.uk Mon Mar 8 10:46:22 2010 From: dave at 3c.co.uk (David Knell) Date: Mon, 8 Mar 2010 15:46:22 -0300 Subject: [Freeswitch-users] Send a call directly to voicemail Transfer Help References: <8a19bf2e1003081023t3e786df4m4fa8a2858eac7ad@mail.gmail.com> Message-ID: Hi Aloysius, Best guess is that isn't what you meant - ${dialed_extension} will be 9920x, not 20x. You can fix this by changing the regex to (the bit in ()s will end up in $1) and the line above to Cheers -- Dave ----- Original Message ----- From: Aloysius Lloyd To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 08, 2010 3:23 PM Subject: [Freeswitch-users] Send a call directly to voicemail Transfer Help Hi All, I would like to setup a dial plan, Dial *99[extension number] send a call directly to voicemail. I setup the following Dial Plan . But when I transfer the call *99[extension number] the call failed. But when I transfer the call *99[extension number] the call failed.My extensions range 201 - 209 Please let me know where the mistake is. Thanks Lloyd ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/41d01974/attachment.html From grevenx at me.com Mon Mar 8 10:52:57 2010 From: grevenx at me.com (=?iso-8859-1?Q?Even_Andr=E9_Fiskvik?=) Date: Mon, 08 Mar 2010 19:52:57 +0100 Subject: [Freeswitch-users] FreeSWITCH cluster with IM/Presence Message-ID: <9FD45932-DD45-4370-A08B-9C06C6D3289C@me.com> Hi. I currently have a project where I'm researching how to establish a clustered and scalable platform with: - registration - presence/blf between eyebeam/bria and Linksys SPA962 clients - IM between eyebeam/bria clients. - calling between the clients The first scenario I want to test is with two FreeSWITCH servers and shared ODBC db running in a "cluster". How the registrations and calls etc. are balanced between them is not decided yet, but I'm thinking that a UltraMonkey setup or DNS SRV records could to the trick here? The main challenge in this setup is sharing presence, and doing call-setup and IM between two FreeSWITCH servers (which can be scaled by adding n-nodes). I'm interested in user's that can confirm wether this solution is possible or not with FreeSWITCH and it's current state, and what it would take to make something like this work. If there's any part of FS that is lacking some implementation to make such a scenario work, we are interested in providing the funding to support those features. I've seen that the core db has added support for ODBC, but I'm not sure wether this is something that would be helpful in this scenario or not. This is only conceptual right now, so I'm interested in paying someone that could help me configure the two FS servers to support this scenario on an hourly basis to get a quick proof-of-concept up and running. The proof-of-concept has to be completed by March 19th, after which we will evaluate what technologies and setup we want to commit to. Some other variations I'm concidering is Opensips/Kamailio -> Asterisk, Opensips/Kamailio -> FreeSWITCH, Opensips/Kamailio -> Asterisk and Openfire + Asterisk-im plugin for IM/presence. I'm also open to other suggestions, but I'd like this topic to stay on how FreeSWITCH could facilitate such a platform. Best regards, Even Andr? Fiskvik CTO - Oyatel AS From grevenx at me.com Mon Mar 8 11:11:42 2010 From: grevenx at me.com (=?windows-1252?Q?Even_Andr=E9_Fiskvik?=) Date: Mon, 08 Mar 2010 20:11:42 +0100 Subject: [Freeswitch-users] server to server jingle In-Reply-To: <7DB2DF3BDD8F4752A710A08EF9EE4B33@MOBILEE1705> References: <7DB2DF3BDD8F4752A710A08EF9EE4B33@MOBILEE1705> Message-ID: <147756F3-FD28-45C3-BF2E-DF1DA6399CAC@me.com> Perhaps you should write a bit about what you're exactly trying to achieve and if it doesn't seem to "work as expected", describe what issues you are having? Best regards, Even Andr? Fiskvik On 2. mars 2010, at 05.38, Madovsky wrote: > Hi all, > > is anyone knows a good example to configure freeswitch and an xmpp server (openfire if possible) > I read this article > http://wiki.freeswitch.org/wiki/Dingaling#Getting_it_working > but no example > and this one > http://www.alijawad.org/cms/index.php?option=com_content&task=view&id=21&Itemid=2 > but seems to doesn't work as expected. > > Thanks ! > > Franck > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/df1ce6f0/attachment.html From msc at freeswitch.org Mon Mar 8 11:26:06 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 8 Mar 2010 11:26:06 -0800 Subject: [Freeswitch-users] Conference Recording In-Reply-To: <4B948B0E.8050909@todandlorna.com> References: <4B948B0E.8050909@todandlorna.com> Message-ID: <87f2f3b91003081126q591662eq476604ddc5c51afd@mail.gmail.com> Sorry, I still need to x-code and upload Tod's wonderful discussion of mod_fifo. :) -MC On Sun, Mar 7, 2010 at 9:28 PM, Tod Hansmann wrote: > For the whole thing? I know parts were recorded by different people. I'm > not sure about the whole thing. > > -Tod Hansmann > > > On 3/7/2010 5:28 PM, Josh Rivers wrote: > > On last week's conference call, someone was recording, did that recording > get put online somewhere? > > Josh > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://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/20100308/4f417231/attachment.html From infos at madovsky.org Mon Mar 8 11:27:14 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 8 Mar 2010 14:27:14 -0500 Subject: [Freeswitch-users] server to server jingle References: <7DB2DF3BDD8F4752A710A08EF9EE4B33@MOBILEE1705> <147756F3-FD28-45C3-BF2E-DF1DA6399CAC@me.com> Message-ID: <2161970E983E4410A1695D4D4E64430E@MOBILEE1705> I wanted only to avoid to write an xml for every client who uses xmpp. nevermind, I'm too novice on Openfire and don't want to use anymore time to learn it since I need to learn more FS. Thanks for your answer Franck ----- Original Message ----- From: Even Andr? Fiskvik To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 08, 2010 2:11 PM Subject: Re: [Freeswitch-users] server to server jingle Perhaps you should write a bit about what you're exactly trying to achieve and if it doesn't seem to "work as expected", describe what issues you are having? Best regards, Even Andr? Fiskvik On 2. mars 2010, at 05.38, Madovsky wrote: Hi all, is anyone knows a good example to configure freeswitch and an xmpp server (openfire if possible) I read this article http://wiki.freeswitch.org/wiki/Dingaling#Getting_it_working but no example and this one http://www.alijawad.org/cms/index.php?option=com_content&task=view&id=21&Itemid=2 but seems to doesn't work as expected. Thanks ! Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100308/5f6b6398/attachment-0001.html From lloyd.aloysius at gmail.com Mon Mar 8 11:28:37 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Mon, 8 Mar 2010 14:28:37 -0500 Subject: [Freeswitch-users] Send a call directly to voicemail Transfer Help In-Reply-To: References: <8a19bf2e1003081023t3e786df4m4fa8a2858eac7ad@mail.gmail.com> Message-ID: <8a19bf2e1003081128v55a993a4m42d6860bf6657162@mail.gmail.com> Thank you for all the suggestions. David & Frank suggestion solve the problem. Here is the working dial plan Thank you again. Regards. Lloyd On Mon, Mar 8, 2010 at 1:46 PM, David Knell wrote: > Hi Aloysius, > > Best guess is that > > isn't what you meant - ${dialed_extension} will be 9920x, not 20x. > > You can fix this by changing the regex to > > (the bit in ()s will end up in $1) and the line above to > > > Cheers -- > > Dave > > ----- Original Message ----- > *From:* Aloysius Lloyd > *To:* freeswitch-users at lists.freeswitch.org > *Sent:* Monday, March 08, 2010 3:23 PM > *Subject:* [Freeswitch-users] Send a call directly to voicemail Transfer > Help > > Hi All, > > I would like to setup a dial plan, Dial *99[extension number] send a call > directly to voicemail. > > I setup the following Dial Plan . But when I transfer the call > *99[extension number] the call failed. > > > > > > > > > But when I transfer the call *99[extension number] the call failed.My > extensions range 201 - 209 > > Please let me know where the mistake is. > > Thanks > Lloyd > > ------------------------------ > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100308/9638495a/attachment.html From null at invalid.name Mon Mar 8 11:42:12 2010 From: null at invalid.name (Dan Lane) Date: Mon, 8 Mar 2010 19:42:12 +0000 Subject: [Freeswitch-users] g711 to g722 transcoding causing distortion on Polycom IP6000 handsets Message-ID: This is almost certainly more of a Polycom issue than a FreeSWITCH one but I'll mention it here on the offchance that someone else has experienced the following: Loud G.711a calls that are being transcoded to G.722 are massively distorted on Polycom IP6000 handsets and on all other handsets the call just sounds loud and isn't distorted. This is most common in conference calls where callers are using a mixture of codecs. If I disable G.722 the Polycom sounds fine even though the G.711a call is still too loud and if I lower the volume of the conference the distortion still happens. So, has anyone else experienced this and if so, did you find a solution? Regards, Dan Lane From m.sobkow at marketelsystems.com Mon Mar 8 11:46:09 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Mon, 08 Mar 2010 13:46:09 -0600 Subject: [Freeswitch-users] Eavesdrop In-Reply-To: References: <4B95244A.8030808@marketelsystems.com> Message-ID: <4B955401.1030004@marketelsystems.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/8ef90894/attachment-0001.html -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: freeswitch_monitor.erl Url: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/8ef90894/attachment-0002.pl -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: pbx.erl Url: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/8ef90894/attachment-0003.pl From brian at freeswitch.org Mon Mar 8 11:51:39 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 13:51:39 -0600 Subject: [Freeswitch-users] g711 to g722 transcoding causing distortion on Polycom IP6000 handsets In-Reply-To: References: Message-ID: <90471E30-EBB8-40A6-83F0-16164222EE33@freeswitch.org> I'm going to guess you're using 1.0.4? /b On Mar 8, 2010, at 1:42 PM, Dan Lane wrote: > This is almost certainly more of a Polycom issue than a FreeSWITCH one > but I'll mention it here on the offchance that someone else has > experienced the following: > > Loud G.711a calls that are being transcoded to G.722 are massively > distorted on Polycom IP6000 handsets and on all other handsets the > call just sounds loud and isn't distorted. This is most common in > conference calls where callers are using a mixture of codecs. > > If I disable G.722 the Polycom sounds fine even though the G.711a call > is still too loud and if I lower the volume of the conference the > distortion still happens. > > So, has anyone else experienced this and if so, did you find a solution? > > Regards, > Dan Lane > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 pjintheusa at gmail.com Mon Mar 8 12:04:26 2010 From: pjintheusa at gmail.com (Phillip Jones) Date: Mon, 8 Mar 2010 15:04:26 -0500 Subject: [Freeswitch-users] How to originate a new call from mod_managed? In-Reply-To: <9394d42f1003062102p3d97f86haa81c009f19be817@mail.gmail.com> References: <9394d42f1003062102p3d97f86haa81c009f19be817@mail.gmail.com> Message-ID: <367751821003081204t7b18d8ebkb11bbd27828e01f6@mail.gmail.com> You could use the api: FreeSWITCH.Native.Api fsApi = new FreeSWITCH.Native.Api(); string apiResult = string.Empty; string Uuid; string NumberToDial = "3475558308"; string OutgoingCallerID = "2155556666"; Uuid = fsApi.ExecuteString("create_uuid"); apiResult = fsApi.Execute("originate", string.Format("{{ignore_early_media=false,absolute_codec_string='PCMU'}}[origination_uuid={0},origination_caller_id_number={1}]sofia/gateway/broadvox/{2}", Uuid, OutgoingCallerID, NumberToDial)); On Sun, Mar 7, 2010 at 12:02 AM, Chris wrote: > Hi, > I am trying to create a mod_managed API application that takes 2 phone > numbers as params. These numbers should then be used to make 2 calls and to > bridge them. The issue i am having is working out how to place the first > call leg from in mod_managed. All the methods i have found are for the > second leg and require you to pass in the first call leg. > > I know there are easier way to do this out of the managed code but i want > it in the managed code as this is just a proof of concept to prove we can do > a callback like system via managed code to be hooked into other external > systems. > In wiki http://wiki.freeswitch.org/wiki/Session there is this example > > s = new Session("{ignore_early_media=true}sofia/default/foo at bar.com"); > while (s.ready()) { > // The call has been answered > } > > This seems to be exactly what i am looking for but seems to be missing from > mod_managed. I am hoping someone can tell me how to do something similar in > mod_managed since even if it is not part of the managed code mod_managed is > meant to have the native access as well so i would assume it would be > possible. > > Thanks in advance > > Chris > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/d36ca87c/attachment.html From matt at packetfoundry.net Mon Mar 8 09:27:42 2010 From: matt at packetfoundry.net (Matt Putnam) Date: Mon, 08 Mar 2010 11:27:42 -0600 Subject: [Freeswitch-users] mod_spidermonkey Message-ID: <4B95338E.8030709@packetfoundry.net> http://jira.freeswitch.org/browse/MODLANG-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel Has anyone found a solution to the above issue? I am having the same issue on CentOS 5.4 with freeswitch version 1.0.5-20100303-0400. Thanks, Matt From brian at freeswitch.org Mon Mar 8 12:33:52 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 14:33:52 -0600 Subject: [Freeswitch-users] mod_spidermonkey In-Reply-To: <4B95338E.8030709@packetfoundry.net> References: <4B95338E.8030709@packetfoundry.net> Message-ID: <84B95AC3-3312-4555-B1DD-F52881262F9B@freeswitch.org> cd /usr/local/freeswitch/mod ldd mod_spidermonkey.so And post it to that jira. /b On Mar 8, 2010, at 11:27 AM, Matt Putnam wrote: > http://jira.freeswitch.org/browse/MODLANG-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > > Has anyone found a solution to the above issue? I am having the same > issue on CentOS 5.4 with freeswitch version 1.0.5-20100303-0400. > > > Thanks, > Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/e72d7550/attachment.html From chris.chen2004 at gmail.com Mon Mar 8 12:39:19 2010 From: chris.chen2004 at gmail.com (Chris Chen) Date: Mon, 8 Mar 2010 15:39:19 -0500 Subject: [Freeswitch-users] mod_spidermonkey In-Reply-To: <4B95338E.8030709@packetfoundry.net> References: <4B95338E.8030709@packetfoundry.net> Message-ID: <507898381003081239m4196f0ccn81dc7bbc2f8874f6@mail.gmail.com> I am having the same problem as reported in the JIRA, although this has been about a week. Still the same on latest SVN trunk. I am running Centos 5.4 X86_64. Thanks, Chris On Mon, Mar 8, 2010 at 12:27 PM, Matt Putnam wrote: > > http://jira.freeswitch.org/browse/MODLANG-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > > Has anyone found a solution to the above issue? I am having the same > issue on CentOS 5.4 with freeswitch version 1.0.5-20100303-0400. > > > Thanks, > Matt > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/de3b97c9/attachment.html From chris.chen2004 at gmail.com Mon Mar 8 12:43:19 2010 From: chris.chen2004 at gmail.com (Chris Chen) Date: Mon, 8 Mar 2010 15:43:19 -0500 Subject: [Freeswitch-users] mod_spidermonkey In-Reply-To: <84B95AC3-3312-4555-B1DD-F52881262F9B@freeswitch.org> References: <4B95338E.8030709@packetfoundry.net> <84B95AC3-3312-4555-B1DD-F52881262F9B@freeswitch.org> Message-ID: <507898381003081243j2d73456ei4b04fda5c8fbfef3@mail.gmail.com> Hi Brian, I added the information from my Centos 5.4 to the JIRA, please see the comment. Thanks, Chris On Mon, Mar 8, 2010 at 3:33 PM, Brian West wrote: > cd /usr/local/freeswitch/mod > ldd mod_spidermonkey.so > > And post it to that jira. > > /b > > On Mar 8, 2010, at 11:27 AM, Matt Putnam wrote: > > > http://jira.freeswitch.org/browse/MODLANG-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > > Has anyone found a solution to the above issue? I am having the same > issue on CentOS 5.4 with freeswitch version 1.0.5-20100303-0400. > > > Thanks, > Matt > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/0a95ebab/attachment.html From null at invalid.name Mon Mar 8 12:46:30 2010 From: null at invalid.name (Dan Lane) Date: Mon, 8 Mar 2010 20:46:30 +0000 Subject: [Freeswitch-users] g711 to g722 transcoding causing distortion on Polycom IP6000 handsets In-Reply-To: <90471E30-EBB8-40A6-83F0-16164222EE33@freeswitch.org> References: <90471E30-EBB8-40A6-83F0-16164222EE33@freeswitch.org> Message-ID: On Mon, Mar 8, 2010 at 7:51 PM, Brian West wrote: > I'm going to guess you're using 1.0.4? I am, was this fixed in 1.0.5? While I have 1.0.5 boxes (which identify themselves as 1.0.trunk) coming out of my ears the Polycoms are all overseas and in-use so getting them temporarily connected to a 1.0.5 box is troublesome. From paul.gore.j at gmail.com Mon Mar 8 12:48:56 2010 From: paul.gore.j at gmail.com (paul gore) Date: Mon, 8 Mar 2010 15:48:56 -0500 Subject: [Freeswitch-users] XML curl and multiple extension in dialplan In-Reply-To: References: <5632B84B-4513-4C02-BABC-CC1C0C48A078@freeswitch.org> <84088BC7-954F-4830-959B-989FDD062612@freeswitch.org> Message-ID: Thanks a lot Paulo! It does work, we have updated to the latest SVN and checked cs_routing and apparently discovered a problem with response generating script, it wasn't updated after recent DB change. On Mon, Mar 8, 2010 at 1:31 PM, Paulo Vicentini wrote: > Hello, > > FreeSWITCH version: 1.0.trunk (16870M) > > I have replied FS even with extensions you have emailed here (in my case I > have data="sofia/gateway/myGW/888 at conference.freeswitch.org/888") - it > works > > You may need to give a look at "CS_ROUTING" state. > > > best, > Paulo > ------------------------------ > Date: Mon, 8 Mar 2010 12:22:37 -0500 > From: paul.gore.j at gmail.com > > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] XML curl and multiple extension in dialplan > > It's in the Wiki: http://wiki.freeswitch.org/wiki/Mod_xml_curl - "You will > only need to send one extension back..." > In my real dial plan I do use unique names for the extensions, but as I > mentioned FS only executes first extension from the response. If I place > same extensions in a static XML they work as expected. > I use FreeSWITCH Version 1.0.trunk (16573M). Which one do you use? Can you > post a sample response you generate, please? > > > On Mon, Mar 8, 2010 at 10:42 AM, Paulo Vicentini wrote: > > > Hi > > "As per FS wiki we can only return one XML extension upon FS request. " > > Could you please tell me where did you find that info? I do return several > extensions by request and FS works as expect (Am I wrong doing that?) > > "Now we need to return a set of extensions with same number condition and > context but with different second condition so that FS can pick up the right > one. > Is it possible at all? And if yes how response XML with multiple extensions > should look like?" > > Yes, It seems to be possible (Am I wrong?) but notice that you are giving > the same extension name for all your extensions: > > > > > I think this can mislead dialplan_hunt in mod_dialplan_xml... > Give each extension a unique name, and FS will parse/regex all them for > you... > > > All the best, > Paulo > > > From: brian at freeswitch.org > > Date: Sun, 7 Mar 2010 20:17:19 -0600 > > To: freeswitch-users at lists.freeswitch.org > > Subject: Re: [Freeswitch-users] XML curl and multiple extension in > dialplan > > > > > Sounds like you zigged where you should have zagged. > > > > /b > > > > On Mar 7, 2010, at 8:03 PM, paul gore wrote: > > > > > :-)) > > > I used it a lot. Unfortunately we do not store did number as a field, > as I said we store complete extension XML, with extension number and context > as a key. > > > So essentially I will retrieve a bunch of extension XMLs which I need > to parse and run against regex matcher to find out the one, which is what > exactly FS is doing when XML dial plan is defined in a static file. > > > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > ------------------------------ > Hotmail: Powerful Free email with security by Microsoft. Get it now. > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > ------------------------------ > Hotmail: Powerful Free email with security by Microsoft. Get it now. > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/a6b8b79b/attachment-0001.html From matt at packetfoundry.net Mon Mar 8 12:49:38 2010 From: matt at packetfoundry.net (Matt Putnam) Date: Mon, 08 Mar 2010 14:49:38 -0600 Subject: [Freeswitch-users] mod_spidermonkey In-Reply-To: <84B95AC3-3312-4555-B1DD-F52881262F9B@freeswitch.org> References: <4B95338E.8030709@packetfoundry.net> <84B95AC3-3312-4555-B1DD-F52881262F9B@freeswitch.org> Message-ID: <4B9562E2.7000207@packetfoundry.net> Posted mine up as well. On 3/8/2010 2:33 PM, Brian West wrote: > cd /usr/local/freeswitch/mod > ldd mod_spidermonkey.so > > And post it to that jira. > > /b > > On Mar 8, 2010, at 11:27 AM, Matt Putnam wrote: > >> http://jira.freeswitch.org/browse/MODLANG-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel >> >> Has anyone found a solution to the above issue? I am having the same >> issue on CentOS 5.4 with freeswitch version 1.0.5-20100303-0400. >> >> >> Thanks, >> Matt > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/1982823f/attachment.html From brian at freeswitch.org Mon Mar 8 13:19:18 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 15:19:18 -0600 Subject: [Freeswitch-users] g711 to g722 transcoding causing distortion on Polycom IP6000 handsets In-Reply-To: References: <90471E30-EBB8-40A6-83F0-16164222EE33@freeswitch.org> Message-ID: It was a bug in spandsp codecs thats been fixed for sometime. /b On Mar 8, 2010, at 2:46 PM, Dan Lane wrote: > I am, was this fixed in 1.0.5? > > While I have 1.0.5 boxes (which identify themselves as 1.0.trunk) > coming out of my ears the Polycoms are all overseas and in-use so > getting them temporarily connected to a 1.0.5 box is troublesome. From javieraristizabal at gmail.com Mon Mar 8 13:38:39 2010 From: javieraristizabal at gmail.com (=?ISO-8859-1?Q?Javier_Aristiz=E1bal?=) Date: Mon, 8 Mar 2010 16:38:39 -0500 Subject: [Freeswitch-users] CID Question: How pass the CID? Message-ID: Hi folks!! I have an incoming call being bridged to an outgoing call ann i'm trying to pass the phone number of the incoming caller as the caller id on the leg B. But it doesn't work. Here is my dialplan: Here is the Log and SIP trace: http://pastebin.freeswitch.org/12368 This is the INVITE on the bLeg: INVITE sip:17862065658 at wholesale.xcastlabs.comSIP/2.0 Via: SIP/2.0/UDP 66.231.242.173:5080;rport;branch=z9hG4bKS6jFBtp9crtFp Max-Forwards: 68 From: "Javier" ;transport=udp>;tag=K6U13Hy2rpgBe To: > Call-ID: 0c42bf79-a59c-122d-b98c-0014384f7ec2 CSeq: 127923447 INVITE Contact: User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-16921 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY Supported: timer, precondition, path, replaces Allow-Events: talk, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 250 X-FS-Support: update_display Remote-Party-ID: "Javier" >;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1268060050 1268060051 IN IP4 66.231.242.173 s=FreeSWITCH c=IN IP4 66.231.242.173 t=0 0 m=audio 23516 RTP/AVP 18 101 13 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 And i'm on FreeSWITCH Version 1.0.trunk (16921) Many thanks /Javier -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/64108a1b/attachment.html From null at invalid.name Mon Mar 8 13:41:53 2010 From: null at invalid.name (Dan Lane) Date: Mon, 8 Mar 2010 21:41:53 +0000 Subject: [Freeswitch-users] g711 to g722 transcoding causing distortion on Polycom IP6000 handsets In-Reply-To: References: <90471E30-EBB8-40A6-83F0-16164222EE33@freeswitch.org> Message-ID: On Mon, Mar 8, 2010 at 9:19 PM, Brian West wrote: > It was a bug in spandsp codecs thats been fixed for sometime. Thanks for the quick feedback... I'll try and get that box upgraded ASAP :) From dule.maillist at gmail.com Mon Mar 8 13:50:26 2010 From: dule.maillist at gmail.com (Dan Le) Date: Mon, 8 Mar 2010 16:50:26 -0500 Subject: [Freeswitch-users] CID Question: How pass the CID? In-Reply-To: References: Message-ID: <914fc92a1003081350r451e1bf4jd3cd5644c79d4b32@mail.gmail.com> Try using the 'export' app rather than 'set'. Dan 2010/3/8 Javier Aristiz?bal > Hi folks!! > I have an incoming call being bridged to an outgoing call ann i'm trying to > pass the phone number of the incoming caller as the caller id on the leg B. > But it doesn't work. > > Here is my dialplan: > > > > > data="effective_callee_id_number=${caller_id_number}"/> > data="{sip_cid_type=rpid}sofia/gateway/xcast/17862065658"/> > > > > Here is the Log and SIP trace: http://pastebin.freeswitch.org/12368 > > > This is the INVITE on the bLeg: > > INVITE sip:17862065658 at wholesale.xcastlabs.comSIP/2.0 > Via: SIP/2.0/UDP 66.231.242.173:5080;rport;branch=z9hG4bKS6jFBtp9crtFp > Max-Forwards: 68 > From: "Javier" > ;transport=udp>;tag=K6U13Hy2rpgBe > To: > > > Call-ID: 0c42bf79-a59c-122d-b98c-0014384f7ec2 > CSeq: 127923447 INVITE > Contact: > User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-16921 > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, > REFER, NOTIFY > Supported: timer, precondition, path, replaces > Allow-Events: talk, refer > Content-Type: application/sdp > Content-Disposition: session > Content-Length: 250 > X-FS-Support: update_display > Remote-Party-ID: "Javier" > >;party=calling;screen=yes;privacy=off > > v=0 > o=FreeSWITCH 1268060050 1268060051 IN IP4 66.231.242.173 > s=FreeSWITCH > c=IN IP4 66.231.242.173 > t=0 0 > m=audio 23516 RTP/AVP 18 101 13 > a=rtpmap:18 G729/8000 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=rtpmap:13 CN/8000 > a=ptime:20 > > > And i'm on FreeSWITCH Version 1.0.trunk (16921) > > > Many thanks > > > /Javier > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/71fa1c33/attachment.html From brian at freeswitch.org Mon Mar 8 13:52:02 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 15:52:02 -0600 Subject: [Freeswitch-users] CID Question: How pass the CID? In-Reply-To: References: Message-ID: chances are your provider wants the caller id in the from field. /b On Mar 8, 2010, at 3:38 PM, Javier Aristiz?bal wrote: > Hi folks!! > I have an incoming call being bridged to an outgoing call ann i'm trying to pass the phone number of the incoming caller as the caller id on the leg B. But it doesn't work. > From Mailings at kh-dev.de Mon Mar 8 13:54:10 2010 From: Mailings at kh-dev.de (Klaus Hochlehnert) Date: Mon, 8 Mar 2010 22:54:10 +0100 Subject: [Freeswitch-users] Attrafax In-Reply-To: <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> Message-ID: Hi you could also use newest trunk of t38modem + trunk of OPAL. The newest trunk version(s) use SpanDSP as fax engine and it works more reliable than the previous t38 engine (I think it was integrated in OPAL). It also supports fallback to t30 audio fax if you're connected to ISDN network. Together with HylaFAX+ the success rate is ok (unfortunately not perfect). Klaus -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Kristian Kielhofner Sent: Monday, March 08, 2010 5:25 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Attrafax On Mon, Mar 8, 2010 at 10:57 AM, Steve Underwood wrote: > We already have a better FAX engine than that. What we struggle to find > is the time to properly integrate it with FS. > > Steve Thank you, that's what I was expecting. Without going into grueling detail it isn't clear why T.38 gateway functionality (for example) is missing in FreeSWITCH. I know SpanDSP is available and most likely has this ability. I just wasn't sure why it's missing in FS. This is also a mere curiosity for me; I don't have much interest in fax functionality and I don't follow it too closely. Thanks again for the response and explanation. -- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 javieraristizabal at gmail.com Mon Mar 8 13:58:46 2010 From: javieraristizabal at gmail.com (=?ISO-8859-1?Q?Javier_Aristiz=E1bal?=) Date: Mon, 8 Mar 2010 16:58:46 -0500 Subject: [Freeswitch-users] CID Question: How pass the CID? In-Reply-To: <914fc92a1003081350r451e1bf4jd3cd5644c79d4b32@mail.gmail.com> References: <914fc92a1003081350r451e1bf4jd3cd5644c79d4b32@mail.gmail.com> Message-ID: HI Dan. Thanks. I did it with the same result. /Javier On Mon, Mar 8, 2010 at 4:50 PM, Dan Le wrote: > Try using the 'export' app rather than 'set'. > > Dan > > 2010/3/8 Javier Aristiz?bal > >> Hi folks!! >> I have an incoming call being bridged to an outgoing call ann i'm trying >> to pass the phone number of the incoming caller as the caller id on the leg >> B. But it doesn't work. >> >> Here is my dialplan: >> >> >> >> >> > data="effective_callee_id_number=${caller_id_number}"/> >> > data="{sip_cid_type=rpid}sofia/gateway/xcast/17862065658"/> >> >> >> >> Here is the Log and SIP trace: http://pastebin.freeswitch.org/12368 >> >> >> This is the INVITE on the bLeg: >> >> INVITE sip:17862065658 at wholesale.xcastlabs.comSIP/2.0 >> Via: SIP/2.0/UDP 66.231.242.173:5080;rport;branch=z9hG4bKS6jFBtp9crtFp >> Max-Forwards: 68 >> From: "Javier" >> ;transport=udp>;tag=K6U13Hy2rpgBe >> To: >> > >> Call-ID: 0c42bf79-a59c-122d-b98c-0014384f7ec2 >> CSeq: 127923447 INVITE >> Contact: >> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-16921 >> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, >> REFER, NOTIFY >> Supported: timer, precondition, path, replaces >> Allow-Events: talk, refer >> Content-Type: application/sdp >> Content-Disposition: session >> Content-Length: 250 >> X-FS-Support: update_display >> Remote-Party-ID: "Javier" >> >;party=calling;screen=yes;privacy=off >> >> v=0 >> o=FreeSWITCH 1268060050 1268060051 IN IP4 66.231.242.173 >> s=FreeSWITCH >> c=IN IP4 66.231.242.173 >> t=0 0 >> m=audio 23516 RTP/AVP 18 101 13 >> a=rtpmap:18 G729/8000 >> a=rtpmap:101 telephone-event/8000 >> a=fmtp:101 0-16 >> a=rtpmap:13 CN/8000 >> a=ptime:20 >> >> >> And i'm on FreeSWITCH Version 1.0.trunk (16921) >> >> >> Many thanks >> >> >> /Javier >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100308/71e159dd/attachment.html From brian at freeswitch.org Mon Mar 8 13:59:30 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 15:59:30 -0600 Subject: [Freeswitch-users] CID Question: How pass the CID? In-Reply-To: <914fc92a1003081350r451e1bf4jd3cd5644c79d4b32@mail.gmail.com> References: <914fc92a1003081350r451e1bf4jd3cd5644c79d4b32@mail.gmail.com> Message-ID: No we by default already pass it... no need to export vs set.. plus effective_caller_id_number/name is set on the A-LEG and auto exported for you to the B-LEG when created. His idiot provider wants it in the from field I suspect. /b On Mar 8, 2010, at 3:50 PM, Dan Le wrote: > Try using the 'export' app rather than 'set'. > > Dan From javieraristizabal at gmail.com Mon Mar 8 13:59:47 2010 From: javieraristizabal at gmail.com (=?ISO-8859-1?Q?Javier_Aristiz=E1bal?=) Date: Mon, 8 Mar 2010 16:59:47 -0500 Subject: [Freeswitch-users] CID Question: How pass the CID? In-Reply-To: References: Message-ID: Hi Brian. Thanks, yeah it is possible. Is there a way to do that? /Javier On Mon, Mar 8, 2010 at 4:52 PM, Brian West wrote: > chances are your provider wants the caller id in the from field. > > /b > > On Mar 8, 2010, at 3:38 PM, Javier Aristiz?bal wrote: > > > Hi folks!! > > I have an incoming call being bridged to an outgoing call ann i'm trying > to pass the phone number of the incoming caller as the caller id on the leg > B. But it doesn't work. > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/68271eae/attachment.html From freeswitch at gilligan.id.au Mon Mar 8 13:59:34 2010 From: freeswitch at gilligan.id.au (Chris) Date: Tue, 9 Mar 2010 08:59:34 +1100 Subject: [Freeswitch-users] How to originate a new call from mod_managed? In-Reply-To: <367751821003081204t7b18d8ebkb11bbd27828e01f6@mail.gmail.com> References: <9394d42f1003062102p3d97f86haa81c009f19be817@mail.gmail.com> <367751821003081204t7b18d8ebkb11bbd27828e01f6@mail.gmail.com> Message-ID: <9394d42f1003081359u5cb0f2e0q90695d1abb0be9b4@mail.gmail.com> Thanks phillip. I assume i could then use the command new ManagedSession(uuid); to get access to the session after it is created. I will give it a go later today but i think you are right that should work. For a mater of interest would you have any idea where in the source code for FS i could find the implementation for the originate method called via the API command you just suggested? If the implementation is not too complicated I may look at adding it to the managed code as the managed code is meant to have access to the native APIs so it should be able to issue the same commands i would have thought. If it is impossible i will stick with the way you just suggested. Thanks Chris On Tue, Mar 9, 2010 at 7:04 AM, Phillip Jones wrote: > You could use the api: > > FreeSWITCH.Native.Api fsApi = new FreeSWITCH.Native.Api(); > string apiResult = string.Empty; > string Uuid; > string NumberToDial = "3475558308"; > string OutgoingCallerID = "2155556666"; > > Uuid = fsApi.ExecuteString("create_uuid"); > > apiResult = fsApi.Execute("originate", > string.Format("{{ignore_early_media=false,absolute_codec_string='PCMU'}}[origination_uuid={0},origination_caller_id_number={1}]sofia/gateway/broadvox/{2}", > Uuid, OutgoingCallerID, NumberToDial)); > > > > > > > On Sun, Mar 7, 2010 at 12:02 AM, Chris wrote: > >> Hi, >> I am trying to create a mod_managed API application that takes 2 phone >> numbers as params. These numbers should then be used to make 2 calls and to >> bridge them. The issue i am having is working out how to place the first >> call leg from in mod_managed. All the methods i have found are for the >> second leg and require you to pass in the first call leg. >> >> I know there are easier way to do this out of the managed code but i want >> it in the managed code as this is just a proof of concept to prove we can do >> a callback like system via managed code to be hooked into other external >> systems. >> In wiki http://wiki.freeswitch.org/wiki/Session there is this example >> >> s = new Session("{ignore_early_media=true}sofia/default/foo at bar.com"); >> while (s.ready()) { >> // The call has been answered >> } >> >> This seems to be exactly what i am looking for but seems to be missing >> from mod_managed. I am hoping someone can tell me how to do something >> similar in mod_managed since even if it is not part of the managed code >> mod_managed is meant to have the native access as well so i would assume it >> would be possible. >> >> Thanks in advance >> >> Chris >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100309/8c728e05/attachment.html From msc at freeswitch.org Mon Mar 8 14:00:13 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 8 Mar 2010 14:00:13 -0800 Subject: [Freeswitch-users] CID Question: How pass the CID? In-Reply-To: References: Message-ID: <87f2f3b91003081400j7874a025ra8dd5bec89a50e21@mail.gmail.com> On Mon, Mar 8, 2010 at 1:52 PM, Brian West wrote: > chances are your provider wants the caller id in the from field. > > /b > This sounds more likely. Javar tried the export already and that didn't help. What is the proper procedure for setting the From field? Can you just export sip_from_user when doing the bridge? -MC > > On Mar 8, 2010, at 3:38 PM, Javier Aristiz?bal wrote: > > > Hi folks!! > > I have an incoming call being bridged to an outgoing call ann i'm trying > to pass the phone number of the incoming caller as the caller id on the leg > B. But it doesn't work. > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/6870e2b5/attachment-0001.html From brian at freeswitch.org Mon Mar 8 14:02:26 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 16:02:26 -0600 Subject: [Freeswitch-users] Attrafax In-Reply-To: References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> Message-ID: Thats unacceptable!!! Wait its faxing... can't we just let it DIE already?? They have this thing called email... you should check it out... works great... even lets you attach video, audio and color images.... oh and text... dreary old text.... but hey you can mark it all up in HTML and fancy fonts now and make it anoying^H^H^H^H^H^H^Hpretty. /b On Mar 8, 2010, at 3:54 PM, Klaus Hochlehnert wrote: > Together with HylaFAX+ the success rate is ok (unfortunately not perfect). From brian at freeswitch.org Mon Mar 8 14:03:49 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 16:03:49 -0600 Subject: [Freeswitch-users] CID Question: How pass the CID? In-Reply-To: <87f2f3b91003081400j7874a025ra8dd5bec89a50e21@mail.gmail.com> References: <87f2f3b91003081400j7874a025ra8dd5bec89a50e21@mail.gmail.com> Message-ID: <029A5E59-4C83-451F-91AB-465C4585EBFA@freeswitch.org> Try sip_from_uri /b On Mar 8, 2010, at 4:00 PM, Michael Collins wrote: > > > On Mon, Mar 8, 2010 at 1:52 PM, Brian West wrote: > chances are your provider wants the caller id in the from field. > > /b > This sounds more likely. Javar tried the export already and that didn't help. What is the proper procedure for setting the From field? Can you just export sip_from_user when doing the bridge? > -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/19979eb9/attachment.html From brian at freeswitch.org Mon Mar 8 14:04:33 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 16:04:33 -0600 Subject: [Freeswitch-users] CID Question: How pass the CID? In-Reply-To: References: Message-ID: if all else fails try reading do_invite in sofia_glue.c you can really change just about ANYTHING to do with the invite with variables... be careful some let you totally break the packet where it won't even work. :P /b On Mar 8, 2010, at 3:59 PM, Javier Aristiz?bal wrote: > Hi Brian. Thanks, yeah it is possible. Is there a way to do that? > > /Javier From javieraristizabal at gmail.com Mon Mar 8 14:12:39 2010 From: javieraristizabal at gmail.com (=?ISO-8859-1?Q?Javier_Aristiz=E1bal?=) Date: Mon, 8 Mar 2010 17:12:39 -0500 Subject: [Freeswitch-users] CID Question: How pass the CID? In-Reply-To: References: Message-ID: Thanks Brian, let me try your ideas. /Javier On Mon, Mar 8, 2010 at 5:04 PM, Brian West wrote: > if all else fails try reading do_invite in sofia_glue.c you can really > change just about ANYTHING to do with the invite with variables... be > careful some let you totally break the packet where it won't even work. :P > > /b > > On Mar 8, 2010, at 3:59 PM, Javier Aristiz?bal wrote: > > > Hi Brian. Thanks, yeah it is possible. Is there a way to do that? > > > > /Javier > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/2f4a7853/attachment.html From will.traenkle at yahoo.com Mon Mar 8 14:23:45 2010 From: will.traenkle at yahoo.com (William Traenkle) Date: Mon, 8 Mar 2010 14:23:45 -0800 (PST) Subject: [Freeswitch-users] auto attendant -> hunt group -> external number does not ring Message-ID: <302537.41702.qm@web57609.mail.re1.yahoo.com> FS Community, I created an extension 704 I created a hunt group 7004 that first rings 704 then rings my cell phone 16194548924. I created an auto attendant 5002 with an option of 704 that goes to hunt group 7004. 1) What does work: When I call the hunt group directly by dialing 7004 internally, the hunt group first rings 704 then rings my cell phone successfully. This is perfect. 2) What does not work: When I call the main auto attendant from either internally by dialing 5002 or externally by dialing my main number, and dial 704, my extension rings and after not answering my cell phone does not ring. What I am expecting in #2 is for my extension 704 to ring and if I do not pick up then my cell phone will ring just like it does in #1. My knowledge is limited in this area and if you could point me in the right direction, that would be great. I a have tried everything but with no luck. Thanks, -Will -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/5b7c312b/attachment-0001.html From Mailings at kh-dev.de Mon Mar 8 14:25:39 2010 From: Mailings at kh-dev.de (Klaus Hochlehnert) Date: Mon, 8 Mar 2010 23:25:39 +0100 Subject: [Freeswitch-users] Attrafax In-Reply-To: References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> Message-ID: Believe it or not... I heard from people out there who don't have email. But they use faxing... -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, March 08, 2010 11:02 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Attrafax Thats unacceptable!!! Wait its faxing... can't we just let it DIE already?? They have this thing called email... you should check it out... works great... even lets you attach video, audio and color images.... oh and text... dreary old text.... but hey you can mark it all up in HTML and fancy fonts now and make it anoying^H^H^H^H^H^H^Hpretty. /b On Mar 8, 2010, at 3:54 PM, Klaus Hochlehnert wrote: > Together with HylaFAX+ the success rate is ok (unfortunately not perfect). _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 javieraristizabal at gmail.com Mon Mar 8 14:28:53 2010 From: javieraristizabal at gmail.com (=?ISO-8859-1?Q?Javier_Aristiz=E1bal?=) Date: Mon, 8 Mar 2010 17:28:53 -0500 Subject: [Freeswitch-users] CID Question: How pass the CID? In-Reply-To: References: Message-ID: Brian. i did with the sip_from_uri, and it is working.. Many thanks /Javier 2010/3/8 Javier Aristiz?bal > Thanks Brian, let me try your ideas. > > /Javier > > > On Mon, Mar 8, 2010 at 5:04 PM, Brian West wrote: > >> if all else fails try reading do_invite in sofia_glue.c you can really >> change just about ANYTHING to do with the invite with variables... be >> careful some let you totally break the packet where it won't even work. :P >> >> /b >> >> On Mar 8, 2010, at 3:59 PM, Javier Aristiz?bal wrote: >> >> > Hi Brian. Thanks, yeah it is possible. Is there a way to do that? >> > >> > /Javier >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/d4b5edee/attachment.html From will.traenkle at yahoo.com Mon Mar 8 14:31:50 2010 From: will.traenkle at yahoo.com (William Traenkle) Date: Mon, 8 Mar 2010 14:31:50 -0800 (PST) Subject: [Freeswitch-users] hunt group - play music when trying external numbers Message-ID: <847524.92329.qm@web57603.mail.re1.yahoo.com> I am sending this again as I did not see it go through the first time ... FS Community, I am new to freeSWITCH and this mailing list and I appreciate your support in advance. My Goal: To create a hunt group x7000 that sequentially dials an internal extension, i.e. x1000, and then a cell phone number, i.e. 6194548924, while playing music the entire time when each number is being tried. The Issue: This was working great a few months back, but now music plays when only when x1000 is tried but NOT when the cell phone is tried. Ideas? Please advise. My hunt group code is below: session.answer(); var domain_name = session.getVariable("domain_name"); var extension = '7000'; var result; var timeoutpin = 7500; var objdate = new Date(); var adjusthours = 0; //Adjust Server time that is set to GMT 7 hours var adjustoperator = "-"; //+ or - if (adjustoperator == "-") { var objdate2 = new Date(objdate.getFullYear(),objdate.getMonth(),objdate.getDate(),(objdate.getHours() - adjusthours),objdate.getMinutes(),objdate.getSeconds()); } if (adjustoperator == "+") { var objdate2 = new Date(objdate.getFullYear(),objdate.getMonth(),objdate.getDate(),(objdate.getHours() + adjusthours),objdate.getMinutes(),objdate.getSeconds()); } var Hours = objdate2.getHours(); var Mins = objdate2.getMinutes(); var Seconds = objdate2.getSeconds(); var Month = objdate2.getMonth() + 1; var Date = objdate2.getDate(); var Year = objdate2.getYear() var Day = objdate2.getDay()+1; var exit = false; function get_sofia_contact(extension,domain_name, profile){ if (profile == "auto") { profile = "internal"; session.execute("set", "sofia_contact_"+extension+"=${sofia_contact("+profile+"/"+extension+"@"+domain_name+")}"); sofia_contact = session.getVariable("sofia_contact_"+extension); if (sofia_contact == "error/user_not_registered") { profile = "external"; session.execute("set", "sofia_contact_"+extension+"=${sofia_contact("+profile+"/"+extension+"@"+domain_name+")}"); sofia_contact = session.getVariable("sofia_contact_"+extension); } } else { session.execute("set", "sofia_contact_"+extension+"=${sofia_contact("+profile+"/"+extension+"@"+domain_name+")}"); sofia_contact = session.getVariable("sofia_contact_"+extension); } console_log( "info", "sofia_contact "+profile+": "+sofia_contact+".\n" ); return sofia_contact; } function mycb( session, type, obj, arg ) { try { if ( type == "dtmf" ) { console_log( "info", "digit: "+obj.digit+"\n" ); if ( obj.digit == "#" ) { //console_log( "info", "detected pound sign.\n" ); exit = true; return( false ); } dtmf.digits += obj.digit; if ( dtmf.digits.length >= digitmaxlength ) { exit = true; return( false ); } } } catch (e) { console_log( "err", e+"\n" ); } return( true ); } //end function mycb dialed_extension = session.getVariable("dialed_extension"); domain_name = session.getVariable("domain_name"); domain = session.getVariable("domain"); us_ring = session.getVariable("us-ring"); caller_id_name = session.getVariable("caller_id_name"); caller_id_number = session.getVariable("caller_id_number"); effective_caller_id_name = session.getVariable("effective_caller_id_name"); effective_caller_id_number = session.getVariable("effective_caller_id_number"); outbound_caller_id_name = session.getVariable("outbound_caller_id_name"); outbound_caller_id_number = session.getVariable("outbound_caller_id_number"); session.execute("set", "ringback=${hold_music}"); //set to ringtone session.execute("set", "transfer_ringback=${hold_music}"); //set to ringtone session.execute("set", "call_timeout=30"); session.execute("export", "call_timeout=30"); session.execute("set", "continue_on_fail=true"); session.execute("set", "hangup_after_bridge=true"); //console_log( "info", "dialed extension:"+dialed_extension+".\n" ); //console_log( "info", "domain: "+domain+".\n" ); //console_log( "info", "us_ring: "+us_ring+".\n" ); //console_log( "info", "domain: "+domain+".\n" ); //console_log( "info", "domain_name: "+domain_name+".\n" ); //console_log( "info", "action call now don't wait for dtmf\n" ); if ( session.ready() ) { session.answer(); sofia_contact_1000 = get_sofia_contact("1000",domain_name, "auto"); session.execute("bridge", sofia_contact_1000); session.execute("bridge", "sofia/gateway/flowroute.com/16194548924"); //timeout if (session.getVariable("originate_disposition")!="SUCCESS" && session.getVariable("originate_disposition")!="ORIGINATOR_CANCEL"){ session.execute("info", ""); session.execute("transfer", "*991000"); } //clear variables dialed_extension = ""; new_extension = ""; domain_name = ""; domain = ""; } //end if session.ready Thanks. -Will -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/9c050611/attachment-0001.html From lloyd.aloysius at gmail.com Mon Mar 8 14:33:33 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Mon, 8 Mar 2010 17:33:33 -0500 Subject: [Freeswitch-users] What is the best way implement the follow me for a extension Message-ID: <8a19bf2e1003081433m5613ce75sba62ef433042fbe8@mail.gmail.com> Hi All, I would like to setup follow me dialplan for individual extensions. Some extensions need a follow-me and some not. If the the follow-me not reach any live person the call should go to the FreeSWTICH voicemail.I have the extensions range from 201 -209. Also I am using the following Default dial plan to call between extensions. I use the wiki samples to make a follow me dial plan for extension 201. Here is the dial plan. Call to extension 201 , there are two dialplan matching the request. Either Local_Extension or follwme_201. Which order freeswtich select? Thank you for your help. Thanks, Lloyd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/5c00ac98/attachment.html From msc at freeswitch.org Mon Mar 8 14:34:43 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 8 Mar 2010 14:34:43 -0800 Subject: [Freeswitch-users] Attrafax In-Reply-To: References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> Message-ID: <87f2f3b91003081434r1e351185ma29ce8b94d99aa56@mail.gmail.com> On Mon, Mar 8, 2010 at 2:25 PM, Klaus Hochlehnert wrote: > Believe it or not... > I heard from people out there who don't have email. > But they use faxing... > Whenever you find people like that, ask them if they've ever heard of the Internet. I hear this Internet thing has a bright future. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/e5615f46/attachment.html From brian at freeswitch.org Mon Mar 8 14:35:19 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 16:35:19 -0600 Subject: [Freeswitch-users] Attrafax In-Reply-To: References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> Message-ID: <9F469ABB-1C87-4D11-85D3-FC2B35A1F516@freeswitch.org> Lets get a search party and go find them and bust that rock they are hiding under. :P /b On Mar 8, 2010, at 4:25 PM, Klaus Hochlehnert wrote: > Believe it or not... > I heard from people out there who don't have email. > But they use faxing... From msc at freeswitch.org Mon Mar 8 14:35:39 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 8 Mar 2010 14:35:39 -0800 Subject: [Freeswitch-users] CID Question: How pass the CID? In-Reply-To: References: Message-ID: <87f2f3b91003081435ie5fb465q951490f66a505824@mail.gmail.com> 2010/3/8 Javier Aristiz?bal > Brian. i did with the sip_from_uri, and it is working.. > > Many thanks > > /Javier > FYI, I couldn't find this specific tip in the wiki so I added it here: http://wiki.freeswitch.org/wiki/Variable_sip_from_uri#sip_from_uri -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/6aa88bf1/attachment.html From brian at freeswitch.org Mon Mar 8 14:39:08 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 16:39:08 -0600 Subject: [Freeswitch-users] Attrafax In-Reply-To: <87f2f3b91003081434r1e351185ma29ce8b94d99aa56@mail.gmail.com> References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <87f2f3b91003081434r1e351185ma29ce8b94d99aa56@mail.gmail.com> Message-ID: <78F1F8A9-6A65-4F03-BD72-D948CC241781@freeswitch.org> Don't know about that my parents always told me that computers were a waste of time and the internet was never gonna be a big deal. So I'm guessing I'm lucky I didn't listen to my parents. /b On Mar 8, 2010, at 4:34 PM, Michael Collins wrote: > Whenever you find people like that, ask them if they've ever heard of the Internet. I hear this Internet thing has a bright future. > -MC From gkuri at ieee.org Mon Mar 8 14:39:29 2010 From: gkuri at ieee.org (Gabriel Kuri) Date: Mon, 8 Mar 2010 14:39:29 -0800 Subject: [Freeswitch-users] Attrafax In-Reply-To: References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> Message-ID: <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> While I'd love to see FAXing just die, especially with the amount of headache associated with it, the reality is that specific organizations still rely on it heavily on a daily basis (ie Health Care and Banking/Finance Industry). Plus they can legally get away with FAXing personal data directly between machines, since the FAX transmission doesn't seem to be directly covered by all their respective privacy regultions (ie HIPAA, PCI, etc.), unless of course it's a FAX-to-email service. Plus most of these organizations just don't have the internal expertise to setup end-to-end encrypted email nor the impetus to deal with it, since FAXing works fine in their eyes. I think it's going to be around quite a while longer unless they actually stop making the FAX machines and force people to use something else. Cheers, Gabe On Mon, Mar 8, 2010 at 2:02 PM, Brian West wrote: > Thats unacceptable!!! Wait its faxing... can't we just let it DIE > already?? They have this thing called email... you should check it out... > works great... even lets you attach video, audio and color images.... oh and > text... dreary old text.... but hey you can mark it all up in HTML and fancy > fonts now and make it anoying^H^H^H^H^H^H^Hpretty. > > /b > > On Mar 8, 2010, at 3:54 PM, Klaus Hochlehnert wrote: > > > Together with HylaFAX+ the success rate is ok (unfortunately not > perfect). > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/5b866756/attachment.html From brian at freeswitch.org Mon Mar 8 14:46:44 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 16:46:44 -0600 Subject: [Freeswitch-users] Attrafax In-Reply-To: <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> Message-ID: There is no such thing as security when humans are involved in the relay of information. Thats fact. HIPAA is a joke. PCI is a joke... they all don't get it. Humans are involved its not secure. /b On Mar 8, 2010, at 4:39 PM, Gabriel Kuri wrote: > While I'd love to see FAXing just die, especially with the amount of headache associated with it, the reality is that specific organizations still rely on it heavily on a daily basis (ie Health Care and Banking/Finance Industry). Plus they can legally get away with FAXing personal data directly between machines, since the FAX transmission doesn't seem to be directly covered by all their respective privacy regultions (ie HIPAA, PCI, etc.), unless of course it's a FAX-to-email service. Plus most of these organizations just don't have the internal expertise to setup end-to-end encrypted email nor the impetus to deal with it, since FAXing works fine in their eyes. I think it's going to be around quite a while longer unless they actually stop making the FAX machines and force people to use something else. > > Cheers, > Gabe From javieraristizabal at gmail.com Mon Mar 8 14:47:02 2010 From: javieraristizabal at gmail.com (=?ISO-8859-1?Q?Javier_Aristiz=E1bal?=) Date: Mon, 8 Mar 2010 17:47:02 -0500 Subject: [Freeswitch-users] CID Question: How pass the CID? In-Reply-To: <87f2f3b91003081435ie5fb465q951490f66a505824@mail.gmail.com> References: <87f2f3b91003081435ie5fb465q951490f66a505824@mail.gmail.com> Message-ID: Many Thanks Michael :) /Javier On Mon, Mar 8, 2010 at 5:35 PM, Michael Collins wrote: > > > 2010/3/8 Javier Aristiz?bal > >> Brian. i did with the sip_from_uri, and it is working.. >> >> Many thanks >> >> /Javier >> > > FYI, > > I couldn't find this specific tip in the wiki so I added it here: > http://wiki.freeswitch.org/wiki/Variable_sip_from_uri#sip_from_uri > > -MC > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/2e38a2d7/attachment.html From Mailings at kh-dev.de Mon Mar 8 14:58:39 2010 From: Mailings at kh-dev.de (Klaus Hochlehnert) Date: Mon, 8 Mar 2010 23:58:39 +0100 Subject: [Freeswitch-users] Attrafax In-Reply-To: <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> Message-ID: Me too. I'd also like to see it die. But honestly I know a lot of small and medium business companies that really rely on faxing. And for some parts it's much easier than using email. Just say if you get a piece of paper from your tax office and want to send it to your tax consultant. - Put it in the fax and send it or - Scan this piece of paper, save it to the disk, find it (which is btw the most challenging part for most people) and send it by email (most SMB companies don't even have a scanner attached to their PC) So most people prefer the faxing way... J Klaus From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Gabriel Kuri Sent: Monday, March 08, 2010 11:39 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Attrafax While I'd love to see FAXing just die, especially with the amount of headache associated with it, the reality is that specific organizations still rely on it heavily on a daily basis (ie Health Care and Banking/Finance Industry). Plus they can legally get away with FAXing personal data directly between machines, since the FAX transmission doesn't seem to be directly covered by all their respective privacy regultions (ie HIPAA, PCI, etc.), unless of course it's a FAX-to-email service. Plus most of these organizations just don't have the internal expertise to setup end-to-end encrypted email nor the impetus to deal with it, since FAXing works fine in their eyes. I think it's going to be around quite a while longer unless they actually stop making the FAX machines and force people to use something else. Cheers, Gabe On Mon, Mar 8, 2010 at 2:02 PM, Brian West > wrote: Thats unacceptable!!! Wait its faxing... can't we just let it DIE already?? They have this thing called email... you should check it out... works great... even lets you attach video, audio and color images.... oh and text... dreary old text.... but hey you can mark it all up in HTML and fancy fonts now and make it anoying^H^H^H^H^H^H^Hpretty. /b On Mar 8, 2010, at 3:54 PM, Klaus Hochlehnert wrote: > Together with HylaFAX+ the success rate is ok (unfortunately not perfect). _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/7d989eb6/attachment.html From dave at 3c.co.uk Mon Mar 8 15:01:04 2010 From: dave at 3c.co.uk (David Knell) Date: Mon, 8 Mar 2010 20:01:04 -0300 Subject: [Freeswitch-users] Attrafax References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com><4B951E63.6060200@coppice.org><4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> Message-ID: And don't forget the propensity of (wholesale) VoIP providers to require an NDA to be faxed (or, if you're lucky, scanned and e-mailed) before discussing pricing. Without wishing to digress further, I find this utterly absurd, and I've yet to find a satisfactory explanation of why it should be. --Dave ----- Original Message ----- From: Gabriel Kuri To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 08, 2010 7:39 PM Subject: Re: [Freeswitch-users] Attrafax While I'd love to see FAXing just die, especially with the amount of headache associated with it, the reality is that specific organizations still rely on it heavily on a daily basis (ie Health Care and Banking/Finance Industry). Plus they can legally get away with FAXing personal data directly between machines, since the FAX transmission doesn't seem to be directly covered by all their respective privacy regultions (ie HIPAA, PCI, etc.), unless of course it's a FAX-to-email service. Plus most of these organizations just don't have the internal expertise to setup end-to-end encrypted email nor the impetus to deal with it, since FAXing works fine in their eyes. I think it's going to be around quite a while longer unless they actually stop making the FAX machines and force people to use something else. Cheers, Gabe On Mon, Mar 8, 2010 at 2:02 PM, Brian West wrote: Thats unacceptable!!! Wait its faxing... can't we just let it DIE already?? They have this thing called email... you should check it out... works great... even lets you attach video, audio and color images.... oh and text... dreary old text.... but hey you can mark it all up in HTML and fancy fonts now and make it anoying^H^H^H^H^H^H^Hpretty. /b On Mar 8, 2010, at 3:54 PM, Klaus Hochlehnert wrote: > Together with HylaFAX+ the success rate is ok (unfortunately not perfect). _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100308/8365d631/attachment.html From Mailings at kh-dev.de Mon Mar 8 15:02:38 2010 From: Mailings at kh-dev.de (Klaus Hochlehnert) Date: Tue, 9 Mar 2010 00:02:38 +0100 Subject: [Freeswitch-users] Facebook... Message-ID: Hi Guys, just saw that you already have a Facebook entry. Wouldn't it be possible to connect the news/twitter feeds somehow with Facebook? I'd really like to see all news on Facebook... Cheers, Klaus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/465cdb45/attachment-0001.html From brian at freeswitch.org Mon Mar 8 15:05:56 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 17:05:56 -0600 Subject: [Freeswitch-users] Attrafax In-Reply-To: References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com><4B951E63.6060200@coppice.org><4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> Message-ID: <2650A49F-DEC5-4A83-8FA5-7A52B9156091@freeswitch.org> Why on earth do you need an NDA for prices or any info a provider can send you... sounds pretty lame to me... /b On Mar 8, 2010, at 5:01 PM, David Knell wrote: > And don't forget the propensity of (wholesale) VoIP providers to require an NDA to be faxed (or, if you're lucky, scanned and e-mailed) before discussing pricing. > > Without wishing to digress further, I find this utterly absurd, and I've yet to find a satisfactory explanation of why it should be. > > --Dave > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/f6e7a060/attachment.html From brian at microcomaustralia.com.au Mon Mar 8 15:08:56 2010 From: brian at microcomaustralia.com.au (Brian May) Date: Tue, 9 Mar 2010 10:08:56 +1100 Subject: [Freeswitch-users] Attrafax In-Reply-To: <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> Message-ID: <3c5cf5261003081508p710c2461g245a688d01f55897@mail.gmail.com> On 9 March 2010 09:39, Gabriel Kuri wrote: > Plus they can legally get away with FAXing personal data directly between machines [...] It is not that uncommon to accidentally send a confidential fax to the wrong telephone number ... :-( I have a vague recollection of an incident here where it had been discovered the government in power had been sending confidential faxes to a member of the opposition for months until they realized their records hadn't been updated properly since the last election. Oops. -- Brian May From msc at freeswitch.org Mon Mar 8 15:10:59 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 8 Mar 2010 15:10:59 -0800 Subject: [Freeswitch-users] What is the best way implement the follow me for a extension In-Reply-To: <8a19bf2e1003081433m5613ce75sba62ef433042fbe8@mail.gmail.com> References: <8a19bf2e1003081433m5613ce75sba62ef433042fbe8@mail.gmail.com> Message-ID: <87f2f3b91003081510v6c920f4ahe7c791d2de55e9c8@mail.gmail.com> On Mon, Mar 8, 2010 at 2:33 PM, Aloysius Lloyd wrote: > Hi All, > > I would like to setup follow me dialplan for individual extensions. Some > extensions need a follow-me and some not. If the the follow-me not reach any > live person the call should go to the FreeSWTICH voicemail.I have the > extensions range from 201 -209. Also I am using the following Default dial > plan to call between extensions. > > > > > > > > > > > > > > > > > data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/> > data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/> > data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name} > var callgroup)}"/> > > data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/> > > > > > > > > I use the wiki samples to make a follow me dial plan for extension 201. > Here is the dial plan. > > > > > > > > > > /> > > > > > > > > Call to extension 201 , there are two dialplan matching the request. > Either Local_Extension or follwme_201. Which order freeswtich select? > It will match whichever one comes first in the file. You could, for example, put this 201 extension above the Local_Extension. You could also put a custom chan var in the user directory for those who need the follow-me. Then you could have two conditions, both of which need to match: ... ... Then in the user setup in the directory add the followme variable only to those who need it. You can also add a variable for the followme phone number if you want. Inside the node just add whatever you want: Or even Then you could use ${followme_number} in your bridge like this: Or ${followme_dialstring} like this: Make sense? :) Give it a try and report back your success/failure/questions/comments/etc. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/7ed4a698/attachment.html From anthony.minessale at gmail.com Mon Mar 8 15:20:04 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 8 Mar 2010 17:20:04 -0600 Subject: [Freeswitch-users] mod_spidermonkey In-Reply-To: <4B9562E2.7000207@packetfoundry.net> References: <4B95338E.8030709@packetfoundry.net> <84B95AC3-3312-4555-B1DD-F52881262F9B@freeswitch.org> <4B9562E2.7000207@packetfoundry.net> Message-ID: <191c3a031003081520y1c2c8bf2r9be0121b28273f0e@mail.gmail.com> Posting bugs to jira then posting to the mailing list asking us to look at it is bad etiquette btw. We already have notification when the bug is posted. On Mon, Mar 8, 2010 at 2:49 PM, Matt Putnam wrote: > Posted mine up as well. > > > On 3/8/2010 2:33 PM, Brian West wrote: > > cd /usr/local/freeswitch/mod > ldd mod_spidermonkey.so > > And post it to that jira. > > /b > > On Mar 8, 2010, at 11:27 AM, Matt Putnam wrote: > > > http://jira.freeswitch.org/browse/MODLANG-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > > Has anyone found a solution to the above issue? I am having the same > issue on CentOS 5.4 with freeswitch version 1.0.5-20100303-0400. > > > Thanks, > Matt > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://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 > > -- 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 iax:guest at conference.freeswitch.org/888 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/20100308/544d2f76/attachment-0001.html From dave at 3c.co.uk Mon Mar 8 15:21:53 2010 From: dave at 3c.co.uk (David Knell) Date: Mon, 8 Mar 2010 20:21:53 -0300 Subject: [Freeswitch-users] Attrafax References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com><4B951E63.6060200@coppice.org><4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com><8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> Message-ID: Quite. Douglas Adams hit many nails on the head: here's one of them: "We are stuck with technology when what we really want is just stuff that works." If you want a real challenge, try to fax a document using a WiFi scanner, a Linux box and Pamfax (or pretty much any other online fax service): by the time you get to xsane, you will be.. --Dave Me too. I'd also like to see it die. But honestly I know a lot of small and medium business companies that really rely on faxing. And for some parts it's much easier than using email. Just say if you get a piece of paper from your tax office and want to send it to your tax consultant. - Put it in the fax and send it or - Scan this piece of paper, save it to the disk, find it (which is btw the most challenging part for most people) and send it by email (most SMB companies don't even have a scanner attached to their PC) So most people prefer the faxing way... J Klaus From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Gabriel Kuri Sent: Monday, March 08, 2010 11:39 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Attrafax While I'd love to see FAXing just die, especially with the amount of headache associated with it, the reality is that specific organizations still rely on it heavily on a daily basis (ie Health Care and Banking/Finance Industry). Plus they can legally get away with FAXing personal data directly between machines, since the FAX transmission doesn't seem to be directly covered by all their respective privacy regultions (ie HIPAA, PCI, etc.), unless of course it's a FAX-to-email service. Plus most of these organizations just don't have the internal expertise to setup end-to-end encrypted email nor the impetus to deal with it, since FAXing works fine in their eyes. I think it's going to be around quite a while longer unless they actually stop making the FAX machines and force people to use something else. Cheers, Gabe On Mon, Mar 8, 2010 at 2:02 PM, Brian West wrote: Thats unacceptable!!! Wait its faxing... can't we just let it DIE already?? They have this thing called email... you should check it out... works great... even lets you attach video, audio and color images.... oh and text... dreary old text.... but hey you can mark it all up in HTML and fancy fonts now and make it anoying^H^H^H^H^H^H^Hpretty. /b On Mar 8, 2010, at 3:54 PM, Klaus Hochlehnert wrote: > Together with HylaFAX+ the success rate is ok (unfortunately not perfect). _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100308/377be12b/attachment.html From gavin.henry at gmail.com Mon Mar 8 15:22:58 2010 From: gavin.henry at gmail.com (Gavin Henry) Date: Mon, 8 Mar 2010 23:22:58 +0000 Subject: [Freeswitch-users] mod_spidermonkey In-Reply-To: <4B9562E2.7000207@packetfoundry.net> References: <4B95338E.8030709@packetfoundry.net> <84B95AC3-3312-4555-B1DD-F52881262F9B@freeswitch.org> <4B9562E2.7000207@packetfoundry.net> Message-ID: <13ca621c1003081522h422e225brcda68f4b1ecdc76c@mail.gmail.com> Hi, That was my bug report. I gave up asking in the #freeswitch channel and tried to fix it myself. I'm running the debian build from trunk that you build yourself to produce debs. Mod_spidermoney compiled correctly and is now running. I forgot to add this info to the JIRA ticket as that is the best place for code support/issued rather than irc. Thanks, Gavin. On 08/03/2010, Matt Putnam wrote: > Posted mine up as well. > > On 3/8/2010 2:33 PM, Brian West wrote: >> cd /usr/local/freeswitch/mod >> ldd mod_spidermonkey.so >> >> And post it to that jira. >> >> /b >> >> On Mar 8, 2010, at 11:27 AM, Matt Putnam wrote: >> >>> http://jira.freeswitch.org/browse/MODLANG-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel >>> >>> Has anyone found a solution to the above issue? I am having the same >>> issue on CentOS 5.4 with freeswitch version 1.0.5-20100303-0400. >>> >>> >>> Thanks, >>> Matt >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > -- Sent from my mobile device http://www.suretecsystems.com/services/openldap/ http://www.suretectelecom.com From lloyd.aloysius at gmail.com Mon Mar 8 15:24:16 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Mon, 8 Mar 2010 18:24:16 -0500 Subject: [Freeswitch-users] What is the best way implement the follow me for a extension In-Reply-To: <87f2f3b91003081510v6c920f4ahe7c791d2de55e9c8@mail.gmail.com> References: <8a19bf2e1003081433m5613ce75sba62ef433042fbe8@mail.gmail.com> <87f2f3b91003081510v6c920f4ahe7c791d2de55e9c8@mail.gmail.com> Message-ID: <8a19bf2e1003081524g1b159aa9l8bc9ec1d66ac3e36@mail.gmail.com> Michael, Thank you for the suggestion. This suggestion make sense and a proper way to implement the follow me. . Thanks Lloyd On Mon, Mar 8, 2010 at 6:10 PM, Michael Collins wrote: > > > On Mon, Mar 8, 2010 at 2:33 PM, Aloysius Lloyd wrote: > >> Hi All, >> >> I would like to setup follow me dialplan for individual extensions. Some >> extensions need a follow-me and some not. If the the follow-me not reach any >> live person the call should go to the FreeSWTICH voicemail.I have the >> extensions range from 201 -209. Also I am using the following Default dial >> plan to call between extensions. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/> >> > data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/> >> > data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name} >> var callgroup)}"/> >> >> > data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/> >> >> >> >> >> >> >> >> I use the wiki samples to make a follow me dial plan for extension 201. >> Here is the dial plan. >> >> >> >> >> >> >> >> >> >> > data="sofia/gateway/voicepulse/14161235555" /> >> >> >> >> >> >> >> >> Call to extension 201 , there are two dialplan matching the request. >> Either Local_Extension or follwme_201. Which order freeswtich select? >> > > It will match whichever one comes first in the file. You could, for > example, put this 201 extension above the Local_Extension. You could also > put a custom chan var in the user directory for those who need the > follow-me. Then you could have two conditions, both of which need to match: > > > > > > ... > > > > > > > > ... > > > > Then in the user setup in the directory add the followme variable only to > those who need it. You can also add a variable for the followme phone number > if you want. Inside the node just add whatever you want: > > > > Or even > value="sofia/gateway/voicepulse/14161235555"/> > > Then you could use ${followme_number} in your bridge like this: > > > > Or ${followme_dialstring} like this: > > > Make sense? :) > > Give it a try and report back your success/failure/questions/comments/etc. > -MC > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/1cb0ff96/attachment-0001.html From msc at freeswitch.org Mon Mar 8 15:28:50 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 8 Mar 2010 15:28:50 -0800 Subject: [Freeswitch-users] Attrafax In-Reply-To: References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> Message-ID: <87f2f3b91003081528o6d716414h85b607897b2ab13b@mail.gmail.com> On Mon, Mar 8, 2010 at 2:58 PM, Klaus Hochlehnert wrote: > Me too. I?d also like to see it die. > > > > But honestly I know a lot of small and medium business companies that > really rely on faxing. > > And for some parts it?s much easier than using email. Just say if you get a > piece of paper from your tax office and want to send it to your tax > consultant. > > - Put it in the fax and send it > > or > > - Scan this piece of paper, save it to the disk, find it (which is btw the > most challenging part for most people) and > Or get a device that will just do the scan & email in one fell swoop. You could even encrypt before sending and then the person would have to contact you to get the key before opening it. Not 100% foolproof but it would prevent the silly, oops, I sent your personal information to the wrong email address/fax machine. Just think, you could have the convenience of a fax and relatively secure storage of incoming and outgoing transmissions. Of course, wanting to cling to 1970's technology is something I can understand. Who wouldn't want to keep all those Bee Gees and Abba LP's? -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/469ecefb/attachment.html From freeswitch.org at todandlorna.com Mon Mar 8 15:30:16 2010 From: freeswitch.org at todandlorna.com (Tod Hansmann) Date: Mon, 08 Mar 2010 16:30:16 -0700 Subject: [Freeswitch-users] Attrafax In-Reply-To: <2650A49F-DEC5-4A83-8FA5-7A52B9156091@freeswitch.org> References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com><4B951E63.6060200@coppice.org><4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> <2650A49F-DEC5-4A83-8FA5-7A52B9156091@freeswitch.org> Message-ID: <4B958888.7080902@todandlorna.com> There exists a large number of companies that make large profits largely because they sell based on what they think the customer will pay. NDAs keep customers from comparing prices, and competitors from competing on price. This has been a pretty common telecom practice, though not NDA specifically. This is why the "let me see a copy of your phone bill" line is so ill-advised to be substantiated when talking to a new provider. If you give them your phone bill, they know exactly where the bar must be set to win. -Tod Hansmann On 3/8/2010 4:05 PM, Brian West wrote: > Why on earth do you need an NDA for prices or any info a provider can > send you... sounds pretty lame to me... > > /b > > On Mar 8, 2010, at 5:01 PM, David Knell wrote: > >> And don't forget the propensity of (wholesale) VoIP providers to >> require an NDA to be faxed (or, if you're lucky, scanned and >> e-mailed) before discussing pricing. >> Without wishing to digress further, I find this utterly absurd, and >> I've yet to find a satisfactory explanation of why it should be. >> --Dave >> >> > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/5c70c69e/attachment.html From freeswitch.org at todandlorna.com Mon Mar 8 15:30:34 2010 From: freeswitch.org at todandlorna.com (Tod Hansmann) Date: Mon, 08 Mar 2010 16:30:34 -0700 Subject: [Freeswitch-users] Facebook... In-Reply-To: References: Message-ID: <4B95889A.1090907@todandlorna.com> There are a number of services that do so. Implementing them wouldn't be trivial, but it would be close. -Tod Hansmann On 3/8/2010 4:02 PM, Klaus Hochlehnert wrote: > > Hi Guys, > > just saw that you already have a Facebook entry. > > Wouldn't it be possible to connect the news/twitter feeds somehow with > Facebook? > > I'd really like to see all news on Facebook... > > Cheers, > > Klaus > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/1a9d940f/attachment.html From brian at freeswitch.org Mon Mar 8 15:34:00 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 17:34:00 -0600 Subject: [Freeswitch-users] Facebook... In-Reply-To: <4B95889A.1090907@todandlorna.com> References: <4B95889A.1090907@todandlorna.com> Message-ID: <5D0F46F9-5977-4095-AAEB-49CE5A0D0BD6@freeswitch.org> Would love to have someone step in and help with these types of things. As it stands I fight for the time to sleep. :P /b On Mar 8, 2010, at 5:30 PM, Tod Hansmann wrote: > There are a number of services that do so. Implementing them wouldn't be trivial, but it would be close. > > -Tod Hansmann From Mailings at kh-dev.de Mon Mar 8 15:48:06 2010 From: Mailings at kh-dev.de (Klaus Hochlehnert) Date: Tue, 9 Mar 2010 00:48:06 +0100 Subject: [Freeswitch-users] Facebook... In-Reply-To: <5D0F46F9-5977-4095-AAEB-49CE5A0D0BD6@freeswitch.org> References: <4B95889A.1090907@todandlorna.com> <5D0F46F9-5977-4095-AAEB-49CE5A0D0BD6@freeswitch.org> Message-ID: I just found a (German) help on how to do this. Looks like there's a Facebook app that can do this http://help.twitter.com/entries/86007-erste-schritte-twitter-auf-facebook If it's as easy as they describe I could help. I've never done this before, but I'm willing to learn... ;-) -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Tuesday, March 09, 2010 12:34 AM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Facebook... Would love to have someone step in and help with these types of things. As it stands I fight for the time to sleep. :P /b On Mar 8, 2010, at 5:30 PM, Tod Hansmann wrote: > There are a number of services that do so. Implementing them wouldn't be trivial, but it would be close. > > -Tod Hansmann _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 Mar 8 15:57:25 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 8 Mar 2010 17:57:25 -0600 Subject: [Freeswitch-users] Attrafax In-Reply-To: <4B958888.7080902@todandlorna.com> References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> <2650A49F-DEC5-4A83-8FA5-7A52B9156091@freeswitch.org> <4B958888.7080902@todandlorna.com> Message-ID: <191c3a031003081557j17de448dmbc8253f1dfd45f80@mail.gmail.com> All these threads seem to go off on on tangents, seems at least a lot of people are reading it so..... This thread brought to you by ClueCon MMX! register today http://www.cluecon.com Hey, it was worth a shot, maybe we can do a presentation on t38 in FS (if we ever get the time to finish it). On Mon, Mar 8, 2010 at 5:30 PM, Tod Hansmann wrote: > There exists a large number of companies that make large profits largely > because they sell based on what they think the customer will pay. NDAs keep > customers from comparing prices, and competitors from competing on price. > This has been a pretty common telecom practice, though not NDA > specifically. This is why the "let me see a copy of your phone bill" line > is so ill-advised to be substantiated when talking to a new provider. If > you give them your phone bill, they know exactly where the bar must be set > to win. > > -Tod Hansmann > > > On 3/8/2010 4:05 PM, Brian West wrote: > > Why on earth do you need an NDA for prices or any info a provider can send > you... sounds pretty lame to me... > > /b > > On Mar 8, 2010, at 5:01 PM, David Knell wrote: > > And don't forget the propensity of (wholesale) VoIP providers to require > an NDA to be faxed (or, if you're lucky, scanned and e-mailed) before > discussing pricing. > > Without wishing to digress further, I find this utterly absurd, and I've > yet to find a satisfactory explanation of why it should be. > > --Dave > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://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 > > -- 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 iax:guest at conference.freeswitch.org/888 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/20100308/8d2f8c3c/attachment-0001.html From steveu at coppice.org Mon Mar 8 16:34:36 2010 From: steveu at coppice.org (Steve Underwood) Date: Tue, 09 Mar 2010 08:34:36 +0800 Subject: [Freeswitch-users] Attrafax In-Reply-To: References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> Message-ID: <4B95979C.7070206@coppice.org> On 03/09/2010 05:54 AM, Klaus Hochlehnert wrote: > Hi > > you could also use newest trunk of t38modem + trunk of OPAL. > The newest trunk version(s) use SpanDSP as fax engine and it works more reliable than the previous t38 engine (I think it was integrated in OPAL). > It also supports fallback to t30 audio fax if you're connected to ISDN network. > > Together with HylaFAX+ the success rate is ok (unfortunately not perfect). > > Klaus > The success rate with the latest opal + spandsp code should be about as about good as your system is capable of giving. That is, most failures will either be: - that the call is just a bad call - wrong number, messed up FAX machine usage, etc. - your systems is dropping packets or otherwise screwing up the timing. - T.38 negotiation is screwing up, because T.38 compatibility is still a mess. The last one is such a problem for the whole industry, the SIP Forum has a working group to address it. Steve From steveu at coppice.org Mon Mar 8 16:38:02 2010 From: steveu at coppice.org (Steve Underwood) Date: Tue, 09 Mar 2010 08:38:02 +0800 Subject: [Freeswitch-users] Attrafax In-Reply-To: <2650A49F-DEC5-4A83-8FA5-7A52B9156091@freeswitch.org> References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com><4B951E63.6060200@coppice.org><4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> <2650A49F-DEC5-4A83-8FA5-7A52B9156091@freeswitch.org> Message-ID: <4B95986A.4020708@coppice.org> On 03/09/2010 07:05 AM, Brian West wrote: > Why on earth do you need an NDA for prices or any info a provider can > send you... sounds pretty lame to me... > > /b Lame? The essence of effective negotiating is to keep all the parties involved divided, and each thinking they got a great deal. "Don't tell the others about this price offer, will you" tends to mean "if you talk about these prices, you might find others are paying less". Steve > > On Mar 8, 2010, at 5:01 PM, David Knell wrote: > >> And don't forget the propensity of (wholesale) VoIP providers to >> require an NDA to be faxed (or, if you're lucky, scanned and >> e-mailed) before discussing pricing. >> Without wishing to digress further, I find this utterly absurd, and >> I've yet to find a satisfactory explanation of why it should be. >> --Dave >> From will.traenkle at yahoo.com Mon Mar 8 16:45:10 2010 From: will.traenkle at yahoo.com (William Traenkle) Date: Mon, 8 Mar 2010 16:45:10 -0800 (PST) Subject: [Freeswitch-users] hunt group - play music when trying external numbers Message-ID: <304682.93065.qm@web57605.mail.re1.yahoo.com> I did not see this message go through yet so I removed the code I originally had pasted and am resending it. FS Community, I am new to freeSWITCH and this mailing list and I appreciate your support in advance. My Goal: To create a hunt group x7000 that sequentially dials an internal extension, i.e. x1000, and then a cell phone number, i.e. 6194548924, while playing music the entire time when each number is being tried. The Issue: This was working great a few months back, but now music plays when only when x1000 is tried but NOT when the cell phone is tried. Ideas? Please advise. Thanks. -Will -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/6c1f5731/attachment.html From msc at freeswitch.org Mon Mar 8 16:55:28 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 8 Mar 2010 16:55:28 -0800 Subject: [Freeswitch-users] hunt group - play music when trying external numbers In-Reply-To: <304682.93065.qm@web57605.mail.re1.yahoo.com> References: <304682.93065.qm@web57605.mail.re1.yahoo.com> Message-ID: <87f2f3b91003081655o5e1adf0ap868ec31b0631aab6@mail.gmail.com> I thought someone responded already and asked that you confirm that you are ignoring early media in your bridge line... -MC On Mon, Mar 8, 2010 at 4:45 PM, William Traenkle wrote: > I did not see this message go through yet so I removed the code I > originally had pasted and am resending it. > > FS Community, > > I am new to freeSWITCH and this mailing list and I appreciate your support > in advance. > > My Goal: To create a hunt group x7000 that sequentially dials an internal > extension, i.e. x1000, and then a cell phone number, i.e. 6194548924, while > playing music the entire time when each number is being tried. > > The Issue: This was working great a few months back, but now music plays > when only when x1000 is tried but NOT when the cell phone is tried. > > Ideas? Please advise. > > Thanks. > > -Will > > > > > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/79efd63a/attachment.html From dujinfang at gmail.com Mon Mar 8 17:01:42 2010 From: dujinfang at gmail.com (Seven Du) Date: Tue, 9 Mar 2010 09:01:42 +0800 Subject: [Freeswitch-users] Which Lua script am I? In-Reply-To: <5d2828f1003080900q36f907f5r10044cc295b47608@mail.gmail.com> References: <5d2828f1003051104g6011c17w1a669faded390a42@mail.gmail.com> <87f2f3b91003051116p524bc237wca60baa697b99789@mail.gmail.com> <5d2828f1003051132m7af18875i49567dc0f3a788ce@mail.gmail.com> <5d2828f1003051138n5b755291vfcd2c9f5ff34bc08@mail.gmail.com> <5084F072-9194-4461-930B-C79AFD978944@freeswitch.org> <5d2828f1003051159i48107791m58730e23fe9291e9@mail.gmail.com> <5d2828f1003051217g52dd8574t81c9bb349e6a1e63@mail.gmail.com> <23f91031003051928j6d0c8f82mbf22483a6c3b06ad@mail.gmail.com> <5d2828f1003080900q36f907f5r10044cc295b47608@mail.gmail.com> Message-ID: <23f91031003081701h4841f7e7x69def77879707117@mail.gmail.com> The patch was committed on 15433. Though I haven't start to use that. Which version are you on? http://jira.freeswitch.org/browse/MODLANG-122 2010/3/9 Mike van Lammeren : > Actually, I don't believe that does work. At least, not on my system. Trying > to access argv[0] just produces a lua error about "concatenating a nil > value." > > On Fri, Mar 5, 2010 at 10:28 PM, Seven Du wrote: >> >> and also you can get the script name from argv[0] if you name you >> script in different names >> >> 2010/3/6 Mike van Lammeren : >> > In case anyone's interested, I just found something cool. You can pass >> > parameters to the Lua script from the lua.conf.xml file, like so: >> > ?? ? >> > ?? ? >> > ?? ? >> > I can see that being useful. >> > Mike van Lammeren >> > >> > On Fri, Mar 5, 2010 at 2:59 PM, Mike van Lammeren >> > >> > wrote: >> >> >> >> Thanks so much, everyone! Awesome advice, as usual! >> >> Due to a deadline situation, I'm going with the Lua script idea. >> >> However, >> >> if it gives us any trouble after the looming deadline, then I will >> >> definitely go the C route. >> >> Thanks again! >> >> Mike van Lammeren >> >> >> >> On Fri, Mar 5, 2010 at 2:42 PM, Brian West >> >> wrote: >> >>> >> >>> Write it in C and use the FreeSWITCH task scheduler API. >> >>> >> >>> /b >> >>> >> >>> On Mar 5, 2010, at 1:38 PM, Mike van Lammeren wrote: >> >>> >> >>> > All the same, I'm still open to suggestions on better ways to >> >>> > achieve >> >>> > my ultimate goals! >> >>> >> >>> >> >>> _______________________________________________ >> >>> FreeSWITCH-users mailing list >> >>> FreeSWITCH-users at 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 >> > >> > >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > From null at invalid.name Mon Mar 8 17:05:34 2010 From: null at invalid.name (Dan Lane) Date: Tue, 9 Mar 2010 01:05:34 +0000 Subject: [Freeswitch-users] Facebook... In-Reply-To: <5D0F46F9-5977-4095-AAEB-49CE5A0D0BD6@freeswitch.org> References: <4B95889A.1090907@todandlorna.com> <5D0F46F9-5977-4095-AAEB-49CE5A0D0BD6@freeswitch.org> Message-ID: On Mon, Mar 8, 2010 at 11:34 PM, Brian West wrote: > Would love to have someone step in and help with these types of things. ?As it stands I fight for the time to sleep. ?:P I could probably spare some time each week looking after social media / news stuff for freeswitch if required. ISTR I've got you on Jabber (null at invalid.name) so grab me off-list to discuss. From brian at freeswitch.org Mon Mar 8 17:07:55 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 19:07:55 -0600 Subject: [Freeswitch-users] SILK Codec Message-ID: <82160CC4-25E5-453F-8FD6-4889F9902682@freeswitch.org> We now have mod_silk in tree it has only been tested on Linux so far. The silk library itself was released in the IETF draft only an hour and twenty minutes ago. I wrote a perl script to extract the source from the draft. Checked in the lib and the codec module which I had written to the binary lib I had a few months ago. It has more work to do... but its there if anyone wants to chip in and libtoolize the library, revamp the build system and assist in testing the codec on multiple platforms. Thanks, Brian From dave at 3c.co.uk Mon Mar 8 17:20:03 2010 From: dave at 3c.co.uk (David Knell) Date: Mon, 8 Mar 2010 22:20:03 -0300 Subject: [Freeswitch-users] Attrafax References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com><4B951E63.6060200@coppice.org><4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> <2650A49F-DEC5-4A83-8FA5-7A52B9156091@freeswitch.org> <4B958888.7080902@todandlorna.com> Message-ID: <90C16E97D2234FD58E5099C04329ACC3@DELL9> Hi Tod, You might be right in certain circumstances, but, in wholesale telecoms, it's pretty easy to get a good idea of where rates for particular destinations are. Find a collection of ratecards by typing 'wholesale sip termination' into Google and it quickly becomes pretty obvious what's competitive and what isn't. NDAs are completely superfluous, especially considering that so much buying is done on price. If I've not got a good reason to want to terminate traffic through you (i.e. you're not AT&T or Verizon or the like), then I'm unlikely to want to go to the trouble of signing an NDA just to see how much your product costs. --Dave ----- Original Message ----- From: Tod Hansmann To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 08, 2010 8:30 PM Subject: Re: [Freeswitch-users] Attrafax There exists a large number of companies that make large profits largely because they sell based on what they think the customer will pay. NDAs keep customers from comparing prices, and competitors from competing on price. This has been a pretty common telecom practice, though not NDA specifically. This is why the "let me see a copy of your phone bill" line is so ill-advised to be substantiated when talking to a new provider. If you give them your phone bill, they know exactly where the bar must be set to win. -Tod Hansmann On 3/8/2010 4:05 PM, Brian West wrote: Why on earth do you need an NDA for prices or any info a provider can send you... sounds pretty lame to me... /b On Mar 8, 2010, at 5:01 PM, David Knell wrote: And don't forget the propensity of (wholesale) VoIP providers to require an NDA to be faxed (or, if you're lucky, scanned and e-mailed) before discussing pricing. Without wishing to digress further, I find this utterly absurd, and I've yet to find a satisfactory explanation of why it should be. --Dave _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100308/58d4cc5c/attachment-0001.html From jaybinks at gmail.com Mon Mar 8 17:27:57 2010 From: jaybinks at gmail.com (jay binks) Date: Tue, 9 Mar 2010 11:27:57 +1000 Subject: [Freeswitch-users] SILK Codec In-Reply-To: <82160CC4-25E5-453F-8FD6-4889F9902682@freeswitch.org> References: <82160CC4-25E5-453F-8FD6-4889F9902682@freeswitch.org> Message-ID: this is what I love about Freeswitch, and the FS development team. Well done Brian ( and the rest of the team ). Jay On Tue, Mar 9, 2010 at 11:07 AM, Brian West wrote: > We now have mod_silk in tree it has only been tested on Linux so far. The > silk library itself was released in the IETF draft only an hour and twenty > minutes ago. I wrote a perl script to extract the source from the draft. > Checked in the lib and the codec module which I had written to the binary > lib I had a few months ago. > > It has more work to do... but its there if anyone wants to chip in and > libtoolize the library, revamp the build system and assist in testing the > codec on multiple platforms. > > Thanks, > Brian > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100309/99012af1/attachment.html From infos at madovsky.org Mon Mar 8 17:45:54 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 8 Mar 2010 20:45:54 -0500 Subject: [Freeswitch-users] create phone user extension Message-ID: to create a phone user extension, is it need to have his account in conf/directory/default for default.xml ? if yes so I don't understand why I can register with extension 1003 if there are only 1000-1002 in conf/directory I use the defaults FS config Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/c05c0032/attachment.html From mayamatakeshi at gmail.com Mon Mar 8 17:59:58 2010 From: mayamatakeshi at gmail.com (mayamatakeshi) Date: Tue, 9 Mar 2010 10:59:58 +0900 Subject: [Freeswitch-users] create phone user extension In-Reply-To: References: Message-ID: <15b9404e1003081759u62d43bbbv73bb597479d93d3@mail.gmail.com> On Tue, Mar 9, 2010 at 10:45 AM, Madovsky wrote: > to create a phone user extension, > is it need to have his account in conf/directory/default for default.xml ? > Yes, but you can also use mod_xml_curl or mod_xml_odbc etc to serve directory info. > if yes so I don't understand why I can register with extension 1003 if > there are only 1000-1002 in conf/directory > I use the defaults FS config > > Is the auth-calls parameter set to true in your sofia profile? If not, anyone can register. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/1e3887f8/attachment.html From infos at madovsky.org Mon Mar 8 18:22:38 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 8 Mar 2010 21:22:38 -0500 Subject: [Freeswitch-users] create phone user extension References: <15b9404e1003081759u62d43bbbv73bb597479d93d3@mail.gmail.com> Message-ID: <338ADF6B976A481D8D191CCD396D98BF@MOBILEE1705> auth-calls are exactly as default install config for now I have 2 freeeswitch with pgsql DB shared. so does it use mod_xml_odbc implicitly ? ----- Original Message ----- From: mayamatakeshi To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 08, 2010 8:59 PM Subject: Re: [Freeswitch-users] create phone user extension On Tue, Mar 9, 2010 at 10:45 AM, Madovsky wrote: to create a phone user extension, is it need to have his account in conf/directory/default for default.xml ? Yes, but you can also use mod_xml_curl or mod_xml_odbc etc to serve directory info. if yes so I don't understand why I can register with extension 1003 if there are only 1000-1002 in conf/directory I use the defaults FS config Is the auth-calls parameter set to true in your sofia profile? If not, anyone can register. ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/fa76dd13/attachment.html From freeswitch at gilligan.id.au Mon Mar 8 18:30:34 2010 From: freeswitch at gilligan.id.au (Chris) Date: Tue, 9 Mar 2010 13:30:34 +1100 Subject: [Freeswitch-users] How to originate a new call from mod_managed? In-Reply-To: <367751821003081204t7b18d8ebkb11bbd27828e01f6@mail.gmail.com> References: <9394d42f1003062102p3d97f86haa81c009f19be817@mail.gmail.com> <367751821003081204t7b18d8ebkb11bbd27828e01f6@mail.gmail.com> Message-ID: <9394d42f1003081830t3257b63av1de166b2ae8038e7@mail.gmail.com> That decently woks to originate the call but passing that UUID into a new ManagedSession does not seem to like to the session created using that UUID. Once i create a session used the API you suggested how would i then access the session in the Managed Code? Chris On Tue, Mar 9, 2010 at 7:04 AM, Phillip Jones wrote: > You could use the api: > > FreeSWITCH.Native.Api fsApi = new FreeSWITCH.Native.Api(); > string apiResult = string.Empty; > string Uuid; > string NumberToDial = "3475558308"; > string OutgoingCallerID = "2155556666"; > > Uuid = fsApi.ExecuteString("create_uuid"); > > apiResult = fsApi.Execute("originate", > string.Format("{{ignore_early_media=false,absolute_codec_string='PCMU'}}[origination_uuid={0},origination_caller_id_number={1}]sofia/gateway/broadvox/{2}", > Uuid, OutgoingCallerID, NumberToDial)); > > > > > > > On Sun, Mar 7, 2010 at 12:02 AM, Chris wrote: > >> Hi, >> I am trying to create a mod_managed API application that takes 2 phone >> numbers as params. These numbers should then be used to make 2 calls and to >> bridge them. The issue i am having is working out how to place the first >> call leg from in mod_managed. All the methods i have found are for the >> second leg and require you to pass in the first call leg. >> >> I know there are easier way to do this out of the managed code but i want >> it in the managed code as this is just a proof of concept to prove we can do >> a callback like system via managed code to be hooked into other external >> systems. >> In wiki http://wiki.freeswitch.org/wiki/Session there is this example >> >> s = new Session("{ignore_early_media=true}sofia/default/foo at bar.com"); >> while (s.ready()) { >> // The call has been answered >> } >> >> This seems to be exactly what i am looking for but seems to be missing >> from mod_managed. I am hoping someone can tell me how to do something >> similar in mod_managed since even if it is not part of the managed code >> mod_managed is meant to have the native access as well so i would assume it >> would be possible. >> >> Thanks in advance >> >> Chris >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100309/ae27b006/attachment.html From mayamatakeshi at gmail.com Mon Mar 8 18:48:08 2010 From: mayamatakeshi at gmail.com (mayamatakeshi) Date: Tue, 9 Mar 2010 11:48:08 +0900 Subject: [Freeswitch-users] create phone user extension In-Reply-To: <338ADF6B976A481D8D191CCD396D98BF@MOBILEE1705> References: <15b9404e1003081759u62d43bbbv73bb597479d93d3@mail.gmail.com> <338ADF6B976A481D8D191CCD396D98BF@MOBILEE1705> Message-ID: <15b9404e1003081848q39332c81s5c7a4c1e4f84fa91@mail.gmail.com> On Tue, Mar 9, 2010 at 11:22 AM, Madovsky wrote: > auth-calls are exactly as default install config > > Take a look at /usr/local/freeswitch/log/freeswitch.xml.fsxml and check what is the value it was resolved at run-time. > for now I have 2 freeeswitch with pgsql DB shared. so does it use > mod_xml_odbc implicitly ? > No. I just said that directory is not restricted to putting files at conf/directory and that you you could use mod_xml_odbc or mod_xml_curl. But if you are using default FS files, then you are not using them. > ----- Original Message ----- > *From:* mayamatakeshi > *To:* freeswitch-users at lists.freeswitch.org > *Sent:* Monday, March 08, 2010 8:59 PM > *Subject:* Re: [Freeswitch-users] create phone user extension > > > On Tue, Mar 9, 2010 at 10:45 AM, Madovsky wrote: > >> to create a phone user extension, >> is it need to have his account in conf/directory/default for default.xml ? >> > > Yes, but you can also use mod_xml_curl or mod_xml_odbc etc to serve > directory info. > > >> if yes so I don't understand why I can register with extension 1003 if >> there are only 1000-1002 in conf/directory >> I use the defaults FS config >> >> > Is the auth-calls parameter set to true in your sofia profile? > > If not, anyone can register. > > ------------------------------ > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100309/b902cafe/attachment-0001.html From nagalenoj at gmail.com Mon Mar 8 20:33:15 2010 From: nagalenoj at gmail.com (Nagalenoj H.) Date: Tue, 9 Mar 2010 10:03:15 +0530 Subject: [Freeswitch-users] recvEventTimed - SERVER_DISCONNECTED In-Reply-To: References: Message-ID: Anything wrong with this question?! I didn't find any replies for this.. On Fri, Mar 5, 2010 at 10:37 AM, Nagalenoj H. wrote: > Dear friends, > I've faced an issue in event socket. I would want to know why it > behaves such a way. > > My program is working with the hep of events. So, based on the > received event, the process will continue it's work. When I need DTMF, I use > recvEventTimed and in the other cases, I use recvEvent. > So, In the mid if caller hangsup, I expect for the SERVER_DISCONNECTED > event. When the caller hangsup when I'm waiting in recvEvent, I'm getting > SERVER_DISCONNECTED. But, when I'm waiting in recvEventTimed, I'mnot > receiving SERVER_DISCONNECTED, instead receiving an undefined value. > > To handle this, I've checked esl connection inside the timeout part and > put a recvEvent, then I receive SERVER_DISCONNECTED. > > My question is, why am I not receiving SERVER_DISCONNECTED when I recv > event using recvEventTimed?! > > This is a sample program I execute, > > require ESL; > use IO::Socket::INET; > > my $ip = "127.0.0.1"; > my $sock = new IO::Socket::INET ( LocalHost => $ip, LocalPort => '9242', > Proto => 'tcp', Listen => 1, Reuse => 1 ); > die "Could not create socket: $!\n" unless $sock; > > for(;;) { > my $new_sock = $sock->accept(); > my $pid = fork(); > if ($pid) { > close($new_sock); > next; > } > > my $host = $new_sock->sockhost(); > my $fd = fileno($new_sock); > > my $con = new ESL::ESLconnection($fd); > my $info = $con->getInfo(); > my $uuid = $info->getHeader("unique-id"); > printf "Connected call %s, from %s\n", $uuid, > $info->getHeader("caller-caller-id-number"); > > my $e = $con->filter("unique-id", $uuid); > if ($e) { > print $e->serialize(); > } else { > printf("WTF?\n"); > } > > $con->events("plain", "SERVER_DISCONNECTED DTMF"); > $con->execute("answer"); > > while($con->connected()) { > $e = $con->recvEvent(); ############# CASE 1 ## > # $e = $con->recvEventTimed(10000); ############# CASE 2 ## > > unless ($e) { > unless ($con->connected()) { > ############################### > $e = $con->recvEvent(); ## > print $e->serialize(); ## Added > code to get SERVER_DISCONNECTED. > print "SERVER_DISCONNECTED"; ## > } > ############################### > print "DTMF timeout\n"; > } > if ($e) { > my $name = $e->getHeader("event-name"); > print "EVENT [$name]\n"; > if ($name eq "DTMF") { > my $digit = $e->getHeader("dtmf-digit"); > my $duration = $e->getHeader("dtmf-duration"); > print "DTMF digit $digit ($duration)\n"; > } > } > } > print "BYE\n"; > close($new_sock); > } > > -- > Regards, > Nagalenoj H. > -- Regards, Nagalenoj H. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/369bae7f/attachment.html From brian at freeswitch.org Mon Mar 8 20:49:02 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 8 Mar 2010 22:49:02 -0600 Subject: [Freeswitch-users] recvEventTimed - SERVER_DISCONNECTED In-Reply-To: References: Message-ID: This is because you're timing out and ending your loop and loosing the event. while($con->connected()) { becomes false and you can't come back around to pickup the event because you would have been disconnected before you had a chance to get the event. recvEventTimed allows you to do other things if you don't receive events in a set amount of time. One example of proper usage on inbound event socket: http://svn.freeswitch.org/svn/freeswitch/trunk/libs/esl/perl/ESL/Dispatch.pm http://svn.freeswitch.org/svn/freeswitch/trunk/libs/esl/perl/dispatch.pl /b On Mar 8, 2010, at 10:33 PM, Nagalenoj H. wrote: > Anything wrong with this question?! I didn't find any replies for this.. From infos at madovsky.org Mon Mar 8 21:58:10 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 9 Mar 2010 00:58:10 -0500 Subject: [Freeswitch-users] sip registrations and postgresql odbc-dsn Message-ID: I noticed that if a registration doesn't close properly and try to reconnect I can see in the table sip_registrations the old reg and new one. is it normal ? if yes, How FS can guess the right registration in case of multiple FS with shared DB ? Thanks Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/591a7a10/attachment.html From brian at freeswitch.org Mon Mar 8 22:13:24 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 9 Mar 2010 00:13:24 -0600 Subject: [Freeswitch-users] sip registrations and postgresql odbc-dsn In-Reply-To: References: Message-ID: <76633F3B-93B1-47CF-A3E8-FDD07FD817D3@freeswitch.org> old reg? what do you mean and how do you mean ? and the hostname is how it tells. On Mar 8, 2010, at 11:58 PM, Madovsky wrote: > I noticed that if a registration doesn't close properly and > try to reconnect I can see in the table sip_registrations the old reg and new one. > is it normal ? if yes, How FS can guess the right registration in case of multiple FS with shared DB ? > > Thanks > > Franck > _______ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/14c4207f/attachment.html From jbrucehopkins at gmail.com Mon Mar 8 22:22:52 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Tue, 9 Mar 2010 06:22:52 +0000 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: <8215DEFE-460E-4764-BF96-35FBE820EC11@freeswitch.org> References: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> <8215DEFE-460E-4764-BF96-35FBE820EC11@freeswitch.org> Message-ID: <63837C30-11FB-47E6-8173-3AFEA76A5BB4@gmail.com> Ah I see. I will try again using the internal profile and forwarding port 5060. Presumably still creating a directory entry to enable the outside-facing domain to be used. Many thanks for your patient help of a newbie Brian. Cheers Bruce Please excuse the brevity - sent from my mobile. On 8 Mar 2010, at 17:21, Brian West wrote: > ok you aren't catching one key thing here.. you no longer need two > profiles. > > /b > > On Mar 8, 2010, at 11:12 AM, Bruce Hopkins wrote: > >> Hi again, >> >> Thanks for the help so far. Unfotrunately I must still be doing >> something wrong here as I am still having difficulty, and still >> have the same problem. >> >> I updated to build 16938 by means of "make current" >> >> I'm not able to use UPNP or NATPMP so changed the port forwarding >> to use 5080 instead of 5090. >> >> I got rid of the doublenat profile in sip_profiles, though I had to >> retain an entry in the directory /usr/local/freeeswitch/conf/ >> directory/ext_dns.xml in order to give freeswitch the dns name of >> the server as a domain for the remote softphone to register on. I >> left the group name in this entry the same as inthe default entry, >> so that the remote phone could register on the same extension >> numbers (100, etc) as in the default build. >> >> I still find that, if I initiate a call from the local (on same LAN >> as freeswitch) phone to the remote phone, I get the message on the >> CLI: >> >> [ERR] switch_ivr_originate.c2389 Cannot create outgoing channel of >> type [user] cause: [USER_NOT_REGISTERED] >> >> One possibly unrelated aside, I also found I needed to uncomment >> in >> external.xml, otherwise in the case of a call initiated by the >> remote phone being hung up by the local phone, freeswitch sent the >> BYE to the private IP of the remote phone, rather than its public >> ip - meaning that the remote phone didn't receive the BYE. >> >> Any further ideas where I am going wrong here please? >> >> thanks again in advance >> Bruce > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 infos at madovsky.org Mon Mar 8 22:29:18 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 9 Mar 2010 01:29:18 -0500 Subject: [Freeswitch-users] sip registrations and postgresql odbc-dsn References: <76633F3B-93B1-47CF-A3E8-FDD07FD817D3@freeswitch.org> Message-ID: <05F13F0A7E3B40C78F8BB4BC1061032A@MOBILEE1705> I mean if legA register on host1, suddenly FS or the client shutdown and register again on host1 or host2 so in pgsql the old call_id row exsits yet, and a new row with the ne call_id is created... ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 1:13 AM Subject: Re: [Freeswitch-users] sip registrations and postgresql odbc-dsn old reg? what do you mean and how do you mean ? and the hostname is how it tells. On Mar 8, 2010, at 11:58 PM, Madovsky wrote: I noticed that if a registration doesn't close properly and try to reconnect I can see in the table sip_registrations the old reg and new one. is it normal ? if yes, How FS can guess the right registration in case of multiple FS with shared DB ? Thanks Franck _______ ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/76d40d42/attachment-0001.html From infos at madovsky.org Mon Mar 8 23:59:40 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 9 Mar 2010 02:59:40 -0500 Subject: [Freeswitch-users] vars from sip_registrations table Message-ID: <663CE110CAE64F77BE2FEF42B1905A2D@MOBILEE1705> in sip_registration table there are call_id sip_user sip_host presence_hosts contact status rpid expires user_agent server_user server_host profile_name hostname network_ip network_port sip_username sip_realm mwi_user mwi_host orig_server_host orig_hostname fields, so how can I get these vars from the callee before the bridge ? I need to replace the host of the callee in case of if he's registered on another FS node. thanks Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/e3152aab/attachment.html From infos at madovsky.org Tue Mar 9 00:04:22 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 9 Mar 2010 03:04:22 -0500 Subject: [Freeswitch-users] vars from sip_registrations table Message-ID: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705> forgot to say that I need it (since I didn't find any good examples) for a 2 FS clustered without SRV NAPTR in DNS (the client I should use is not compatible) Thanks F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 2:59 AM Subject: vars from sip_registrations table in sip_registration table there are call_id sip_user sip_host presence_hosts contact status rpid expires user_agent server_user server_host profile_name hostname network_ip network_port sip_username sip_realm mwi_user mwi_host orig_server_host orig_hostname fields, so how can I get these vars from the callee before the bridge ? I need to replace the host of the callee in case of if he's registered on another FS node. thanks Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/1521483f/attachment.html From will.traenkle at yahoo.com Tue Mar 9 00:47:50 2010 From: will.traenkle at yahoo.com (William Traenkle) Date: Tue, 9 Mar 2010 00:47:50 -0800 (PST) Subject: [Freeswitch-users] hunt group - play music when trying external numbers In-Reply-To: <20100308184025.GL18427@base.carmickle.com> References: <756904.84769.qm@web57613.mail.re1.yahoo.com> <20100308184025.GL18427@base.carmickle.com> Message-ID: <358354.17194.qm@web57606.mail.re1.yahoo.com> Thanks Frank. I will try that out. Cheers, ________________________________ From: Frank Carmickle To: freeswitch-users at lists.freeswitch.org Sent: Mon, March 8, 2010 10:40:25 AM Subject: Re: [Freeswitch-users] hunt group - play music when trying external numbers Hello On Mon, Mar 08, William Traenkle wrote: > I am new to freeSWITCH and this mailing list and I appreciate your support in advance. > > My Goal: To create a hunt group x7000 that sequentially dials an internal extension, i.e. x1000, and then a cell phone number, i.e. 6194548924, while playing music the entire time when each number is being tried. > > The Issue: This was working great a few months back, but now music plays when only when x1000 is tried but NOT when the cell phone is tried. Make sure that your bridge statement includes {ignore_early_media=true} --FC _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/1d10974a/attachment-0001.html From siniypin at gmail.com Tue Mar 9 01:17:23 2010 From: siniypin at gmail.com (RobertT) Date: Tue, 9 Mar 2010 12:17:23 +0300 Subject: [Freeswitch-users] ICE related sdp headers forwarding Message-ID: <2160023e1003090117w159d72fdsf1914c52460aaf98@mail.gmail.com> Hi guys! In my installation I have a public FS being connected by lots of clients and being used to connect them with each other. Some of them might be backed by various NATs. And though they all use STUN to discover their public IP address, sometimes it's just not enough to provide two-way sound. These clients all have ICE and TURN support, but it is useless, since FS doesn't support ICE (at least that's what I know), and there are no ICE-related headers in FS's originating SDP for b-leg. Currently, all calls are being connected by means of bridge app with proxy_media mode enabled. For now, I can only think of couple of ways to enable ICE negotiation between a and b: 1. Redirect a directly to b. But to accomplish this I've to know b's IP, that it was registered with, which is being stored in sip_registrations db. Can I obtain it with db app in dialplan and substitute as a parameter to deflect app? 2. Force FS to copy remote SDP headers, or at least a part of them, to it's local SDP. 3. I feel I might be missing something important... Please help me to find a best solution to enable ICE negotiation. Best regards, RobertT. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/597cb2e8/attachment.html From yehavi.bourvine at gmail.com Tue Mar 9 01:45:24 2010 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Tue, 9 Mar 2010 11:45:24 +0200 Subject: [Freeswitch-users] Sending SIP notify to polycom in order to resync/reboot it Message-ID: Is there a simple way/command inside FreeSwitch to send a NOTIFY message to a Polycom phone which tells it to reboot? I know it is possible but I do not find any documentation about it... Thanks, __Yehavi: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/eac73833/attachment.html From jaybinks at gmail.com Tue Mar 9 02:08:13 2010 From: jaybinks at gmail.com (jay binks) Date: Tue, 9 Mar 2010 20:08:13 +1000 Subject: [Freeswitch-users] Sending SIP notify to polycom in order to resync/reboot it In-Reply-To: References: Message-ID: this should help you on your way. http://wiki.freeswitch.org/wiki/Mod_sofia#Flushing.2Frebooting_registered_endpoints Jay On Tue, Mar 9, 2010 at 7:45 PM, Yehavi Bourvine wrote: > Is there a simple way/command inside FreeSwitch to send a NOTIFY message to > a Polycom phone which tells it to reboot? I know it is possible but I do not > find any documentation about it... > > Thanks, __Yehavi: > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100309/d302303a/attachment.html From freeswitch at gilligan.id.au Tue Mar 9 02:27:31 2010 From: freeswitch at gilligan.id.au (Chris) Date: Tue, 9 Mar 2010 21:27:31 +1100 Subject: [Freeswitch-users] mod_managed - how listen for *999 Message-ID: <9394d42f1003090227p1295f785o9c9c1a5d3f6e3805@mail.gmail.com> What i need to do is listen on a session before, during and after the session is bridged with another call. I know built into FS is the option to listen for *x where x is 0-9 but i really need more than one digit. I traced the method that listens for the single digit to the command switch_core_event_hook_add_send_dtmf(session, meta_on_dtmf); in switch_ivr_async.c mod_managed also has the following in the native class freeswitch. public static switch_status_t switch_core_event_hook_add_recv_dtmf(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t recv_dtmf) The problem is i can't work out how to use it. I am fine the the first param for the session but have no idea what i need for the SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t recv_dtmf param. if anyone can point me in the right direction or knows a better way i would be grateful. Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/b013eef3/attachment.html From yehavi.bourvine at gmail.com Tue Mar 9 03:13:16 2010 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Tue, 9 Mar 2010 13:13:16 +0200 Subject: [Freeswitch-users] Sending SIP notify to polycom in order to resync/reboot it In-Reply-To: References: Message-ID: Thanks! __Yehavi: 2010/3/9 jay binks > this should help you on your way. > > > http://wiki.freeswitch.org/wiki/Mod_sofia#Flushing.2Frebooting_registered_endpoints > > > Jay > > On Tue, Mar 9, 2010 at 7:45 PM, Yehavi Bourvine < > yehavi.bourvine at gmail.com> wrote: > >> Is there a simple way/command inside FreeSwitch to send a NOTIFY message >> to a Polycom phone which tells it to reboot? I know it is possible but I do >> not find any documentation about it... >> >> Thanks, __Yehavi: >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/5590e848/attachment.html From Stephen.Kingham at kingtech.com.au Tue Mar 9 00:18:39 2010 From: Stephen.Kingham at kingtech.com.au (Stephen Kingham) Date: Tue, 09 Mar 2010 19:18:39 +1100 Subject: [Freeswitch-users] Freeswitch to cisco router(gateway) In-Reply-To: <4B9532AB.5030407@telemaque.fr> References: <9BEDBC36-4830-4682-94C4-15085B150005@freeswitch.org> <4B9532AB.5030407@telemaque.fr> Message-ID: <1268122719.27572.2.camel@zen> Hi I can help out with the Cisco config, but I have not worked out what I need to configure FreeSWITCH to route a SIP call to the ip address of the Cisco GW. If I could get a bit of help there I will write, or help write howto. Regards Stevek On Mon, 2010-03-08 at 18:23 +0100, Tristan Mah? wrote: > +1 with Brian, > > Just as I have 5 spare minutes and to be kind: > > > * E1 controller config: > > controller E1 0/0/0 > framing NO-CRC4 > pri-group timeslots 1-31 > description E1_1 > ! > interface Serial0/0/0:15 > no ip address > encapsulation hdlc > isdn switch-type primary-net5 > isdn not-end-to-end 64 > isdn incoming-voice voice > isdn bchan-number-order descending round-robin > no cdp enable > ! > voice-port 0/0/0:15 > no comfort-noise > cptone FR > timeouts call-disconnect 1 > timeouts wait-release 1 > ! > > * Dial-peers ( SIP to E1 and E1 to SIP): > > dial-peer voice 100 pots > description SIP_TO_E1 > destination-pattern 0........ > progress_ind setup enable 3 > progress_ind progress enable 8 > progress_ind connect enable 8 > progress_ind disconnect enable 8 > no digit-strip > port 0/0/0:15 > ! > dial-peer voice 500 voip > description E1_TO_SIP > destination-pattern .... > progress_ind setup enable 3 > session protocol sipv2 > session target ipv4:FREESWITCH_IP > session transport udp > dtmf-relay rtp-nte > codec g711alaw > no vad > ! > > > Remember to adapt this config to your needs ( there are mandatory > missing parts, but at least you have some config options to look for). > > Regards, > > Gled. > > Brian West a ?crit : > > You seem rather needy. Have you even tried google yet? When asking for help you could be more descriptive if you want help. These "I need help" without any directed questioned signals to me you have a job to do and you don't know how to do it and you're now asking US to do your job for you. Be descriptive and do some research yourself. Again we aren't cisco and you didn't pay us for that hardware so I would start by venturing over to www.cisco.com and searching their docs for that hardware on how to configure voice peers. Then ask questions if anything is left to question. > > > > /b > > > > On Mar 8, 2010, at 9:23 AM, srinivasula reddy wrote: > > > >> HI, > >> > >> how do i configure freeswitch gateway to communicate to cisco router, i am using cisco2921. > >> > >> Thanks > >> Srinivas > > > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 From jaybinks at gmail.com Tue Mar 9 04:47:05 2010 From: jaybinks at gmail.com (jay binks) Date: Tue, 9 Mar 2010 22:47:05 +1000 Subject: [Freeswitch-users] Freeswitch to cisco router(gateway) In-Reply-To: <1268122719.27572.2.camel@zen> References: <9BEDBC36-4830-4682-94C4-15085B150005@freeswitch.org> <4B9532AB.5030407@telemaque.fr> <1268122719.27572.2.camel@zen> Message-ID: all you need is.. not all IOS's are going to need the caller ID to be forced to rpid, but in my experience I needed it. ( it should not hurt anyways ) hope that helps Jay On Tue, Mar 9, 2010 at 6:18 PM, Stephen Kingham < Stephen.Kingham at kingtech.com.au> wrote: > Hi > > I can help out with the Cisco config, but I have not worked out what I > need to configure FreeSWITCH to route a SIP call to the ip address of > the Cisco GW. If I could get a bit of help there I will write, or help > write howto. > > Regards > > Stevek > > > On Mon, 2010-03-08 at 18:23 +0100, Tristan Mah? wrote: > > +1 with Brian, > > > > Just as I have 5 spare minutes and to be kind: > > > > > > * E1 controller config: > > > > controller E1 0/0/0 > > framing NO-CRC4 > > pri-group timeslots 1-31 > > description E1_1 > > ! > > interface Serial0/0/0:15 > > no ip address > > encapsulation hdlc > > isdn switch-type primary-net5 > > isdn not-end-to-end 64 > > isdn incoming-voice voice > > isdn bchan-number-order descending round-robin > > no cdp enable > > ! > > voice-port 0/0/0:15 > > no comfort-noise > > cptone FR > > timeouts call-disconnect 1 > > timeouts wait-release 1 > > ! > > > > * Dial-peers ( SIP to E1 and E1 to SIP): > > > > dial-peer voice 100 pots > > description SIP_TO_E1 > > destination-pattern 0........ > > progress_ind setup enable 3 > > progress_ind progress enable 8 > > progress_ind connect enable 8 > > progress_ind disconnect enable 8 > > no digit-strip > > port 0/0/0:15 > > ! > > dial-peer voice 500 voip > > description E1_TO_SIP > > destination-pattern .... > > progress_ind setup enable 3 > > session protocol sipv2 > > session target ipv4:FREESWITCH_IP > > session transport udp > > dtmf-relay rtp-nte > > codec g711alaw > > no vad > > ! > > > > > > Remember to adapt this config to your needs ( there are mandatory > > missing parts, but at least you have some config options to look for). > > > > Regards, > > > > Gled. > > > > Brian West a ?crit : > > > You seem rather needy. Have you even tried google yet? When asking > for help you could be more descriptive if you want help. These "I need > help" without any directed questioned signals to me you have a job to do and > you don't know how to do it and you're now asking US to do your job for you. > Be descriptive and do some research yourself. Again we aren't cisco and > you didn't pay us for that hardware so I would start by venturing over to > www.cisco.com and searching their docs for that hardware on how to > configure voice peers. Then ask questions if anything is left to question. > > > > > > /b > > > > > > On Mar 8, 2010, at 9:23 AM, srinivasula reddy wrote: > > > > > >> HI, > > >> > > >> how do i configure freeswitch gateway to communicate to cisco router, > i am using cisco2921. > > >> > > >> Thanks > > >> Srinivas > > > > > > > > > _______________________________________________ > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at 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 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100309/30670ccf/attachment-0001.html From srinivas.ksvreddy at gmail.com Tue Mar 9 05:47:23 2010 From: srinivas.ksvreddy at gmail.com (srinivasula reddy) Date: Tue, 9 Mar 2010 19:17:23 +0530 Subject: [Freeswitch-users] freeswitch to cisco router Message-ID: Hi, i have tried to configure gateway from my freeswitch, with the following credentials proxy(ip of cisco) and username,password. and when i start my freeswitch registration reqest is going to cisco router and again it requesting to same registration reqeust to my sipserver, the register packet from cisco router to my freeswitch is comming like this To: sip:.*@sipserverip:5060 so there there is no user present with the name of .* it is rejecting the registration request, any idea Thanks Swapna -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/7e1bf9d5/attachment.html From yehavi.bourvine at gmail.com Tue Mar 9 06:24:39 2010 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Tue, 9 Mar 2010 16:24:39 +0200 Subject: [Freeswitch-users] freeswitch to cisco router In-Reply-To: References: Message-ID: Cisco gateways usually do not register with the server (thus you have to allow them via ACL). If you post your config we might help. __Yehavi: 2010/3/9 srinivasula reddy > Hi, > > i have tried to configure gateway from my freeswitch, with the following > credentials proxy(ip of cisco) and username,password. > and when i start my freeswitch registration reqest is going to cisco router > and again it requesting to same registration reqeust to my sipserver, the > register packet from cisco router to my freeswitch is comming like this > > To: sip:.*@sipserverip:5060 > > so there there is no user present with the name of .* it is rejecting the > registration request, any idea > > Thanks > Swapna > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/45951ea0/attachment.html From m.sobkow at marketelsystems.com Tue Mar 9 07:43:10 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Tue, 09 Mar 2010 09:43:10 -0600 Subject: [Freeswitch-users] Eavesdrop In-Reply-To: <4B955401.1030004@marketelsystems.com> References: <4B95244A.8030808@marketelsystems.com> <4B955401.1030004@marketelsystems.com> Message-ID: <4B966C8E.9040805@marketelsystems.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/e0cf40c6/attachment.html -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: pbx_eavesdrop.erl Url: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/e0cf40c6/attachment.pl From anthony.minessale at gmail.com Tue Mar 9 08:39:17 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 9 Mar 2010 10:39:17 -0600 Subject: [Freeswitch-users] vars from sip_registrations table In-Reply-To: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705> References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705> Message-ID: <191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com> You would need to make a patch for it or pay someone to add it. On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: > forgot to say that I need it (since I didn't find any good examples) > for a 2 FS clustered without SRV NAPTR in DNS (the client I should use is > not compatible) > > Thanks > > F > > ----- Original Message ----- > *From:* Madovsky > *To:* freeswitch-users at lists.freeswitch.org > *Sent:* Tuesday, March 09, 2010 2:59 AM > *Subject:* vars from sip_registrations table > > in sip_registration table there are > call_id > sip_user > sip_host > presence_hosts > contact > status > rpid > expires > user_agent > server_user > server_host > profile_name > hostname > network_ip > network_port > sip_username > sip_realm > mwi_user > mwi_host > orig_server_host > orig_hostname > > fields, so how can I get these vars from the callee before the bridge ? > I need to replace the host of the callee in case of if he's registered on > another FS node. > > thanks > > Franck > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100309/47279ff9/attachment-0001.html From infos at madovsky.org Tue Mar 9 08:47:35 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 9 Mar 2010 11:47:35 -0500 Subject: [Freeswitch-users] vars from sip_registrations table References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705> <191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com> Message-ID: Ok it's what I guessed. Thanks ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 11:39 AM Subject: Re: [Freeswitch-users] vars from sip_registrations table You would need to make a patch for it or pay someone to add it. On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: forgot to say that I need it (since I didn't find any good examples) for a 2 FS clustered without SRV NAPTR in DNS (the client I should use is not compatible) Thanks F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 2:59 AM Subject: vars from sip_registrations table in sip_registration table there are call_id sip_user sip_host presence_hosts contact status rpid expires user_agent server_user server_host profile_name hostname network_ip network_port sip_username sip_realm mwi_user mwi_host orig_server_host orig_hostname fields, so how can I get these vars from the callee before the bridge ? I need to replace the host of the callee in case of if he's registered on another FS node. thanks Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/80bc4790/attachment.html From anthony.minessale at gmail.com Tue Mar 9 08:51:30 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 9 Mar 2010 10:51:30 -0600 Subject: [Freeswitch-users] Eavesdrop In-Reply-To: <4B966C8E.9040805@marketelsystems.com> References: <4B95244A.8030808@marketelsystems.com> <4B955401.1030004@marketelsystems.com> <4B966C8E.9040805@marketelsystems.com> Message-ID: <191c3a031003090851m66f89d6ey9e20cb8d8f064852@mail.gmail.com> you are missing: call-command: execute and optionally: event-lock: true // if you want this event to be exclusive until its done and async: true // if you are in sync mode and you want to do the command async you might want to look at the ESL lib and use that instead of rolling your own event socket code which usually generates many question and answer sessions like this one. -- 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 iax:guest at conference.freeswitch.org/888 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/20100309/d921b4db/attachment.html From infos at madovsky.org Tue Mar 9 08:55:29 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 9 Mar 2010 11:55:29 -0500 Subject: [Freeswitch-users] vars from sip_registrations table References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705><191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com> Message-ID: I Have no money, but a nice Gibson Les Paul standard from 1990 to offer if my experimental project will end soon... ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 11:47 AM Subject: Re: [Freeswitch-users] vars from sip_registrations table Ok it's what I guessed. Thanks ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 11:39 AM Subject: Re: [Freeswitch-users] vars from sip_registrations table You would need to make a patch for it or pay someone to add it. On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: forgot to say that I need it (since I didn't find any good examples) for a 2 FS clustered without SRV NAPTR in DNS (the client I should use is not compatible) Thanks F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 2:59 AM Subject: vars from sip_registrations table in sip_registration table there are call_id sip_user sip_host presence_hosts contact status rpid expires user_agent server_user server_host profile_name hostname network_ip network_port sip_username sip_realm mwi_user mwi_host orig_server_host orig_hostname fields, so how can I get these vars from the callee before the bridge ? I need to replace the host of the callee in case of if he's registered on another FS node. thanks Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ---------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100309/7aa8878b/attachment-0001.html From dave.redmore at spigotsystems.com Tue Mar 9 08:44:03 2010 From: dave.redmore at spigotsystems.com (Dave Redmore) Date: Tue, 9 Mar 2010 10:44:03 -0600 (CST) Subject: [Freeswitch-users] Freeswitch a good fit? In-Reply-To: <22405606.601268153039310.JavaMail.root@zimbra1.spigotsystems.com> Message-ID: <6972445.621268153043224.JavaMail.root@zimbra1.spigotsystems.com> Hi All, New to the list and just starting to look at Freeswitch. I have an application that I'm looking at and wondering if Freeswitch is the right fit. I need a (fairly) simple SIP server and a T.38 media proxy. The setup would be SIP FXS units at the customers location doing outbound faxing. via T.38. The FXS needs to register with my server, which will authenticate the user and connect the call to my T.38 provider's gateway. I've seen some reference to using a "proxy-media" setting in the WIKI, but refers to it being a "hack" - so not a big confidence builder. I've also looked at using OpenSIPS and MediaProxy, which looks to do what I'm trying to accomplish as well. Does it make sense to deploy FS in this scenario? Thanks, Dave Redmore Spigot Networks, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/cbd487d1/attachment.html From infos at madovsky.org Tue Mar 9 09:37:03 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 9 Mar 2010 12:37:03 -0500 Subject: [Freeswitch-users] Eavesdrop References: <4B95244A.8030808@marketelsystems.com><4B955401.1030004@marketelsystems.com><4B966C8E.9040805@marketelsystems.com> <191c3a031003090851m66f89d6ey9e20cb8d8f064852@mail.gmail.com> Message-ID: also I would love to make a patch, but i"m really not C or C++ guru... ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 11:51 AM Subject: Re: [Freeswitch-users] Eavesdrop you are missing: call-command: execute and optionally: event-lock: true // if you want this event to be exclusive until its done and async: true // if you are in sync mode and you want to do the command async you might want to look at the ESL lib and use that instead of rolling your own event socket code which usually generates many question and answer sessions like this one. -- 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/f7fc3e84/attachment.html From Mailings at kh-dev.de Tue Mar 9 09:36:54 2010 From: Mailings at kh-dev.de (Klaus Hochlehnert) Date: Tue, 9 Mar 2010 18:36:54 +0100 Subject: [Freeswitch-users] Attrafax In-Reply-To: <191c3a031003081557j17de448dmbc8253f1dfd45f80@mail.gmail.com> References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> <2650A49F-DEC5-4A83-8FA5-7A52B9156091@freeswitch.org> <4B958888.7080902@todandlorna.com> <191c3a031003081557j17de448dmbc8253f1dfd45f80@mail.gmail.com> Message-ID: Good idea... But why don't you send a fax to everyone... ;-) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Tuesday, March 09, 2010 12:57 AM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Attrafax All these threads seem to go off on on tangents, seems at least a lot of people are reading it so..... This thread brought to you by ClueCon MMX! register today http://www.cluecon.com Hey, it was worth a shot, maybe we can do a presentation on t38 in FS (if we ever get the time to finish it). On Mon, Mar 8, 2010 at 5:30 PM, Tod Hansmann @todandlorna.com> wrote: There exists a large number of companies that make large profits largely because they sell based on what they think the customer will pay. NDAs keep customers from comparing prices, and competitors from competing on price. This has been a pretty common telecom practice, though not NDA specifically. This is why the "let me see a copy of your phone bill" line is so ill-advised to be substantiated when talking to a new provider. If you give them your phone bill, they know exactly where the bar must be set to win. -Tod Hansmann On 3/8/2010 4:05 PM, Brian West wrote: Why on earth do you need an NDA for prices or any info a provider can send you... sounds pretty lame to me... /b On Mar 8, 2010, at 5:01 PM, David Knell wrote: And don't forget the propensity of (wholesale) VoIP providers to require an NDA to be faxed (or, if you're lucky, scanned and e-mailed) before discussing pricing. Without wishing to digress further, I find this utterly absurd, and I've yet to find a satisfactory explanation of why it should be. --Dave _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 -- 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 iax:guest at conference.freeswitch.org/888 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/20100309/cccff48f/attachment.html From infos at madovsky.org Tue Mar 9 09:37:49 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 9 Mar 2010 12:37:49 -0500 Subject: [Freeswitch-users] vars from sip_registrations table References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705> <191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com> Message-ID: soooorry I answered to the wrong thread in my last email ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 11:39 AM Subject: Re: [Freeswitch-users] vars from sip_registrations table You would need to make a patch for it or pay someone to add it. On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: forgot to say that I need it (since I didn't find any good examples) for a 2 FS clustered without SRV NAPTR in DNS (the client I should use is not compatible) Thanks F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 2:59 AM Subject: vars from sip_registrations table in sip_registration table there are call_id sip_user sip_host presence_hosts contact status rpid expires user_agent server_user server_host profile_name hostname network_ip network_port sip_username sip_realm mwi_user mwi_host orig_server_host orig_hostname fields, so how can I get these vars from the callee before the bridge ? I need to replace the host of the callee in case of if he's registered on another FS node. thanks Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/c41e1cbb/attachment-0001.html From infos at madovsky.org Tue Mar 9 09:39:18 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 9 Mar 2010 12:39:18 -0500 Subject: [Freeswitch-users] vars from sip_registrations table References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705> <191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com> Message-ID: <509EA502A6AE46E88BE8A205B74834B7@MOBILEE1705> OK How much ? ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 11:39 AM Subject: Re: [Freeswitch-users] vars from sip_registrations table You would need to make a patch for it or pay someone to add it. On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: forgot to say that I need it (since I didn't find any good examples) for a 2 FS clustered without SRV NAPTR in DNS (the client I should use is not compatible) Thanks F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 2:59 AM Subject: vars from sip_registrations table in sip_registration table there are call_id sip_user sip_host presence_hosts contact status rpid expires user_agent server_user server_host profile_name hostname network_ip network_port sip_username sip_realm mwi_user mwi_host orig_server_host orig_hostname fields, so how can I get these vars from the callee before the bridge ? I need to replace the host of the callee in case of if he's registered on another FS node. thanks Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/dde87cf3/attachment.html From anthony.minessale at gmail.com Tue Mar 9 09:47:24 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 9 Mar 2010 11:47:24 -0600 Subject: [Freeswitch-users] Freeswitch a good fit? In-Reply-To: <6972445.621268153043224.JavaMail.root@zimbra1.spigotsystems.com> References: <22405606.601268153039310.JavaMail.root@zimbra1.spigotsystems.com> <6972445.621268153043224.JavaMail.root@zimbra1.spigotsystems.com> Message-ID: <191c3a031003090947r384d5b05ve9e534df1db8ea2@mail.gmail.com> Its not a hack in the sense that it's not likely to work. It's a hack in the sense that FS acts mostly as a b2bua role and proxy is a feature mostly left to proxy software. I would setup both and compare, using FS might be overkill if you are not planning to ever do anything else besides proxy t38. On Tue, Mar 9, 2010 at 10:44 AM, Dave Redmore < dave.redmore at spigotsystems.com> wrote: > Hi All, > > New to the list and just starting to look at Freeswitch. > > I have an application that I'm looking at and wondering if Freeswitch is > the right fit. > > I need a (fairly) simple SIP server and a T.38 media proxy. The setup > would be SIP FXS units at the customers location doing outbound faxing. via > T.38. The FXS needs to register with my server, which will authenticate the > user and connect the call to my T.38 provider's gateway. > > I've seen some reference to using a "proxy-media" setting in the WIKI, but > refers to it being a "hack" - so not a big confidence builder. > > I've also looked at using OpenSIPS and MediaProxy, which looks to do what > I'm trying to accomplish as well. > > Does it make sense to deploy FS in this scenario? > > Thanks, > > Dave Redmore > Spigot Networks, Inc. > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100309/3168603f/attachment.html From sekharreddypk at gmail.com Tue Mar 9 09:40:37 2010 From: sekharreddypk at gmail.com (chandrasekhar reddy) Date: Tue, 9 Mar 2010 23:10:37 +0530 Subject: [Freeswitch-users] call forward Message-ID: <883b62721003090940h25c3a853pdda2c281555caeea@mail.gmail.com> Hi, i am trying to forward call from freeswitch to cisco router, call is estabilished but after 30sec call got ended, any idea sekhar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/157c4b1c/attachment-0001.html From sean at obscuradigital.com Tue Mar 9 09:59:18 2010 From: sean at obscuradigital.com (Sean Holt) Date: Tue, 09 Mar 2010 09:59:18 -0800 Subject: [Freeswitch-users] Outbound calls mobile Message-ID: Hello, having weird issue with outbound calls to any mobile phone, but not to LAN/analog lines. Curious if anyone else has had this experienced with their freeswitch setup. My setup: Centos 5.4 32bit Freeswitch 1.0.5 most recent svn trunk Thanks Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/2dcdb785/attachment.html From andrew at hijacked.us Tue Mar 9 10:06:00 2010 From: andrew at hijacked.us (Andrew Thompson) Date: Tue, 9 Mar 2010 13:06:00 -0500 Subject: [Freeswitch-users] Outbound calls mobile In-Reply-To: References: Message-ID: <20100309180600.GG18802@hijacked.us> On Tue, Mar 09, 2010 at 09:59:18AM -0800, Sean Holt wrote: > Hello, having weird issue with outbound calls to any mobile phone, but not > to LAN/analog lines. Curious if anyone else has had this experienced with > their freeswitch setup. > > My setup: > Centos 5.4 32bit > Freeswitch 1.0.5 most recent svn trunk > Make sure the CallerID you're sending isn't making the provider reject it. I've seen this happen several times. Andrew From peder at networkoblivion.com Tue Mar 9 10:08:35 2010 From: peder at networkoblivion.com (Peder) Date: Tue, 9 Mar 2010 12:08:35 -0600 Subject: [Freeswitch-users] Outbound calls mobile In-Reply-To: References: Message-ID: <107001cabfb3$891cd5e0$9b5681a0$@com> What are the problems? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Sean Holt Sent: Tuesday, March 09, 2010 11:59 AM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Outbound calls mobile Hello, having weird issue with outbound calls to any mobile phone, but not to LAN/analog lines. Curious if anyone else has had this experienced with their freeswitch setup. My setup: Centos 5.4 32bit Freeswitch 1.0.5 most recent svn trunk Thanks Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/844c0ef0/attachment.html From anthony.minessale at gmail.com Tue Mar 9 10:10:42 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 9 Mar 2010 12:10:42 -0600 Subject: [Freeswitch-users] vars from sip_registrations table In-Reply-To: <509EA502A6AE46E88BE8A205B74834B7@MOBILEE1705> References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705> <191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com> <509EA502A6AE46E88BE8A205B74834B7@MOBILEE1705> Message-ID: <191c3a031003091010u6d0a9ba9r9d3c0c753396489c@mail.gmail.com> Aww, The les paul sounded nice I have one on my wishlist =D http://bit.ly/bRHKlk *shrug* $250.00 maybe? On Tue, Mar 9, 2010 at 11:39 AM, Madovsky wrote: > OK How much ? > > ----- Original Message ----- > *From:* Anthony Minessale > *To:* freeswitch-users at lists.freeswitch.org > *Sent:* Tuesday, March 09, 2010 11:39 AM > *Subject:* Re: [Freeswitch-users] vars from sip_registrations table > > You would need to make a patch for it or pay someone to add it. > > > On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: > >> forgot to say that I need it (since I didn't find any good examples) >> for a 2 FS clustered without SRV NAPTR in DNS (the client I should use is >> not compatible) >> >> Thanks >> >> F >> >> ----- Original Message ----- >> *From:* Madovsky >> *To:* freeswitch-users at lists.freeswitch.org >> *Sent:* Tuesday, March 09, 2010 2:59 AM >> *Subject:* vars from sip_registrations table >> >> in sip_registration table there are >> call_id >> sip_user >> sip_host >> presence_hosts >> contact >> status >> rpid >> expires >> user_agent >> server_user >> server_host >> profile_name >> hostname >> network_ip >> network_port >> sip_username >> sip_realm >> mwi_user >> mwi_host >> orig_server_host >> orig_hostname >> >> fields, so how can I get these vars from the callee before the bridge ? >> I need to replace the host of the callee in case of if he's registered on >> another FS node. >> >> thanks >> >> Franck >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > ------------------------------ > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > > -- 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 iax:guest at conference.freeswitch.org/888 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/20100309/f9339112/attachment-0001.html From infos at madovsky.org Tue Mar 9 10:25:40 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 9 Mar 2010 13:25:40 -0500 Subject: [Freeswitch-users] vars from sip_registrations table References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705><191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com><509EA502A6AE46E88BE8A205B74834B7@MOBILEE1705> <191c3a031003091010u6d0a9ba9r9d3c0c753396489c@mail.gmail.com> Message-ID: <1F4E428CA9754FE49A8D16442657CE4C@MOBILEE1705> I said I OFFER it in case of I finish my (no money no profit but big potential) experimental project. I understand perfectly your mind of how to manage an open source project, but don't forget that there are guys like you on this emailist who don't even make any decent salary, that is why I use and develop open source : share -> evovle your minds -> make all people happy -> money comes but not share -> ask money -> make people weird -> money won't come it's my point of view. Regards ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 1:10 PM Subject: Re: [Freeswitch-users] vars from sip_registrations table Aww, The les paul sounded nice I have one on my wishlist =D http://bit.ly/bRHKlk *shrug* $250.00 maybe? On Tue, Mar 9, 2010 at 11:39 AM, Madovsky wrote: OK How much ? ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 11:39 AM Subject: Re: [Freeswitch-users] vars from sip_registrations table You would need to make a patch for it or pay someone to add it. On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: forgot to say that I need it (since I didn't find any good examples) for a 2 FS clustered without SRV NAPTR in DNS (the client I should use is not compatible) Thanks F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 2:59 AM Subject: vars from sip_registrations table in sip_registration table there are call_id sip_user sip_host presence_hosts contact status rpid expires user_agent server_user server_host profile_name hostname network_ip network_port sip_username sip_realm mwi_user mwi_host orig_server_host orig_hostname fields, so how can I get these vars from the callee before the bridge ? I need to replace the host of the callee in case of if he's registered on another FS node. thanks Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 -- 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/36422d78/attachment.html From sean at obscuradigital.com Tue Mar 9 10:30:26 2010 From: sean at obscuradigital.com (Sean Holt) Date: Tue, 09 Mar 2010 10:30:26 -0800 Subject: [Freeswitch-users] Outbound calls mobile In-Reply-To: <107001cabfb3$891cd5e0$9b5681a0$@com> Message-ID: Basically I have sip trace turned on and I?m watching the call. It gets to the point where it is ?Trying? to esbstalish the call then for no reason it times out. No further details from the sip trace other then call has timed out. The strange part is this doesn?t happen when calling any analog line. If you want I can provide the sip trace. Sean On 3/9/10 10:08 AM, "Peder" wrote: > What are the problems? > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Sean Holt > Sent: Tuesday, March 09, 2010 11:59 AM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Outbound calls mobile > > Hello, having weird issue with outbound calls to any mobile phone, but not to > LAN/analog lines. Curious if anyone else has had this experienced with their > freeswitch setup. > > My setup: > Centos 5.4 32bit > Freeswitch 1.0.5 most recent svn trunk > > Thanks > Sean > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/849239cc/attachment-0001.html From anthony.minessale at gmail.com Tue Mar 9 10:45:02 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 9 Mar 2010 12:45:02 -0600 Subject: [Freeswitch-users] vars from sip_registrations table In-Reply-To: <1F4E428CA9754FE49A8D16442657CE4C@MOBILEE1705> References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705> <191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com> <509EA502A6AE46E88BE8A205B74834B7@MOBILEE1705> <191c3a031003091010u6d0a9ba9r9d3c0c753396489c@mail.gmail.com> <1F4E428CA9754FE49A8D16442657CE4C@MOBILEE1705> Message-ID: <191c3a031003091045w11a564d0r9757a2ae44a4542b@mail.gmail.com> ORLY, So maybe if you *think* you know what you are talking about, you should go do some research on the average amount of code I write on a daily basis nonstop for the last several years without "ask money". This includes most of the core, and 90% of the modules you are playing with right now including the 24 thousand lines of code in mod_sofia alone. So frankly, since I don't see an urgent need for your request, and I am too busy to do it, this particular feature would require a bounty to complete. By the way, you have sent like 2 dozen emails in the same week asking for all kinds of help, that's also being shared to you for free so I think you are getting the better side of the bargain here. Asking for a bounty on a feature that only helps one individual is very common............. On Tue, Mar 9, 2010 at 12:25 PM, Madovsky wrote: > I said I OFFER it in case of I finish my (no money no profit but big > potential) experimental project. > I understand perfectly your mind of how to manage an open source project, > but don't forget > that there are guys like you on this emailist who don't even make any > decent salary, that is why > I use and develop open source : share -> evovle your minds -> make all > people happy -> money comes > but not share -> ask money -> make > people weird -> money won't come > it's my point of view. > > Regards > > ----- Original Message ----- > *From:* Anthony Minessale > *To:* freeswitch-users at lists.freeswitch.org > *Sent:* Tuesday, March 09, 2010 1:10 PM > *Subject:* Re: [Freeswitch-users] vars from sip_registrations table > > Aww, The les paul sounded nice I have one on my wishlist =D > http://bit.ly/bRHKlk > > *shrug* $250.00 maybe? > > > On Tue, Mar 9, 2010 at 11:39 AM, Madovsky wrote: > >> OK How much ? >> >> ----- Original Message ----- >> *From:* Anthony Minessale >> *To:* freeswitch-users at lists.freeswitch.org >> *Sent:* Tuesday, March 09, 2010 11:39 AM >> *Subject:* Re: [Freeswitch-users] vars from sip_registrations table >> >> You would need to make a patch for it or pay someone to add it. >> >> >> On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: >> >>> forgot to say that I need it (since I didn't find any good examples) >>> for a 2 FS clustered without SRV NAPTR in DNS (the client I should use is >>> not compatible) >>> >>> Thanks >>> >>> F >>> >>> ----- Original Message ----- >>> *From:* Madovsky >>> *To:* freeswitch-users at lists.freeswitch.org >>> *Sent:* Tuesday, March 09, 2010 2:59 AM >>> *Subject:* vars from sip_registrations table >>> >>> in sip_registration table there are >>> call_id >>> sip_user >>> sip_host >>> presence_hosts >>> contact >>> status >>> rpid >>> expires >>> user_agent >>> server_user >>> server_host >>> profile_name >>> hostname >>> network_ip >>> network_port >>> sip_username >>> sip_realm >>> mwi_user >>> mwi_host >>> orig_server_host >>> orig_hostname >>> >>> fields, so how can I get these vars from the callee before the bridge ? >>> I need to replace the host of the callee in case of if he's registered on >>> another FS node. >>> >>> thanks >>> >>> Franck >>> >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> ------------------------------ >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> >> > > > -- > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > ------------------------------ > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > > -- 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 iax:guest at conference.freeswitch.org/888 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/20100309/2df8af68/attachment-0001.html From peder at networkoblivion.com Tue Mar 9 10:47:32 2010 From: peder at networkoblivion.com (Peder) Date: Tue, 9 Mar 2010 12:47:32 -0600 Subject: [Freeswitch-users] Outbound calls mobile In-Reply-To: References: <107001cabfb3$891cd5e0$9b5681a0$@com> Message-ID: <10e701cabfb8$fa211440$ee633cc0$@com> Is this out a sip trunk, or a PRI, or some other gateway? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Sean Holt Sent: Tuesday, March 09, 2010 12:30 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Outbound calls mobile Basically I have sip trace turned on and I'm watching the call. It gets to the point where it is "Trying" to esbstalish the call then for no reason it times out. No further details from the sip trace other then call has timed out. The strange part is this doesn't happen when calling any analog line. If you want I can provide the sip trace. Sean On 3/9/10 10:08 AM, "Peder" wrote: What are the problems? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Sean Holt Sent: Tuesday, March 09, 2010 11:59 AM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Outbound calls mobile Hello, having weird issue with outbound calls to any mobile phone, but not to LAN/analog lines. Curious if anyone else has had this experienced with their freeswitch setup. My setup: Centos 5.4 32bit Freeswitch 1.0.5 most recent svn trunk Thanks Sean _____ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/cd632919/attachment.html From msc at freeswitch.org Tue Mar 9 11:01:31 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 9 Mar 2010 11:01:31 -0800 Subject: [Freeswitch-users] auto attendant -> hunt group -> external number does not ring In-Reply-To: <302537.41702.qm@web57609.mail.re1.yahoo.com> References: <302537.41702.qm@web57609.mail.re1.yahoo.com> Message-ID: <87f2f3b91003091101s2138078aj6a564ff31cd4b3cd@mail.gmail.com> On Mon, Mar 8, 2010 at 2:23 PM, William Traenkle wrote: > FS Community, > > > I created an extension 704 > > > > I created a hunt group 7004 that first rings 704 then rings my cell phone > 16194548924. > > > > I created an auto attendant 5002 with an option of 704 that goes to hunt > group 7004. > > > > 1) What does work: When I call the hunt group directly by dialing 7004 > internally, the hunt group first rings 704 then rings my cell phone > successfully. This is perfect. > > > > 2) What does not work: When I call the main auto attendant from either > internally by dialing 5002 or externally by dialing my main number, and dial > 704, my extension rings and after not answering my cell phone does not ring. > > > > What I am expecting in #2 is for my extension 704 to ring and if I do not > pick up then my cell phone will ring just like it does in #1. > > > > My knowledge is limited in this area and if you could point me in the right > direction, that would be great. I a have tried everything but with no > luck. > > > Pastebin the necessary debug info. Check http://wiki.freeswitch.org/wiki/Reporting_Bugs for specifics on how to do collect and report all the data to pastebin. It would be good to see the dialplan and the debug log for each call. When you've collected all the data please reply here with the pastebin URL. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/3745625e/attachment.html From anthony.minessale at gmail.com Tue Mar 9 11:06:07 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 9 Mar 2010 13:06:07 -0600 Subject: [Freeswitch-users] vars from sip_registrations table In-Reply-To: <191c3a031003091045w11a564d0r9757a2ae44a4542b@mail.gmail.com> References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705> <191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com> <509EA502A6AE46E88BE8A205B74834B7@MOBILEE1705> <191c3a031003091010u6d0a9ba9r9d3c0c753396489c@mail.gmail.com> <1F4E428CA9754FE49A8D16442657CE4C@MOBILEE1705> <191c3a031003091045w11a564d0r9757a2ae44a4542b@mail.gmail.com> Message-ID: <191c3a031003091106g703866b2r863a57e70c235c28@mail.gmail.com> Also, when you are done insulting me, maybe try sofia_contact api command that will resolve your destination to the exact contact string that the phone registered with which is really the only bit of info that you would possibly need rather than asking for another expensive database lookup per call. On Tue, Mar 9, 2010 at 12:45 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > ORLY, > > So maybe if you *think* you know what you are talking about, you should go > do some research on the average amount of code I write on a daily basis > nonstop for the last several years without "ask money". This includes most > of the core, and 90% of the modules you are playing with right now including > the 24 thousand lines of code in mod_sofia alone. > So frankly, since I don't see an urgent need for your request, and I am too > busy to do it, this particular feature would require a bounty to complete. > > By the way, you have sent like 2 dozen emails in the same week asking for > all kinds of help, that's also being shared to you for free so I think you > are getting the better side of the bargain here. Asking for a bounty on a > feature that only helps one individual is very common............. > > > > > > On Tue, Mar 9, 2010 at 12:25 PM, Madovsky wrote: > >> I said I OFFER it in case of I finish my (no money no profit but big >> potential) experimental project. >> I understand perfectly your mind of how to manage an open source project, >> but don't forget >> that there are guys like you on this emailist who don't even make any >> decent salary, that is why >> I use and develop open source : share -> evovle your minds -> make all >> people happy -> money comes >> but not share -> ask money -> make >> people weird -> money won't come >> it's my point of view. >> >> Regards >> >> ----- Original Message ----- >> *From:* Anthony Minessale >> *To:* freeswitch-users at lists.freeswitch.org >> *Sent:* Tuesday, March 09, 2010 1:10 PM >> *Subject:* Re: [Freeswitch-users] vars from sip_registrations table >> >> Aww, The les paul sounded nice I have one on my wishlist =D >> http://bit.ly/bRHKlk >> >> *shrug* $250.00 maybe? >> >> >> On Tue, Mar 9, 2010 at 11:39 AM, Madovsky wrote: >> >>> OK How much ? >>> >>> ----- Original Message ----- >>> *From:* Anthony Minessale >>> *To:* freeswitch-users at lists.freeswitch.org >>> *Sent:* Tuesday, March 09, 2010 11:39 AM >>> *Subject:* Re: [Freeswitch-users] vars from sip_registrations table >>> >>> You would need to make a patch for it or pay someone to add it. >>> >>> >>> On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: >>> >>>> forgot to say that I need it (since I didn't find any good examples) >>>> for a 2 FS clustered without SRV NAPTR in DNS (the client I should use >>>> is not compatible) >>>> >>>> Thanks >>>> >>>> F >>>> >>>> ----- Original Message ----- >>>> *From:* Madovsky >>>> *To:* freeswitch-users at lists.freeswitch.org >>>> *Sent:* Tuesday, March 09, 2010 2:59 AM >>>> *Subject:* vars from sip_registrations table >>>> >>>> in sip_registration table there are >>>> call_id >>>> sip_user >>>> sip_host >>>> presence_hosts >>>> contact >>>> status >>>> rpid >>>> expires >>>> user_agent >>>> server_user >>>> server_host >>>> profile_name >>>> hostname >>>> network_ip >>>> network_port >>>> sip_username >>>> sip_realm >>>> mwi_user >>>> mwi_host >>>> orig_server_host >>>> orig_hostname >>>> >>>> fields, so how can I get these vars from the callee before the bridge ? >>>> I need to replace the host of the callee in case of if he's registered >>>> on another FS node. >>>> >>>> thanks >>>> >>>> Franck >>>> >>>> >>>> _______________________________________________ >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>> iax:guest at conference.freeswitch.org/888 >>> googletalk:conf+888 at conference.freeswitch.org >>> pstn:+19193869900 >>> >>> ------------------------------ >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >>> >>> >> >> >> -- >> 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 >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> ------------------------------ >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> >> > > > -- > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > -- 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 iax:guest at conference.freeswitch.org/888 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/20100309/2905240b/attachment-0001.html From rm at callrica.co.za Tue Mar 9 11:08:42 2010 From: rm at callrica.co.za (Roly Maz) Date: Tue, 9 Mar 2010 21:08:42 +0200 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: <63837C30-11FB-47E6-8173-3AFEA76A5BB4@gmail.com> References: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> <8215DEFE-460E-4764-BF96-35FBE820EC11@freeswitch.org> <63837C30-11FB-47E6-8173-3AFEA76A5BB4@gmail.com> Message-ID: <000001cabfbb$f2114c90$d633e5b0$@co.za> Ah I see... what? Please share and lead this blind man out the FS wilderness! I don't understand...what happens to the external profile? Do you delete it? And how do you forward port 5060? ...and you thought you were a newbie! Any insight would be much appreciated...loving the journey. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bruce Hopkins Sent: 09 March 2010 08:23 AM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] doublenat outgoing call issue Ah I see. I will try again using the internal profile and forwarding port 5060. Presumably still creating a directory entry to enable the outside-facing domain to be used. Many thanks for your patient help of a newbie Brian. Cheers Bruce Please excuse the brevity - sent from my mobile. On 8 Mar 2010, at 17:21, Brian West wrote: > ok you aren't catching one key thing here.. you no longer need two > profiles. > > /b > > On Mar 8, 2010, at 11:12 AM, Bruce Hopkins wrote: > >> Hi again, >> >> Thanks for the help so far. Unfotrunately I must still be doing >> something wrong here as I am still having difficulty, and still >> have the same problem. >> >> I updated to build 16938 by means of "make current" >> >> I'm not able to use UPNP or NATPMP so changed the port forwarding >> to use 5080 instead of 5090. >> >> I got rid of the doublenat profile in sip_profiles, though I had to >> retain an entry in the directory /usr/local/freeeswitch/conf/ >> directory/ext_dns.xml in order to give freeswitch the dns name of >> the server as a domain for the remote softphone to register on. I >> left the group name in this entry the same as inthe default entry, >> so that the remote phone could register on the same extension >> numbers (100, etc) as in the default build. >> >> I still find that, if I initiate a call from the local (on same LAN >> as freeswitch) phone to the remote phone, I get the message on the >> CLI: >> >> [ERR] switch_ivr_originate.c2389 Cannot create outgoing channel of >> type [user] cause: [USER_NOT_REGISTERED] >> >> One possibly unrelated aside, I also found I needed to uncomment >> in >> external.xml, otherwise in the case of a call initiated by the >> remote phone being hung up by the local phone, freeswitch sent the >> BYE to the private IP of the remote phone, rather than its public >> ip - meaning that the remote phone didn't receive the BYE. >> >> Any further ideas where I am going wrong here please? >> >> thanks again in advance >> Bruce > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 From infos at madovsky.org Tue Mar 9 11:09:06 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 9 Mar 2010 14:09:06 -0500 Subject: [Freeswitch-users] vars from sip_registrations table References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705><191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com><509EA502A6AE46E88BE8A205B74834B7@MOBILEE1705><191c3a031003091010u6d0a9ba9r9d3c0c753396489c@mail.gmail.com><1F4E428CA9754FE49A8D16442657CE4C@MOBILEE1705> <191c3a031003091045w11a564d0r9757a2ae44a4542b@mail.gmail.com> Message-ID: >This includes most of the core, and 90% of the modules you are playing with .. do you think I really "play" with ? it's like you are a teacher, complaints about your knowledge and complaint to your students you worked for nothing for years. 24000 lines ? it's nothing if I compare to a project I offer fro free for NGOs that contains 800 000.lines do you want to continue to compete and complaint ? ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 1:45 PM Subject: Re: [Freeswitch-users] vars from sip_registrations table ORLY, So maybe if you *think* you know what you are talking about, you should go do some research on the average amount of code I write on a daily basis nonstop for the last several years without "ask money". This includes most of the core, and 90% of the modules you are playing with right now including the 24 thousand lines of code in mod_sofia alone. So frankly, since I don't see an urgent need for your request, and I am too busy to do it, this particular feature would require a bounty to complete. By the way, you have sent like 2 dozen emails in the same week asking for all kinds of help, that's also being shared to you for free so I think you are getting the better side of the bargain here. Asking for a bounty on a feature that only helps one individual is very common............. On Tue, Mar 9, 2010 at 12:25 PM, Madovsky wrote: I said I OFFER it in case of I finish my (no money no profit but big potential) experimental project. I understand perfectly your mind of how to manage an open source project, but don't forget that there are guys like you on this emailist who don't even make any decent salary, that is why I use and develop open source : share -> evovle your minds -> make all people happy -> money comes but not share -> ask money -> make people weird -> money won't come it's my point of view. Regards ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 1:10 PM Subject: Re: [Freeswitch-users] vars from sip_registrations table Aww, The les paul sounded nice I have one on my wishlist =D http://bit.ly/bRHKlk *shrug* $250.00 maybe? On Tue, Mar 9, 2010 at 11:39 AM, Madovsky wrote: OK How much ? ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 11:39 AM Subject: Re: [Freeswitch-users] vars from sip_registrations table You would need to make a patch for it or pay someone to add it. On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: forgot to say that I need it (since I didn't find any good examples) for a 2 FS clustered without SRV NAPTR in DNS (the client I should use is not compatible) Thanks F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 2:59 AM Subject: vars from sip_registrations table in sip_registration table there are call_id sip_user sip_host presence_hosts contact status rpid expires user_agent server_user server_host profile_name hostname network_ip network_port sip_username sip_realm mwi_user mwi_host orig_server_host orig_hostname fields, so how can I get these vars from the callee before the bridge ? I need to replace the host of the callee in case of if he's registered on another FS node. thanks Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ---------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 -- 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 -- 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/ffd4bc47/attachment-0001.html From sean at obscuradigital.com Tue Mar 9 11:08:38 2010 From: sean at obscuradigital.com (Obscura) Date: Tue, 9 Mar 2010 11:08:38 -0800 Subject: [Freeswitch-users] Outbound calls mobile In-Reply-To: <10e701cabfb8$fa211440$ee633cc0$@com> References: <107001cabfb3$891cd5e0$9b5681a0$@com> <10e701cabfb8$fa211440$ee633cc0$@com> Message-ID: <90B41691-BD5F-4E36-B8D6-B394889E3ADF@obscuradigital.com> I'm using iCall carrier service gateway. IP based authentication. I know it's worked in the past but ever since I did a svn update it hasn't worked speifically connecting to mobile/cell phones. Not sure if this answers question. Sean Sent from my iPhone On Mar 9, 2010, at 10:47 AM, "Peder" wrote: > Is this out a sip trunk, or a PRI, or some other gateway? > > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Sean Holt > Sent: Tuesday, March 09, 2010 12:30 PM > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] Outbound calls mobile > > > > > Basically I have sip trace turned on and I?m watching the call. It > gets to the point where it is ?Trying? to esbstalish the call > then for no reason it times out. No further details from the sip tr > ace other then call has timed out. > > The strange part is this doesn?t happen when calling any analog lin > e. > > If you want I can provide the sip trace. > > Sean > > > On 3/9/10 10:08 AM, "Peder" wrote: > > What are the problems? > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Sean Holt > Sent: Tuesday, March 09, 2010 11:59 AM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Outbound calls mobile > > Hello, having weird issue with outbound calls to any mobile phone, > but not to LAN/analog lines. Curious if anyone else has had this > experienced with their freeswitch setup. > > My setup: > Centos 5.4 32bit > Freeswitch 1.0.5 most recent svn trunk > > Thanks > Sean > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100309/510afc48/attachment.html From infos at madovsky.org Tue Mar 9 11:11:58 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 9 Mar 2010 14:11:58 -0500 Subject: [Freeswitch-users] vars from sip_registrations table References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705><191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com><509EA502A6AE46E88BE8A205B74834B7@MOBILEE1705><191c3a031003091010u6d0a9ba9r9d3c0c753396489c@mail.gmail.com><1F4E428CA9754FE49A8D16442657CE4C@MOBILEE1705> <191c3a031003091045w11a564d0r9757a2ae44a4542b@mail.gmail.com> Message-ID: <3C08E64A35614EE68E5936C80E809F9B@MOBILEE1705> In more let me say to you that my "dozen" of emails I sent to this emailist were not "help" but info request because of doc lacks... So anyway, I don't care what do you think about me. but the thing I'm sure is I don't complaint of my situation since I'm not the center of the earth... ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 1:45 PM Subject: Re: [Freeswitch-users] vars from sip_registrations table ORLY, So maybe if you *think* you know what you are talking about, you should go do some research on the average amount of code I write on a daily basis nonstop for the last several years without "ask money". This includes most of the core, and 90% of the modules you are playing with right now including the 24 thousand lines of code in mod_sofia alone. So frankly, since I don't see an urgent need for your request, and I am too busy to do it, this particular feature would require a bounty to complete. By the way, you have sent like 2 dozen emails in the same week asking for all kinds of help, that's also being shared to you for free so I think you are getting the better side of the bargain here. Asking for a bounty on a feature that only helps one individual is very common............. On Tue, Mar 9, 2010 at 12:25 PM, Madovsky wrote: I said I OFFER it in case of I finish my (no money no profit but big potential) experimental project. I understand perfectly your mind of how to manage an open source project, but don't forget that there are guys like you on this emailist who don't even make any decent salary, that is why I use and develop open source : share -> evovle your minds -> make all people happy -> money comes but not share -> ask money -> make people weird -> money won't come it's my point of view. Regards ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 1:10 PM Subject: Re: [Freeswitch-users] vars from sip_registrations table Aww, The les paul sounded nice I have one on my wishlist =D http://bit.ly/bRHKlk *shrug* $250.00 maybe? On Tue, Mar 9, 2010 at 11:39 AM, Madovsky wrote: OK How much ? ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 11:39 AM Subject: Re: [Freeswitch-users] vars from sip_registrations table You would need to make a patch for it or pay someone to add it. On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: forgot to say that I need it (since I didn't find any good examples) for a 2 FS clustered without SRV NAPTR in DNS (the client I should use is not compatible) Thanks F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 2:59 AM Subject: vars from sip_registrations table in sip_registration table there are call_id sip_user sip_host presence_hosts contact status rpid expires user_agent server_user server_host profile_name hostname network_ip network_port sip_username sip_realm mwi_user mwi_host orig_server_host orig_hostname fields, so how can I get these vars from the callee before the bridge ? I need to replace the host of the callee in case of if he's registered on another FS node. thanks Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ---------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 -- 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 -- 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/d56c816e/attachment-0001.html From infos at madovsky.org Tue Mar 9 11:14:53 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 9 Mar 2010 14:14:53 -0500 Subject: [Freeswitch-users] vars from sip_registrations table References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705><191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com><509EA502A6AE46E88BE8A205B74834B7@MOBILEE1705><191c3a031003091010u6d0a9ba9r9d3c0c753396489c@mail.gmail.com><1F4E428CA9754FE49A8D16442657CE4C@MOBILEE1705><191c3a031003091045w11a564d0r9757a2ae44a4542b@mail.gmail.com> <191c3a031003091106g703866b2r863a57e70c235c28@mail.gmail.com> Message-ID: Ok, tell me where I insulted you ? ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 2:06 PM Subject: Re: [Freeswitch-users] vars from sip_registrations table Also, when you are done insulting me, maybe try sofia_contact api command that will resolve your destination to the exact contact string that the phone registered with which is really the only bit of info that you would possibly need rather than asking for another expensive database lookup per call. On Tue, Mar 9, 2010 at 12:45 PM, Anthony Minessale wrote: ORLY, So maybe if you *think* you know what you are talking about, you should go do some research on the average amount of code I write on a daily basis nonstop for the last several years without "ask money". This includes most of the core, and 90% of the modules you are playing with right now including the 24 thousand lines of code in mod_sofia alone. So frankly, since I don't see an urgent need for your request, and I am too busy to do it, this particular feature would require a bounty to complete. By the way, you have sent like 2 dozen emails in the same week asking for all kinds of help, that's also being shared to you for free so I think you are getting the better side of the bargain here. Asking for a bounty on a feature that only helps one individual is very common............. On Tue, Mar 9, 2010 at 12:25 PM, Madovsky wrote: I said I OFFER it in case of I finish my (no money no profit but big potential) experimental project. I understand perfectly your mind of how to manage an open source project, but don't forget that there are guys like you on this emailist who don't even make any decent salary, that is why I use and develop open source : share -> evovle your minds -> make all people happy -> money comes but not share -> ask money -> make people weird -> money won't come it's my point of view. Regards ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 1:10 PM Subject: Re: [Freeswitch-users] vars from sip_registrations table Aww, The les paul sounded nice I have one on my wishlist =D http://bit.ly/bRHKlk *shrug* $250.00 maybe? On Tue, Mar 9, 2010 at 11:39 AM, Madovsky wrote: OK How much ? ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 11:39 AM Subject: Re: [Freeswitch-users] vars from sip_registrations table You would need to make a patch for it or pay someone to add it. On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: forgot to say that I need it (since I didn't find any good examples) for a 2 FS clustered without SRV NAPTR in DNS (the client I should use is not compatible) Thanks F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 2:59 AM Subject: vars from sip_registrations table in sip_registration table there are call_id sip_user sip_host presence_hosts contact status rpid expires user_agent server_user server_host profile_name hostname network_ip network_port sip_username sip_realm mwi_user mwi_host orig_server_host orig_hostname fields, so how can I get these vars from the callee before the bridge ? I need to replace the host of the callee in case of if he's registered on another FS node. thanks Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 -- 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 -- 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -- 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/b74dc45b/attachment-0001.html From infos at madovsky.org Tue Mar 9 11:16:08 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 9 Mar 2010 14:16:08 -0500 Subject: [Freeswitch-users] vars from sip_registrations table References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705><191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com><509EA502A6AE46E88BE8A205B74834B7@MOBILEE1705><191c3a031003091010u6d0a9ba9r9d3c0c753396489c@mail.gmail.com><1F4E428CA9754FE49A8D16442657CE4C@MOBILEE1705><191c3a031003091045w11a564d0r9757a2ae44a4542b@mail.gmail.com> <191c3a031003091106g703866b2r863a57e70c235c28@mail.gmail.com> Message-ID: <49F280E71F554CFD8BDCD78E53F14A71@MOBILEE1705> Thank you ! ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 2:06 PM Subject: Re: [Freeswitch-users] vars from sip_registrations table Also, when you are done insulting me, maybe try sofia_contact api command that will resolve your destination to the exact contact string that the phone registered with which is really the only bit of info that you would possibly need rather than asking for another expensive database lookup per call. On Tue, Mar 9, 2010 at 12:45 PM, Anthony Minessale wrote: ORLY, So maybe if you *think* you know what you are talking about, you should go do some research on the average amount of code I write on a daily basis nonstop for the last several years without "ask money". This includes most of the core, and 90% of the modules you are playing with right now including the 24 thousand lines of code in mod_sofia alone. So frankly, since I don't see an urgent need for your request, and I am too busy to do it, this particular feature would require a bounty to complete. By the way, you have sent like 2 dozen emails in the same week asking for all kinds of help, that's also being shared to you for free so I think you are getting the better side of the bargain here. Asking for a bounty on a feature that only helps one individual is very common............. On Tue, Mar 9, 2010 at 12:25 PM, Madovsky wrote: I said I OFFER it in case of I finish my (no money no profit but big potential) experimental project. I understand perfectly your mind of how to manage an open source project, but don't forget that there are guys like you on this emailist who don't even make any decent salary, that is why I use and develop open source : share -> evovle your minds -> make all people happy -> money comes but not share -> ask money -> make people weird -> money won't come it's my point of view. Regards ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 1:10 PM Subject: Re: [Freeswitch-users] vars from sip_registrations table Aww, The les paul sounded nice I have one on my wishlist =D http://bit.ly/bRHKlk *shrug* $250.00 maybe? On Tue, Mar 9, 2010 at 11:39 AM, Madovsky wrote: OK How much ? ----- Original Message ----- From: Anthony Minessale To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 11:39 AM Subject: Re: [Freeswitch-users] vars from sip_registrations table You would need to make a patch for it or pay someone to add it. On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: forgot to say that I need it (since I didn't find any good examples) for a 2 FS clustered without SRV NAPTR in DNS (the client I should use is not compatible) Thanks F ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 09, 2010 2:59 AM Subject: vars from sip_registrations table in sip_registration table there are call_id sip_user sip_host presence_hosts contact status rpid expires user_agent server_user server_host profile_name hostname network_ip network_port sip_username sip_realm mwi_user mwi_host orig_server_host orig_hostname fields, so how can I get these vars from the callee before the bridge ? I need to replace the host of the callee in case of if he's registered on another FS node. thanks Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 -- 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 -- 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -- 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/218c57f4/attachment-0001.html From msc at freeswitch.org Tue Mar 9 11:18:39 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 9 Mar 2010 11:18:39 -0800 Subject: [Freeswitch-users] call forward In-Reply-To: <883b62721003090940h25c3a853pdda2c281555caeea@mail.gmail.com> References: <883b62721003090940h25c3a853pdda2c281555caeea@mail.gmail.com> Message-ID: <87f2f3b91003091118o1191c519wb2972c1c8f9fc087@mail.gmail.com> On Tue, Mar 9, 2010 at 9:40 AM, chandrasekhar reddy wrote: > Hi, > > i am trying to forward call from freeswitch to cisco router, call is > estabilished but after 30sec call got ended, any idea > > Sounds like a timeout issue. Make sure that there's no naughty NAT router in between your devices. You could also get a pcap of the traffic between the two devices and see where the dialog goes awry. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/9c77e99f/attachment.html From anthony.minessale at gmail.com Tue Mar 9 11:41:30 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 9 Mar 2010 13:41:30 -0600 Subject: [Freeswitch-users] vars from sip_registrations table In-Reply-To: References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705> <191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com> <509EA502A6AE46E88BE8A205B74834B7@MOBILEE1705> <191c3a031003091010u6d0a9ba9r9d3c0c753396489c@mail.gmail.com> <1F4E428CA9754FE49A8D16442657CE4C@MOBILEE1705> <191c3a031003091045w11a564d0r9757a2ae44a4542b@mail.gmail.com> <191c3a031003091106g703866b2r863a57e70c235c28@mail.gmail.com> Message-ID: <191c3a031003091141i32599500o338f86d225bd3cb9@mail.gmail.com> Well every email you sent since i suggested you file a bounty request for your feature is more or less carrying an insulting tone. Go back and read it. You are insulting everyone on this list with your attempts to downplay the effort the community has made to create this project. An on the subject of being able to read, I said "mod_sofia" (1 module in FS) is 24000 lines. This is not a contest about how many lines of code but since you feel the need to continue: http://fisheye.freeswitch.org/committer/FreeSWITCH/anthm FreeSWITCH has over 3 million lines of code in SVN. You can clearly see I have personally committed 600,000 lines of code in 4 years and started this project from nothing. The only point of this information is that almost all of this code was written completely for free. This means you are completely wrong with your previous statements that everything is for money. The actual amount of code written and time spent is not even relevant apart from that. I only ask for money for things I don't want to do and someone else wants me to do it. In fact, even if you paid me, I would not add your feature so forget it. The more I thought about it the more I decided it's a waste of resources on the application. If our work is insignificant to you, I don't really care. Feel free to write your own code instead. Keep in mind that if you continue to abuse and flame our mailing list, you will be moderated. If you can be civil and stop the flaming you are welcome to stay. I recommend an apology to the community to start with. Also, try to consolidate your thoughts into 1 single email instead of sending 5 in a row on the same thread. On Tue, Mar 9, 2010 at 1:14 PM, Madovsky wrote: > Ok, tell me where I insulted you ? > > ----- Original Message ----- > *From:* Anthony Minessale > *To:* freeswitch-users at lists.freeswitch.org > *Sent:* Tuesday, March 09, 2010 2:06 PM > *Subject:* Re: [Freeswitch-users] vars from sip_registrations table > > Also, when you are done insulting me, maybe try sofia_contact api command > that will resolve your destination to the exact contact string that the > phone registered with which is really the only bit of info > that you would possibly need rather than asking for another expensive > database lookup per call. > > > On Tue, Mar 9, 2010 at 12:45 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> ORLY, >> >> So maybe if you *think* you know what you are talking about, you should go >> do some research on the average amount of code I write on a daily basis >> nonstop for the last several years without "ask money". This includes most >> of the core, and 90% of the modules you are playing with right now including >> the 24 thousand lines of code in mod_sofia alone. >> So frankly, since I don't see an urgent need for your request, and I am >> too busy to do it, this particular feature would require a bounty to >> complete. >> >> By the way, you have sent like 2 dozen emails in the same week asking for >> all kinds of help, that's also being shared to you for free so I think you >> are getting the better side of the bargain here. Asking for a bounty on a >> feature that only helps one individual is very common............. >> >> >> >> >> >> On Tue, Mar 9, 2010 at 12:25 PM, Madovsky wrote: >> >>> I said I OFFER it in case of I finish my (no money no profit but big >>> potential) experimental project. >>> I understand perfectly your mind of how to manage an open source project, >>> but don't forget >>> that there are guys like you on this emailist who don't even make any >>> decent salary, that is why >>> I use and develop open source : share -> evovle your minds -> make all >>> people happy -> money comes >>> but not share -> ask money -> >>> make people weird -> money won't come >>> it's my point of view. >>> >>> Regards >>> >>> ----- Original Message ----- >>> *From:* Anthony Minessale >>> *To:* freeswitch-users at lists.freeswitch.org >>> *Sent:* Tuesday, March 09, 2010 1:10 PM >>> *Subject:* Re: [Freeswitch-users] vars from sip_registrations table >>> >>> Aww, The les paul sounded nice I have one on my wishlist =D >>> http://bit.ly/bRHKlk >>> >>> *shrug* $250.00 maybe? >>> >>> >>> On Tue, Mar 9, 2010 at 11:39 AM, Madovsky wrote: >>> >>>> OK How much ? >>>> >>>> ----- Original Message ----- >>>> *From:* Anthony Minessale >>>> *To:* freeswitch-users at lists.freeswitch.org >>>> *Sent:* Tuesday, March 09, 2010 11:39 AM >>>> *Subject:* Re: [Freeswitch-users] vars from sip_registrations table >>>> >>>> You would need to make a patch for it or pay someone to add it. >>>> >>>> >>>> On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: >>>> >>>>> forgot to say that I need it (since I didn't find any good examples) >>>>> for a 2 FS clustered without SRV NAPTR in DNS (the client I should use >>>>> is not compatible) >>>>> >>>>> Thanks >>>>> >>>>> F >>>>> >>>>> ----- Original Message ----- >>>>> *From:* Madovsky >>>>> *To:* freeswitch-users at lists.freeswitch.org >>>>> *Sent:* Tuesday, March 09, 2010 2:59 AM >>>>> *Subject:* vars from sip_registrations table >>>>> >>>>> in sip_registration table there are >>>>> call_id >>>>> sip_user >>>>> sip_host >>>>> presence_hosts >>>>> contact >>>>> status >>>>> rpid >>>>> expires >>>>> user_agent >>>>> server_user >>>>> server_host >>>>> profile_name >>>>> hostname >>>>> network_ip >>>>> network_port >>>>> sip_username >>>>> sip_realm >>>>> mwi_user >>>>> mwi_host >>>>> orig_server_host >>>>> orig_hostname >>>>> >>>>> fields, so how can I get these vars from the callee before the bridge ? >>>>> I need to replace the host of the callee in case of if he's registered >>>>> on another FS node. >>>>> >>>>> thanks >>>>> >>>>> Franck >>>>> >>>>> >>>>> _______________________________________________ >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at 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 >>>> iax:guest at conference.freeswitch.org/888 >>>> googletalk:conf+888 at conference.freeswitch.org >>>> pstn:+19193869900 >>>> >>>> ------------------------------ >>>> >>>> _______________________________________________ >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>>> >>>> >>> >>> >>> -- >>> 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 >>> iax:guest at conference.freeswitch.org/888 >>> googletalk:conf+888 at conference.freeswitch.org >>> pstn:+19193869900 >>> >>> ------------------------------ >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >>> >>> >> >> >> -- >> 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 >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> > > > > -- > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > ------------------------------ > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > > -- 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 iax:guest at conference.freeswitch.org/888 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/20100309/26a1bbe0/attachment-0001.html From oseslija at gmail.com Tue Mar 9 12:43:37 2010 From: oseslija at gmail.com (Ognjen Seslija) Date: Tue, 9 Mar 2010 21:43:37 +0100 Subject: [Freeswitch-users] vars from sip_registrations table In-Reply-To: <1F4E428CA9754FE49A8D16442657CE4C@MOBILEE1705> References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705> <191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com> <509EA502A6AE46E88BE8A205B74834B7@MOBILEE1705> <191c3a031003091010u6d0a9ba9r9d3c0c753396489c@mail.gmail.com> <1F4E428CA9754FE49A8D16442657CE4C@MOBILEE1705> Message-ID: <4468a6771003091243q1678cfe8o38ea92bc6b05aeca@mail.gmail.com> This is hypochisy in action. 99% of people asking questions in this ml are using FreeSWITCH for commercial use, I for one. So if the primary author of software that gets you paid asks for small bounty, I'd shut up or pay up. Ognjen On Tue, Mar 9, 2010 at 7:25 PM, Madovsky wrote: > I said I OFFER it in case of I finish my (no money no profit but big > potential) experimental project. > I understand perfectly your mind of how to manage an open source project, > but don't forget > that there are guys like you on this emailist who don't even make any > decent salary, that is why > I use and develop open source : share -> evovle your minds -> make all > people happy -> money comes > but not share -> ask money -> make > people weird -> money won't come > it's my point of view. > > Regards > > ----- Original Message ----- > *From:* Anthony Minessale > *To:* freeswitch-users at lists.freeswitch.org > *Sent:* Tuesday, March 09, 2010 1:10 PM > *Subject:* Re: [Freeswitch-users] vars from sip_registrations table > > Aww, The les paul sounded nice I have one on my wishlist =D > http://bit.ly/bRHKlk > > *shrug* $250.00 maybe? > > > On Tue, Mar 9, 2010 at 11:39 AM, Madovsky wrote: > >> OK How much ? >> >> ----- Original Message ----- >> *From:* Anthony Minessale >> *To:* freeswitch-users at lists.freeswitch.org >> *Sent:* Tuesday, March 09, 2010 11:39 AM >> *Subject:* Re: [Freeswitch-users] vars from sip_registrations table >> >> You would need to make a patch for it or pay someone to add it. >> >> >> On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: >> >>> forgot to say that I need it (since I didn't find any good examples) >>> for a 2 FS clustered without SRV NAPTR in DNS (the client I should use is >>> not compatible) >>> >>> Thanks >>> >>> F >>> >>> ----- Original Message ----- >>> *From:* Madovsky >>> *To:* freeswitch-users at lists.freeswitch.org >>> *Sent:* Tuesday, March 09, 2010 2:59 AM >>> *Subject:* vars from sip_registrations table >>> >>> in sip_registration table there are >>> call_id >>> sip_user >>> sip_host >>> presence_hosts >>> contact >>> status >>> rpid >>> expires >>> user_agent >>> server_user >>> server_host >>> profile_name >>> hostname >>> network_ip >>> network_port >>> sip_username >>> sip_realm >>> mwi_user >>> mwi_host >>> orig_server_host >>> orig_hostname >>> >>> fields, so how can I get these vars from the callee before the bridge ? >>> I need to replace the host of the callee in case of if he's registered on >>> another FS node. >>> >>> thanks >>> >>> Franck >>> >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> ------------------------------ >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> >> > > > -- > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > ------------------------------ > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100309/0e3bcc88/attachment-0001.html From m.sobkow at marketelsystems.com Tue Mar 9 13:57:01 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Tue, 09 Mar 2010 15:57:01 -0600 Subject: [Freeswitch-users] IVR and Erlang In-Reply-To: <4B703921.4080909@marketelsystems.com> References: <4B70288F.6040003@marketelsystems.com> <4B703921.4080909@marketelsystems.com> Message-ID: <4B96C42D.5020609@marketelsystems.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/a55a2c59/attachment.html From m.sobkow at marketelsystems.com Tue Mar 9 14:46:16 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Tue, 09 Mar 2010 16:46:16 -0600 Subject: [Freeswitch-users] Call keeps hanging up In-Reply-To: <20100304234050.GL1751@hijacked.us> References: <4B8FFDA7.50708@marketelsystems.com> <20100304184755.GK1751@hijacked.us> <4B9035B4.6030901@marketelsystems.com> <87f2f3b91003041500p18f4b523mbf545c30a0612813@mail.gmail.com> <20100304234050.GL1751@hijacked.us> Message-ID: <4B96CFB8.6060803@marketelsystems.com> I spoke with "the boss" today, and he's hoping to do a donation at month end if our accountant can confirm that it can be taken as a tax writeoff (I suggested it's an alternative way of paying for software, so it should be write-offable.) Andrew Thompson wrote: > On Thu, Mar 04, 2010 at 03:00:12PM -0800, Michael Collins wrote: > > >>> "Another satisfied customer!" :D Now it's time to throw some of that >>> >> Canadian colored money at Tony's paypal account. ;) >> > > Hey! I wrote the erlang module and provided the solution to the problem > ;) > > Andrew > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -- Mark Sobkow Senior Developer MarkeTel Multi-Line Dialing Systems LTD. 428 Victoria Ave Regina, SK S4N-0P6 Toll-Free: 800-289-8616-X533 Local: 306-359-6893-X533 Fax: 306-359-6879 Email: m.sobkow at marketelsystems.com Web: http://www.marketelsystems.com From craig at overthewire.com.au Tue Mar 9 15:25:31 2010 From: craig at overthewire.com.au (Craig Askings) Date: Wed, 10 Mar 2010 09:25:31 +1000 Subject: [Freeswitch-users] freeswitch to cisco router In-Reply-To: References: Message-ID: <8cc991dd1003091525t2600adf1m3c45dbf5ef62e7e6@mail.gmail.com> Hi Swapna, Are you trying to register the Cisco to the Freeswitch server? or the other way around. If the former check out the following documentation. http://www.cisco.com/en/US/docs/ios/12_3/sip/configuration/guide/chapter1.html#wp1182326 sip-ua authentication username [INSERT_EXTENTION] password [INSERT_PASSWORD] registrar ipv4:[INERST_NAME_OF_FS_BOX]:5060 expires 3600 sip-server ipv4:[INERST_NAME_OF_FS_BOX]:5060 Regards, Craig. On 9 March 2010 23:47, srinivasula reddy wrote: > Hi, > > i have tried to configure gateway from my freeswitch, with the following > credentials proxy(ip of cisco) and username,password. > and when i start my freeswitch registration reqest is going to cisco router > and again it requesting to same registration reqeust to my sipserver, the > register packet from cisco router to my freeswitch is comming like this > > To: sip:.*@sipserverip:5060 > > so there there is no user present with the name of .* it is rejecting the > registration request, any idea > > Thanks > Swapna > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -- Craig Askings Network Engineer | Over the Wire Pty Ltd craig at overthewire.com.au | www.overthewire.com.au Phone: 07 3847 9292 | Fax: 07 3847 9696 | Mobile: 0404 019 365 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/5d6f36f4/attachment.html From lloyd.aloysius at gmail.com Tue Mar 9 16:57:33 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Tue, 9 Mar 2010 19:57:33 -0500 Subject: [Freeswitch-users] IVR Menu - Timeout and Invalid Options Message-ID: <8a19bf2e1003091657l578a007ej703b2b58e7e962d6@mail.gmail.com> Hi All, I am trying to setup a simple IVR with two options , timeout action and Invalid digits pressed. here is the partial IVR Menu. How to Catch Timeout and Invalid Digits Actions from the IVR menu? Thanks you Thanks, Lloyd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/8fe82551/attachment.html From frank at carmickle.com Tue Mar 9 17:17:40 2010 From: frank at carmickle.com (Frank Carmickle) Date: Tue, 9 Mar 2010 20:17:40 -0500 Subject: [Freeswitch-users] IVR Menu - Timeout and Invalid Options In-Reply-To: <8a19bf2e1003091657l578a007ej703b2b58e7e962d6@mail.gmail.com> References: <8a19bf2e1003091657l578a007ej703b2b58e7e962d6@mail.gmail.com> Message-ID: <20100310011738.GS18427@base.carmickle.com> Hello On Tue, Mar 09, Aloysius Lloyd wrote: > Hi All, > > I am trying to setup a simple IVR with two options , timeout action and > Invalid digits pressed. here is the partial IVR Menu. > > > > Add something like. timeout="3000" inter-digit-timeout="2000" max-failures="3" max-timeouts="3" Then in the dialplan after you've called the ivr tranfer to another exten. Be careful to make sure that hangup after bridge gets set so that you don't ring the exten when someone who has been called from the ivr hangs up. HTH --FC From mike at jerris.com Tue Mar 9 16:15:29 2010 From: mike at jerris.com (Michael Jerris) Date: Tue, 9 Mar 2010 19:15:29 -0500 Subject: [Freeswitch-users] actition after a set time during call In-Reply-To: References: Message-ID: You can use execute_on_answer in combination with sched_api or something similar to acomplish this. Mike On Feb 26, 2010, at 1:53 PM, Todd wrote: > Hey List- > > I want to have nibblebill pause after a certain time during a call? I was wondering what the best way to put this into the dialplan is? Still kind of new to this?. > > > > Is the action I want to implement 2 minutes into a call? what is the best way to do this? I have the nibblerate set in the individual extension XMLs and the nibblerate heartbeat set in the nibble.conf.xml Thanks > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/abd3446b/attachment.html From mike at jerris.com Tue Mar 9 16:15:29 2010 From: mike at jerris.com (Michael Jerris) Date: Tue, 9 Mar 2010 19:15:29 -0500 Subject: [Freeswitch-users] actition after a set time during call In-Reply-To: References: Message-ID: You can use execute_on_answer in combination with sched_api or something similar to acomplish this. Mike On Feb 26, 2010, at 1:53 PM, Todd wrote: > Hey List- > > I want to have nibblebill pause after a certain time during a call? I was wondering what the best way to put this into the dialplan is? Still kind of new to this?. > > > > Is the action I want to implement 2 minutes into a call? what is the best way to do this? I have the nibblerate set in the individual extension XMLs and the nibblerate heartbeat set in the nibble.conf.xml Thanks > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/abd3446b/attachment-0003.html From mike at jerris.com Tue Mar 9 16:15:29 2010 From: mike at jerris.com (Michael Jerris) Date: Tue, 9 Mar 2010 19:15:29 -0500 Subject: [Freeswitch-users] actition after a set time during call In-Reply-To: References: Message-ID: You can use execute_on_answer in combination with sched_api or something similar to acomplish this. Mike On Feb 26, 2010, at 1:53 PM, Todd wrote: > Hey List- > > I want to have nibblebill pause after a certain time during a call? I was wondering what the best way to put this into the dialplan is? Still kind of new to this?. > > > > Is the action I want to implement 2 minutes into a call? what is the best way to do this? I have the nibblerate set in the individual extension XMLs and the nibblerate heartbeat set in the nibble.conf.xml Thanks > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/abd3446b/attachment-0004.html From mike at jerris.com Tue Mar 9 16:20:02 2010 From: mike at jerris.com (Michael Jerris) Date: Tue, 9 Mar 2010 19:20:02 -0500 Subject: [Freeswitch-users] How to tie context to a gateway? In-Reply-To: <20100216141634.75B3511FC6@mail.nstel.ru> References: <20100216141634.75B3511FC6@mail.nstel.ru> Message-ID: <7BA30ABD-5886-42AF-B22F-FBC4D13FDCE0@jerris.com> You can use conditions and transfer, the issue is, the inbound call has to be matched on the gateway, which means the other endpoint must actually send the request to our registered contact. Many do not do this. Its probably easier to just use multiple profiles on multiple ports. Mike On Feb 16, 2010, at 9:16 AM, Nikolay Kondratyev wrote: > Hi all, > I have several gateways in the external profile. > Let?s say GW1 and GW2. I?d like to process calls from the GW1 in the context C1 and calls from GW2 in the context C2. > Parameter ?context?, as far as I understand works for the whole profile, not for individual gateways in the profile. > How do send calls from GW1 into context C1? > What will be a good practice to do that? > Thanks in advance, > Nikolay. > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/01a9c273/attachment.html From mike at jerris.com Tue Mar 9 16:21:32 2010 From: mike at jerris.com (Michael Jerris) Date: Tue, 9 Mar 2010 19:21:32 -0500 Subject: [Freeswitch-users] call routing from freeswitch based on INVITE In-Reply-To: References: Message-ID: if you look at the vars from the info app for that inbound call, you will see all the relevant parts of the sip packet there to use in a condition. Mike On Mar 1, 2010, at 2:39 AM, srinivasula reddy wrote: > > > I have two sipservers like server1 and server2, if sever1 receives invite packet like > > INVITE From: 1000 at server1.domain.com > To: 1002 at server2.railvoice.com. > > how can i route the invite packet to server2 from server1, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/1ab67d12/attachment.html From mike at jerris.com Tue Mar 9 16:25:55 2010 From: mike at jerris.com (Michael Jerris) Date: Tue, 9 Mar 2010 19:25:55 -0500 Subject: [Freeswitch-users] Bug in mod_commands.c with show calls command In-Reply-To: References: <191c3a031003011524o618a139frccab554c1c97d334@mail.gmail.com> Message-ID: <034FE08F-7E01-45DD-8758-61FEA5AEEAF1@jerris.com> Could you please contribute a patch or at least report this issue to http;//jira.frreeswitch,org On Mar 1, 2010, at 10:29 PM, Wellie Chao wrote: > Terrific. "show calls as xml" works great and just what I needed. > > P.S. "show calls as csv" still has the comma bug. Not a big deal since I > can get it as XML. CSV needs quotes around field values that contain a > comma. Pretty easy to fix. Few lines of C (strchr for "," and if found, > put quotes around field value). > From pjintheusa at gmail.com Tue Mar 9 18:15:15 2010 From: pjintheusa at gmail.com (Phillip Jones) Date: Tue, 9 Mar 2010 21:15:15 -0500 Subject: [Freeswitch-users] How to originate a new call from mod_managed? In-Reply-To: <9394d42f1003081830t3257b63av1de166b2ae8038e7@mail.gmail.com> References: <9394d42f1003062102p3d97f86haa81c009f19be817@mail.gmail.com> <367751821003081204t7b18d8ebkb11bbd27828e01f6@mail.gmail.com> <9394d42f1003081830t3257b63av1de166b2ae8038e7@mail.gmail.com> Message-ID: <367751821003091815q72cce2bey6399b90c657a61f8@mail.gmail.com> After originate I call a method: Uuid = fsApi.ExecuteString("create_uuid"); apiResult = fsApi.Execute("originate", string.Format("{{ignore_early_media=false,absolute_codec_string='PCMU'}}[origination_uuid={0},origination_caller_id_number={1}]sofia/gateway/g1/{2} '&managed(MyFSProjects.TestCallAnswered)'", Uuid, OutgoingCallerID, NumberToDial)); My "TestCallAnswered" has reference to the session: public void Run(AppContext context) { BLegSession = context.Session; .... With the UUID you can also call other API functions: apiResult = fsApi.ExecuteString(string.Format("uuid_bridge {0} {1}", Aleg.Uuid, BLegSession.GetUuid())); apiResult = fsApi.Execute("uuid_media", "off " + call.Uuid); apiResult = fsApi.ExecuteString(string.Format("uuid_kill {0}", call.Uuid)); Hope that helps On Mon, Mar 8, 2010 at 9:30 PM, Chris wrote: > That decently woks to originate the call but passing that UUID into a new > ManagedSession does not seem to like to the session created using that UUID. > Once i create a session used the API you suggested how would i then access > the session in the Managed Code? > > Chris > > On Tue, Mar 9, 2010 at 7:04 AM, Phillip Jones wrote: > >> You could use the api: >> >> FreeSWITCH.Native.Api fsApi = new FreeSWITCH.Native.Api(); >> string apiResult = string.Empty; >> string Uuid; >> string NumberToDial = "3475558308"; >> string OutgoingCallerID = "2155556666"; >> >> Uuid = fsApi.ExecuteString("create_uuid"); >> >> apiResult = fsApi.Execute("originate", >> string.Format("{{ignore_early_media=false,absolute_codec_string='PCMU'}}[origination_uuid={0},origination_caller_id_number={1}]sofia/gateway/broadvox/{2}", >> Uuid, OutgoingCallerID, NumberToDial)); >> >> >> >> >> >> >> On Sun, Mar 7, 2010 at 12:02 AM, Chris wrote: >> >>> Hi, >>> I am trying to create a mod_managed API application that takes 2 phone >>> numbers as params. These numbers should then be used to make 2 calls and to >>> bridge them. The issue i am having is working out how to place the first >>> call leg from in mod_managed. All the methods i have found are for the >>> second leg and require you to pass in the first call leg. >>> >>> I know there are easier way to do this out of the managed code but i want >>> it in the managed code as this is just a proof of concept to prove we can do >>> a callback like system via managed code to be hooked into other external >>> systems. >>> In wiki http://wiki.freeswitch.org/wiki/Session there is this example >>> >>> s = new Session("{ignore_early_media=true}sofia/default/foo at bar.com"); >>> while (s.ready()) { >>> // The call has been answered >>> } >>> >>> This seems to be exactly what i am looking for but seems to be missing >>> from mod_managed. I am hoping someone can tell me how to do something >>> similar in mod_managed since even if it is not part of the managed code >>> mod_managed is meant to have the native access as well so i would assume it >>> would be possible. >>> >>> Thanks in advance >>> >>> Chris >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> >> > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/b79f282a/attachment-0001.html From wiltingtree at gmail.com Tue Mar 9 18:26:06 2010 From: wiltingtree at gmail.com (Adam Wilt) Date: Tue, 9 Mar 2010 21:26:06 -0500 Subject: [Freeswitch-users] vars from sip_registrations table In-Reply-To: <4468a6771003091243q1678cfe8o38ea92bc6b05aeca@mail.gmail.com> References: <806942C2ED024A408C98C207AEC3FA70@MOBILEE1705> <191c3a031003090839t41d16138o9e0e49683cc5ff9e@mail.gmail.com> <509EA502A6AE46E88BE8A205B74834B7@MOBILEE1705> <191c3a031003091010u6d0a9ba9r9d3c0c753396489c@mail.gmail.com> <1F4E428CA9754FE49A8D16442657CE4C@MOBILEE1705> <4468a6771003091243q1678cfe8o38ea92bc6b05aeca@mail.gmail.com> Message-ID: So Anthony, don't take this the wrong way, and I'm sorry if I'm asking a personal question, but if you've been writing this application for free for the past 4 years, how do you support yourself? Do you have a day job as well? On Tue, Mar 9, 2010 at 3:43 PM, Ognjen Seslija wrote: > This is hypochisy in action. > > 99% of people asking questions in this ml are using FreeSWITCH for > commercial use, I for one. > So if the primary author of software that gets you paid asks for small > bounty, I'd shut up or pay up. > > > Ognjen > > > On Tue, Mar 9, 2010 at 7:25 PM, Madovsky wrote: > >> I said I OFFER it in case of I finish my (no money no profit but big >> potential) experimental project. >> I understand perfectly your mind of how to manage an open source project, >> but don't forget >> that there are guys like you on this emailist who don't even make any >> decent salary, that is why >> I use and develop open source : share -> evovle your minds -> make all >> people happy -> money comes >> but not share -> ask money -> make >> people weird -> money won't come >> it's my point of view. >> >> Regards >> >> ----- Original Message ----- >> *From:* Anthony Minessale >> *To:* freeswitch-users at lists.freeswitch.org >> *Sent:* Tuesday, March 09, 2010 1:10 PM >> *Subject:* Re: [Freeswitch-users] vars from sip_registrations table >> >> Aww, The les paul sounded nice I have one on my wishlist =D >> http://bit.ly/bRHKlk >> >> *shrug* $250.00 maybe? >> >> >> On Tue, Mar 9, 2010 at 11:39 AM, Madovsky wrote: >> >>> OK How much ? >>> >>> ----- Original Message ----- >>> *From:* Anthony Minessale >>> *To:* freeswitch-users at lists.freeswitch.org >>> *Sent:* Tuesday, March 09, 2010 11:39 AM >>> *Subject:* Re: [Freeswitch-users] vars from sip_registrations table >>> >>> You would need to make a patch for it or pay someone to add it. >>> >>> >>> On Tue, Mar 9, 2010 at 2:04 AM, Madovsky wrote: >>> >>>> forgot to say that I need it (since I didn't find any good examples) >>>> for a 2 FS clustered without SRV NAPTR in DNS (the client I should use >>>> is not compatible) >>>> >>>> Thanks >>>> >>>> F >>>> >>>> ----- Original Message ----- >>>> *From:* Madovsky >>>> *To:* freeswitch-users at lists.freeswitch.org >>>> *Sent:* Tuesday, March 09, 2010 2:59 AM >>>> *Subject:* vars from sip_registrations table >>>> >>>> in sip_registration table there are >>>> call_id >>>> sip_user >>>> sip_host >>>> presence_hosts >>>> contact >>>> status >>>> rpid >>>> expires >>>> user_agent >>>> server_user >>>> server_host >>>> profile_name >>>> hostname >>>> network_ip >>>> network_port >>>> sip_username >>>> sip_realm >>>> mwi_user >>>> mwi_host >>>> orig_server_host >>>> orig_hostname >>>> >>>> fields, so how can I get these vars from the callee before the bridge ? >>>> I need to replace the host of the callee in case of if he's registered >>>> on another FS node. >>>> >>>> thanks >>>> >>>> Franck >>>> >>>> >>>> _______________________________________________ >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>> iax:guest at conference.freeswitch.org/888 >>> googletalk:conf+888 at conference.freeswitch.org >>> pstn:+19193869900 >>> >>> ------------------------------ >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >>> >>> >> >> >> -- >> 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 >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> ------------------------------ >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> >> > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/b2341a66/attachment-0001.html From pjintheusa at gmail.com Tue Mar 9 18:31:17 2010 From: pjintheusa at gmail.com (Phillip Jones) Date: Tue, 9 Mar 2010 21:31:17 -0500 Subject: [Freeswitch-users] mod_managed - how listen for *999 In-Reply-To: <9394d42f1003090227p1295f785o9c9c1a5d3f6e3805@mail.gmail.com> References: <9394d42f1003090227p1295f785o9c9c1a5d3f6e3805@mail.gmail.com> Message-ID: <367751821003091831t36fe118btf811501a79b614d5@mail.gmail.com> One way might be to create an event loop and listen for DTMF public bool Load() { ThreadPool.QueueUserWorkItem((o) => { Log.WriteLine(LogLevel.Notice, "Thread Starting. "); EventConsumer con = new EventConsumer("DTMF", ""); while (true) { Event ev = con.pop(1); if (ev != null) { ... do what ever needs to be done } } }); See http://wiki.freeswitch.org/wiki/Event_List#DTMF I am guessing the DTMF is "DTMF" so play around with that if it does not work. There are probably better ways. On Tue, Mar 9, 2010 at 5:27 AM, Chris wrote: > What i need to do is listen on a session before, during and after the > session is bridged with another call. I know built into FS is the option to > listen for *x where x is 0-9 but i really need more than one digit. > > I traced the method that listens for the single digit to the > command switch_core_event_hook_add_send_dtmf(session, meta_on_dtmf); in > switch_ivr_async.c > > mod_managed also has the following in the native class freeswitch. > public static switch_status_t > switch_core_event_hook_add_recv_dtmf(SWIGTYPE_p_switch_core_session session, > SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t > recv_dtmf) > > The problem is i can't work out how to use it. I am fine the the first > param for the session but have no idea what i need for > the SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t > recv_dtmf param. > > if anyone can point me in the right direction or knows a better way i would > be grateful. > > Chris > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/6a365268/attachment.html From dujinfang at gmail.com Tue Mar 9 19:49:47 2010 From: dujinfang at gmail.com (Seven Du) Date: Wed, 10 Mar 2010 11:49:47 +0800 Subject: [Freeswitch-users] SILK Codec In-Reply-To: References: <82160CC4-25E5-453F-8FD6-4889F9902682@freeswitch.org> Message-ID: <23f91031003091949n7c598fa9vf714a6b477ab539f@mail.gmail.com> I tested on servers running Ubuntu 8.04 64bit and Ubuntu 7.10 32bit. One running trunk. and back ported to another server running rev14696. Sounds great. 2010/3/9 jay binks : > this is what I love about Freeswitch, and the FS development team. > Well done Brian ( and the rest of the team ). > Jay > > > On Tue, Mar 9, 2010 at 11:07 AM, Brian West wrote: >> >> We now have mod_silk in tree it has only been tested on Linux so far. ?The >> silk library itself was released in the IETF draft only an hour and twenty >> minutes ago. ?I wrote a perl script to extract the source from the draft. >> ?Checked in the lib and the codec module which I had written to the binary >> lib I had a few months ago. >> >> It has more work to do... but its there if anyone wants to chip in and >> libtoolize the library, revamp the build system and assist in testing the >> codec on multiple platforms. >> >> Thanks, >> Brian >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > From brian at freeswitch.org Tue Mar 9 20:09:11 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 9 Mar 2010 22:09:11 -0600 Subject: [Freeswitch-users] SILK Codec In-Reply-To: <23f91031003091949n7c598fa9vf714a6b477ab539f@mail.gmail.com> References: <82160CC4-25E5-453F-8FD6-4889F9902682@freeswitch.org> <23f91031003091949n7c598fa9vf714a6b477ab539f@mail.gmail.com> Message-ID: <5FA53946-544F-499B-9690-25E73FB5FA19@freeswitch.org> Thanks. /b On Mar 9, 2010, at 9:49 PM, Seven Du wrote: > I tested on servers running Ubuntu 8.04 64bit and Ubuntu 7.10 32bit. > > One running trunk. and back ported to another server running rev14696. > Sounds great. From lloyd.aloysius at gmail.com Tue Mar 9 20:59:14 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Tue, 9 Mar 2010 23:59:14 -0500 Subject: [Freeswitch-users] IVR Menu - Timeout and Invalid Options In-Reply-To: <20100310011738.GS18427@base.carmickle.com> References: <8a19bf2e1003091657l578a007ej703b2b58e7e962d6@mail.gmail.com> <20100310011738.GS18427@base.carmickle.com> Message-ID: <8a19bf2e1003092059o6895c8b3yceb8590d4f4be525@mail.gmail.com> Frank , Thank you for your help. Lloyd On Tue, Mar 9, 2010 at 8:17 PM, Frank Carmickle wrote: > Hello > > On Tue, Mar 09, Aloysius Lloyd wrote: > > Hi All, > > > > I am trying to setup a simple IVR with two options , timeout action and > > Invalid digits pressed. here is the partial IVR Menu. > > > > > > > > > > Add something like. > > timeout="3000" > inter-digit-timeout="2000" > max-failures="3" > max-timeouts="3" > > Then in the dialplan after you've called the ivr tranfer to another exten. > Be careful to make sure that hangup after bridge gets set so that you don't > ring the exten when someone who has been called from the ivr hangs up. > > HTH > --FC > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/f9bf557a/attachment.html From dome at tel.co.th Tue Mar 9 21:10:23 2010 From: dome at tel.co.th (Dome Charoenyost) Date: Wed, 10 Mar 2010 12:10:23 +0700 Subject: [Freeswitch-users] FS no frok mode Message-ID: <8ccbff061003092110y5baddaecmf30c7015996e519b@mail.gmail.com> Dear All, How about performance when start FS with -nf (no fork). I ask because i want to keep SQL connect (cash db) in 1 connection. but i want to know other effect like a performance , memory usage .. etc Best Regrads. Dome C. From jason at jasonjgw.net Tue Mar 9 21:13:44 2010 From: jason at jasonjgw.net (Jason White) Date: Wed, 10 Mar 2010 16:13:44 +1100 Subject: [Freeswitch-users] SILK Codec In-Reply-To: <23f91031003091949n7c598fa9vf714a6b477ab539f@mail.gmail.com> References: <82160CC4-25E5-453F-8FD6-4889F9902682@freeswitch.org> <23f91031003091949n7c598fa9vf714a6b477ab539f@mail.gmail.com> Message-ID: <20100310051344.GA19653@jdc.jasonjgw.net> Seven Du wrote: > I tested on servers running Ubuntu 8.04 64bit and Ubuntu 7.10 32bit. > > One running trunk. and back ported to another server running rev14696. > Sounds great. Do you have a comparison with my current favourite, CELT at 48000? CELT at 32000 also gives high quality, in my opinion. I plan to test the SILK module at some point, possibly later this week. From will.traenkle at yahoo.com Tue Mar 9 21:23:07 2010 From: will.traenkle at yahoo.com (William Traenkle) Date: Tue, 9 Mar 2010 21:23:07 -0800 (PST) Subject: [Freeswitch-users] hunt group - play music when trying external numbers In-Reply-To: <20100308184025.GL18427@base.carmickle.com> References: <756904.84769.qm@web57613.mail.re1.yahoo.com> <20100308184025.GL18427@base.carmickle.com> Message-ID: <51379.68073.qm@web57602.mail.re1.yahoo.com> Frank, Thanks for the tip. I took your advice and added the following line to my huntgroup script: session.execute("set","ignore_early_media=true"); and it works! Thanks again, -Will ________________________________ From: Frank Carmickle To: freeswitch-users at lists.freeswitch.org Sent: Mon, March 8, 2010 10:40:25 AM Subject: Re: [Freeswitch-users] hunt group - play music when trying external numbers Hello On Mon, Mar 08, William Traenkle wrote: > I am new to freeSWITCH and this mailing list and I appreciate your support in advance. > > My Goal: To create a hunt group x7000 that sequentially dials an internal extension, i.e. x1000, and then a cell phone number, i.e. 6194548924, while playing music the entire time when each number is being tried. > > The Issue: This was working great a few months back, but now music plays when only when x1000 is tried but NOT when the cell phone is tried. Make sure that your bridge statement includes {ignore_early_media=true} --FC _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/2a0ddfc4/attachment.html From dujinfang at gmail.com Tue Mar 9 21:37:57 2010 From: dujinfang at gmail.com (Seven Du) Date: Wed, 10 Mar 2010 13:37:57 +0800 Subject: [Freeswitch-users] SILK Codec In-Reply-To: <20100310051344.GA19653@jdc.jasonjgw.net> References: <82160CC4-25E5-453F-8FD6-4889F9902682@freeswitch.org> <23f91031003091949n7c598fa9vf714a6b477ab539f@mail.gmail.com> <20100310051344.GA19653@jdc.jasonjgw.net> Message-ID: <23f91031003092137p689fb8c9nfb05c5613ef5e663@mail.gmail.com> Unfortunately no. I only tested 8000 because at least one leg is PSTN or SIP UA which doesn't support SILK and CELT in our scenario. We are bridging UAs between US and China so robustness is more concerned than HZ. I just *feel* it's ok because I only tested with my ear without considerate packet lost or jitter. 2010/3/10 Jason White : > Seven Du wrote: >> I tested on servers running Ubuntu 8.04 64bit and Ubuntu 7.10 32bit. >> >> One running trunk. and back ported to another server running rev14696. >> Sounds great. > > Do you have a comparison with my current favourite, CELT at 48000? CELT at 32000 > also gives high quality, in my opinion. > > I plan to test the SILK module at some point, possibly later this week. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 will.traenkle at yahoo.com Tue Mar 9 21:55:59 2010 From: will.traenkle at yahoo.com (William Traenkle) Date: Tue, 9 Mar 2010 21:55:59 -0800 (PST) Subject: [Freeswitch-users] IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds Message-ID: <153857.43476.qm@web57613.mail.re1.yahoo.com> When a hunt group is accessed from the main IVR, the hunt group dials an internal extension via transfer correctly but when trying to dial an external number such a cell phone via sip uri it is unable to connect or ring the phone but it waits the correct timeout period before it goes to voicemail. However, if you access the hunt group directly without going through the main IVR, all works perfectly. Any ideas where I should look and what line of code I might be missing? Thanks, -Will -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/49deac9e/attachment.html From msc at freeswitch.org Tue Mar 9 22:50:59 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 9 Mar 2010 22:50:59 -0800 Subject: [Freeswitch-users] FreeSWITCH Conference Call Agenda Message-ID: <87f2f3b91003092250r6c32860ctde57e87563975f10@mail.gmail.com> Hello all! The FreeSWITCH weekly conference call agenda is here: http://wiki.freeswitch.org/wiki/FS_weekly_2010_03_10 Please feel free to add your questions and agenda items. Also, remember that this week Mathieu Rene is going to be spending a lot of time discussing mod_sofia and how it works. It should be a very informative discussion! By all means join us at 1700 GMT on Wednesday. -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/2e351f8f/attachment.html From msc at freeswitch.org Tue Mar 9 23:00:53 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 9 Mar 2010 23:00:53 -0800 Subject: [Freeswitch-users] IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds In-Reply-To: <153857.43476.qm@web57613.mail.re1.yahoo.com> References: <153857.43476.qm@web57613.mail.re1.yahoo.com> Message-ID: <87f2f3b91003092300n4bde010dy23b1374931058a@mail.gmail.com> On Tue, Mar 9, 2010 at 9:55 PM, William Traenkle wrote: > When a hunt group is accessed from the main IVR, the hunt group dials an > internal extension via transfer correctly but when trying to dial an > external number such a cell phone via sip uri it is unable to connect or > ring the phone but it waits the correct timeout period before it goes to > voicemail. > > However, if you access the hunt group directly without going through the > main IVR, all works perfectly. > > Any ideas where I should look and what line of code I might be missing? > > Start by capturing the fs_cli debug output for the IVR call. Look through the debug lines for clues as to what is happening with your call. The symptom "unable to connect" has many possible causes, so try to locate the debug lines leading up to the attempt to bridge the SIP URI. If you want community help then pastebin the full debug log plus the relevant XML: the dialplan extension and the IVR definition. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100309/42cf2cb0/attachment.html From lloyd.aloysius at sunteltech.ca Tue Mar 9 23:52:36 2010 From: lloyd.aloysius at sunteltech.ca (Aloysius Lloyd) Date: Wed, 10 Mar 2010 02:52:36 -0500 Subject: [Freeswitch-users] Multiple Registrations - randomly one device ring Message-ID: <8a19bf2e1003092352r48acb809kb4bcd2c05d49eec1@mail.gmail.com> Hi All, I enable the multiple registrations in sip_profiles/internal.xml. Then I restart the freeswitch. I use Aastra 9133i and eyebeam register for same extension. But randomly only one device ring. Do I need to enable any other settings? Thanks, Lloyd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/e0aa5b16/attachment.html From lloyd.aloysius at gmail.com Tue Mar 9 23:53:23 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Wed, 10 Mar 2010 02:53:23 -0500 Subject: [Freeswitch-users] Multiple Registrations - randomly only one device ring Message-ID: <8a19bf2e1003092353w32701aaes47b034f2abfb71f5@mail.gmail.com> Hi All, I enable the multiple registrations in sip_profiles/internal.xml. Then I restart the freeswitch. I use Aastra 9133i and eyebeam register for same extension. But randomly only one device ring. Do I need to enable any other settings? Thanks, Lloyd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/cdf32523/attachment.html From will.traenkle at yahoo.com Wed Mar 10 00:39:41 2010 From: will.traenkle at yahoo.com (William Traenkle) Date: Wed, 10 Mar 2010 00:39:41 -0800 (PST) Subject: [Freeswitch-users] IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds In-Reply-To: <87f2f3b91003092300n4bde010dy23b1374931058a@mail.gmail.com> References: <153857.43476.qm@web57613.mail.re1.yahoo.com> <87f2f3b91003092300n4bde010dy23b1374931058a@mail.gmail.com> Message-ID: <474069.15451.qm@web57605.mail.re1.yahoo.com> Michael, Per your request: 1) fs_cli output for successful call scenario directly to x7000 hunt group: http://pastebin.com/Q1ayXkNR 2) fs_cli output for failed call scenario x5002 IVR to x7000 hunt group: http://pastebin.com/FaxuGdJ3 3) autoattendant_5002.js script: http://pastebin.com/FaxuGdJ3 4) huntgroup_7000.js script: http://pastebin.com/wNX9K7Ab If you require additional information or have any other questions, please let me know. Thanks, -Will ________________________________ From: Michael Collins To: freeswitch-users at lists.freeswitch.org Sent: Tue, March 9, 2010 11:00:53 PM Subject: Re: [Freeswitch-users] IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds On Tue, Mar 9, 2010 at 9:55 PM, William Traenkle wrote: When a hunt group is accessed from the main IVR, the hunt group dials an internal extension via transfer correctly but when trying to dial an external number such a cell phone via sip uri it is unable to connect or ring the phone but it waits the correct timeout period before it goes to voicemail. > >However, if you access the hunt group directly without going through the main IVR, all works perfectly. > >Any ideas where I should look and what line of code I might be missing? > > Start by capturing the fs_cli debug output for the IVR call. Look through the debug lines for clues as to what is happening with your call. The symptom "unable to connect" has many possible causes, so try to locate the debug lines leading up to the attempt to bridge the SIP URI. If you want community help then pastebin the full debug log plus the relevant XML: the dialplan extension and the IVR definition. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/a21bd842/attachment-0001.html From will.traenkle at yahoo.com Wed Mar 10 00:45:40 2010 From: will.traenkle at yahoo.com (William Traenkle) Date: Wed, 10 Mar 2010 00:45:40 -0800 (PST) Subject: [Freeswitch-users] auto attendant -> hunt group -> external number does not ring In-Reply-To: <87f2f3b91003091101s2138078aj6a564ff31cd4b3cd@mail.gmail.com> References: <302537.41702.qm@web57609.mail.re1.yahoo.com> <87f2f3b91003091101s2138078aj6a564ff31cd4b3cd@mail.gmail.com> Message-ID: <533929.27849.qm@web57613.mail.re1.yahoo.com> Michael, There are two posts for this issue. I just emailed the bottom links a few minutes ago, but reading your response prompted me to send one more link, which is the default.xml dialplan: 5) Dialplan default.xml: http://pastebin.com/iAbNSW9E Per your request: 1) fs_cli output for successful call scenario directly to x7000 hunt group: http://pastebin.com/Q1ayXkNR 2) fs_cli output for failed call scenario x5002 IVR to x7000 hunt group: http://pastebin.com/FaxuGdJ3 3) autoattendant_5002.js script: http://pastebin.com/FaxuGdJ3 4) huntgroup_7000.js script: http://pastebin.com/wNX9K7Ab If you require additional information or have any other questions, please let me know. Thanks, -Will ________________________________ From: Michael Collins To: freeswitch-users at lists.freeswitch.org Sent: Tue, March 9, 2010 11:01:31 AM Subject: Re: [Freeswitch-users] auto attendant -> hunt group -> external number does not ring On Mon, Mar 8, 2010 at 2:23 PM, William Traenkle wrote: > >FS Community, > > >I created an extension >704 > >I created a >hunt group 7004 that first rings 704 then rings my cell phone 16194548924. > >I created an >auto attendant 5002 with an option of 704 that goes to hunt group 7004. > >1) >What does >work: When I call the hunt group directly by dialing 7004 internally, the hunt >group first rings 704 then rings my cell phone successfully. This is perfect. > >2) >What does not >work: When I call the main auto attendant from either internally by dialing 5002 >or externally by dialing my main number, and dial 704, my extension rings and >after not answering my cell phone does not ring. > >What I am expecting >in #2 is for my extension 704 to ring and if I do not pick up then my cell >phone will ring just like it does in #1. > >My knowledge >is limited in this area and if you could point me in the right direction, that >would be great. I a have tried >everything but with no luck. > > Pastebin the necessary debug info. Check http://wiki.freeswitch.org/wiki/Reporting_Bugs for specifics on how to do collect and report all the data to pastebin. It would be good to see the dialplan and the debug log for each call. When you've collected all the data please reply here with the pastebin URL. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/6e526447/attachment-0001.html From tculjaga at gmail.com Wed Mar 10 01:42:49 2010 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Wed, 10 Mar 2010 10:42:49 +0100 Subject: [Freeswitch-users] Kernel timer warning with CentOS 5.4 In-Reply-To: References: <191c3a031003010847y5036817ekb19379e646dd8cb@mail.gmail.com> Message-ID: <65d96fc81003100142m129c6b66w229bd1e519e8aea7@mail.gmail.com> i have the same issue but on centos 4.8 ... on 5.4 doesn't complain... what is this related to ? T. On Mon, Mar 8, 2010 at 2:25 PM, Bruce Hopkins wrote: > Hi Anthony, > > Many, many apologies to take so long to reply - I failed to notice your > response. Sorry ! > > It seems to be variable. Most times (on CentOS 5.3) when I start FS it > tells me it is around 1995ms. Occasionally it is lower (sub 1000ms) and > then does not give a warning. > > Best wishes > Bruce > > > On 1 March 2010 16:47, Anthony Minessale wrote: > >> we are still wary about 5.3 due to bugs reported in libc. >> What number does it say it detected for the gap? >> >> >> On Sun, Feb 28, 2010 at 12:03 PM, Bruce Hopkins wrote: >> >>> OK - I've realised I do get the same warning with CentOS 5.3, it just >>> goes past more quickly so I didn't see it. Maybe it is just the hardware >>> .... >>> >>> >>> On 28 February 2010 15:37, Bruce Hopkins wrote: >>> >>>> Hi, >>>> >>>> I wonder if anyone would be able to advise please: >>>> >>>> When I build FreeSWITCH on yum updated CentOS 5.4, I get a warning when >>>> I start FreeSWITCH that >>>> >>>> "Abnormally large timer gap detected" >>>> "Do you have your kernel timer set to greater than 1kHz? You may >>>> experience audio problems". >>>> >>>> I get no such warning if I build on CentOS 5.3, and the test timings it >>>> measures on starting FreeSWITCH do look lower. All I was doing to upgrade >>>> to Centos5.4 was a yum update on the 5.3 build. >>>> >>>> I guess the warning comes from here: >>>> http://fisheye.freeswitch.org/browse/~raw,r=16409/FreeSWITCH/src/switch_time.c >>>> >>>> This is all on pretty low spec hardware - a couple of different Dell >>>> optiplex p4's I use for testing. >>>> >>>> Does anyone happen to know if I should just stick to Cent)S 5.3, or use >>>> 5.4 and not worry about the warnings, or if there is something I can do to >>>> fix the problem it is warning about. Perhaps it is just that I shouldn't >>>> use such crummy hardware?! >>>> >>>> Many thanks in advance >>>> Bruce >>>> >>> >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100310/ccc00f3f/attachment.html From mike at jerris.com Wed Mar 10 01:51:18 2010 From: mike at jerris.com (Michael Jerris) Date: Wed, 10 Mar 2010 04:51:18 -0500 Subject: [Freeswitch-users] FS no frok mode In-Reply-To: <8ccbff061003092110y5baddaecmf30c7015996e519b@mail.gmail.com> References: <8ccbff061003092110y5baddaecmf30c7015996e519b@mail.gmail.com> Message-ID: <5A67C661-6E80-423F-81E9-B56B0E4299A0@jerris.com> -nf has nothing to do with the performance, it has to do if the command blocks or not when you run it. I am unsure what you mean about sql in this context, it is totally unrelated. What is a cash db? Mike On Mar 10, 2010, at 12:10 AM, Dome Charoenyost wrote: > Dear All, > How about performance when start FS with -nf (no > fork). I ask because i want to keep SQL connect (cash db) in 1 > connection. but i want to know other effect like a performance , > memory usage .. etc -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/109b3e7f/attachment.html From mike at jerris.com Wed Mar 10 01:54:53 2010 From: mike at jerris.com (Michael Jerris) Date: Wed, 10 Mar 2010 04:54:53 -0500 Subject: [Freeswitch-users] Incorrect nonce In-Reply-To: References: <4B8E6902.90106@fx-services.com> Message-ID: <0E77A138-8D81-4A6D-BDB6-D94F25CD7B57@jerris.com> I am not sure on this, if we are not using the same one here, I suspect that it is down in the sofia lib, and will require much more digging. Try turing on ALL the sofia debug in the lib and see if any of the auth debug jumps out as to what might cause this. Mike On Mar 4, 2010, at 2:01 AM, Jonas Gauffin wrote: > You are correct, I'm using DNSSRV. > > imho it's a bug when FS is not using the same nonce in the response as it received in the request. It might be a design flaw only that only appears when running against multiple servers through DNSSRV, but it's still a bug. > > I'm sure it's easy to fix for Anthony with his m4d sk1llz ;) > From mike at jerris.com Wed Mar 10 01:56:33 2010 From: mike at jerris.com (Michael Jerris) Date: Wed, 10 Mar 2010 04:56:33 -0500 Subject: [Freeswitch-users] [ERR] switch_rtp.c:2196 FailedDTMFpayloadcheck. In-Reply-To: <282476B55FD4450A8DBBAFCB673DCBEC@bp1.ad.bp.com> References: <59198F0C-C8CF-41AA-9489-62C297B5F90D@freeswitch.org><3778B4E1-7DF7-4A11-BC1C-4476319EDAC3@avgs.ca> <36BDEB9F2E174CA99548A71E14B21AA7@bp1.ad.bp.com> <282476B55FD4450A8DBBAFCB673DCBEC@bp1.ad.bp.com> Message-ID: <82256D47-83CC-4BB3-98FD-48943769F621@jerris.com> curious what happens if you change the level or payload type int hat config below as well. Mike On Mar 3, 2010, at 3:39 PM, Dave Stevenson wrote: > Some more info . . . > > The error only seems to occur when a "0" is entered. > > Looking at the Phone config, the RFC2833 options are :- > > In Band > Out of Band (RFC2833) - currently selected > SIP Info > > RTP Payload Type (96-127) - 96 currently selected > RTP DTMP Level (0-63) - 0 Currently selected > > Dave > ----- Original Message ----- > From: Dave Stevenson > To: freeswitch-users at lists.freeswitch.org > Sent: Wednesday, March 03, 2010 8:23 PM > Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 FailedDTMFpayloadcheck. > > Hi Mathieu, > > if you tell me how to generate one, I'll do it now ? > > regards > Dave > ----- Original Message ----- > From: Mathieu Rene > To: freeswitch-users at lists.freeswitch.org > Sent: Wednesday, March 03, 2010 8:09 PM > Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMFpayloadcheck. > > I don't recall any rfc2833 changes in the past 2 weeks. I would like to see a packet capture of those bogus rtp packets though. > > Mathieu Rene > Avant-Garde Solutions Inc > Office: + 1 (514) 664-1044 x100 > Cell: +1 (514) 664-1044 x200 > mrene at avgs.ca > > > > > On 3-Mar-10, at 3:06 PM, Dave Stevenson wrote: > >> Hi, >> >> thanks Brian. >> >> The device is a Thomson ST2030 which has a basic listing on the Interop Wiki page, but does not specifically mention rfc2833 (although rtp is marked as "not tested"). I have not seen this message before while running the FS version that I'm currently using 16543 - yes, I know that this is a few weeks old and I will update and/or raise a bug once I've upgraded, but it would be nice to know if anyone else sees problems with this phone, >> >> regards >> Dave >> ----- Original Message ----- >> From: Brian West >> To: freeswitch-users at lists.freeswitch.org >> Sent: Wednesday, March 03, 2010 7:50 PM >> Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMF payloadcheck. >> >> It usually means your device can't do rfc2833 correctly and needs to have a bug opened so they can fix it. >> >> /b >> >> On Mar 3, 2010, at 1:39 PM, Dave Stevenson wrote: >> >>> >>> It appears in response to keypad events during voicemail retrieval, the prompts were actioned correctly, but I was wondering what the message actually means ? >>> >> >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/da9b5bbb/attachment-0001.html From mike at jerris.com Wed Mar 10 02:00:20 2010 From: mike at jerris.com (Michael Jerris) Date: Wed, 10 Mar 2010 05:00:20 -0500 Subject: [Freeswitch-users] SUCCESS!!! In-Reply-To: <43146.92621.qm@web44811.mail.sp1.yahoo.com> References: <407604F34A7540C3B971AABC4D952060@MOBILEE1705> <43146.92621.qm@web44811.mail.sp1.yahoo.com> Message-ID: I notice that you properly indented this, so I guess this runs in python? On Mar 4, 2010, at 4:10 PM, Jim Thomas wrote: > > PYTHON SUCKS > > That's like saying: > > Asterisk sucks. > Asterisk is written in C language. > Therefore, C language sucks. > > :-) > > > From: "Brian West" > To: > Sent: Thursday, March 04, 2010 9:52 AM > Subject: [Freeswitch-users] SUCCESS!!! > > > >I have to say PYTHON SUCKS... ie Mailman is evil. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/606ff7c7/attachment.html From mike at jerris.com Wed Mar 10 02:01:46 2010 From: mike at jerris.com (Michael Jerris) Date: Wed, 10 Mar 2010 05:01:46 -0500 Subject: [Freeswitch-users] smg_prid not bridging the call In-Reply-To: <7d79b3931003042011v154fd1d4g136f4b4e2f6800a@mail.gmail.com> References: <6d15d07f1002270033n71d8ac85u1895b05f75540e63@mail.gmail.com> <7d79b3931003042011v154fd1d4g136f4b4e2f6800a@mail.gmail.com> Message-ID: What pri dialect is this? On Mar 4, 2010, at 11:11 PM, lakshmanan ganapathy wrote: > Ok. This is to say how the problem got solved. > Need openzap 1047 or above version. > Need wanpipe-3.5.8.6.smg_pri-v1.63.tgz > My telco is not accepting the display IE. > Finally setting disable_display_ie=yes in smg_pri.conf solved the issue. > > Thanks for all. > > On Sat, Feb 27, 2010 at 2:03 PM, Tomasz Augustyn wrote: > Hello, > > I had similar problem and I think it is more a problem between Sangoma card and your E1 provider than with freeswitch. > > In my case it was necessary to set "origination_caller_id_number" to one of the telephone numbers linked to my E1 line. In other case the calls were rejected with "invalid information element" error. > > You can try Sangoma's support they are very helpful. > > Tomasz Augustyn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/5be0a187/attachment.html From dome at tel.co.th Wed Mar 10 02:12:58 2010 From: dome at tel.co.th (Dome Charoenyost) Date: Wed, 10 Mar 2010 17:12:58 +0700 Subject: [Freeswitch-users] FS no frok mode In-Reply-To: <5A67C661-6E80-423F-81E9-B56B0E4299A0@jerris.com> References: <8ccbff061003092110y5baddaecmf30c7015996e519b@mail.gmail.com> <5A67C661-6E80-423F-81E9-B56B0E4299A0@jerris.com> Message-ID: <8ccbff061003100212t414baedat9cf84047cef05d02@mail.gmail.com> 2010/3/10 Michael Jerris : > -nf has nothing to do with the performance, it has to do if the command > blocks or not when you run it. ?I am unsure what you mean about sql in this > context, it is totally unrelated. What is a cash db? sorry i mean switch_cache_db_connection :) i have problem about db connection. now switch_cache_db_connection use 1 connection for 1 thread if i use mod_limit with odbc my server can't handle more than 100 connection. So i'll try FS in no fork. but i want to know other effect. BG Dome C. > Mike > > On Mar 10, 2010, at 12:10 AM, Dome Charoenyost wrote: > > Dear All, > ??????????????How about performance when start FS with -nf ?(no > fork). I ask because i want to keep SQL connect (cash db) in ?1 > connection. but i want to know other effect like a performance , > memory usage .. etc > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 jbrucehopkins at gmail.com Wed Mar 10 04:00:31 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Wed, 10 Mar 2010 12:00:31 +0000 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: <000001cabfbb$f2114c90$d633e5b0$@co.za> References: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> <8215DEFE-460E-4764-BF96-35FBE820EC11@freeswitch.org> <63837C30-11FB-47E6-8173-3AFEA76A5BB4@gmail.com> <000001cabfbb$f2114c90$d633e5b0$@co.za> Message-ID: Hi Roly, I hope to be able to have a go at this later today. I'll let you know what happens. I have my FS box behind a hardware router/firewall, so I'm assuming I just forward SIP port 5060 from the WAN to the FS box and use internal profile, instead of using external profile with port 5080 forwarded as I have at the moment. We'll see what happens. cheers Bruce On 9 March 2010 19:08, Roly Maz wrote: > Ah I see... what? Please share and lead this blind man out the FS > wilderness! > > I don't understand...what happens to the external profile? Do you delete > it? > And how do you forward port 5060? > > ...and you thought you were a newbie! > > Any insight would be much appreciated...loving the journey. > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bruce > Hopkins > Sent: 09 March 2010 08:23 AM > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] doublenat outgoing call issue > > Ah I see. I will try again using the internal profile and forwarding > port 5060. Presumably still creating a directory entry to enable the > outside-facing domain to be used. > > Many thanks for your patient help of a newbie Brian. > > Cheers > Bruce > > Please excuse the brevity - sent from my mobile. > > On 8 Mar 2010, at 17:21, Brian West wrote: > > > ok you aren't catching one key thing here.. you no longer need two > > profiles. > > > > /b > > > > On Mar 8, 2010, at 11:12 AM, Bruce Hopkins wrote: > > > >> Hi again, > >> > >> Thanks for the help so far. Unfotrunately I must still be doing > >> something wrong here as I am still having difficulty, and still > >> have the same problem. > >> > >> I updated to build 16938 by means of "make current" > >> > >> I'm not able to use UPNP or NATPMP so changed the port forwarding > >> to use 5080 instead of 5090. > >> > >> I got rid of the doublenat profile in sip_profiles, though I had to > >> retain an entry in the directory /usr/local/freeeswitch/conf/ > >> directory/ext_dns.xml in order to give freeswitch the dns name of > >> the server as a domain for the remote softphone to register on. I > >> left the group name in this entry the same as inthe default entry, > >> so that the remote phone could register on the same extension > >> numbers (100, etc) as in the default build. > >> > >> I still find that, if I initiate a call from the local (on same LAN > >> as freeswitch) phone to the remote phone, I get the message on the > >> CLI: > >> > >> [ERR] switch_ivr_originate.c2389 Cannot create outgoing channel of > >> type [user] cause: [USER_NOT_REGISTERED] > >> > >> One possibly unrelated aside, I also found I needed to uncomment > >> in > >> external.xml, otherwise in the case of a call initiated by the > >> remote phone being hung up by the local phone, freeswitch sent the > >> BYE to the private IP of the remote phone, rather than its public > >> ip - meaning that the remote phone didn't receive the BYE. > >> > >> Any further ideas where I am going wrong here please? > >> > >> thanks again in advance > >> Bruce > > > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/b7ecbaa8/attachment.html From freeswitch at gilligan.id.au Wed Mar 10 04:02:39 2010 From: freeswitch at gilligan.id.au (Chris) Date: Wed, 10 Mar 2010 23:02:39 +1100 Subject: [Freeswitch-users] mod_managed - how listen for *999 In-Reply-To: <367751821003091831t36fe118btf811501a79b614d5@mail.gmail.com> References: <9394d42f1003090227p1295f785o9c9c1a5d3f6e3805@mail.gmail.com> <367751821003091831t36fe118btf811501a79b614d5@mail.gmail.com> Message-ID: <9394d42f1003100402o574f606br2e59d45f9733a117@mail.gmail.com> Thanks for the idea i will try that next. I thought i would try to capture the digits like normal first to make sure everything is working right and to test a few event capture methods. What i found was that mod_managed never seemed to capture or read any digits for an out going call. If i pass the call to a different application/dial plan it captures the digits perfectly. I assume audio was working as it played audio to the user to enter digits so i figure i have not configured something correctly but i have not idea what it is. Until i work it out i don't think any event code will work. I have no idea what is wrong in this case or even how to debug it. Chris On Wed, Mar 10, 2010 at 1:31 PM, Phillip Jones wrote: > One way might be to create an event loop and listen for DTMF > > public bool Load() > { > ThreadPool.QueueUserWorkItem((o) => > { > Log.WriteLine(LogLevel.Notice, "Thread Starting. "); > EventConsumer con = new EventConsumer("DTMF", ""); > while (true) > { > Event ev = con.pop(1); > if (ev != null) > { > ... do what ever needs to be done > } > > } > }); > > See http://wiki.freeswitch.org/wiki/Event_List#DTMF > > I am guessing the DTMF is "DTMF" so play around with that if it does not > work. > > There are probably better ways. > > > > On Tue, Mar 9, 2010 at 5:27 AM, Chris wrote: > >> What i need to do is listen on a session before, during and after the >> session is bridged with another call. I know built into FS is the option to >> listen for *x where x is 0-9 but i really need more than one digit. >> >> I traced the method that listens for the single digit to the >> command switch_core_event_hook_add_send_dtmf(session, meta_on_dtmf); in >> switch_ivr_async.c >> >> mod_managed also has the following in the native class freeswitch. >> public static switch_status_t >> switch_core_event_hook_add_recv_dtmf(SWIGTYPE_p_switch_core_session session, >> SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t >> recv_dtmf) >> >> The problem is i can't work out how to use it. I am fine the the first >> param for the session but have no idea what i need for >> the SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t >> recv_dtmf param. >> >> if anyone can point me in the right direction or knows a better way i >> would be grateful. >> >> Chris >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100310/72b682d2/attachment-0001.html From tculjaga at gmail.com Wed Mar 10 04:07:32 2010 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Wed, 10 Mar 2010 13:07:32 +0100 Subject: [Freeswitch-users] Attrafax In-Reply-To: References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> Message-ID: <65d96fc81003100407o4c55b3f3y1ba35c6fcfe5dc66@mail.gmail.com> On Mon, Mar 8, 2010 at 11:02 PM, Brian West wrote: > Thats unacceptable!!! Wait its faxing... can't we just let it DIE > already?? They have this thing called email... you should check it out... > works great... even lets you attach video, audio and color images.... oh and > text... dreary old text.... but hey you can mark it all up in HTML and fancy > fonts now and make it anoying^H^H^H^H^H^H^Hpretty. > > /b > > well Brian, thats a wrong assumption.... fax (T.30) is, and it will be, present all over the world... you cannot do anything against (not even thing about eradicate) it at least for the next 5 years :) so, you will ave to comply ... we will have to comply if our customers keep sending faxes :) T. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/d9b9a81e/attachment.html From tculjaga at gmail.com Wed Mar 10 04:10:57 2010 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Wed, 10 Mar 2010 13:10:57 +0100 Subject: [Freeswitch-users] Attrafax In-Reply-To: References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> Message-ID: <65d96fc81003100410t7a386f0au411135ae62e34a6b@mail.gmail.com> they just want to believe it is :) .. thats it. T. On Mon, Mar 8, 2010 at 11:46 PM, Brian West wrote: > There is no such thing as security when humans are involved in the relay of > information. Thats fact. > > HIPAA is a joke. PCI is a joke... they all don't get it. Humans are > involved its not secure. > > /b > > On Mar 8, 2010, at 4:39 PM, Gabriel Kuri wrote: > > > While I'd love to see FAXing just die, especially with the amount of > headache associated with it, the reality is that specific organizations > still rely on it heavily on a daily basis (ie Health Care and > Banking/Finance Industry). Plus they can legally get away with FAXing > personal data directly between machines, since the FAX transmission doesn't > seem to be directly covered by all their respective privacy regultions (ie > HIPAA, PCI, etc.), unless of course it's a FAX-to-email service. Plus most > of these organizations just don't have the internal expertise to setup > end-to-end encrypted email nor the impetus to deal with it, since FAXing > works fine in their eyes. I think it's going to be around quite a while > longer unless they actually stop making the FAX machines and force people to > use something else. > > > > Cheers, > > Gabe > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/8b4662ae/attachment.html From pjintheusa at gmail.com Wed Mar 10 05:42:34 2010 From: pjintheusa at gmail.com (Phillip Jones) Date: Wed, 10 Mar 2010 08:42:34 -0500 Subject: [Freeswitch-users] mod_managed - how listen for *999 In-Reply-To: <9394d42f1003100402o574f606br2e59d45f9733a117@mail.gmail.com> References: <9394d42f1003090227p1295f785o9c9c1a5d3f6e3805@mail.gmail.com> <367751821003091831t36fe118btf811501a79b614d5@mail.gmail.com> <9394d42f1003100402o574f606br2e59d45f9733a117@mail.gmail.com> Message-ID: <367751821003100542j192503bgdbdacf9780269d6c@mail.gmail.com> There should be no problem on digit capture on an outgoing call. For example - when I originate a call, I ask the called party, for example, to press 1 to accept the call. This works correctly: BLegSession.DtmfReceivedFunction = (d, t) => { Log.WriteLine(LogLevel.Info, "Received {0} for {1}.", d, t); if (d == confirmationDigit) { confirmed = true; return "break"; } return ""; }; while (!confirmed && BLegSession != null && BLegSession.Ready() && BLegSession.mediaReady() && loop <= loops) { loop++; if (!confirmed && BLegSession != null && BLegSession.Ready() && BLegSession.mediaReady()) BLegSession.StreamFile("prompts/press-1-to-accept-call-from.wav", 0); if (!confirmed && BLegSession != null && BLegSession.Ready() && BLegSession.mediaReady()) BLegSession.CollectDigits(5000); } If you are not receiving the digits - I would try and bridge the oubound call to an existing call and check that you are getting two way audio - and if you are using inband DTMF - that you can actually hear the digits. HTH On Wed, Mar 10, 2010 at 7:02 AM, Chris wrote: > Thanks for the idea i will try that next. I thought i would try to capture > the digits like normal first to make sure everything is working right and to > test a few event capture methods. What i found was that mod_managed never > seemed to capture or read any digits for an out going call. If i pass the > call to a different application/dial plan it captures the digits perfectly. > I assume audio was working as it played audio to the user to enter digits > so i figure i have not configured something correctly but i have not idea > what it is. Until i work it out i don't think any event code will work. > > I have no idea what is wrong in this case or even how to debug it. > > Chris > > > On Wed, Mar 10, 2010 at 1:31 PM, Phillip Jones wrote: > >> One way might be to create an event loop and listen for DTMF >> >> public bool Load() >> { >> ThreadPool.QueueUserWorkItem((o) => >> { >> Log.WriteLine(LogLevel.Notice, "Thread Starting. "); >> EventConsumer con = new EventConsumer("DTMF", ""); >> while (true) >> { >> Event ev = con.pop(1); >> if (ev != null) >> { >> ... do what ever needs to be done >> } >> >> } >> }); >> >> See http://wiki.freeswitch.org/wiki/Event_List#DTMF >> >> I am guessing the DTMF is "DTMF" so play around with that if it does not >> work. >> >> There are probably better ways. >> >> >> >> On Tue, Mar 9, 2010 at 5:27 AM, Chris wrote: >> >>> What i need to do is listen on a session before, during and after the >>> session is bridged with another call. I know built into FS is the option to >>> listen for *x where x is 0-9 but i really need more than one digit. >>> >>> I traced the method that listens for the single digit to the >>> command switch_core_event_hook_add_send_dtmf(session, meta_on_dtmf); in >>> switch_ivr_async.c >>> >>> mod_managed also has the following in the native class freeswitch. >>> public static switch_status_t >>> switch_core_event_hook_add_recv_dtmf(SWIGTYPE_p_switch_core_session session, >>> SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t >>> recv_dtmf) >>> >>> The problem is i can't work out how to use it. I am fine the the first >>> param for the session but have no idea what i need for >>> the SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t >>> recv_dtmf param. >>> >>> if anyone can point me in the right direction or knows a better way i >>> would be grateful. >>> >>> Chris >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> >> > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/a765ae4a/attachment.html From ahmed.ajmal at breezecom.ae Wed Mar 10 06:01:38 2010 From: ahmed.ajmal at breezecom.ae (Ahmed Ajmal) Date: Wed, 10 Mar 2010 19:01:38 +0500 Subject: [Freeswitch-users] Set/Export channel variable Message-ID: <016f01cac05a$36be9610$a43bc230$@ajmal@breezecom.ae> Hi I am trying to set a channel variable on the bridge application using this: The application runs fine, what I now need to do is set/export the 'gw' channel variable for CDR so that I know which gateway was dialed. I have tried using set and export application but that doesn't work. Please help. Thanks Ahmed -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/46982227/attachment-0001.html From brian at freeswitch.org Wed Mar 10 06:08:25 2010 From: brian at freeswitch.org (Brian West) Date: Wed, 10 Mar 2010 08:08:25 -0600 Subject: [Freeswitch-users] Set/Export channel variable In-Reply-To: <016f01cac05a$36be9610$a43bc230$@ajmal@breezecom.ae> References: <016f01cac05a$36be9610$a43bc230$@ajmal@breezecom.ae> Message-ID: We already set you a variable called sip_gateway_name when a call is placed out a gateway. You're also doing this wrong you should NEVER EVER do @$ipgwX as that data is in the gateway. You should simply do sofia/gateway/gwname/number /b On Mar 10, 2010, at 8:01 AM, Ahmed Ajmal wrote: > Hi > > I am trying to set a channel variable on the bridge application using this: > > > > The application runs fine, what I now need to do is set/export the ?gw? channel variable for CDR so that I know which gateway was dialed. I have tried using set and export application but that doesn?t work. Please help. > > Thanks > Ahmed -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/8da0faa2/attachment.html From srinivas.ksvreddy at gmail.com Wed Mar 10 06:39:45 2010 From: srinivas.ksvreddy at gmail.com (srinivasula reddy) Date: Wed, 10 Mar 2010 09:39:45 -0500 Subject: [Freeswitch-users] forwarding incoming call from gateway to local externsion Message-ID: Hi Goodmorning. i have connected my freeswtich to cisco gateway, i have registerd a user(1099) in my freeswitch, and i have configured freeswitch any call from 1099 routing to cisco gateway, i need same way when call coming from gateway with 101010 i want to route or farward to 1099, what files need to configure any idea Regard srinvias -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/5bf14497/attachment.html From anthony.minessale at gmail.com Wed Mar 10 08:25:46 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 10 Mar 2010 10:25:46 -0600 Subject: [Freeswitch-users] Kernel timer warning with CentOS 5.4 In-Reply-To: <65d96fc81003100142m129c6b66w229bd1e519e8aea7@mail.gmail.com> References: <191c3a031003010847y5036817ekb19379e646dd8cb@mail.gmail.com> <65d96fc81003100142m129c6b66w229bd1e519e8aea7@mail.gmail.com> Message-ID: <191c3a031003100825s7d05562cna52d39265bfcf54@mail.gmail.com> FS now tries to determine how accurate the timing is by doing some tests with 1ms sleeps. Most 64 bit CentOS box I have seen can easily calibrate. If you are having that error alot but the calls still sound ok, it's safe to ignore it. you can also start FS with -nocal to skip this test. Also make sure you do not have any other cpu-intensive application on your box possibly competing for resources. On Wed, Mar 10, 2010 at 3:42 AM, Tihomir Culjaga wrote: > i have the same issue but on centos 4.8 ... on 5.4 doesn't complain... > > what is this related to ? > > T. > > > On Mon, Mar 8, 2010 at 2:25 PM, Bruce Hopkins wrote: > >> Hi Anthony, >> >> Many, many apologies to take so long to reply - I failed to notice your >> response. Sorry ! >> >> It seems to be variable. Most times (on CentOS 5.3) when I start FS it >> tells me it is around 1995ms. Occasionally it is lower (sub 1000ms) and >> then does not give a warning. >> >> Best wishes >> Bruce >> >> >> On 1 March 2010 16:47, Anthony Minessale wrote: >> >>> we are still wary about 5.3 due to bugs reported in libc. >>> What number does it say it detected for the gap? >>> >>> >>> On Sun, Feb 28, 2010 at 12:03 PM, Bruce Hopkins >> > wrote: >>> >>>> OK - I've realised I do get the same warning with CentOS 5.3, it just >>>> goes past more quickly so I didn't see it. Maybe it is just the hardware >>>> .... >>>> >>>> >>>> On 28 February 2010 15:37, Bruce Hopkins wrote: >>>> >>>>> Hi, >>>>> >>>>> I wonder if anyone would be able to advise please: >>>>> >>>>> When I build FreeSWITCH on yum updated CentOS 5.4, I get a warning when >>>>> I start FreeSWITCH that >>>>> >>>>> "Abnormally large timer gap detected" >>>>> "Do you have your kernel timer set to greater than 1kHz? You may >>>>> experience audio problems". >>>>> >>>>> I get no such warning if I build on CentOS 5.3, and the test timings it >>>>> measures on starting FreeSWITCH do look lower. All I was doing to upgrade >>>>> to Centos5.4 was a yum update on the 5.3 build. >>>>> >>>>> I guess the warning comes from here: >>>>> http://fisheye.freeswitch.org/browse/~raw,r=16409/FreeSWITCH/src/switch_time.c >>>>> >>>>> This is all on pretty low spec hardware - a couple of different Dell >>>>> optiplex p4's I use for testing. >>>>> >>>>> Does anyone happen to know if I should just stick to Cent)S 5.3, or use >>>>> 5.4 and not worry about the warnings, or if there is something I can do to >>>>> fix the problem it is warning about. Perhaps it is just that I shouldn't >>>>> use such crummy hardware?! >>>>> >>>>> Many thanks in advance >>>>> Bruce >>>>> >>>> >>>> >>>> _______________________________________________ >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>> iax:guest at conference.freeswitch.org/888 >>> googletalk:conf+888 at conference.freeswitch.org >>> pstn:+19193869900 >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> >> > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100310/724b7683/attachment.html From anthony.minessale at gmail.com Wed Mar 10 09:09:46 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 10 Mar 2010 11:09:46 -0600 Subject: [Freeswitch-users] Bug in mod_commands.c with show calls command In-Reply-To: References: <191c3a031003011524o618a139frccab554c1c97d334@mail.gmail.com> Message-ID: <191c3a031003100909t37e97e92r2729dc6470d7e6d6@mail.gmail.com> you can change the delimiter Like the example: "show calls as csv :::" The data will be sep by ::: instead of comma if you would like to make a patch to add "" it would be applied. On Mon, Mar 1, 2010 at 9:29 PM, Wellie Chao wrote: > Terrific. "show calls as xml" works great and just what I needed. > > P.S. "show calls as csv" still has the comma bug. Not a big deal since I > can get it as XML. CSV needs quotes around field values that contain a > comma. Pretty easy to fix. Few lines of C (strchr for "," and if found, > put quotes around field value). > > > Date: Mon, 1 Mar 2010 17:24:16 -0600 > From: Anthony Minessale > Reply-To: freeswitch-users at lists.freeswitch.org > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] Bug in mod_commands.c with show calls > command > > Perhaps you may be reading up on something quickly and not worrying about > the absolute correctness of something that is not critical to our time to > explain. > > The proper syntax for the command is "show calls as xml" and you are not > really using XMLRPC you are hitting it via direct url. > so you will then need. > > http://192.168.1.1:8080/txtapi/show?calls%20as%20xml > > > anything in the show command can be replied to with "as xml" > > also, for fun, try > > show calls as csv ::: > > > > > On Mon, Mar 1, 2010 at 3:31 PM, Wellie Chao wrote: > I am using the xml_rpc interface like so: > > http://192.168.1.1:8080/webapi/show?calls > > I get a response in a table, which is a little bit undesirable because > I > want to parse the result in a program and don't want to parse a bunch > of > HTML (just seems inelegant and wasteful), so I instead tried the > following > request: > > http://192.168.1.1:8080/txtapi/show?calls > > That works better, but then another wrinkle appears. Caller ID (and > Callee > ID) names sometimes have commas, which messes up the CSV. > > This appears to be a bug in mod_commands.c (or I suppose you could > call it > an artifact of somebody coding up something quickly and not worrying > about > the absolute correctness of something that is not critical to the > core). > There is also another bug with show calls via webapi in that the > generated > HTML has spurious tags. I think the spurious tag bug arises > due > to lines 3145-6 in mod/applications/mod_commands/mod_commands.c. > Finally, > another bug (or maybe just unimplemented feature) is that xmlapl isn't > really different from webapi. > > These problems occur in the latest source tree (20100301). > > I am wondering if (a) one of the developers can fix these or (b) if I > fix > the bugs, how can I submit patches [and if I submit patches, will they > be > accepted into the main tree]? > > The fixes are pretty trivial and I'd be happy to code them up if > somebody > will tell me how I can submit the patches (haven't done it before). > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100310/abc3eb74/attachment-0001.html From anthony.minessale at gmail.com Wed Mar 10 09:11:41 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 10 Mar 2010 11:11:41 -0600 Subject: [Freeswitch-users] Attrafax In-Reply-To: <65d96fc81003100410t7a386f0au411135ae62e34a6b@mail.gmail.com> References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> <65d96fc81003100410t7a386f0au411135ae62e34a6b@mail.gmail.com> Message-ID: <191c3a031003100911x30213038h533d5b89eb364242@mail.gmail.com> We have a mod_fax for t30 and work on t38 is underway. So we already acknowledge that I guess. On Wed, Mar 10, 2010 at 6:10 AM, Tihomir Culjaga wrote: > they just want to believe it is :) .. thats it. > > > T. > > > On Mon, Mar 8, 2010 at 11:46 PM, Brian West wrote: > >> There is no such thing as security when humans are involved in the relay >> of information. Thats fact. >> >> HIPAA is a joke. PCI is a joke... they all don't get it. Humans are >> involved its not secure. >> >> /b >> >> On Mar 8, 2010, at 4:39 PM, Gabriel Kuri wrote: >> >> > While I'd love to see FAXing just die, especially with the amount of >> headache associated with it, the reality is that specific organizations >> still rely on it heavily on a daily basis (ie Health Care and >> Banking/Finance Industry). Plus they can legally get away with FAXing >> personal data directly between machines, since the FAX transmission doesn't >> seem to be directly covered by all their respective privacy regultions (ie >> HIPAA, PCI, etc.), unless of course it's a FAX-to-email service. Plus most >> of these organizations just don't have the internal expertise to setup >> end-to-end encrypted email nor the impetus to deal with it, since FAXing >> works fine in their eyes. I think it's going to be around quite a while >> longer unless they actually stop making the FAX machines and force people to >> use something else. >> > >> > Cheers, >> > Gabe >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > -- 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 iax:guest at conference.freeswitch.org/888 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/20100310/9b2e9de1/attachment.html From chris at fowler.cc Wed Mar 10 09:16:10 2010 From: chris at fowler.cc (Chris Fowler) Date: Wed, 10 Mar 2010 12:16:10 -0500 Subject: [Freeswitch-users] Multiple Registrations - randomly only one device ring In-Reply-To: <8a19bf2e1003092353w32701aaes47b034f2abfb71f5@mail.gmail.com> References: <8a19bf2e1003092353w32701aaes47b034f2abfb71f5@mail.gmail.com> Message-ID: <7454A296C7EDE34EA57199FAA401E2F11C64005C5B@VMBX113.ihostexchange.net> Hi Lloyd, You need to use sofia_contact in your bridge command in the dialplan: e.g. This will cause FS to try all registrations simultaneously. Cheers, Chris. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Aloysius Lloyd Sent: Tuesday, March 09, 2010 11:53 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Multiple Registrations - randomly only one device ring Hi All, I enable the multiple registrations in sip_profiles/internal.xml. Then I restart the freeswitch. I use Aastra 9133i and eyebeam register for same extension. But randomly only one device ring. Do I need to enable any other settings? Thanks, Lloyd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/98bef168/attachment.html From stevendt at primrosebank.net Wed Mar 10 09:44:03 2010 From: stevendt at primrosebank.net (Dave Stevenson) Date: Wed, 10 Mar 2010 17:44:03 -0000 Subject: [Freeswitch-users] [ERR] switch_rtp.c:2196FailedDTMFpayloadcheck. References: <59198F0C-C8CF-41AA-9489-62C297B5F90D@freeswitch.org><3778B4E1-7DF7-4A11-BC1C-4476319EDAC3@avgs.ca><36BDEB9F2E174CA99548A71E14B21AA7@bp1.ad.bp.com><282476B55FD4450A8DBBAFCB673DCBEC@bp1.ad.bp.com> <82256D47-83CC-4BB3-98FD-48943769F621@jerris.com> Message-ID: ----- Original Message ----- From: Michael Jerris To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 10, 2010 9:56 AM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196FailedDTMFpayloadcheck. curious what happens if you change the level or payload type int hat config below as well. Mike On Mar 3, 2010, at 3:39 PM, Dave Stevenson wrote: Some more info . . . The error only seems to occur when a "0" is entered. Looking at the Phone config, the RFC2833 options are :- In Band Out of Band (RFC2833) - currently selected SIP Info RTP Payload Type (96-127) - 96 currently selected RTP DTMP Level (0-63) - 0 Currently selected Dave ----- Original Message ----- From: Dave Stevenson To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 8:23 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 FailedDTMFpayloadcheck. Hi Mathieu, if you tell me how to generate one, I'll do it now ? regards Dave ----- Original Message ----- From: Mathieu Rene To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 8:09 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMFpayloadcheck. I don't recall any rfc2833 changes in the past 2 weeks. I would like to see a packet capture of those bogus rtp packets though. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 3-Mar-10, at 3:06 PM, Dave Stevenson wrote: Hi, thanks Brian. The device is a Thomson ST2030 which has a basic listing on the Interop Wiki page, but does not specifically mention rfc2833 (although rtp is marked as "not tested"). I have not seen this message before while running the FS version that I'm currently using 16543 - yes, I know that this is a few weeks old and I will update and/or raise a bug once I've upgraded, but it would be nice to know if anyone else sees problems with this phone, regards Dave ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 7:50 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMF payloadcheck. It usually means your device can't do rfc2833 correctly and needs to have a bug opened so they can fix it. /b On Mar 3, 2010, at 1:39 PM, Dave Stevenson wrote: It appears in response to keypad events during voicemail retrieval, the prompts were actioned correctly, but I was wondering what the message actually means ? -------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 ------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100310/652b2797/attachment-0001.html From stevendt at primrosebank.net Wed Mar 10 09:50:24 2010 From: stevendt at primrosebank.net (Dave Stevenson) Date: Wed, 10 Mar 2010 17:50:24 -0000 Subject: [Freeswitch-users] [ERR] switch_rtp.c:2196FailedDTMFpayloadcheck. References: <59198F0C-C8CF-41AA-9489-62C297B5F90D@freeswitch.org><3778B4E1-7DF7-4A11-BC1C-4476319EDAC3@avgs.ca><36BDEB9F2E174CA99548A71E14B21AA7@bp1.ad.bp.com><282476B55FD4450A8DBBAFCB673DCBEC@bp1.ad.bp.com> <82256D47-83CC-4BB3-98FD-48943769F621@jerris.com> Message-ID: Mike, thanks for following this up . . . . . Not having the faintest idea what those settings might do, I never thought of changing them and see what difference it made, but you prompted me to try that.... I've still no idea what "RTP Payload Type" is, but changing it makes no difference to my problem. However, DTMF level (the "DTMP" was a typo in my earlier message), which I'm guessing is a kind of volume setting (?) DOES make a difference. Setting it to different values makes the error go away, it's currently set at "1" (from "0") which seems to have been enough to get rid of the problem. Strange that the problem only affected one digit ("0"), but maybe something was just on a limit somewhere - maybe the phone has an issue with certain frequencies. Anyway, a simple work around, if only I'd had the sense to try that earlier - thanks a lot for the prompt ! regards Dave ----- Original Message ----- From: Michael Jerris To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 10, 2010 9:56 AM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196FailedDTMFpayloadcheck. curious what happens if you change the level or payload type int hat config below as well. Mike On Mar 3, 2010, at 3:39 PM, Dave Stevenson wrote: Some more info . . . The error only seems to occur when a "0" is entered. Looking at the Phone config, the RFC2833 options are :- In Band Out of Band (RFC2833) - currently selected SIP Info RTP Payload Type (96-127) - 96 currently selected RTP DTMP Level (0-63) - 0 Currently selected Dave ----- Original Message ----- From: Dave Stevenson To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 8:23 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 FailedDTMFpayloadcheck. Hi Mathieu, if you tell me how to generate one, I'll do it now ? regards Dave ----- Original Message ----- From: Mathieu Rene To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 8:09 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMFpayloadcheck. I don't recall any rfc2833 changes in the past 2 weeks. I would like to see a packet capture of those bogus rtp packets though. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 3-Mar-10, at 3:06 PM, Dave Stevenson wrote: Hi, thanks Brian. The device is a Thomson ST2030 which has a basic listing on the Interop Wiki page, but does not specifically mention rfc2833 (although rtp is marked as "not tested"). I have not seen this message before while running the FS version that I'm currently using 16543 - yes, I know that this is a few weeks old and I will update and/or raise a bug once I've upgraded, but it would be nice to know if anyone else sees problems with this phone, regards Dave ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Wednesday, March 03, 2010 7:50 PM Subject: Re: [Freeswitch-users] [ERR] switch_rtp.c:2196 Failed DTMF payloadcheck. It usually means your device can't do rfc2833 correctly and needs to have a bug opened so they can fix it. /b On Mar 3, 2010, at 1:39 PM, Dave Stevenson wrote: It appears in response to keypad events during voicemail retrieval, the prompts were actioned correctly, but I was wondering what the message actually means ? -------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 ------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100310/52a1332e/attachment.html From peder at networkoblivion.com Wed Mar 10 11:27:03 2010 From: peder at networkoblivion.com (Peder) Date: Wed, 10 Mar 2010 13:27:03 -0600 Subject: [Freeswitch-users] Kernel timer warning with CentOS 5.4 In-Reply-To: <191c3a031003100825s7d05562cna52d39265bfcf54@mail.gmail.com> References: <191c3a031003010847y5036817ekb19379e646dd8cb@mail.gmail.com> <65d96fc81003100142m129c6b66w229bd1e519e8aea7@mail.gmail.com> <191c3a031003100825s7d05562cna52d39265bfcf54@mail.gmail.com> Message-ID: <019801cac087$a9da3b90$fd8eb2b0$@com> Is there a way to tell how accurate the timing is on a box before running FreeSWITCH on it? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Wednesday, March 10, 2010 10:26 AM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Kernel timer warning with CentOS 5.4 FS now tries to determine how accurate the timing is by doing some tests with 1ms sleeps. Most 64 bit CentOS box I have seen can easily calibrate. If you are having that error alot but the calls still sound ok, it's safe to ignore it. you can also start FS with -nocal to skip this test. Also make sure you do not have any other cpu-intensive application on your box possibly competing for resources. On Wed, Mar 10, 2010 at 3:42 AM, Tihomir Culjaga wrote: i have the same issue but on centos 4.8 ... on 5.4 doesn't complain... what is this related to ? T. On Mon, Mar 8, 2010 at 2:25 PM, Bruce Hopkins wrote: Hi Anthony, Many, many apologies to take so long to reply - I failed to notice your response. Sorry ! It seems to be variable. Most times (on CentOS 5.3) when I start FS it tells me it is around 1995ms. Occasionally it is lower (sub 1000ms) and then does not give a warning. Best wishes Bruce On 1 March 2010 16:47, Anthony Minessale wrote: we are still wary about 5.3 due to bugs reported in libc. What number does it say it detected for the gap? On Sun, Feb 28, 2010 at 12:03 PM, Bruce Hopkins wrote: OK - I've realised I do get the same warning with CentOS 5.3, it just goes past more quickly so I didn't see it. Maybe it is just the hardware .... On 28 February 2010 15:37, Bruce Hopkins wrote: Hi, I wonder if anyone would be able to advise please: When I build FreeSWITCH on yum updated CentOS 5.4, I get a warning when I start FreeSWITCH that "Abnormally large timer gap detected" "Do you have your kernel timer set to greater than 1kHz? You may experience audio problems". I get no such warning if I build on CentOS 5.3, and the test timings it measures on starting FreeSWITCH do look lower. All I was doing to upgrade to Centos5.4 was a yum update on the 5.3 build. I guess the warning comes from here: http://fisheye.freeswitch.org/browse/~raw,r=16409/FreeSWITCH/src/switch_time .c This is all on pretty low spec hardware - a couple of different Dell optiplex p4's I use for testing. Does anyone happen to know if I should just stick to Cent)S 5.3, or use 5.4 and not worry about the warnings, or if there is something I can do to fix the problem it is warning about. Perhaps it is just that I shouldn't use such crummy hardware?! Many thanks in advance Bruce _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100310/6b003364/attachment-0001.html From jbrucehopkins at gmail.com Wed Mar 10 11:38:21 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Wed, 10 Mar 2010 19:38:21 +0000 Subject: [Freeswitch-users] Kernel timer warning with CentOS 5.4 In-Reply-To: <191c3a031003100825s7d05562cna52d39265bfcf54@mail.gmail.com> References: <191c3a031003010847y5036817ekb19379e646dd8cb@mail.gmail.com> <65d96fc81003100142m129c6b66w229bd1e519e8aea7@mail.gmail.com> <191c3a031003100825s7d05562cna52d39265bfcf54@mail.gmail.com> Message-ID: Many thanks for the info. I was using a fairly crummy 32 bit box with no PSTN card installed. There was no degredation of the audio immediately apparent. Bests Bruce On 10 March 2010 16:25, Anthony Minessale wrote: > FS now tries to determine how accurate the timing is by doing some tests > with 1ms sleeps. > Most 64 bit CentOS box I have seen can easily calibrate. > If you are having that error alot but the calls still sound ok, it's safe > to ignore it. > you can also start FS with -nocal to skip this test. > > Also make sure you do not have any other cpu-intensive application on your > box possibly competing for resources. > > > > On Wed, Mar 10, 2010 at 3:42 AM, Tihomir Culjaga wrote: > >> i have the same issue but on centos 4.8 ... on 5.4 doesn't complain... >> >> what is this related to ? >> >> T. >> >> >> On Mon, Mar 8, 2010 at 2:25 PM, Bruce Hopkins wrote: >> >>> Hi Anthony, >>> >>> Many, many apologies to take so long to reply - I failed to notice your >>> response. Sorry ! >>> >>> It seems to be variable. Most times (on CentOS 5.3) when I start FS it >>> tells me it is around 1995ms. Occasionally it is lower (sub 1000ms) and >>> then does not give a warning. >>> >>> Best wishes >>> Bruce >>> >>> >>> On 1 March 2010 16:47, Anthony Minessale wrote: >>> >>>> we are still wary about 5.3 due to bugs reported in libc. >>>> What number does it say it detected for the gap? >>>> >>>> >>>> On Sun, Feb 28, 2010 at 12:03 PM, Bruce Hopkins < >>>> jbrucehopkins at gmail.com> wrote: >>>> >>>>> OK - I've realised I do get the same warning with CentOS 5.3, it just >>>>> goes past more quickly so I didn't see it. Maybe it is just the hardware >>>>> .... >>>>> >>>>> >>>>> On 28 February 2010 15:37, Bruce Hopkins wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I wonder if anyone would be able to advise please: >>>>>> >>>>>> When I build FreeSWITCH on yum updated CentOS 5.4, I get a warning >>>>>> when I start FreeSWITCH that >>>>>> >>>>>> "Abnormally large timer gap detected" >>>>>> "Do you have your kernel timer set to greater than 1kHz? You may >>>>>> experience audio problems". >>>>>> >>>>>> I get no such warning if I build on CentOS 5.3, and the test timings >>>>>> it measures on starting FreeSWITCH do look lower. All I was doing to >>>>>> upgrade to Centos5.4 was a yum update on the 5.3 build. >>>>>> >>>>>> I guess the warning comes from here: >>>>>> http://fisheye.freeswitch.org/browse/~raw,r=16409/FreeSWITCH/src/switch_time.c >>>>>> >>>>>> This is all on pretty low spec hardware - a couple of different Dell >>>>>> optiplex p4's I use for testing. >>>>>> >>>>>> Does anyone happen to know if I should just stick to Cent)S 5.3, or >>>>>> use 5.4 and not worry about the warnings, or if there is something I can do >>>>>> to fix the problem it is warning about. Perhaps it is just that I shouldn't >>>>>> use such crummy hardware?! >>>>>> >>>>>> Many thanks in advance >>>>>> Bruce >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at 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 >>>> iax:guest at conference.freeswitch.org/888 >>>> googletalk:conf+888 at conference.freeswitch.org >>>> pstn:+19193869900 >>>> >>>> _______________________________________________ >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>> >>> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/480402e1/attachment.html From msc at freeswitch.org Wed Mar 10 11:44:43 2010 From: msc at freeswitch.org (Michael Collins) Date: Wed, 10 Mar 2010 11:44:43 -0800 Subject: [Freeswitch-users] forwarding incoming call from gateway to local externsion In-Reply-To: References: Message-ID: <87f2f3b91003101144w31dc79b3x27c1d5e5d6f8b449@mail.gmail.com> On Wed, Mar 10, 2010 at 6:39 AM, srinivasula reddy < srinivas.ksvreddy at gmail.com> wrote: > Hi Goodmorning. > > i have connected my freeswtich to cisco gateway, i have registerd a > user(1099) in my freeswitch, and i have configured freeswitch any call from > 1099 routing to cisco gateway, i need same way when call coming from gateway > with 101010 i want to route or farward to 1099, what files need to configure > any idea > Look in conf/dialplan/public.xml and see how the default extension numbers (1000-1019) are handled in this scenario. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/38564a99/attachment.html From anthony.minessale at gmail.com Wed Mar 10 12:29:02 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 10 Mar 2010 14:29:02 -0600 Subject: [Freeswitch-users] Kernel timer warning with CentOS 5.4 In-Reply-To: <019801cac087$a9da3b90$fd8eb2b0$@com> References: <191c3a031003010847y5036817ekb19379e646dd8cb@mail.gmail.com> <65d96fc81003100142m129c6b66w229bd1e519e8aea7@mail.gmail.com> <191c3a031003100825s7d05562cna52d39265bfcf54@mail.gmail.com> <019801cac087$a9da3b90$fd8eb2b0$@com> Message-ID: <191c3a031003101229x1ddaa5b8k1d6a487e46580b1a@mail.gmail.com> The best tool we have is actually running freeswitch on it to see. On Wed, Mar 10, 2010 at 1:27 PM, Peder wrote: > Is there a way to tell how accurate the timing is on a box before running > FreeSWITCH on it? > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Anthony > Minessale > *Sent:* Wednesday, March 10, 2010 10:26 AM > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* Re: [Freeswitch-users] Kernel timer warning with CentOS 5.4 > > > > FS now tries to determine how accurate the timing is by doing some tests > with 1ms sleeps. > Most 64 bit CentOS box I have seen can easily calibrate. > If you are having that error alot but the calls still sound ok, it's safe > to ignore it. > you can also start FS with -nocal to skip this test. > > Also make sure you do not have any other cpu-intensive application on your > box possibly competing for resources. > > On Wed, Mar 10, 2010 at 3:42 AM, Tihomir Culjaga > wrote: > > i have the same issue but on centos 4.8 ... on 5.4 doesn't complain... > > what is this related to ? > > T. > > > > On Mon, Mar 8, 2010 at 2:25 PM, Bruce Hopkins > wrote: > > Hi Anthony, > > Many, many apologies to take so long to reply - I failed to notice your > response. Sorry ! > > It seems to be variable. Most times (on CentOS 5.3) when I start FS it > tells me it is around 1995ms. Occasionally it is lower (sub 1000ms) and > then does not give a warning. > > Best wishes > Bruce > > > > On 1 March 2010 16:47, Anthony Minessale > wrote: > > we are still wary about 5.3 due to bugs reported in libc. > What number does it say it detected for the gap? > > On Sun, Feb 28, 2010 at 12:03 PM, Bruce Hopkins > wrote: > > OK - I've realised I do get the same warning with CentOS 5.3, it just > goes past more quickly so I didn't see it. Maybe it is just the hardware > .... > > > > On 28 February 2010 15:37, Bruce Hopkins wrote: > > Hi, > > I wonder if anyone would be able to advise please: > > When I build FreeSWITCH on yum updated CentOS 5.4, I get a warning when I > start FreeSWITCH that > > "Abnormally large timer gap detected" > "Do you have your kernel timer set to greater than 1kHz? You may > experience audio problems". > > I get no such warning if I build on CentOS 5.3, and the test timings it > measures on starting FreeSWITCH do look lower. All I was doing to upgrade > to Centos5.4 was a yum update on the 5.3 build. > > I guess the warning comes from here: > http://fisheye.freeswitch.org/browse/~raw,r=16409/FreeSWITCH/src/switch_time.c > > This is all on pretty low spec hardware - a couple of different Dell > optiplex p4's I use for testing. > > Does anyone happen to know if I should just stick to Cent)S 5.3, or use 5.4 > and not worry about the warnings, or if there is something I can do to fix > the problem it is warning about. Perhaps it is just that I shouldn't use > such crummy hardware?! > > Many thanks in advance > Bruce > > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100310/c00eac20/attachment-0001.html From siniypin at gmail.com Wed Mar 10 12:52:00 2010 From: siniypin at gmail.com (RobertT) Date: Wed, 10 Mar 2010 23:52:00 +0300 Subject: [Freeswitch-users] sofia_contact strange behavior Message-ID: <2160023e1003101252v7118d3b6mb6a99d199f6fc4bf@mail.gmail.com> Hello everybody! I am experiencing problems with sofia_contact command. When I dial sofia_contact external/1000@ in fs cli I see correct registration data, provided the user 1000 is registered. But in the same time when I call ${sofia_conatct(external/${dialed_ext}@$${domain})} from dialplan as an argument to deflect application I recieve error\user_not_registered. What the hell? Best regards, RobertT. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/09ba1859/attachment.html From peder at networkoblivion.com Wed Mar 10 12:53:47 2010 From: peder at networkoblivion.com (Peder) Date: Wed, 10 Mar 2010 14:53:47 -0600 Subject: [Freeswitch-users] Kernel timer warning with CentOS 5.4 In-Reply-To: <191c3a031003101229x1ddaa5b8k1d6a487e46580b1a@mail.gmail.com> References: <191c3a031003010847y5036817ekb19379e646dd8cb@mail.gmail.com> <65d96fc81003100142m129c6b66w229bd1e519e8aea7@mail.gmail.com> <191c3a031003100825s7d05562cna52d39265bfcf54@mail.gmail.com> <019801cac087$a9da3b90$fd8eb2b0$@com> <191c3a031003101229x1ddaa5b8k1d6a487e46580b1a@mail.gmail.com> Message-ID: <021b01cac093$c76d3930$5647ab90$@com> OK, can you decode what this means exactly? I'd be happy to write something up to reference users to, but I don't really know what it means. It is a a quad-core 2.8GHz running CentOS 5.3 64-bit. It looks like it calculated 150, but is that good, bad, indifferent? I've tried to google it, but without really knowing what it is I am looking for, I am not getting good results. 2010-03-10 14:48:37.960041 [CONSOLE] switch_time.c:1021 Calibrating timer, please wait... 2010-03-10 14:48:38.060174 [CONSOLE] switch_time.c:223 Test: 1000 Average: 2001 Step: 50 2010-03-10 14:48:38.160169 [CONSOLE] switch_time.c:223 Test: 950 Average: 1998 Step: 50 2010-03-10 14:48:38.260164 [CONSOLE] switch_time.c:223 Test: 900 Average: 1998 Step: 50 2010-03-10 14:48:38.360159 [CONSOLE] switch_time.c:223 Test: 850 Average: 1998 Step: 50 2010-03-10 14:48:38.460155 [CONSOLE] switch_time.c:223 Test: 800 Average: 1998 Step: 50 2010-03-10 14:48:38.560149 [CONSOLE] switch_time.c:223 Test: 750 Average: 1998 Step: 50 2010-03-10 14:48:38.660144 [CONSOLE] switch_time.c:223 Test: 700 Average: 1998 Step: 50 2010-03-10 14:48:38.760139 [CONSOLE] switch_time.c:223 Test: 650 Average: 1997 Step: 50 2010-03-10 14:48:38.860134 [CONSOLE] switch_time.c:223 Test: 600 Average: 1998 Step: 50 2010-03-10 14:48:38.960132 [CONSOLE] switch_time.c:223 Test: 550 Average: 1998 Step: 50 2010-03-10 14:48:39.060124 [CONSOLE] switch_time.c:223 Test: 500 Average: 1998 Step: 50 2010-03-10 14:48:39.160119 [CONSOLE] switch_time.c:223 Test: 450 Average: 1998 Step: 50 2010-03-10 14:48:39.260114 [CONSOLE] switch_time.c:223 Test: 400 Average: 1998 Step: 50 2010-03-10 14:48:39.311111 [CONSOLE] switch_time.c:223 Test: 350 Average: 1018 Step: 50 2010-03-10 14:48:39.361109 [CONSOLE] switch_time.c:223 Test: 300 Average: 998 Step: 50 2010-03-10 14:48:39.411106 [CONSOLE] switch_time.c:223 Test: 300 Average: 998 Step: 50 2010-03-10 14:48:39.461103 [CONSOLE] switch_time.c:223 Test: 300 Average: 998 Step: 50 2010-03-10 14:48:39.511101 [CONSOLE] switch_time.c:223 Test: 300 Average: 998 Step: 50 2010-03-10 14:48:39.561099 [CONSOLE] switch_time.c:223 Test: 300 Average: 998 Step: 50 2010-03-10 14:48:39.612096 [CONSOLE] switch_time.c:223 Test: 300 Average: 1018 Step: 50 2010-03-10 14:48:39.662092 [CONSOLE] switch_time.c:223 Test: 250 Average: 998 Step: 50 2010-03-10 14:48:39.712091 [CONSOLE] switch_time.c:223 Test: 250 Average: 998 Step: 50 2010-03-10 14:48:39.762088 [CONSOLE] switch_time.c:223 Test: 250 Average: 998 Step: 50 2010-03-10 14:48:39.812086 [CONSOLE] switch_time.c:223 Test: 250 Average: 998 Step: 50 2010-03-10 14:48:39.862083 [CONSOLE] switch_time.c:223 Test: 250 Average: 998 Step: 50 2010-03-10 14:48:39.912082 [CONSOLE] switch_time.c:223 Test: 250 Average: 998 Step: 50 2010-03-10 14:48:39.962077 [CONSOLE] switch_time.c:223 Test: 250 Average: 998 Step: 50 2010-03-10 14:48:40.012076 [CONSOLE] switch_time.c:223 Test: 250 Average: 998 Step: 50 2010-03-10 14:48:40.063074 [CONSOLE] switch_time.c:223 Test: 250 Average: 1018 Step: 50 2010-03-10 14:48:40.113071 [CONSOLE] switch_time.c:223 Test: 200 Average: 998 Step: 50 2010-03-10 14:48:40.163068 [CONSOLE] switch_time.c:223 Test: 200 Average: 998 Step: 50 2010-03-10 14:48:40.213066 [CONSOLE] switch_time.c:223 Test: 200 Average: 998 Step: 50 2010-03-10 14:48:40.263064 [CONSOLE] switch_time.c:223 Test: 200 Average: 998 Step: 50 2010-03-10 14:48:40.313061 [CONSOLE] switch_time.c:223 Test: 200 Average: 998 Step: 50 2010-03-10 14:48:40.363059 [CONSOLE] switch_time.c:223 Test: 200 Average: 998 Step: 50 2010-03-10 14:48:40.413056 [CONSOLE] switch_time.c:223 Test: 200 Average: 998 Step: 50 2010-03-10 14:48:40.465054 [CONSOLE] switch_time.c:223 Test: 200 Average: 1038 Step: 50 2010-03-10 14:48:40.515051 [CONSOLE] switch_time.c:223 Test: 150 Average: 998 Step: 50 2010-03-10 14:48:40.565049 [CONSOLE] switch_time.c:223 Test: 150 Average: 998 Step: 50 2010-03-10 14:48:40.615046 [CONSOLE] switch_time.c:223 Test: 150 Average: 998 Step: 50 2010-03-10 14:48:40.665043 [CONSOLE] switch_time.c:223 Test: 150 Average: 998 Step: 50 2010-03-10 14:48:40.715041 [CONSOLE] switch_time.c:223 Test: 150 Average: 998 Step: 50 2010-03-10 14:48:40.765039 [CONSOLE] switch_time.c:223 Test: 150 Average: 998 Step: 50 2010-03-10 14:48:40.815036 [CONSOLE] switch_time.c:223 Test: 150 Average: 998 Step: 50 2010-03-10 14:48:40.866032 [CONSOLE] switch_time.c:223 Test: 150 Average: 1018 Step: 50 2010-03-10 14:48:40.916032 [CONSOLE] switch_time.c:223 Test: 100 Average: 998 Step: 50 2010-03-10 14:48:40.966028 [CONSOLE] switch_time.c:223 Test: 100 Average: 998 Step: 50 2010-03-10 14:48:41.016026 [CONSOLE] switch_time.c:223 Test: 100 Average: 998 Step: 50 2010-03-10 14:48:41.066022 [CONSOLE] switch_time.c:223 Test: 100 Average: 998 Step: 50 2010-03-10 14:48:41.116021 [CONSOLE] switch_time.c:223 Test: 100 Average: 998 Step: 50 2010-03-10 14:48:41.166017 [CONSOLE] switch_time.c:223 Test: 100 Average: 998 Step: 50 2010-03-10 14:48:41.216016 [CONSOLE] switch_time.c:223 Test: 100 Average: 998 Step: 50 2010-03-10 14:48:41.266013 [CONSOLE] switch_time.c:223 Test: 100 Average: 998 Step: 50 2010-03-10 14:48:41.317011 [CONSOLE] switch_time.c:223 Test: 100 Average: 1018 Step: 50 2010-03-10 14:48:41.367008 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 Step: 50 2010-03-10 14:48:41.417006 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 Step: 50 2010-03-10 14:48:41.467004 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 Step: 50 2010-03-10 14:48:41.517001 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 Step: 50 2010-03-10 14:48:41.566999 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 Step: 50 2010-03-10 14:48:41.616996 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 Step: 50 2010-03-10 14:48:41.666993 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 Step: 50 2010-03-10 14:48:41.716991 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 Step: 50 2010-03-10 14:48:41.767989 [CONSOLE] switch_time.c:223 Test: 50 Average: 1018 Step: 50 2010-03-10 14:48:41.817985 [CONSOLE] switch_time.c:223 Test: 0 Average: 998 Step: 50 2010-03-10 14:48:41.867984 [CONSOLE] switch_time.c:223 Test: 0 Average: 998 Step: 50 2010-03-10 14:48:41.917980 [CONSOLE] switch_time.c:223 Test: 0 Average: 998 Step: 50 2010-03-10 14:48:41.967979 [CONSOLE] switch_time.c:223 Test: 0 Average: 998 Step: 50 2010-03-10 14:48:42.017975 [CONSOLE] switch_time.c:223 Test: 0 Average: 998 Step: 50 2010-03-10 14:48:42.067974 [CONSOLE] switch_time.c:223 Test: 0 Average: 998 Step: 50 2010-03-10 14:48:42.117970 [CONSOLE] switch_time.c:223 Test: 0 Average: 998 Step: 50 2010-03-10 14:48:42.168969 [CONSOLE] switch_time.c:223 Test: 0 Average: 1018 Step: 50 2010-03-10 14:48:42.269962 [CONSOLE] switch_time.c:223 Test: 1000 Average: 2018 Step: 50 2010-03-10 14:48:42.369958 [CONSOLE] switch_time.c:223 Test: 950 Average: 1998 Step: 50 2010-03-10 14:48:42.448958 [CONSOLE] switch_time.c:223 Test: 900 Average: 1578 Step: 50 2010-03-10 14:48:42.498954 [CONSOLE] switch_time.c:223 Test: 850 Average: 998 Step: 50 2010-03-10 14:48:42.548951 [CONSOLE] switch_time.c:223 Test: 850 Average: 998 Step: 50 2010-03-10 14:48:42.598949 [CONSOLE] switch_time.c:223 Test: 850 Average: 998 Step: 50 2010-03-10 14:48:42.648946 [CONSOLE] switch_time.c:223 Test: 850 Average: 998 Step: 50 2010-03-10 14:48:42.698945 [CONSOLE] switch_time.c:223 Test: 850 Average: 998 Step: 50 2010-03-10 14:48:42.748942 [CONSOLE] switch_time.c:223 Test: 850 Average: 998 Step: 50 2010-03-10 14:48:42.798941 [CONSOLE] switch_time.c:223 Test: 850 Average: 998 Step: 50 2010-03-10 14:48:42.848936 [CONSOLE] switch_time.c:223 Test: 850 Average: 998 Step: 50 2010-03-10 14:48:42.898935 [CONSOLE] switch_time.c:223 Test: 850 Average: 998 Step: 50 2010-03-10 14:48:42.948931 [CONSOLE] switch_time.c:223 Test: 850 Average: 998 Step: 50 2010-03-10 14:48:42.998931 [CONSOLE] switch_time.c:223 Test: 850 Average: 998 Step: 50 2010-03-10 14:48:42.998963 [CONSOLE] switch_time.c:274 Timer offset of 150 calculated 2010-03-10 14:48:42.998994 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [CORE_SOFTTIMER_MODULE] 2010-03-10 14:48:42.999040 [NOTICE] switch_loadable_module.c:230 Adding Timer 'soft' 2010-03-10 14:48:42.999234 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [CORE_PCM_MODULE] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/fe30703b/attachment-0001.html From ben at langfeld.co.uk Wed Mar 10 13:05:32 2010 From: ben at langfeld.co.uk (Ben Langfeld) Date: Wed, 10 Mar 2010 21:05:32 +0000 Subject: [Freeswitch-users] Tone Detection During Bridge Message-ID: Dear List, I have a requirement (due to poor quality Sipura products) to have freeswitch listen for a tone during a bridge (standard local extension dialplan segment). I have the required line: But I need to have this run _during_ the bridge (to listen for the tone coming from the broken SPA3k and to break the bridge). Does anyone have any idea how this may be achieved? There is no such documentation on the wiki. This works perfectly if the bridge was not successful, and so will detect tones during voicemail messaging. Regards, Ben Langfeld Wave > Email -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/fa35eb5d/attachment.html From ledoktre at meanie.us Wed Mar 10 13:26:15 2010 From: ledoktre at meanie.us (Tim Streit) Date: Wed, 10 Mar 2010 15:26:15 -0600 Subject: [Freeswitch-users] Skypiax- how to know which card to use? In-Reply-To: <7b197bef1002241207k4da85b36l5e2e9c8e14f4fe32@mail.gmail.com> References: <4B7F0302.3060303@meanie.us> <7b197bef1002191441u455e8d8an4eb03c460254c6d3@mail.gmail.com> <4B8569CB.6070804@meanie.us> <7b197bef1002241207k4da85b36l5e2e9c8e14f4fe32@mail.gmail.com> Message-ID: <4B980E77.8080303@meanie.us> Giovanni, Any progress updates on the skypiax updates for sound quality and also DMTF detection? With this update coming, I am pretty excited to be trying it out. I have been trying very, very hard to be patient... :-D Thanks, Giovanni Maruzzelli wrote: > On Wed, Feb 24, 2010 at 7:02 PM, Tim Streit wrote: > >> Hello, >> >> I was writing to inquire how this skypiax update was coming along. I >> didn't see it in the mailing list, but also since it had been nearly 1 >> week, I wanted to be sure if I didn't miss the announcement. I am very >> anxious to try this new update of the module.. It should be awesome! >> > > Hehehe, no, you've not missed the announcement. > > Is taking me some more time than I was expecting. > But's arriving... > I'll post here the announcement ;) > > -giovanni > > > > >> Thanks, >> >> Tim >> >> Giovanni Maruzzelli wrote: >> >>> before to delve in the troubleshooting, I have to say that I'm >>> modifying the audio skypiax code in svn, so maybe it's just my fault >>> ;). >>> >>> please be patient for a little while, I hope to have done with it in a >>> couple days. >>> >>> I'll announce to the mailing list when done. >>> >>> In the mean time, at least one good news for you user of SkypeIn >>> service: a new feature of mod_skypiax is intended to recognize the >>> DTMFs coming from SkypeIn, so the incoming calls will be able to use >>> ivr, voicemail, etc. >>> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 jbrucehopkins at gmail.com Wed Mar 10 13:28:30 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Wed, 10 Mar 2010 21:28:30 +0000 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: References: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> <8215DEFE-460E-4764-BF96-35FBE820EC11@freeswitch.org> <63837C30-11FB-47E6-8173-3AFEA76A5BB4@gmail.com> <000001cabfbb$f2114c90$d633e5b0$@co.za> Message-ID: Hey Roly, Are you getting anywhere? I'm still struggling, I'm afraid. I'm able to call from WAN --> LAN using the internal profile on port 5060, but I still can't call out from LAN --> WAN so there is obviously something really basic I'm still not getting. In sip_profiles/internal.xml I have: In this example I have left etc uncommented to force the registration to go to default.xml in the dialplan. I thought maybe this was my problem and tried putting a separate file in the directory to enable the WAN phone to register using the external DNS name for the server as its domain, and uncommenting force-register-domain, etc. But then I got an error saying that the local (to Freeswitch) phone in the LAN was not registered when I tried to make the call from the WAN. Any thoughts? cheers Bruce On 10 March 2010 12:00, Bruce Hopkins wrote: > Hi Roly, > > I hope to be able to have a go at this later today. I'll let you know what > happens. > > I have my FS box behind a hardware router/firewall, so I'm assuming I just > forward SIP port 5060 from the WAN to the FS box and use internal profile, > instead of using external profile with port 5080 forwarded as I have at the > moment. We'll see what happens. > > cheers > Bruce > > On 9 March 2010 19:08, Roly Maz wrote: > >> Ah I see... what? Please share and lead this blind man out the FS >> wilderness! >> >> I don't understand...what happens to the external profile? Do you delete >> it? >> And how do you forward port 5060? >> >> ...and you thought you were a newbie! >> >> Any insight would be much appreciated...loving the journey. >> >> -----Original Message----- >> From: freeswitch-users-bounces at lists.freeswitch.org >> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bruce >> Hopkins >> Sent: 09 March 2010 08:23 AM >> To: freeswitch-users at lists.freeswitch.org >> Subject: Re: [Freeswitch-users] doublenat outgoing call issue >> >> Ah I see. I will try again using the internal profile and forwarding >> port 5060. Presumably still creating a directory entry to enable the >> outside-facing domain to be used. >> >> Many thanks for your patient help of a newbie Brian. >> >> Cheers >> Bruce >> >> Please excuse the brevity - sent from my mobile. >> >> On 8 Mar 2010, at 17:21, Brian West wrote: >> >> > ok you aren't catching one key thing here.. you no longer need two >> > profiles. >> > >> > /b >> > >> > On Mar 8, 2010, at 11:12 AM, Bruce Hopkins wrote: >> > >> >> Hi again, >> >> >> >> Thanks for the help so far. Unfotrunately I must still be doing >> >> something wrong here as I am still having difficulty, and still >> >> have the same problem. >> >> >> >> I updated to build 16938 by means of "make current" >> >> >> >> I'm not able to use UPNP or NATPMP so changed the port forwarding >> >> to use 5080 instead of 5090. >> >> >> >> I got rid of the doublenat profile in sip_profiles, though I had to >> >> retain an entry in the directory /usr/local/freeeswitch/conf/ >> >> directory/ext_dns.xml in order to give freeswitch the dns name of >> >> the server as a domain for the remote softphone to register on. I >> >> left the group name in this entry the same as inthe default entry, >> >> so that the remote phone could register on the same extension >> >> numbers (100, etc) as in the default build. >> >> >> >> I still find that, if I initiate a call from the local (on same LAN >> >> as freeswitch) phone to the remote phone, I get the message on the >> >> CLI: >> >> >> >> [ERR] switch_ivr_originate.c2389 Cannot create outgoing channel of >> >> type [user] cause: [USER_NOT_REGISTERED] >> >> >> >> One possibly unrelated aside, I also found I needed to uncomment >> >> in >> >> external.xml, otherwise in the case of a call initiated by the >> >> remote phone being hung up by the local phone, freeswitch sent the >> >> BYE to the private IP of the remote phone, rather than its public >> >> ip - meaning that the remote phone didn't receive the BYE. >> >> >> >> Any further ideas where I am going wrong here please? >> >> >> >> thanks again in advance >> >> Bruce >> > >> > >> > _______________________________________________ >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at 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 >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/b63d972f/attachment.html From freeswitch at gilligan.id.au Wed Mar 10 13:42:40 2010 From: freeswitch at gilligan.id.au (Chris) Date: Thu, 11 Mar 2010 08:42:40 +1100 Subject: [Freeswitch-users] mod_managed - how listen for *999 In-Reply-To: <367751821003100542j192503bgdbdacf9780269d6c@mail.gmail.com> References: <9394d42f1003090227p1295f785o9c9c1a5d3f6e3805@mail.gmail.com> <367751821003091831t36fe118btf811501a79b614d5@mail.gmail.com> <9394d42f1003100402o574f606br2e59d45f9733a117@mail.gmail.com> <367751821003100542j192503bgdbdacf9780269d6c@mail.gmail.com> Message-ID: <9394d42f1003101342p55c26227xdeb298dec3f68d11@mail.gmail.com> Thanks Phillip! That worked perfectly for some reason. I mean it was hardly different from mine and i still can't spot the fault in my own code. very strange. On Thu, Mar 11, 2010 at 12:42 AM, Phillip Jones wrote: > There should be no problem on digit capture on an outgoing call. For > example - when I originate a call, I ask the called party, for example, to > press 1 to accept the call. This works correctly: > > BLegSession.DtmfReceivedFunction = (d, t) => > { > Log.WriteLine(LogLevel.Info, "Received {0} for {1}.", > d, t); > if (d == confirmationDigit) > { > confirmed = true; > return "break"; > } > > return ""; > }; > > while (!confirmed && BLegSession != null && > BLegSession.Ready() && BLegSession.mediaReady() && loop <= loops) > { > loop++; > > if (!confirmed && BLegSession != null && > BLegSession.Ready() && BLegSession.mediaReady()) > > BLegSession.StreamFile("prompts/press-1-to-accept-call-from.wav", 0); > > if (!confirmed && BLegSession != null && > BLegSession.Ready() && BLegSession.mediaReady()) > BLegSession.CollectDigits(5000); > > } > > If you are not receiving the digits - I would try and bridge the oubound > call to an existing call and check that you are getting two way audio - and > if you are using inband DTMF - that you can actually hear the digits. > > HTH > > > > On Wed, Mar 10, 2010 at 7:02 AM, Chris wrote: > >> Thanks for the idea i will try that next. I thought i would try to capture >> the digits like normal first to make sure everything is working right and to >> test a few event capture methods. What i found was that mod_managed never >> seemed to capture or read any digits for an out going call. If i pass the >> call to a different application/dial plan it captures the digits perfectly. >> I assume audio was working as it played audio to the user to enter digits >> so i figure i have not configured something correctly but i have not idea >> what it is. Until i work it out i don't think any event code will work. >> >> I have no idea what is wrong in this case or even how to debug it. >> >> Chris >> >> >> On Wed, Mar 10, 2010 at 1:31 PM, Phillip Jones wrote: >> >>> One way might be to create an event loop and listen for DTMF >>> >>> public bool Load() >>> { >>> ThreadPool.QueueUserWorkItem((o) => >>> { >>> Log.WriteLine(LogLevel.Notice, "Thread Starting. "); >>> EventConsumer con = new EventConsumer("DTMF", ""); >>> while (true) >>> { >>> Event ev = con.pop(1); >>> if (ev != null) >>> { >>> ... do what ever needs to be done >>> } >>> >>> } >>> }); >>> >>> See http://wiki.freeswitch.org/wiki/Event_List#DTMF >>> >>> I am guessing the DTMF is "DTMF" so play around with that if it does not >>> work. >>> >>> There are probably better ways. >>> >>> >>> >>> On Tue, Mar 9, 2010 at 5:27 AM, Chris wrote: >>> >>>> What i need to do is listen on a session before, during and after the >>>> session is bridged with another call. I know built into FS is the option to >>>> listen for *x where x is 0-9 but i really need more than one digit. >>>> >>>> I traced the method that listens for the single digit to the >>>> command switch_core_event_hook_add_send_dtmf(session, meta_on_dtmf); in >>>> switch_ivr_async.c >>>> >>>> mod_managed also has the following in the native class freeswitch. >>>> public static switch_status_t >>>> switch_core_event_hook_add_recv_dtmf(SWIGTYPE_p_switch_core_session session, >>>> SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t >>>> recv_dtmf) >>>> >>>> The problem is i can't work out how to use it. I am fine the the first >>>> param for the session but have no idea what i need for >>>> the SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t >>>> recv_dtmf param. >>>> >>>> if anyone can point me in the right direction or knows a better way i >>>> would be grateful. >>>> >>>> Chris >>>> >>>> _______________________________________________ >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>> >>> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100311/ddbdaa6b/attachment-0001.html From lloyd.aloysius at gmail.com Wed Mar 10 13:52:29 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Wed, 10 Mar 2010 16:52:29 -0500 Subject: [Freeswitch-users] Multiple Registrations - randomly only one device ring In-Reply-To: <7454A296C7EDE34EA57199FAA401E2F11C64005C5B@VMBX113.ihostexchange.net> References: <8a19bf2e1003092353w32701aaes47b034f2abfb71f5@mail.gmail.com> <7454A296C7EDE34EA57199FAA401E2F11C64005C5B@VMBX113.ihostexchange.net> Message-ID: <8a19bf2e1003101352w31f92510ld613602fd1b04f64@mail.gmail.com> Chris, Thank you. I find the following information from wiki.This is say sofia.conf. I think sofia.conf.xml Multiple Registrations Call one extension and ring several phones You must enable multiple registrations in sofia.conf ---- Which file I should enable internal.xml or sofia.conf.xml Thanks Lloyd On Wed, Mar 10, 2010 at 12:16 PM, Chris Fowler wrote: > Hi Lloyd, > > > > You need to use sofia_contact in your bridge command in the dialplan: > > > > e.g. > > * data="${sofia_contact(${dialed_extension}@${domain_name})}"/>* > > * * > > This will cause FS to try all registrations simultaneously. > > > > Cheers, Chris. > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Aloysius > Lloyd > *Sent:* Tuesday, March 09, 2010 11:53 PM > > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* [Freeswitch-users] Multiple Registrations - randomly only one > device ring > > > > Hi All, > > > > I enable the multiple registrations in sip_profiles/internal.xml. > > > > > > > > Then I restart the freeswitch. > > > > I use Aastra 9133i and eyebeam register for same extension. > > > > But randomly only one device ring. Do I need to enable any other settings? > > > > > Thanks, > Lloyd > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/dcf3cda3/attachment.html From jbrucehopkins at gmail.com Wed Mar 10 14:04:58 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Wed, 10 Mar 2010 22:04:58 +0000 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: References: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> <8215DEFE-460E-4764-BF96-35FBE820EC11@freeswitch.org> <63837C30-11FB-47E6-8173-3AFEA76A5BB4@gmail.com> <000001cabfbb$f2114c90$d633e5b0$@co.za> Message-ID: Interestingly I *can* call outbound to the WAN a SIP client registered with FS via Fring. I wonder if Fring have some additional nat traversal/SBC malarkey going on as they proxy the calls. I can't call outbound to an Eyebeam softphone registered directly wth FS though - although said Eyebeam is registered and can call inwards. I must have my nat handling configured wrongly. B On 10 March 2010 21:28, Bruce Hopkins wrote: > Hey Roly, > > Are you getting anywhere? I'm still struggling, I'm afraid. > > I'm able to call from WAN --> LAN using the internal profile on port 5060, > but I still can't call out from LAN --> WAN so there is obviously something > really basic I'm still not getting. > > In sip_profiles/internal.xml I have: > > > > > > > > > > In this example I have left value="$${domain}"/> etc uncommented to force the registration to go to > default.xml in the dialplan. > > I thought maybe this was my problem and tried putting a separate file in > the directory to enable the WAN phone to register using the external DNS > name for the server as its domain, and uncommenting force-register-domain, > etc. But then I got an error saying that the local (to Freeswitch) phone in > the LAN was not registered when I tried to make the call from the WAN. > > Any thoughts? > > cheers > Bruce > > > > > > > > On 10 March 2010 12:00, Bruce Hopkins wrote: > >> Hi Roly, >> >> I hope to be able to have a go at this later today. I'll let you know >> what happens. >> >> I have my FS box behind a hardware router/firewall, so I'm assuming I just >> forward SIP port 5060 from the WAN to the FS box and use internal profile, >> instead of using external profile with port 5080 forwarded as I have at the >> moment. We'll see what happens. >> >> cheers >> Bruce >> >> On 9 March 2010 19:08, Roly Maz wrote: >> >>> Ah I see... what? Please share and lead this blind man out the FS >>> wilderness! >>> >>> I don't understand...what happens to the external profile? Do you delete >>> it? >>> And how do you forward port 5060? >>> >>> ...and you thought you were a newbie! >>> >>> Any insight would be much appreciated...loving the journey. >>> >>> -----Original Message----- >>> From: freeswitch-users-bounces at lists.freeswitch.org >>> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of >>> Bruce >>> Hopkins >>> Sent: 09 March 2010 08:23 AM >>> To: freeswitch-users at lists.freeswitch.org >>> Subject: Re: [Freeswitch-users] doublenat outgoing call issue >>> >>> Ah I see. I will try again using the internal profile and forwarding >>> port 5060. Presumably still creating a directory entry to enable the >>> outside-facing domain to be used. >>> >>> Many thanks for your patient help of a newbie Brian. >>> >>> Cheers >>> Bruce >>> >>> Please excuse the brevity - sent from my mobile. >>> >>> On 8 Mar 2010, at 17:21, Brian West wrote: >>> >>> > ok you aren't catching one key thing here.. you no longer need two >>> > profiles. >>> > >>> > /b >>> > >>> > On Mar 8, 2010, at 11:12 AM, Bruce Hopkins wrote: >>> > >>> >> Hi again, >>> >> >>> >> Thanks for the help so far. Unfotrunately I must still be doing >>> >> something wrong here as I am still having difficulty, and still >>> >> have the same problem. >>> >> >>> >> I updated to build 16938 by means of "make current" >>> >> >>> >> I'm not able to use UPNP or NATPMP so changed the port forwarding >>> >> to use 5080 instead of 5090. >>> >> >>> >> I got rid of the doublenat profile in sip_profiles, though I had to >>> >> retain an entry in the directory /usr/local/freeeswitch/conf/ >>> >> directory/ext_dns.xml in order to give freeswitch the dns name of >>> >> the server as a domain for the remote softphone to register on. I >>> >> left the group name in this entry the same as inthe default entry, >>> >> so that the remote phone could register on the same extension >>> >> numbers (100, etc) as in the default build. >>> >> >>> >> I still find that, if I initiate a call from the local (on same LAN >>> >> as freeswitch) phone to the remote phone, I get the message on the >>> >> CLI: >>> >> >>> >> [ERR] switch_ivr_originate.c2389 Cannot create outgoing channel of >>> >> type [user] cause: [USER_NOT_REGISTERED] >>> >> >>> >> One possibly unrelated aside, I also found I needed to uncomment >>> >> in >>> >> external.xml, otherwise in the case of a call initiated by the >>> >> remote phone being hung up by the local phone, freeswitch sent the >>> >> BYE to the private IP of the remote phone, rather than its public >>> >> ip - meaning that the remote phone didn't receive the BYE. >>> >> >>> >> Any further ideas where I am going wrong here please? >>> >> >>> >> thanks again in advance >>> >> Bruce >>> > >>> > >>> > _______________________________________________ >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at 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 >>> >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/b28582bd/attachment.html From gmaruzz at celliax.org Wed Mar 10 14:20:04 2010 From: gmaruzz at celliax.org (Giovanni Maruzzelli) Date: Wed, 10 Mar 2010 23:20:04 +0100 Subject: [Freeswitch-users] Skypiax- how to know which card to use? In-Reply-To: <4B980E77.8080303@meanie.us> References: <4B7F0302.3060303@meanie.us> <7b197bef1002191441u455e8d8an4eb03c460254c6d3@mail.gmail.com> <4B8569CB.6070804@meanie.us> <7b197bef1002241207k4da85b36l5e2e9c8e14f4fe32@mail.gmail.com> <4B980E77.8080303@meanie.us> Message-ID: <7b197bef1003101420p29049831q1d061c664dbd5208@mail.gmail.com> On Wed, Mar 10, 2010 at 10:26 PM, Tim Streit wrote: > With this update coming, I am pretty excited to be trying it out. ?I > have been trying very, very hard to be patient... :-D Ciao Tim hehehe, you've missed the announce, so! http://lists.freeswitch.org/pipermail/freeswitch-users/2010-March/026987.html -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From chris.chen2004 at gmail.com Wed Mar 10 14:21:51 2010 From: chris.chen2004 at gmail.com (Chris Chen) Date: Wed, 10 Mar 2010 17:21:51 -0500 Subject: [Freeswitch-users] Multiple Registrations - randomly only one device ring In-Reply-To: <8a19bf2e1003101352w31f92510ld613602fd1b04f64@mail.gmail.com> References: <8a19bf2e1003092353w32701aaes47b034f2abfb71f5@mail.gmail.com> <7454A296C7EDE34EA57199FAA401E2F11C64005C5B@VMBX113.ihostexchange.net> <8a19bf2e1003101352w31f92510ld613602fd1b04f64@mail.gmail.com> Message-ID: <507898381003101421j493a075cu7e07b14bd13133ae@mail.gmail.com> Lloyd, Just the one in internal.xml should do the work. On Wed, Mar 10, 2010 at 4:52 PM, Aloysius Lloyd wrote: > Chris, Thank you. > > I find the following information from wiki.This is say sofia.conf. I think > sofia.conf.xml > > Multiple Registrations > > Call one extension and ring several phones > > You must enable multiple registrations in sofia.conf > > > > > ---- > > Which file I should enable internal.xml or sofia.conf.xml > > Thanks > > Lloyd > > > > > On Wed, Mar 10, 2010 at 12:16 PM, Chris Fowler wrote: > >> Hi Lloyd, >> >> >> >> You need to use sofia_contact in your bridge command in the dialplan: >> >> >> >> e.g. >> >> *> data="${sofia_contact(${dialed_extension}@${domain_name})}"/>* >> >> * * >> >> This will cause FS to try all registrations simultaneously. >> >> >> >> Cheers, Chris. >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Aloysius >> Lloyd >> *Sent:* Tuesday, March 09, 2010 11:53 PM >> >> *To:* freeswitch-users at lists.freeswitch.org >> *Subject:* [Freeswitch-users] Multiple Registrations - randomly only one >> device ring >> >> >> >> Hi All, >> >> >> >> I enable the multiple registrations in sip_profiles/internal.xml. >> >> >> >> >> >> >> >> Then I restart the freeswitch. >> >> >> >> I use Aastra 9133i and eyebeam register for same extension. >> >> >> >> But randomly only one device ring. Do I need to enable any other settings? >> >> >> >> >> Thanks, >> Lloyd >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100310/001256ec/attachment.html From msc at freeswitch.org Wed Mar 10 14:23:01 2010 From: msc at freeswitch.org (Michael Collins) Date: Wed, 10 Mar 2010 14:23:01 -0800 Subject: [Freeswitch-users] Multiple Registrations - randomly only one device ring In-Reply-To: <8a19bf2e1003101352w31f92510ld613602fd1b04f64@mail.gmail.com> References: <8a19bf2e1003092353w32701aaes47b034f2abfb71f5@mail.gmail.com> <7454A296C7EDE34EA57199FAA401E2F11C64005C5B@VMBX113.ihostexchange.net> <8a19bf2e1003101352w31f92510ld613602fd1b04f64@mail.gmail.com> Message-ID: <87f2f3b91003101423n740fd293p227550ceaca82cfb@mail.gmail.com> On Wed, Mar 10, 2010 at 1:52 PM, Aloysius Lloyd wrote: > Chris, Thank you. > > I find the following information from wiki.This is say sofia.conf. I think > sofia.conf.xml > > Multiple Registrations > > Call one extension and ring several phones > > You must enable multiple registrations in sofia.conf > > > > > ---- > > Which file I should enable internal.xml or sofia.conf.xml > It appears commented out in internal.xml so that's a pretty good hint of which file it goes in... -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/38a24107/attachment.html From gmaruzz at celliax.org Wed Mar 10 14:23:45 2010 From: gmaruzz at celliax.org (Giovanni Maruzzelli) Date: Wed, 10 Mar 2010 23:23:45 +0100 Subject: [Freeswitch-users] Kernel timer warning with CentOS 5.4 In-Reply-To: <021b01cac093$c76d3930$5647ab90$@com> References: <191c3a031003010847y5036817ekb19379e646dd8cb@mail.gmail.com> <65d96fc81003100142m129c6b66w229bd1e519e8aea7@mail.gmail.com> <191c3a031003100825s7d05562cna52d39265bfcf54@mail.gmail.com> <019801cac087$a9da3b90$fd8eb2b0$@com> <191c3a031003101229x1ddaa5b8k1d6a487e46580b1a@mail.gmail.com> <021b01cac093$c76d3930$5647ab90$@com> Message-ID: <7b197bef1003101423sfffb200ga206bcc5029d0a21@mail.gmail.com> On Wed, Mar 10, 2010 at 9:53 PM, Peder wrote: > OK, can you decode what this means exactly?? I?d be happy to write something > up to reference users to, but I don?t really know what it means.? It is a a > quad-core 2.8GHz running CentOS 5.3 64-bit.? It looks like it calculated > 150, but is that good, bad, indifferent?? I?ve tried to google it, but > without really knowing what it is I am looking for, I am not getting good > results. This tells you the calculated average discrepancy of the timing is 150 microseconds (millisecond/1000), that I believe is good. (hope this explanation is true ;) ) > > > > > > 2010-03-10 14:48:37.960041 [CONSOLE] switch_time.c:1021 Calibrating timer, > please wait... > > 2010-03-10 14:48:38.060174 [CONSOLE] switch_time.c:223 Test: 1000 Average: > 2001 Step: 50 > > 2010-03-10 14:48:38.160169 [CONSOLE] switch_time.c:223 Test: 950 Average: > 1998 Step: 50 > > 2010-03-10 14:48:38.260164 [CONSOLE] switch_time.c:223 Test: 900 Average: > 1998 Step: 50 > > 2010-03-10 14:48:38.360159 [CONSOLE] switch_time.c:223 Test: 850 Average: > 1998 Step: 50 > > 2010-03-10 14:48:38.460155 [CONSOLE] switch_time.c:223 Test: 800 Average: > 1998 Step: 50 > > 2010-03-10 14:48:38.560149 [CONSOLE] switch_time.c:223 Test: 750 Average: > 1998 Step: 50 > > 2010-03-10 14:48:38.660144 [CONSOLE] switch_time.c:223 Test: 700 Average: > 1998 Step: 50 > > 2010-03-10 14:48:38.760139 [CONSOLE] switch_time.c:223 Test: 650 Average: > 1997 Step: 50 > > 2010-03-10 14:48:38.860134 [CONSOLE] switch_time.c:223 Test: 600 Average: > 1998 Step: 50 > > 2010-03-10 14:48:38.960132 [CONSOLE] switch_time.c:223 Test: 550 Average: > 1998 Step: 50 > > 2010-03-10 14:48:39.060124 [CONSOLE] switch_time.c:223 Test: 500 Average: > 1998 Step: 50 > > 2010-03-10 14:48:39.160119 [CONSOLE] switch_time.c:223 Test: 450 Average: > 1998 Step: 50 > > 2010-03-10 14:48:39.260114 [CONSOLE] switch_time.c:223 Test: 400 Average: > 1998 Step: 50 > > 2010-03-10 14:48:39.311111 [CONSOLE] switch_time.c:223 Test: 350 Average: > 1018 Step: 50 > > 2010-03-10 14:48:39.361109 [CONSOLE] switch_time.c:223 Test: 300 Average: > 998 Step: 50 > > 2010-03-10 14:48:39.411106 [CONSOLE] switch_time.c:223 Test: 300 Average: > 998 Step: 50 > > 2010-03-10 14:48:39.461103 [CONSOLE] switch_time.c:223 Test: 300 Average: > 998 Step: 50 > > 2010-03-10 14:48:39.511101 [CONSOLE] switch_time.c:223 Test: 300 Average: > 998 Step: 50 > > 2010-03-10 14:48:39.561099 [CONSOLE] switch_time.c:223 Test: 300 Average: > 998 Step: 50 > > 2010-03-10 14:48:39.612096 [CONSOLE] switch_time.c:223 Test: 300 Average: > 1018 Step: 50 > > 2010-03-10 14:48:39.662092 [CONSOLE] switch_time.c:223 Test: 250 Average: > 998 Step: 50 > > 2010-03-10 14:48:39.712091 [CONSOLE] switch_time.c:223 Test: 250 Average: > 998 Step: 50 > > 2010-03-10 14:48:39.762088 [CONSOLE] switch_time.c:223 Test: 250 Average: > 998 Step: 50 > > 2010-03-10 14:48:39.812086 [CONSOLE] switch_time.c:223 Test: 250 Average: > 998 Step: 50 > > 2010-03-10 14:48:39.862083 [CONSOLE] switch_time.c:223 Test: 250 Average: > 998 Step: 50 > > 2010-03-10 14:48:39.912082 [CONSOLE] switch_time.c:223 Test: 250 Average: > 998 Step: 50 > > 2010-03-10 14:48:39.962077 [CONSOLE] switch_time.c:223 Test: 250 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.012076 [CONSOLE] switch_time.c:223 Test: 250 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.063074 [CONSOLE] switch_time.c:223 Test: 250 Average: > 1018 Step: 50 > > 2010-03-10 14:48:40.113071 [CONSOLE] switch_time.c:223 Test: 200 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.163068 [CONSOLE] switch_time.c:223 Test: 200 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.213066 [CONSOLE] switch_time.c:223 Test: 200 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.263064 [CONSOLE] switch_time.c:223 Test: 200 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.313061 [CONSOLE] switch_time.c:223 Test: 200 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.363059 [CONSOLE] switch_time.c:223 Test: 200 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.413056 [CONSOLE] switch_time.c:223 Test: 200 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.465054 [CONSOLE] switch_time.c:223 Test: 200 Average: > 1038 Step: 50 > > 2010-03-10 14:48:40.515051 [CONSOLE] switch_time.c:223 Test: 150 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.565049 [CONSOLE] switch_time.c:223 Test: 150 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.615046 [CONSOLE] switch_time.c:223 Test: 150 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.665043 [CONSOLE] switch_time.c:223 Test: 150 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.715041 [CONSOLE] switch_time.c:223 Test: 150 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.765039 [CONSOLE] switch_time.c:223 Test: 150 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.815036 [CONSOLE] switch_time.c:223 Test: 150 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.866032 [CONSOLE] switch_time.c:223 Test: 150 Average: > 1018 Step: 50 > > 2010-03-10 14:48:40.916032 [CONSOLE] switch_time.c:223 Test: 100 Average: > 998 Step: 50 > > 2010-03-10 14:48:40.966028 [CONSOLE] switch_time.c:223 Test: 100 Average: > 998 Step: 50 > > 2010-03-10 14:48:41.016026 [CONSOLE] switch_time.c:223 Test: 100 Average: > 998 Step: 50 > > 2010-03-10 14:48:41.066022 [CONSOLE] switch_time.c:223 Test: 100 Average: > 998 Step: 50 > > 2010-03-10 14:48:41.116021 [CONSOLE] switch_time.c:223 Test: 100 Average: > 998 Step: 50 > > 2010-03-10 14:48:41.166017 [CONSOLE] switch_time.c:223 Test: 100 Average: > 998 Step: 50 > > 2010-03-10 14:48:41.216016 [CONSOLE] switch_time.c:223 Test: 100 Average: > 998 Step: 50 > > 2010-03-10 14:48:41.266013 [CONSOLE] switch_time.c:223 Test: 100 Average: > 998 Step: 50 > > 2010-03-10 14:48:41.317011 [CONSOLE] switch_time.c:223 Test: 100 Average: > 1018 Step: 50 > > 2010-03-10 14:48:41.367008 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 > Step: 50 > > 2010-03-10 14:48:41.417006 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 > Step: 50 > > 2010-03-10 14:48:41.467004 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 > Step: 50 > > 2010-03-10 14:48:41.517001 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 > Step: 50 > > 2010-03-10 14:48:41.566999 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 > Step: 50 > > 2010-03-10 14:48:41.616996 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 > Step: 50 > > 2010-03-10 14:48:41.666993 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 > Step: 50 > > 2010-03-10 14:48:41.716991 [CONSOLE] switch_time.c:223 Test: 50 Average: 998 > Step: 50 > > 2010-03-10 14:48:41.767989 [CONSOLE] switch_time.c:223 Test: 50 Average: > 1018 Step: 50 > > 2010-03-10 14:48:41.817985 [CONSOLE] switch_time.c:223 Test: 0 Average: 998 > Step: 50 > > 2010-03-10 14:48:41.867984 [CONSOLE] switch_time.c:223 Test: 0 Average: 998 > Step: 50 > > 2010-03-10 14:48:41.917980 [CONSOLE] switch_time.c:223 Test: 0 Average: 998 > Step: 50 > > 2010-03-10 14:48:41.967979 [CONSOLE] switch_time.c:223 Test: 0 Average: 998 > Step: 50 > > 2010-03-10 14:48:42.017975 [CONSOLE] switch_time.c:223 Test: 0 Average: 998 > Step: 50 > > 2010-03-10 14:48:42.067974 [CONSOLE] switch_time.c:223 Test: 0 Average: 998 > Step: 50 > > 2010-03-10 14:48:42.117970 [CONSOLE] switch_time.c:223 Test: 0 Average: 998 > Step: 50 > > 2010-03-10 14:48:42.168969 [CONSOLE] switch_time.c:223 Test: 0 Average: 1018 > Step: 50 > > 2010-03-10 14:48:42.269962 [CONSOLE] switch_time.c:223 Test: 1000 Average: > 2018 Step: 50 > > 2010-03-10 14:48:42.369958 [CONSOLE] switch_time.c:223 Test: 950 Average: > 1998 Step: 50 > > 2010-03-10 14:48:42.448958 [CONSOLE] switch_time.c:223 Test: 900 Average: > 1578 Step: 50 > > 2010-03-10 14:48:42.498954 [CONSOLE] switch_time.c:223 Test: 850 Average: > 998 Step: 50 > > 2010-03-10 14:48:42.548951 [CONSOLE] switch_time.c:223 Test: 850 Average: > 998 Step: 50 > > 2010-03-10 14:48:42.598949 [CONSOLE] switch_time.c:223 Test: 850 Average: > 998 Step: 50 > > 2010-03-10 14:48:42.648946 [CONSOLE] switch_time.c:223 Test: 850 Average: > 998 Step: 50 > > 2010-03-10 14:48:42.698945 [CONSOLE] switch_time.c:223 Test: 850 Average: > 998 Step: 50 > > 2010-03-10 14:48:42.748942 [CONSOLE] switch_time.c:223 Test: 850 Average: > 998 Step: 50 > > 2010-03-10 14:48:42.798941 [CONSOLE] switch_time.c:223 Test: 850 Average: > 998 Step: 50 > > 2010-03-10 14:48:42.848936 [CONSOLE] switch_time.c:223 Test: 850 Average: > 998 Step: 50 > > 2010-03-10 14:48:42.898935 [CONSOLE] switch_time.c:223 Test: 850 Average: > 998 Step: 50 > > 2010-03-10 14:48:42.948931 [CONSOLE] switch_time.c:223 Test: 850 Average: > 998 Step: 50 > > 2010-03-10 14:48:42.998931 [CONSOLE] switch_time.c:223 Test: 850 Average: > 998 Step: 50 > > 2010-03-10 14:48:42.998963 [CONSOLE] switch_time.c:274 Timer offset of 150 > calculated > > 2010-03-10 14:48:42.998994 [CONSOLE] switch_loadable_module.c:900 > Successfully Loaded [CORE_SOFTTIMER_MODULE] > > 2010-03-10 14:48:42.999040 [NOTICE] switch_loadable_module.c:230 Adding > Timer 'soft' > > 2010-03-10 14:48:42.999234 [CONSOLE] switch_loadable_module.c:900 > Successfully Loaded [CORE_PCM_MODULE] > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 chris at fowler.cc Wed Mar 10 14:26:49 2010 From: chris at fowler.cc (Chris Fowler) Date: Wed, 10 Mar 2010 17:26:49 -0500 Subject: [Freeswitch-users] Multiple Registrations - randomly only one device ring In-Reply-To: <8a19bf2e1003101352w31f92510ld613602fd1b04f64@mail.gmail.com> References: <8a19bf2e1003092353w32701aaes47b034f2abfb71f5@mail.gmail.com> <7454A296C7EDE34EA57199FAA401E2F11C64005C5B@VMBX113.ihostexchange.net> <8a19bf2e1003101352w31f92510ld613602fd1b04f64@mail.gmail.com> Message-ID: <7454A296C7EDE34EA57199FAA401E2F11C64005D81@VMBX113.ihostexchange.net> Hi Lloyd, It depends on which profile your phones are registering with. I suspect internal.xml will work. Chris. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Aloysius Lloyd Sent: Wednesday, March 10, 2010 1:52 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Multiple Registrations - randomly only one device ring Chris, Thank you. I find the following information from wiki.This is say sofia.conf. I think sofia.conf.xml Multiple Registrations Call one extension and ring several phones You must enable multiple registrations in sofia.conf ---- Which file I should enable internal.xml or sofia.conf.xml Thanks Lloyd On Wed, Mar 10, 2010 at 12:16 PM, Chris Fowler wrote: Hi Lloyd, You need to use sofia_contact in your bridge command in the dialplan: e.g. This will cause FS to try all registrations simultaneously. Cheers, Chris. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Aloysius Lloyd Sent: Tuesday, March 09, 2010 11:53 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Multiple Registrations - randomly only one device ring Hi All, I enable the multiple registrations in sip_profiles/internal.xml. Then I restart the freeswitch. I use Aastra 9133i and eyebeam register for same extension. But randomly only one device ring. Do I need to enable any other settings? Thanks, Lloyd _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/3c719614/attachment-0001.html From anthony.minessale at gmail.com Wed Mar 10 14:31:24 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 10 Mar 2010 16:31:24 -0600 Subject: [Freeswitch-users] sofia_contact strange behavior In-Reply-To: <2160023e1003101252v7118d3b6mb6a99d199f6fc4bf@mail.gmail.com> References: <2160023e1003101252v7118d3b6mb6a99d199f6fc4bf@mail.gmail.com> Message-ID: <191c3a031003101431u4ff81841nc19115c8f0bbaf46@mail.gmail.com> if you pulled that from the user's xml you need to replace dialed_ext with something else. That is a special var only relevant as a user param. On Wed, Mar 10, 2010 at 2:52 PM, RobertT wrote: > Hello everybody! > > I am experiencing problems with sofia_contact command. > When I dial sofia_contact external/1000@ in fs cli I see correct > registration data, provided the user 1000 is registered. > But in the same time when I call ${sofia_conatct(external/${dialed_ext}@$${domain})} > from dialplan as an argument to deflect application I recieve > error\user_not_registered. > What the hell? > > Best regards, RobertT. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100310/b57509d5/attachment.html From ledoktre at meanie.us Wed Mar 10 14:42:21 2010 From: ledoktre at meanie.us (Tim Streit) Date: Wed, 10 Mar 2010 16:42:21 -0600 Subject: [Freeswitch-users] Skypiax- how to know which card to use? In-Reply-To: <7b197bef1003101420p29049831q1d061c664dbd5208@mail.gmail.com> References: <4B7F0302.3060303@meanie.us> <7b197bef1002191441u455e8d8an4eb03c460254c6d3@mail.gmail.com> <4B8569CB.6070804@meanie.us> <7b197bef1002241207k4da85b36l5e2e9c8e14f4fe32@mail.gmail.com> <4B980E77.8080303@meanie.us> <7b197bef1003101420p29049831q1d061c664dbd5208@mail.gmail.com> Message-ID: <4B98204C.2080601@meanie.us> Giovanni, Thanks for your reply. I wondered if I somehow missed it !! Giovanni Maruzzelli wrote: > On Wed, Mar 10, 2010 at 10:26 PM, Tim Streit wrote: > > Ciao Tim > > hehehe, you've missed the announce, so! > > http://lists.freeswitch.org/pipermail/freeswitch-users/2010-March/026987.html > From jbrucehopkins at gmail.com Wed Mar 10 15:05:00 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Wed, 10 Mar 2010 23:05:00 +0000 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: References: <8215DEFE-460E-4764-BF96-35FBE820EC11@freeswitch.org> <63837C30-11FB-47E6-8173-3AFEA76A5BB4@gmail.com> <000001cabfbb$f2114c90$d633e5b0$@co.za> Message-ID: OK - I have put a Wireshark trace across the router between FS and the internet, and it will not surprise you to hear that when I tried ot call from LAN-->WAN, FS was sending packets to the private IP of the remote phone (behind its own NAT). So how to sort this? I tried: 1. Commenting these out in the internal profile 2. then creating a n antry in the directory refering to the same default group of extensions as the default.xml, but with: and in the variables: which I hoped from what I read in the Wiki might do the trick vis a vis forceing FS to send the SIP packets to the public IP of the remote phone. Alas it does not seem to work, and even phoning in from the WAS -->LAN now I see USER_NOT_REGISTERED errors . I get the same error in both directions. Please please please could somebody put me out of my (your ;-) ) misery here ....? What do I configure to tell FS to send outbound INVITE's to the public IP the remote phone registered from behind, rather than its private NAT'ed ip? many thanks in advance. Bruce On 10 March 2010 22:04, Bruce Hopkins wrote: > Interestingly I *can* call outbound to the WAN a SIP client registered > with FS via Fring. I wonder if Fring have some additional nat traversal/SBC > malarkey going on as they proxy the calls. > > I can't call outbound to an Eyebeam softphone registered directly wth FS > though - although said Eyebeam is registered and can call inwards. > > I must have my nat handling configured wrongly. > > B > > > On 10 March 2010 21:28, Bruce Hopkins wrote: > >> Hey Roly, >> >> Are you getting anywhere? I'm still struggling, I'm afraid. >> >> I'm able to call from WAN --> LAN using the internal profile on port 5060, >> but I still can't call out from LAN --> WAN so there is obviously something >> really basic I'm still not getting. >> >> In sip_profiles/internal.xml I have: >> >> >> >> >> >> >> >> >> >> In this example I have left > value="$${domain}"/> etc uncommented to force the registration to go to >> default.xml in the dialplan. >> >> I thought maybe this was my problem and tried putting a separate file in >> the directory to enable the WAN phone to register using the external DNS >> name for the server as its domain, and uncommenting force-register-domain, >> etc. But then I got an error saying that the local (to Freeswitch) phone in >> the LAN was not registered when I tried to make the call from the WAN. >> >> Any thoughts? >> >> cheers >> Bruce >> >> >> >> >> >> >> >> On 10 March 2010 12:00, Bruce Hopkins wrote: >> >>> Hi Roly, >>> >>> I hope to be able to have a go at this later today. I'll let you know >>> what happens. >>> >>> I have my FS box behind a hardware router/firewall, so I'm assuming I >>> just forward SIP port 5060 from the WAN to the FS box and use internal >>> profile, instead of using external profile with port 5080 forwarded as I >>> have at the moment. We'll see what happens. >>> >>> cheers >>> Bruce >>> >>> On 9 March 2010 19:08, Roly Maz wrote: >>> >>>> Ah I see... what? Please share and lead this blind man out the FS >>>> wilderness! >>>> >>>> I don't understand...what happens to the external profile? Do you delete >>>> it? >>>> And how do you forward port 5060? >>>> >>>> ...and you thought you were a newbie! >>>> >>>> Any insight would be much appreciated...loving the journey. >>>> >>>> -----Original Message----- >>>> From: freeswitch-users-bounces at lists.freeswitch.org >>>> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of >>>> Bruce >>>> Hopkins >>>> Sent: 09 March 2010 08:23 AM >>>> To: freeswitch-users at lists.freeswitch.org >>>> Subject: Re: [Freeswitch-users] doublenat outgoing call issue >>>> >>>> Ah I see. I will try again using the internal profile and forwarding >>>> port 5060. Presumably still creating a directory entry to enable the >>>> outside-facing domain to be used. >>>> >>>> Many thanks for your patient help of a newbie Brian. >>>> >>>> Cheers >>>> Bruce >>>> >>>> Please excuse the brevity - sent from my mobile. >>>> >>>> On 8 Mar 2010, at 17:21, Brian West wrote: >>>> >>>> > ok you aren't catching one key thing here.. you no longer need two >>>> > profiles. >>>> > >>>> > /b >>>> > >>>> > On Mar 8, 2010, at 11:12 AM, Bruce Hopkins wrote: >>>> > >>>> >> Hi again, >>>> >> >>>> >> Thanks for the help so far. Unfotrunately I must still be doing >>>> >> something wrong here as I am still having difficulty, and still >>>> >> have the same problem. >>>> >> >>>> >> I updated to build 16938 by means of "make current" >>>> >> >>>> >> I'm not able to use UPNP or NATPMP so changed the port forwarding >>>> >> to use 5080 instead of 5090. >>>> >> >>>> >> I got rid of the doublenat profile in sip_profiles, though I had to >>>> >> retain an entry in the directory /usr/local/freeeswitch/conf/ >>>> >> directory/ext_dns.xml in order to give freeswitch the dns name of >>>> >> the server as a domain for the remote softphone to register on. I >>>> >> left the group name in this entry the same as inthe default entry, >>>> >> so that the remote phone could register on the same extension >>>> >> numbers (100, etc) as in the default build. >>>> >> >>>> >> I still find that, if I initiate a call from the local (on same LAN >>>> >> as freeswitch) phone to the remote phone, I get the message on the >>>> >> CLI: >>>> >> >>>> >> [ERR] switch_ivr_originate.c2389 Cannot create outgoing channel of >>>> >> type [user] cause: [USER_NOT_REGISTERED] >>>> >> >>>> >> One possibly unrelated aside, I also found I needed to uncomment >>>> >> in >>>> >> external.xml, otherwise in the case of a call initiated by the >>>> >> remote phone being hung up by the local phone, freeswitch sent the >>>> >> BYE to the private IP of the remote phone, rather than its public >>>> >> ip - meaning that the remote phone didn't receive the BYE. >>>> >> >>>> >> Any further ideas where I am going wrong here please? >>>> >> >>>> >> thanks again in advance >>>> >> Bruce >>>> > >>>> > >>>> > _______________________________________________ >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at 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 >>>> >>>> >>>> _______________________________________________ >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/b754121a/attachment-0001.html From anthony.minessale at gmail.com Wed Mar 10 15:12:44 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 10 Mar 2010 17:12:44 -0600 Subject: [Freeswitch-users] Kernel timer warning with CentOS 5.4 In-Reply-To: <7b197bef1003101423sfffb200ga206bcc5029d0a21@mail.gmail.com> References: <191c3a031003010847y5036817ekb19379e646dd8cb@mail.gmail.com> <65d96fc81003100142m129c6b66w229bd1e519e8aea7@mail.gmail.com> <191c3a031003100825s7d05562cna52d39265bfcf54@mail.gmail.com> <019801cac087$a9da3b90$fd8eb2b0$@com> <191c3a031003101229x1ddaa5b8k1d6a487e46580b1a@mail.gmail.com> <021b01cac093$c76d3930$5647ab90$@com> <7b197bef1003101423sfffb200ga206bcc5029d0a21@mail.gmail.com> Message-ID: <191c3a031003101512u77744760h375c94f05d42a9fa@mail.gmail.com> it means that it has detected a 150 microsecond offset. It tries originally to sleep 1000 microseconds (1 millisecond) in a loop. It times how long the sleep lasted and compares how long it really took vs how long it was asked to sleep. then it slowly decreases by 50 and tries again until it gets within 2 microseconds of the goal. in your case of 150, it means if you subtract 150 from the total number of microseconds from all the sleeps they will be more accurate. On Wed, Mar 10, 2010 at 4:23 PM, Giovanni Maruzzelli wrote: > On Wed, Mar 10, 2010 at 9:53 PM, Peder wrote: > > OK, can you decode what this means exactly? I?d be happy to write > something > > up to reference users to, but I don?t really know what it means. It is a > a > > quad-core 2.8GHz running CentOS 5.3 64-bit. It looks like it calculated > > 150, but is that good, bad, indifferent? I?ve tried to google it, but > > without really knowing what it is I am looking for, I am not getting good > > results. > > This tells you the calculated average discrepancy of the timing is 150 > microseconds (millisecond/1000), that I believe is good. (hope this > explanation is true ;) ) > > > > > > > > > > > > > > 2010-03-10 14:48:37.960041 [CONSOLE] switch_time.c:1021 Calibrating > timer, > > please wait... > > > > 2010-03-10 14:48:38.060174 [CONSOLE] switch_time.c:223 Test: 1000 > Average: > > 2001 Step: 50 > > > > 2010-03-10 14:48:38.160169 [CONSOLE] switch_time.c:223 Test: 950 Average: > > 1998 Step: 50 > > > > 2010-03-10 14:48:38.260164 [CONSOLE] switch_time.c:223 Test: 900 Average: > > 1998 Step: 50 > > > > 2010-03-10 14:48:38.360159 [CONSOLE] switch_time.c:223 Test: 850 Average: > > 1998 Step: 50 > > > > 2010-03-10 14:48:38.460155 [CONSOLE] switch_time.c:223 Test: 800 Average: > > 1998 Step: 50 > > > > 2010-03-10 14:48:38.560149 [CONSOLE] switch_time.c:223 Test: 750 Average: > > 1998 Step: 50 > > > > 2010-03-10 14:48:38.660144 [CONSOLE] switch_time.c:223 Test: 700 Average: > > 1998 Step: 50 > > > > 2010-03-10 14:48:38.760139 [CONSOLE] switch_time.c:223 Test: 650 Average: > > 1997 Step: 50 > > > > 2010-03-10 14:48:38.860134 [CONSOLE] switch_time.c:223 Test: 600 Average: > > 1998 Step: 50 > > > > 2010-03-10 14:48:38.960132 [CONSOLE] switch_time.c:223 Test: 550 Average: > > 1998 Step: 50 > > > > 2010-03-10 14:48:39.060124 [CONSOLE] switch_time.c:223 Test: 500 Average: > > 1998 Step: 50 > > > > 2010-03-10 14:48:39.160119 [CONSOLE] switch_time.c:223 Test: 450 Average: > > 1998 Step: 50 > > > > 2010-03-10 14:48:39.260114 [CONSOLE] switch_time.c:223 Test: 400 Average: > > 1998 Step: 50 > > > > 2010-03-10 14:48:39.311111 [CONSOLE] switch_time.c:223 Test: 350 Average: > > 1018 Step: 50 > > > > 2010-03-10 14:48:39.361109 [CONSOLE] switch_time.c:223 Test: 300 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:39.411106 [CONSOLE] switch_time.c:223 Test: 300 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:39.461103 [CONSOLE] switch_time.c:223 Test: 300 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:39.511101 [CONSOLE] switch_time.c:223 Test: 300 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:39.561099 [CONSOLE] switch_time.c:223 Test: 300 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:39.612096 [CONSOLE] switch_time.c:223 Test: 300 Average: > > 1018 Step: 50 > > > > 2010-03-10 14:48:39.662092 [CONSOLE] switch_time.c:223 Test: 250 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:39.712091 [CONSOLE] switch_time.c:223 Test: 250 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:39.762088 [CONSOLE] switch_time.c:223 Test: 250 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:39.812086 [CONSOLE] switch_time.c:223 Test: 250 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:39.862083 [CONSOLE] switch_time.c:223 Test: 250 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:39.912082 [CONSOLE] switch_time.c:223 Test: 250 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:39.962077 [CONSOLE] switch_time.c:223 Test: 250 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.012076 [CONSOLE] switch_time.c:223 Test: 250 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.063074 [CONSOLE] switch_time.c:223 Test: 250 Average: > > 1018 Step: 50 > > > > 2010-03-10 14:48:40.113071 [CONSOLE] switch_time.c:223 Test: 200 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.163068 [CONSOLE] switch_time.c:223 Test: 200 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.213066 [CONSOLE] switch_time.c:223 Test: 200 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.263064 [CONSOLE] switch_time.c:223 Test: 200 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.313061 [CONSOLE] switch_time.c:223 Test: 200 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.363059 [CONSOLE] switch_time.c:223 Test: 200 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.413056 [CONSOLE] switch_time.c:223 Test: 200 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.465054 [CONSOLE] switch_time.c:223 Test: 200 Average: > > 1038 Step: 50 > > > > 2010-03-10 14:48:40.515051 [CONSOLE] switch_time.c:223 Test: 150 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.565049 [CONSOLE] switch_time.c:223 Test: 150 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.615046 [CONSOLE] switch_time.c:223 Test: 150 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.665043 [CONSOLE] switch_time.c:223 Test: 150 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.715041 [CONSOLE] switch_time.c:223 Test: 150 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.765039 [CONSOLE] switch_time.c:223 Test: 150 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.815036 [CONSOLE] switch_time.c:223 Test: 150 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.866032 [CONSOLE] switch_time.c:223 Test: 150 Average: > > 1018 Step: 50 > > > > 2010-03-10 14:48:40.916032 [CONSOLE] switch_time.c:223 Test: 100 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:40.966028 [CONSOLE] switch_time.c:223 Test: 100 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:41.016026 [CONSOLE] switch_time.c:223 Test: 100 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:41.066022 [CONSOLE] switch_time.c:223 Test: 100 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:41.116021 [CONSOLE] switch_time.c:223 Test: 100 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:41.166017 [CONSOLE] switch_time.c:223 Test: 100 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:41.216016 [CONSOLE] switch_time.c:223 Test: 100 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:41.266013 [CONSOLE] switch_time.c:223 Test: 100 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:41.317011 [CONSOLE] switch_time.c:223 Test: 100 Average: > > 1018 Step: 50 > > > > 2010-03-10 14:48:41.367008 [CONSOLE] switch_time.c:223 Test: 50 Average: > 998 > > Step: 50 > > > > 2010-03-10 14:48:41.417006 [CONSOLE] switch_time.c:223 Test: 50 Average: > 998 > > Step: 50 > > > > 2010-03-10 14:48:41.467004 [CONSOLE] switch_time.c:223 Test: 50 Average: > 998 > > Step: 50 > > > > 2010-03-10 14:48:41.517001 [CONSOLE] switch_time.c:223 Test: 50 Average: > 998 > > Step: 50 > > > > 2010-03-10 14:48:41.566999 [CONSOLE] switch_time.c:223 Test: 50 Average: > 998 > > Step: 50 > > > > 2010-03-10 14:48:41.616996 [CONSOLE] switch_time.c:223 Test: 50 Average: > 998 > > Step: 50 > > > > 2010-03-10 14:48:41.666993 [CONSOLE] switch_time.c:223 Test: 50 Average: > 998 > > Step: 50 > > > > 2010-03-10 14:48:41.716991 [CONSOLE] switch_time.c:223 Test: 50 Average: > 998 > > Step: 50 > > > > 2010-03-10 14:48:41.767989 [CONSOLE] switch_time.c:223 Test: 50 Average: > > 1018 Step: 50 > > > > 2010-03-10 14:48:41.817985 [CONSOLE] switch_time.c:223 Test: 0 Average: > 998 > > Step: 50 > > > > 2010-03-10 14:48:41.867984 [CONSOLE] switch_time.c:223 Test: 0 Average: > 998 > > Step: 50 > > > > 2010-03-10 14:48:41.917980 [CONSOLE] switch_time.c:223 Test: 0 Average: > 998 > > Step: 50 > > > > 2010-03-10 14:48:41.967979 [CONSOLE] switch_time.c:223 Test: 0 Average: > 998 > > Step: 50 > > > > 2010-03-10 14:48:42.017975 [CONSOLE] switch_time.c:223 Test: 0 Average: > 998 > > Step: 50 > > > > 2010-03-10 14:48:42.067974 [CONSOLE] switch_time.c:223 Test: 0 Average: > 998 > > Step: 50 > > > > 2010-03-10 14:48:42.117970 [CONSOLE] switch_time.c:223 Test: 0 Average: > 998 > > Step: 50 > > > > 2010-03-10 14:48:42.168969 [CONSOLE] switch_time.c:223 Test: 0 Average: > 1018 > > Step: 50 > > > > 2010-03-10 14:48:42.269962 [CONSOLE] switch_time.c:223 Test: 1000 > Average: > > 2018 Step: 50 > > > > 2010-03-10 14:48:42.369958 [CONSOLE] switch_time.c:223 Test: 950 Average: > > 1998 Step: 50 > > > > 2010-03-10 14:48:42.448958 [CONSOLE] switch_time.c:223 Test: 900 Average: > > 1578 Step: 50 > > > > 2010-03-10 14:48:42.498954 [CONSOLE] switch_time.c:223 Test: 850 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:42.548951 [CONSOLE] switch_time.c:223 Test: 850 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:42.598949 [CONSOLE] switch_time.c:223 Test: 850 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:42.648946 [CONSOLE] switch_time.c:223 Test: 850 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:42.698945 [CONSOLE] switch_time.c:223 Test: 850 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:42.748942 [CONSOLE] switch_time.c:223 Test: 850 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:42.798941 [CONSOLE] switch_time.c:223 Test: 850 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:42.848936 [CONSOLE] switch_time.c:223 Test: 850 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:42.898935 [CONSOLE] switch_time.c:223 Test: 850 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:42.948931 [CONSOLE] switch_time.c:223 Test: 850 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:42.998931 [CONSOLE] switch_time.c:223 Test: 850 Average: > > 998 Step: 50 > > > > 2010-03-10 14:48:42.998963 [CONSOLE] switch_time.c:274 Timer offset of > 150 > > calculated > > > > 2010-03-10 14:48:42.998994 [CONSOLE] switch_loadable_module.c:900 > > Successfully Loaded [CORE_SOFTTIMER_MODULE] > > > > 2010-03-10 14:48:42.999040 [NOTICE] switch_loadable_module.c:230 Adding > > Timer 'soft' > > > > 2010-03-10 14:48:42.999234 [CONSOLE] switch_loadable_module.c:900 > > Successfully Loaded [CORE_PCM_MODULE] > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100310/60ddd2e5/attachment.html From anthony.minessale at gmail.com Wed Mar 10 15:15:59 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 10 Mar 2010 17:15:59 -0600 Subject: [Freeswitch-users] Tone Detection During Bridge In-Reply-To: References: Message-ID: <191c3a031003101515r415299dckdea8d73369c0d89b@mail.gmail.com> it should be running during the bridge as well. once you start it, it attaches in the background and snoops all of your audio. Try turning up the debug level to see if it may be exiting. "console loglevel debug" On Wed, Mar 10, 2010 at 3:05 PM, Ben Langfeld wrote: > Dear List, > > I have a requirement (due to poor quality Sipura products) to have > freeswitch listen for a tone during a bridge (standard local extension > dialplan segment). I have the required line: > > > > But I need to have this run _during_ the bridge (to listen for the tone > coming from the broken SPA3k and to break the bridge). Does anyone have any > idea how this may be achieved? There is no such documentation on the wiki. > This works perfectly if the bridge was not successful, and so will detect > tones during voicemail messaging. > > Regards, > Ben Langfeld > > Wave > Email > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100310/ca266d88/attachment-0001.html From ben at langfeld.co.uk Wed Mar 10 15:57:02 2010 From: ben at langfeld.co.uk (Ben Langfeld) Date: Wed, 10 Mar 2010 23:57:02 +0000 Subject: [Freeswitch-users] Tone Detection During Bridge (Anthony Minessale) Message-ID: Cheers Anthony, I don't know how I was overcomplicating that so much, but it works fine now. Thanks! Regards, Ben Langfeld Wave > Email On Wed, Mar 10, 2010 at 11:16 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: Kernel timer warning with CentOS 5.4 (Anthony Minessale) > 2. Re: Tone Detection During Bridge (Anthony Minessale) > > > ---------- Forwarded message ---------- > From: Anthony Minessale > To: freeswitch-users at lists.freeswitch.org > Date: Wed, 10 Mar 2010 17:12:44 -0600 > Subject: Re: [Freeswitch-users] Kernel timer warning with CentOS 5.4 > it means that it has detected a 150 microsecond offset. > > It tries originally to sleep 1000 microseconds (1 millisecond) in a loop. > It times how long the sleep lasted and compares how long it really took vs > how long it was asked to sleep. > then it slowly decreases by 50 and tries again until it gets within 2 > microseconds of the goal. > > in your case of 150, it means if you subtract 150 from the total number of > microseconds from all the sleeps > they will be more accurate. > > > > On Wed, Mar 10, 2010 at 4:23 PM, Giovanni Maruzzelli wrote: > >> On Wed, Mar 10, 2010 at 9:53 PM, Peder wrote: >> > OK, can you decode what this means exactly? I?d be happy to write >> something >> > up to reference users to, but I don?t really know what it means. It is >> a a >> > quad-core 2.8GHz running CentOS 5.3 64-bit. It looks like it calculated >> > 150, but is that good, bad, indifferent? I?ve tried to google it, but >> > without really knowing what it is I am looking for, I am not getting >> good >> > results. >> >> This tells you the calculated average discrepancy of the timing is 150 >> microseconds (millisecond/1000), that I believe is good. (hope this >> explanation is true ;) ) >> >> >> > >> > >> > >> > >> > >> > 2010-03-10 14:48:37.960041 [CONSOLE] switch_time.c:1021 Calibrating >> timer, >> > please wait... >> > >> > 2010-03-10 14:48:38.060174 [CONSOLE] switch_time.c:223 Test: 1000 >> Average: >> > 2001 Step: 50 >> > >> > 2010-03-10 14:48:38.160169 [CONSOLE] switch_time.c:223 Test: 950 >> Average: >> > 1998 Step: 50 >> > >> > 2010-03-10 14:48:38.260164 [CONSOLE] switch_time.c:223 Test: 900 >> Average: >> > 1998 Step: 50 >> > >> > 2010-03-10 14:48:38.360159 [CONSOLE] switch_time.c:223 Test: 850 >> Average: >> > 1998 Step: 50 >> > >> > 2010-03-10 14:48:38.460155 [CONSOLE] switch_time.c:223 Test: 800 >> Average: >> > 1998 Step: 50 >> > >> > 2010-03-10 14:48:38.560149 [CONSOLE] switch_time.c:223 Test: 750 >> Average: >> > 1998 Step: 50 >> > >> > 2010-03-10 14:48:38.660144 [CONSOLE] switch_time.c:223 Test: 700 >> Average: >> > 1998 Step: 50 >> > >> > 2010-03-10 14:48:38.760139 [CONSOLE] switch_time.c:223 Test: 650 >> Average: >> > 1997 Step: 50 >> > >> > 2010-03-10 14:48:38.860134 [CONSOLE] switch_time.c:223 Test: 600 >> Average: >> > 1998 Step: 50 >> > >> > 2010-03-10 14:48:38.960132 [CONSOLE] switch_time.c:223 Test: 550 >> Average: >> > 1998 Step: 50 >> > >> > 2010-03-10 14:48:39.060124 [CONSOLE] switch_time.c:223 Test: 500 >> Average: >> > 1998 Step: 50 >> > >> > 2010-03-10 14:48:39.160119 [CONSOLE] switch_time.c:223 Test: 450 >> Average: >> > 1998 Step: 50 >> > >> > 2010-03-10 14:48:39.260114 [CONSOLE] switch_time.c:223 Test: 400 >> Average: >> > 1998 Step: 50 >> > >> > 2010-03-10 14:48:39.311111 [CONSOLE] switch_time.c:223 Test: 350 >> Average: >> > 1018 Step: 50 >> > >> > 2010-03-10 14:48:39.361109 [CONSOLE] switch_time.c:223 Test: 300 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:39.411106 [CONSOLE] switch_time.c:223 Test: 300 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:39.461103 [CONSOLE] switch_time.c:223 Test: 300 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:39.511101 [CONSOLE] switch_time.c:223 Test: 300 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:39.561099 [CONSOLE] switch_time.c:223 Test: 300 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:39.612096 [CONSOLE] switch_time.c:223 Test: 300 >> Average: >> > 1018 Step: 50 >> > >> > 2010-03-10 14:48:39.662092 [CONSOLE] switch_time.c:223 Test: 250 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:39.712091 [CONSOLE] switch_time.c:223 Test: 250 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:39.762088 [CONSOLE] switch_time.c:223 Test: 250 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:39.812086 [CONSOLE] switch_time.c:223 Test: 250 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:39.862083 [CONSOLE] switch_time.c:223 Test: 250 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:39.912082 [CONSOLE] switch_time.c:223 Test: 250 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:39.962077 [CONSOLE] switch_time.c:223 Test: 250 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.012076 [CONSOLE] switch_time.c:223 Test: 250 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.063074 [CONSOLE] switch_time.c:223 Test: 250 >> Average: >> > 1018 Step: 50 >> > >> > 2010-03-10 14:48:40.113071 [CONSOLE] switch_time.c:223 Test: 200 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.163068 [CONSOLE] switch_time.c:223 Test: 200 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.213066 [CONSOLE] switch_time.c:223 Test: 200 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.263064 [CONSOLE] switch_time.c:223 Test: 200 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.313061 [CONSOLE] switch_time.c:223 Test: 200 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.363059 [CONSOLE] switch_time.c:223 Test: 200 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.413056 [CONSOLE] switch_time.c:223 Test: 200 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.465054 [CONSOLE] switch_time.c:223 Test: 200 >> Average: >> > 1038 Step: 50 >> > >> > 2010-03-10 14:48:40.515051 [CONSOLE] switch_time.c:223 Test: 150 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.565049 [CONSOLE] switch_time.c:223 Test: 150 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.615046 [CONSOLE] switch_time.c:223 Test: 150 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.665043 [CONSOLE] switch_time.c:223 Test: 150 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.715041 [CONSOLE] switch_time.c:223 Test: 150 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.765039 [CONSOLE] switch_time.c:223 Test: 150 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.815036 [CONSOLE] switch_time.c:223 Test: 150 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.866032 [CONSOLE] switch_time.c:223 Test: 150 >> Average: >> > 1018 Step: 50 >> > >> > 2010-03-10 14:48:40.916032 [CONSOLE] switch_time.c:223 Test: 100 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:40.966028 [CONSOLE] switch_time.c:223 Test: 100 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:41.016026 [CONSOLE] switch_time.c:223 Test: 100 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:41.066022 [CONSOLE] switch_time.c:223 Test: 100 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:41.116021 [CONSOLE] switch_time.c:223 Test: 100 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:41.166017 [CONSOLE] switch_time.c:223 Test: 100 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:41.216016 [CONSOLE] switch_time.c:223 Test: 100 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:41.266013 [CONSOLE] switch_time.c:223 Test: 100 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:41.317011 [CONSOLE] switch_time.c:223 Test: 100 >> Average: >> > 1018 Step: 50 >> > >> > 2010-03-10 14:48:41.367008 [CONSOLE] switch_time.c:223 Test: 50 Average: >> 998 >> > Step: 50 >> > >> > 2010-03-10 14:48:41.417006 [CONSOLE] switch_time.c:223 Test: 50 Average: >> 998 >> > Step: 50 >> > >> > 2010-03-10 14:48:41.467004 [CONSOLE] switch_time.c:223 Test: 50 Average: >> 998 >> > Step: 50 >> > >> > 2010-03-10 14:48:41.517001 [CONSOLE] switch_time.c:223 Test: 50 Average: >> 998 >> > Step: 50 >> > >> > 2010-03-10 14:48:41.566999 [CONSOLE] switch_time.c:223 Test: 50 Average: >> 998 >> > Step: 50 >> > >> > 2010-03-10 14:48:41.616996 [CONSOLE] switch_time.c:223 Test: 50 Average: >> 998 >> > Step: 50 >> > >> > 2010-03-10 14:48:41.666993 [CONSOLE] switch_time.c:223 Test: 50 Average: >> 998 >> > Step: 50 >> > >> > 2010-03-10 14:48:41.716991 [CONSOLE] switch_time.c:223 Test: 50 Average: >> 998 >> > Step: 50 >> > >> > 2010-03-10 14:48:41.767989 [CONSOLE] switch_time.c:223 Test: 50 Average: >> > 1018 Step: 50 >> > >> > 2010-03-10 14:48:41.817985 [CONSOLE] switch_time.c:223 Test: 0 Average: >> 998 >> > Step: 50 >> > >> > 2010-03-10 14:48:41.867984 [CONSOLE] switch_time.c:223 Test: 0 Average: >> 998 >> > Step: 50 >> > >> > 2010-03-10 14:48:41.917980 [CONSOLE] switch_time.c:223 Test: 0 Average: >> 998 >> > Step: 50 >> > >> > 2010-03-10 14:48:41.967979 [CONSOLE] switch_time.c:223 Test: 0 Average: >> 998 >> > Step: 50 >> > >> > 2010-03-10 14:48:42.017975 [CONSOLE] switch_time.c:223 Test: 0 Average: >> 998 >> > Step: 50 >> > >> > 2010-03-10 14:48:42.067974 [CONSOLE] switch_time.c:223 Test: 0 Average: >> 998 >> > Step: 50 >> > >> > 2010-03-10 14:48:42.117970 [CONSOLE] switch_time.c:223 Test: 0 Average: >> 998 >> > Step: 50 >> > >> > 2010-03-10 14:48:42.168969 [CONSOLE] switch_time.c:223 Test: 0 Average: >> 1018 >> > Step: 50 >> > >> > 2010-03-10 14:48:42.269962 [CONSOLE] switch_time.c:223 Test: 1000 >> Average: >> > 2018 Step: 50 >> > >> > 2010-03-10 14:48:42.369958 [CONSOLE] switch_time.c:223 Test: 950 >> Average: >> > 1998 Step: 50 >> > >> > 2010-03-10 14:48:42.448958 [CONSOLE] switch_time.c:223 Test: 900 >> Average: >> > 1578 Step: 50 >> > >> > 2010-03-10 14:48:42.498954 [CONSOLE] switch_time.c:223 Test: 850 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:42.548951 [CONSOLE] switch_time.c:223 Test: 850 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:42.598949 [CONSOLE] switch_time.c:223 Test: 850 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:42.648946 [CONSOLE] switch_time.c:223 Test: 850 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:42.698945 [CONSOLE] switch_time.c:223 Test: 850 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:42.748942 [CONSOLE] switch_time.c:223 Test: 850 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:42.798941 [CONSOLE] switch_time.c:223 Test: 850 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:42.848936 [CONSOLE] switch_time.c:223 Test: 850 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:42.898935 [CONSOLE] switch_time.c:223 Test: 850 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:42.948931 [CONSOLE] switch_time.c:223 Test: 850 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:42.998931 [CONSOLE] switch_time.c:223 Test: 850 >> Average: >> > 998 Step: 50 >> > >> > 2010-03-10 14:48:42.998963 [CONSOLE] switch_time.c:274 Timer offset of >> 150 >> > calculated >> > >> > 2010-03-10 14:48:42.998994 [CONSOLE] switch_loadable_module.c:900 >> > Successfully Loaded [CORE_SOFTTIMER_MODULE] >> > >> > 2010-03-10 14:48:42.999040 [NOTICE] switch_loadable_module.c:230 Adding >> > Timer 'soft' >> > >> > 2010-03-10 14:48:42.999234 [CONSOLE] switch_loadable_module.c:900 >> > Successfully Loaded [CORE_PCM_MODULE] >> > >> > _______________________________________________ >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at 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 >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > > ---------- Forwarded message ---------- > From: Anthony Minessale > To: freeswitch-users at lists.freeswitch.org > Date: Wed, 10 Mar 2010 17:15:59 -0600 > Subject: Re: [Freeswitch-users] Tone Detection During Bridge > it should be running during the bridge as well. > once you start it, it attaches in the background and snoops all of your > audio. > > Try turning up the debug level to see if it may be exiting. > > "console loglevel debug" > > > On Wed, Mar 10, 2010 at 3:05 PM, Ben Langfeld wrote: > >> Dear List, >> >> I have a requirement (due to poor quality Sipura products) to have >> freeswitch listen for a tone during a bridge (standard local extension >> dialplan segment). I have the required line: >> >> >> >> But I need to have this run _during_ the bridge (to listen for the tone >> coming from the broken SPA3k and to break the bridge). Does anyone have any >> idea how this may be achieved? There is no such documentation on the wiki. >> This works perfectly if the bridge was not successful, and so will detect >> tones during voicemail messaging. >> >> Regards, >> Ben Langfeld >> >> Wave > Email >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/747045b6/attachment-0001.html From xengelpublicx at gmail.com Wed Mar 10 16:41:55 2010 From: xengelpublicx at gmail.com (Vladimir Elizarov) Date: Thu, 11 Mar 2010 03:41:55 +0300 Subject: [Freeswitch-users] Switch with External SoftPhone Message-ID: Hello. What are the ways connect external users to the fs there? In such a scheme: fs with real ip <-> internet <-> nat <-> sip-phone I read the topic http://wiki.freeswitch.org/wiki/External_profile # Switch_with_External_SoftPhone I did not understand several things: - That should be in exteranl5090.xml? Whole profile external.xml c changes in paragraphs 2,3? - Sofia/external5090 / @ xxxx: 5090 <- "What goes in xxxx? External UA IP? Domain?" I have the same question. that x.x.x.x should be? But this seems not quite what I need. Must be external to the subscriber is practically no different from internal. -- Best regards, Vladimir Elizarov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/7122da74/attachment.html From lloyd.aloysius at gmail.com Wed Mar 10 16:59:06 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Wed, 10 Mar 2010 19:59:06 -0500 Subject: [Freeswitch-users] Multiple Registrations - randomly only one device ring In-Reply-To: <7454A296C7EDE34EA57199FAA401E2F11C64005D81@VMBX113.ihostexchange.net> References: <8a19bf2e1003092353w32701aaes47b034f2abfb71f5@mail.gmail.com> <7454A296C7EDE34EA57199FAA401E2F11C64005C5B@VMBX113.ihostexchange.net> <8a19bf2e1003101352w31f92510ld613602fd1b04f64@mail.gmail.com> <7454A296C7EDE34EA57199FAA401E2F11C64005D81@VMBX113.ihostexchange.net> Message-ID: <8a19bf2e1003101659x29ba2620k888b4a4fc2a3b546@mail.gmail.com> Thank you for the help. On Wed, Mar 10, 2010 at 5:26 PM, Chris Fowler wrote: > Hi Lloyd, > > > > It depends on which profile your phones are registering with. I suspect > internal.xml will work. > > > > Chris. > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Aloysius > Lloyd > *Sent:* Wednesday, March 10, 2010 1:52 PM > > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* Re: [Freeswitch-users] Multiple Registrations - randomly only > one device ring > > > > Chris, Thank you. > > > > I find the following information from wiki.This is say sofia.conf. I think > sofia.conf.xml > > > Multiple Registrations > > Call one extension and ring several phones > > You must enable multiple registrations in sofia.conf > > > > > > > > ---- > > Which file I should enable internal.xml or sofia.conf.xml > > Thanks > > Lloyd > > > > > > On Wed, Mar 10, 2010 at 12:16 PM, Chris Fowler wrote: > > Hi Lloyd, > > > > You need to use sofia_contact in your bridge command in the dialplan: > > > > e.g. > > * data="${sofia_contact(${dialed_extension}@${domain_name})}"/>* > > * * > > This will cause FS to try all registrations simultaneously. > > > > Cheers, Chris. > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Aloysius > Lloyd > *Sent:* Tuesday, March 09, 2010 11:53 PM > > > *To:* freeswitch-users at lists.freeswitch.org > > *Subject:* [Freeswitch-users] Multiple Registrations - randomly only one > device ring > > > > Hi All, > > > > I enable the multiple registrations in sip_profiles/internal.xml. > > > > > > > > Then I restart the freeswitch. > > > > I use Aastra 9133i and eyebeam register for same extension. > > > > But randomly only one device ring. Do I need to enable any other settings? > > > > > Thanks, > Lloyd > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100310/34cd0826/attachment.html From lakindia89 at gmail.com Wed Mar 10 20:07:06 2010 From: lakindia89 at gmail.com (lakshmanan ganapathy) Date: Thu, 11 Mar 2010 09:37:06 +0530 Subject: [Freeswitch-users] smg_prid not bridging the call In-Reply-To: References: <6d15d07f1002270033n71d8ac85u1895b05f75540e63@mail.gmail.com> <7d79b3931003042011v154fd1d4g136f4b4e2f6800a@mail.gmail.com> Message-ID: <7d79b3931003102007n728e2c3dudf603aafedb18b6b@mail.gmail.com> My switch type is EuroISDN, and I used Q931 as the dialect. On Wed, Mar 10, 2010 at 3:31 PM, Michael Jerris wrote: > What pri dialect is this? > > On Mar 4, 2010, at 11:11 PM, lakshmanan ganapathy wrote: > > Ok. This is to say how the problem got solved. > Need openzap 1047 or above version. > Need wanpipe-3.5.8.6.smg_pri-v1.63.tgz > My telco is not accepting the display IE. > Finally setting disable_display_ie=yes in smg_pri.conf solved the issue. > > Thanks for all. > > On Sat, Feb 27, 2010 at 2:03 PM, Tomasz Augustyn > wrote: > >> Hello, >> >> I had similar problem and I think it is more a problem between Sangoma >> card and your E1 provider than with freeswitch. >> >> In my case it was necessary to set "origination_caller_id_number" to one >> of the telephone numbers linked to my E1 line. In other case the calls were >> rejected with "invalid information element" error. >> >> You can try Sangoma's support they are very helpful. >> >> Tomasz Augustyn >> > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/9fa32969/attachment.html From lvatland at gmail.com Wed Mar 10 07:31:28 2010 From: lvatland at gmail.com (Larry Vatland) Date: Wed, 10 Mar 2010 09:31:28 -0600 Subject: [Freeswitch-users] The demo extension mad_boss_intercom problem Message-ID: <7F24C234-F46B-40AE-BB6D-293D6322F903@gmail.com> I'm new to freeswitch and just exploring the default dialplan. I have not been able to get the mad_boss_intercom example to work correctly, it pages fine but you should be able to press *2 to start a two-way conversation. Whats happening is the * toggles the phones mute. How do I set up the conference to pass the *2 off to the bind_meta_app to get a page to intercom system working? Thanks for any help. Larry Vatland Computer World 3015 W. Wisconsin Ave. Appleton, WI 54914 (920) 733-9547 lvatland at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/b94b60d3/attachment-0001.html From lvatland at gmail.com Wed Mar 10 14:38:19 2010 From: lvatland at gmail.com (Larry Vatland) Date: Wed, 10 Mar 2010 16:38:19 -0600 Subject: [Freeswitch-users] The demo xml dialplan extension mad_boss_intercom problem Message-ID: I'm new to freeswitch and just exploring the default dialplan. I have not been able to get the mad_boss_intercom example to work correctly, it pages fine but you should be able to press *2 to start a two-way conversation. Whats happening is the * toggles the phones mute. How do I set up the conference to pass the *2 off to the bind_meta_app to get a page to intercom system working? Thanks for any help. Larry Vatland Computer World 3015 W. Wisconsin Ave. Appleton, WI 54914 (920) 733-9547 lvatland at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/cc7c285d/attachment.html From arliyardo at gmail.com Wed Mar 10 17:25:50 2010 From: arliyardo at gmail.com (arliyardo) Date: Thu, 11 Mar 2010 09:25:50 +0800 Subject: [Freeswitch-users] No UPNP/NAT-PMP, no STUN! How can i make calls between two NAT? Message-ID: <90dfb0f81003101725t396f3c40vdea6cbabcee7a2a0@mail.gmail.com> my scenario like this: PHONE1->FS (192.168.0.4) -> NAT1 (Public IP 1.2.3.4) -> INTERNET -> NAT2 (Public IP 5.6.7.8) -> PHONE2 (192.168.1.100) First, I have forwarded sip port and rtp port. I have try servaral configurations in http://wiki.freeswitch.org/wiki/General_NAT_example_scenarios and without luck! PHONE2 only regists to FS, how can FS gets through NAT2 to PHONE2, include sip signaling and rtp connection ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/9aecd90b/attachment.html From helmut.kuper at ewetel.de Thu Mar 11 00:34:41 2010 From: helmut.kuper at ewetel.de (Helmut Kuper) Date: Thu, 11 Mar 2010 09:34:41 +0100 Subject: [Freeswitch-users] openzap Q.SIG and Q.931 Message-ID: <4B98AB21.5010102@ewetel.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, maybe you know that I run a long time test with Stefan Knoblich's q931 pri-stack for openzap. In fact, I use is in my production system since a year or so. I have to say that it is very stable and I'm happy with it - ususally ... but: I wonder if anyone of you is working on a Q.SIG Basic-Call Support (ECMA-143) for openzap. I try to connect to an Avaya system using Q.SIG to be a part of the internal domain. My main targets are to send and receive Caller's and Callee's name and to remove a leading '0' (which is added by AVAYA because of q931) for internal calls. regards helmut -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFLmKsh4tZeNddg3dwRAjaNAJ4pTdxYyQizHPDXP9gjjUyABJIuxwCcDnNj qlCG9cdIfjDLlQE3bQfxluw= =L1tJ -----END PGP SIGNATURE----- From mike at jerris.com Thu Mar 11 01:09:03 2010 From: mike at jerris.com (Michael Jerris) Date: Thu, 11 Mar 2010 04:09:03 -0500 Subject: [Freeswitch-users] The demo extension mad_boss_intercom problem In-Reply-To: <7F24C234-F46B-40AE-BB6D-293D6322F903@gmail.com> References: <7F24C234-F46B-40AE-BB6D-293D6322F903@gmail.com> Message-ID: I think I fixed this about a week ago. On Mar 10, 2010, at 10:31 AM, Larry Vatland wrote: > I'm new to freeswitch and just exploring the default dialplan. I have not been able to get the mad_boss_intercom example to work correctly, it pages fine but you should be able to press *2 to start a two-way conversation. Whats happening is the * toggles the phones mute. How do I set up the conference to pass the *2 off to the bind_meta_app to get a page to intercom system working? > From jbrucehopkins at gmail.com Thu Mar 11 02:03:39 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Thu, 11 Mar 2010 10:03:39 +0000 Subject: [Freeswitch-users] No UPNP/NAT-PMP, no STUN! How can i make calls between two NAT? In-Reply-To: <90dfb0f81003101725t396f3c40vdea6cbabcee7a2a0@mail.gmail.com> References: <90dfb0f81003101725t396f3c40vdea6cbabcee7a2a0@mail.gmail.com> Message-ID: Hello arliyardo, I'm new to Freeswitch, but looking at the posts on the mailing list it appears a few of us - you, me and Vladimir Elizarov, have been grappling with he same thing recently - getting remote phones to work through NAT. If you look at my thread you will see I have got some of the way, and can call incoming now but still have difficulty with outgoing calls. Perhaps you might have a look at where I have got to and see if you can think of the final bit of the picture? I gather the developers are in the process of updating the Wiki pages on NAT. I'm hoping they will be able to find time to continuw with this. It must be a laborious and time consuming task keeping the documentation up to date. bests Bruce On 11 March 2010 01:25, arliyardo wrote: > my scenario like this: > > PHONE1->FS (192.168.0.4) -> NAT1 (Public IP 1.2.3.4) -> INTERNET -> NAT2 (Public IP 5.6.7.8) -> PHONE2 (192.168.1.100) > First, I have forwarded sip port and rtp port. > I have try servaral configurations in http://wiki.freeswitch.org/wiki/General_NAT_example_scenarios and without luck! > > PHONE2 only regists to FS, how can FS gets through NAT2 to PHONE2, include sip signaling and rtp connection ? > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/3becade0/attachment.html From brian at freeswitch.org Thu Mar 11 06:10:37 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 11 Mar 2010 08:10:37 -0600 Subject: [Freeswitch-users] The demo extension mad_boss_intercom problem In-Reply-To: References: <7F24C234-F46B-40AE-BB6D-293D6322F903@gmail.com> Message-ID: <6A9394D0-14C4-489C-8018-B79D1E741A8F@freeswitch.org> I don't think... I know you fixed it about a week ago :P /b On Mar 11, 2010, at 3:09 AM, Michael Jerris wrote: > I think I fixed this about a week ago. From phunk0000 at hotmail.com Thu Mar 11 07:44:02 2010 From: phunk0000 at hotmail.com (Todd) Date: Thu, 11 Mar 2010 10:44:02 -0500 Subject: [Freeswitch-users] can't get programming language modules to load Message-ID: Hey list- I have make mod_whatever-installed all the individual mod I want and have been able to make all but the following work. I have followed wiki directions for odbc and have odbc working. Any help in getting these modules to load would be great. Thanks **/usr/local/freeswitch/mod/mod_spidermonkey_core_db.so: undefined symbol: mod_spidermonkey_core_db_module_interface** 2010-03-10 16:55:50.990489 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_curl.so **/usr/local/freeswitch/mod/mod_spidermonkey_curl.so: undefined symbol: mod_spidermonkey_curl_module_interface** 2010-03-10 16:55:50.990632 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_odbc.so **/usr/local/freeswitch/mod/mod_spidermonkey_odbc.so: undefined symbol: mod_spidermonkey_odbc_module_interface** 2010-03-10 16:55:50.990715 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_socket.so **/usr/local/freeswitch/mod/mod_spidermonkey_socket.so: undefined symbol: mod_spidermonkey_socket_module_interface** 2010-03-10 16:55:50.990796 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_teletone.so **/usr/local/freeswitch/mod/mod_spidermonkey_teletone.so: undefined symbol: mod_spidermonkey_teletone_module_interface** 2010-03-10 16:55:50.990906 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_perl.so **/usr/local/freeswitch/mod/mod_perl.so: cannot open shared object file: No such file or directory** 2010-03-10 16:55:50.991020 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_python.so **/usr/local/freeswitch/mod/mod_python.so: cannot open shared object file: No such file or directory** 2010-03-10 16:55:50.991140 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_java.so **/usr/local/freeswitch/mod/mod_java.so: cannot open shared object file: No such file or directory** Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/1a94080c/attachment.html From brian at freeswitch.org Thu Mar 11 07:51:06 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 11 Mar 2010 09:51:06 -0600 Subject: [Freeswitch-users] can't get programming language modules to load In-Reply-To: References: Message-ID: <42D518A4-A111-42E0-A33B-F1AA7BD69ADB@freeswitch.org> Those are sub modules of spidermonkey not FreeSWITCH.... Please see the spidermonkey.conf.xml And the others are not compiled. /b On Mar 11, 2010, at 9:44 AM, Todd wrote: > Hey list- I have make mod_whatever-installed all the individual mod I want and have been able to make all but the following work. I have followed wiki directions for odbc and have odbc working. Any help in getting these modules to load would be great. Thanks > > **/usr/local/freeswitch/mod/mod_spidermonkey_core_db.so: undefined symbol: mod_spidermonkey_core_db_module_interface** > 2010-03-10 16:55:50.990489 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_curl.so > **/usr/local/freeswitch/mod/mod_spidermonkey_curl.so: undefined symbol: mod_spidermonkey_curl_module_interface** > 2010-03-10 16:55:50.990632 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_odbc.so > **/usr/local/freeswitch/mod/mod_spidermonkey_odbc.so: undefined symbol: mod_spidermonkey_odbc_module_interface** > 2010-03-10 16:55:50.990715 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_socket.so > **/usr/local/freeswitch/mod/mod_spidermonkey_socket.so: undefined symbol: mod_spidermonkey_socket_module_interface** > 2010-03-10 16:55:50.990796 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_teletone.so > **/usr/local/freeswitch/mod/mod_spidermonkey_teletone.so: undefined symbol: mod_spidermonkey_teletone_module_interface** > 2010-03-10 16:55:50.990906 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_perl.so > **/usr/local/freeswitch/mod/mod_perl.so: cannot open shared object file: No such file or directory** > 2010-03-10 16:55:50.991020 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_python.so > **/usr/local/freeswitch/mod/mod_python.so: cannot open shared object file: No such file or directory** > 2010-03-10 16:55:50.991140 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_java.so > **/usr/local/freeswitch/mod/mod_java.so: cannot open shared object file: No such file or directory** > > Thanks > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/9568b27e/attachment-0001.html From phunk0000 at hotmail.com Thu Mar 11 08:31:24 2010 From: phunk0000 at hotmail.com (Todd) Date: Thu, 11 Mar 2010 11:31:24 -0500 Subject: [Freeswitch-users] can't get programming language modules to load In-Reply-To: <42D518A4-A111-42E0-A33B-F1AA7BD69ADB@freeswitch.org> References: <42D518A4-A111-42E0-A33B-F1AA7BD69ADB@freeswitch.org> Message-ID: Yes, I uncommented everything in the spidermonkey.conf.xml already, and I still get those same errors. I have also attempted to 'make mod_java-install' for all the uncompiled ones and it runs through a bunch of stuff on the screen but ends with 'make[1]: *** [mod_java.lo] error 1' same with python and lua. any info on how to properly compile the others and get the spidermokney subs to work would be great. thanks From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Thursday, March 11, 2010 10:51 AM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] can't get programming language modules to load Those are sub modules of spidermonkey not FreeSWITCH.... Please see the spidermonkey.conf.xml And the others are not compiled. /b On Mar 11, 2010, at 9:44 AM, Todd wrote: Hey list- I have make mod_whatever-installed all the individual mod I want and have been able to make all but the following work. I have followed wiki directions for odbc and have odbc working. Any help in getting these modules to load would be great. Thanks **/usr/local/freeswitch/mod/mod_spidermonkey_core_db.so: undefined symbol: mod_spidermonkey_core_db_module_interface** 2010-03-10 16:55:50.990489 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_curl.so **/usr/local/freeswitch/mod/mod_spidermonkey_curl.so: undefined symbol: mod_spidermonkey_curl_module_interface** 2010-03-10 16:55:50.990632 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_odbc.so **/usr/local/freeswitch/mod/mod_spidermonkey_odbc.so: undefined symbol: mod_spidermonkey_odbc_module_interface** 2010-03-10 16:55:50.990715 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_socket.so **/usr/local/freeswitch/mod/mod_spidermonkey_socket.so: undefined symbol: mod_spidermonkey_socket_module_interface** 2010-03-10 16:55:50.990796 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_teletone.so **/usr/local/freeswitch/mod/mod_spidermonkey_teletone.so: undefined symbol: mod_spidermonkey_teletone_module_interface** 2010-03-10 16:55:50.990906 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_perl.so **/usr/local/freeswitch/mod/mod_perl.so: cannot open shared object file: No such file or directory** 2010-03-10 16:55:50.991020 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_python.so **/usr/local/freeswitch/mod/mod_python.so: cannot open shared object file: No such file or directory** 2010-03-10 16:55:50.991140 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_java.so **/usr/local/freeswitch/mod/mod_java.so: cannot open shared object file: No such file or directory** Thanks _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 incoming message. Checked by AVG - www.avg.com Version: 9.0.733 / Virus Database: 271.1.1/2736 - Release Date: 03/11/10 02:33:00 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/eec36714/attachment.html From tculjaga at gmail.com Thu Mar 11 09:15:16 2010 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Thu, 11 Mar 2010 18:15:16 +0100 Subject: [Freeswitch-users] Attrafax In-Reply-To: <191c3a031003100911x30213038h533d5b89eb364242@mail.gmail.com> References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> <65d96fc81003100410t7a386f0au411135ae62e34a6b@mail.gmail.com> <191c3a031003100911x30213038h533d5b89eb364242@mail.gmail.com> Message-ID: <65d96fc81003110915v39fb6dbia8e031322f9d451c@mail.gmail.com> On Wed, Mar 10, 2010 at 6:11 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > We have a mod_fax for t30 and work on t38 is underway. > So we already acknowledge that I guess. > > > anything ready for testing ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/f9a47763/attachment.html From tculjaga at gmail.com Thu Mar 11 09:19:01 2010 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Thu, 11 Mar 2010 18:19:01 +0100 Subject: [Freeswitch-users] Kernel timer warning with CentOS 5.4 In-Reply-To: <191c3a031003100825s7d05562cna52d39265bfcf54@mail.gmail.com> References: <191c3a031003010847y5036817ekb19379e646dd8cb@mail.gmail.com> <65d96fc81003100142m129c6b66w229bd1e519e8aea7@mail.gmail.com> <191c3a031003100825s7d05562cna52d39265bfcf54@mail.gmail.com> Message-ID: <65d96fc81003110919i7a9bcc87xd92edeab6598fc0b@mail.gmail.com> On Wed, Mar 10, 2010 at 5:25 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > FS now tries to determine how accurate the timing is by doing some tests > with 1ms sleeps. > Most 64 bit CentOS box I have seen can easily calibrate. > If you are having that error alot but the calls still sound ok, it's safe > to ignore it. > you can also start FS with -nocal to skip this test. > > Also make sure you do not have any other cpu-intensive application on your > box possibly competing for resources. > > Right, this happens on 32bit Centos (at least in my case) only... on 64bit is is ok ... and no complains at all :) misery solved for me.... thx. T. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/2845eca0/attachment.html From ken at ukgb.net Thu Mar 11 09:34:08 2010 From: ken at ukgb.net (Ken Gillett) Date: Thu, 11 Mar 2010 17:34:08 +0000 Subject: [Freeswitch-users] PSTN connection Message-ID: <2F2B99BE-23B7-4B44-9157-DFA3791CEF39@ukgb.net> If I am running FreeSwitch on a Mac, would I be able to use Apple's USB modem as a means to connect to the PSTN and utilise this line to place and receive calls? Ken G i l l e t t _/_/_/_/_/_/_/_/ From freeswitch at cartissolutions.com Thu Mar 11 10:35:30 2010 From: freeswitch at cartissolutions.com (Yossi Neiman) Date: Thu, 11 Mar 2010 12:35:30 -0600 Subject: [Freeswitch-users] FS no frok mode In-Reply-To: <8ccbff061003100212t414baedat9cf84047cef05d02@mail.gmail.com> References: <8ccbff061003092110y5baddaecmf30c7015996e519b@mail.gmail.com> <5A67C661-6E80-423F-81E9-B56B0E4299A0@jerris.com> <8ccbff061003100212t414baedat9cf84047cef05d02@mail.gmail.com> Message-ID: <4B9937F2.2010807@cartissolutions.com> On 03/10/2010 04:12 AM, Dome Charoenyost wrote: > 2010/3/10 Michael Jerris: > >> -nf has nothing to do with the performance, it has to do if the command >> blocks or not when you run it. I am unsure what you mean about sql in this >> context, it is totally unrelated. What is a cash db? >> > sorry i mean switch_cache_db_connection :) > i have problem about db connection. now switch_cache_db_connection use > 1 connection for 1 thread > if i use mod_limit with odbc my server can't handle more than 100 connection. > So i'll try FS in no fork. but i want to know other effect. > > BG > > Dome C. > I think you misunderstand what it is that the -nf option does. It will have no bearing on how switch's odbc caching mechanisms work. For example, I run freeswitch under a supervising daemon (djb's daemontools in this case) with -nf and -nc options. This prevents freeswitch from spawning the console, and it also prevents freeswitch from forking to the background. In otherwords, it keeps freeswitch from becoming a background daemon. Yossi Neiman Cartis Solutions, Inc. - http://www.cartissolutions.com From testeador01 at gmail.com Thu Mar 11 11:24:25 2010 From: testeador01 at gmail.com (Milena) Date: Thu, 11 Mar 2010 14:24:25 -0500 Subject: [Freeswitch-users] can't get programming language modules to load In-Reply-To: References: <42D518A4-A111-42E0-A33B-F1AA7BD69ADB@freeswitch.org> Message-ID: Hello Todd, I know this can be a little complicated at first but if you research the wiki and google you can succeed, You didn't need to just "uncomment" them, you need to install them so they can actually run... to install spidermonkey odbc, there are actually some packages that have to be installed on your linux box, you can find them on the wiki for SPIDERMONKEY ODBC not just the one for odbc, in that wiki, they tell you what you need to install. to install mod java you need to run the configure option that is indicated in the mod_java wiki as well... if you still get errors after that, please post back, but post the whole error message, saying "error 1" doesn't help us understand what are you missing. Good luck with this :) 2010/3/11 Todd > Yes, I uncommented everything in the spidermonkey.conf.xml already, and I > still get those same errors. I have also attempted to ?make > mod_java-install? for all the uncompiled ones and it runs through a bunch of > stuff on the screen but ends with ?make[1]: *** [mod_java.lo] error 1? same > with python and lua? any info on how to properly compile the others and get > the spidermokney subs to work would be great. thanks > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Brian West > *Sent:* Thursday, March 11, 2010 10:51 AM > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* Re: [Freeswitch-users] can't get programming language modules > to load > > > > Those are sub modules of spidermonkey not FreeSWITCH.... Please see the > spidermonkey.conf.xml > > > > And the others are not compiled. > > > > /b > > > > On Mar 11, 2010, at 9:44 AM, Todd wrote: > > > > Hey list- I have make mod_whatever-installed all the individual mod I > want and have been able to make all but the following work. I have followed > wiki directions for odbc and have odbc working. Any help in getting these > modules to load would be great. Thanks > > > > **/usr/local/freeswitch/mod/mod_spidermonkey_core_db.so: undefined symbol: > mod_spidermonkey_core_db_module_interface** > > 2010-03-10 16:55:50.990489 [CRIT] switch_loadable_module.c:872 Error > Loading module /usr/local/freeswitch/mod/mod_spidermonkey_curl.so > > **/usr/local/freeswitch/mod/mod_spidermonkey_curl.so: undefined symbol: > mod_spidermonkey_curl_module_interface** > > 2010-03-10 16:55:50.990632 [CRIT] switch_loadable_module.c:872 Error > Loading module /usr/local/freeswitch/mod/mod_spidermonkey_odbc.so > > **/usr/local/freeswitch/mod/mod_spidermonkey_odbc.so: undefined symbol: > mod_spidermonkey_odbc_module_interface** > > 2010-03-10 16:55:50.990715 [CRIT] switch_loadable_module.c:872 Error > Loading module /usr/local/freeswitch/mod/mod_spidermonkey_socket.so > > **/usr/local/freeswitch/mod/mod_spidermonkey_socket.so: undefined symbol: > mod_spidermonkey_socket_module_interface** > > 2010-03-10 16:55:50.990796 [CRIT] switch_loadable_module.c:872 Error > Loading module /usr/local/freeswitch/mod/mod_spidermonkey_teletone.so > > **/usr/local/freeswitch/mod/mod_spidermonkey_teletone.so: undefined symbol: > mod_spidermonkey_teletone_module_interface** > > 2010-03-10 16:55:50.990906 [CRIT] switch_loadable_module.c:872 Error > Loading module /usr/local/freeswitch/mod/mod_perl.so > > **/usr/local/freeswitch/mod/mod_perl.so: cannot open shared object file: No > such file or directory** > > 2010-03-10 16:55:50.991020 [CRIT] switch_loadable_module.c:872 Error > Loading module /usr/local/freeswitch/mod/mod_python.so > > **/usr/local/freeswitch/mod/mod_python.so: cannot open shared object file: > No such file or directory** > > 2010-03-10 16:55:50.991140 [CRIT] switch_loadable_module.c:872 Error > Loading module /usr/local/freeswitch/mod/mod_java.so > > **/usr/local/freeswitch/mod/mod_java.so: cannot open shared object file: No > such file or directory** > > > > Thanks > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 incoming message. > Checked by AVG - www.avg.com > Version: 9.0.733 / Virus Database: 271.1.1/2736 - Release Date: 03/11/10 > 02:33:00 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/4b390867/attachment-0001.html From testeador01 at gmail.com Thu Mar 11 11:24:25 2010 From: testeador01 at gmail.com (Milena) Date: Thu, 11 Mar 2010 14:24:25 -0500 Subject: [Freeswitch-users] can't get programming language modules to load In-Reply-To: References: <42D518A4-A111-42E0-A33B-F1AA7BD69ADB@freeswitch.org> Message-ID: Hello Todd, I know this can be a little complicated at first but if you research the wiki and google you can succeed, You didn't need to just "uncomment" them, you need to install them so they can actually run... to install spidermonkey odbc, there are actually some packages that have to be installed on your linux box, you can find them on the wiki for SPIDERMONKEY ODBC not just the one for odbc, in that wiki, they tell you what you need to install. to install mod java you need to run the configure option that is indicated in the mod_java wiki as well... if you still get errors after that, please post back, but post the whole error message, saying "error 1" doesn't help us understand what are you missing. Good luck with this :) 2010/3/11 Todd > Yes, I uncommented everything in the spidermonkey.conf.xml already, and I > still get those same errors. I have also attempted to ?make > mod_java-install? for all the uncompiled ones and it runs through a bunch of > stuff on the screen but ends with ?make[1]: *** [mod_java.lo] error 1? same > with python and lua? any info on how to properly compile the others and get > the spidermokney subs to work would be great. thanks > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Brian West > *Sent:* Thursday, March 11, 2010 10:51 AM > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* Re: [Freeswitch-users] can't get programming language modules > to load > > > > Those are sub modules of spidermonkey not FreeSWITCH.... Please see the > spidermonkey.conf.xml > > > > And the others are not compiled. > > > > /b > > > > On Mar 11, 2010, at 9:44 AM, Todd wrote: > > > > Hey list- I have make mod_whatever-installed all the individual mod I > want and have been able to make all but the following work. I have followed > wiki directions for odbc and have odbc working. Any help in getting these > modules to load would be great. Thanks > > > > **/usr/local/freeswitch/mod/mod_spidermonkey_core_db.so: undefined symbol: > mod_spidermonkey_core_db_module_interface** > > 2010-03-10 16:55:50.990489 [CRIT] switch_loadable_module.c:872 Error > Loading module /usr/local/freeswitch/mod/mod_spidermonkey_curl.so > > **/usr/local/freeswitch/mod/mod_spidermonkey_curl.so: undefined symbol: > mod_spidermonkey_curl_module_interface** > > 2010-03-10 16:55:50.990632 [CRIT] switch_loadable_module.c:872 Error > Loading module /usr/local/freeswitch/mod/mod_spidermonkey_odbc.so > > **/usr/local/freeswitch/mod/mod_spidermonkey_odbc.so: undefined symbol: > mod_spidermonkey_odbc_module_interface** > > 2010-03-10 16:55:50.990715 [CRIT] switch_loadable_module.c:872 Error > Loading module /usr/local/freeswitch/mod/mod_spidermonkey_socket.so > > **/usr/local/freeswitch/mod/mod_spidermonkey_socket.so: undefined symbol: > mod_spidermonkey_socket_module_interface** > > 2010-03-10 16:55:50.990796 [CRIT] switch_loadable_module.c:872 Error > Loading module /usr/local/freeswitch/mod/mod_spidermonkey_teletone.so > > **/usr/local/freeswitch/mod/mod_spidermonkey_teletone.so: undefined symbol: > mod_spidermonkey_teletone_module_interface** > > 2010-03-10 16:55:50.990906 [CRIT] switch_loadable_module.c:872 Error > Loading module /usr/local/freeswitch/mod/mod_perl.so > > **/usr/local/freeswitch/mod/mod_perl.so: cannot open shared object file: No > such file or directory** > > 2010-03-10 16:55:50.991020 [CRIT] switch_loadable_module.c:872 Error > Loading module /usr/local/freeswitch/mod/mod_python.so > > **/usr/local/freeswitch/mod/mod_python.so: cannot open shared object file: > No such file or directory** > > 2010-03-10 16:55:50.991140 [CRIT] switch_loadable_module.c:872 Error > Loading module /usr/local/freeswitch/mod/mod_java.so > > **/usr/local/freeswitch/mod/mod_java.so: cannot open shared object file: No > such file or directory** > > > > Thanks > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 incoming message. > Checked by AVG - www.avg.com > Version: 9.0.733 / Virus Database: 271.1.1/2736 - Release Date: 03/11/10 > 02:33:00 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/4b390867/attachment-0002.html From msc at freeswitch.org Thu Mar 11 12:37:26 2010 From: msc at freeswitch.org (Michael Collins) Date: Thu, 11 Mar 2010 12:37:26 -0800 Subject: [Freeswitch-users] Switch with External SoftPhone In-Reply-To: References: Message-ID: <87f2f3b91003111237i643e444fx5ecb1bfff59adfbc@mail.gmail.com> How are your internal users registering to your FS? What's your FS setup? Do you have more than one NIC? -MC On Wed, Mar 10, 2010 at 4:41 PM, Vladimir Elizarov wrote: > Hello. > > What are the ways connect external users to the fs there? In such a > scheme: > fs with real ip <-> internet <-> nat <-> sip-phone > > > I read the topic http://wiki.freeswitch.org/wiki/External_profile # > Switch_with_External_SoftPhone > > I did not understand several things: > - That should be in exteranl5090.xml? Whole profile external.xml c changes > in paragraphs 2,3? > - Sofia/external5090 / @ xxxx: 5090 <- "What goes in > xxxx? External UA IP? Domain?" I have the same question. that x.x.x.x > should be? > > But this seems not quite what I need. Must be external to the subscriber > is practically no different from internal. > > -- > Best regards, Vladimir Elizarov > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/a3c4056e/attachment.html From msc at freeswitch.org Thu Mar 11 12:39:16 2010 From: msc at freeswitch.org (Michael Collins) Date: Thu, 11 Mar 2010 12:39:16 -0800 Subject: [Freeswitch-users] The demo xml dialplan extension mad_boss_intercom problem In-Reply-To: References: Message-ID: <87f2f3b91003111239h1f07d7f7va4ffc9628cc217e7@mail.gmail.com> On Wed, Mar 10, 2010 at 2:38 PM, Larry Vatland wrote: > I'm new to freeswitch and just exploring the default dialplan. I have not > been able to get the mad_boss_intercom example to work correctly, it pages > fine but you should be able to press *2 to start a two-way conversation. > Whats happening is the * toggles the phones mute. How do I set up the > conference to pass the *2 off to the bind_meta_app to get a page to intercom > system working? > > What phone are you using? It sounds like maybe the phone itself is intercepting the * and not sending it along to FreeSWITCH. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/6862e70c/attachment.html From msc at freeswitch.org Thu Mar 11 12:45:40 2010 From: msc at freeswitch.org (Michael Collins) Date: Thu, 11 Mar 2010 12:45:40 -0800 Subject: [Freeswitch-users] No UPNP/NAT-PMP, no STUN! How can i make calls between two NAT? In-Reply-To: <90dfb0f81003101725t396f3c40vdea6cbabcee7a2a0@mail.gmail.com> References: <90dfb0f81003101725t396f3c40vdea6cbabcee7a2a0@mail.gmail.com> Message-ID: <87f2f3b91003111245g2b4833a7re68ca87ca1d09353@mail.gmail.com> On Wed, Mar 10, 2010 at 5:25 PM, arliyardo wrote: > my scenario like this: > > PHONE1->FS (192.168.0.4) -> NAT1 (Public IP 1.2.3.4) -> INTERNET -> NAT2 (Public IP 5.6.7.8) -> PHONE2 (192.168.1.100) > First, I have forwarded sip port and rtp port. > I have try servaral configurations in http://wiki.freeswitch.org/wiki/General_NAT_example_scenarios and without luck! > > PHONE2 only regists to FS, how can FS gets through NAT2 to PHONE2, include sip signaling and rtp connection ? > > > The key here is that you have two devices that can totally mess with your SIP and RTP: NAT1 and NAT2. What are these two devices? Secondly, what kind of phone is PHONE2? Some phones work better than others. Third, have you captured the SIP traffic behind each NAT device to see what's going on? You won't be able to fix the problem until you actually find out what the problem is and where it is happening. For the record, I've done this kind of thing using X-Lite and Snom 300's as the PHONE2 in your example, so I know it is possible. The trick is making sure that your NAT devices have their SIP ALG's turned off. Check this page to see if you have one of these devices: http://wiki.freeswitch.org/wiki/ALG -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/e91e54ff/attachment-0001.html From pjintheusa at gmail.com Thu Mar 11 12:48:42 2010 From: pjintheusa at gmail.com (Phillip Jones) Date: Thu, 11 Mar 2010 15:48:42 -0500 Subject: [Freeswitch-users] The demo xml dialplan extension mad_boss_intercom problem In-Reply-To: <87f2f3b91003111239h1f07d7f7va4ffc9628cc217e7@mail.gmail.com> References: <87f2f3b91003111239h1f07d7f7va4ffc9628cc217e7@mail.gmail.com> Message-ID: <367751821003111248k508db9dbn2c7a4d73a7c092c5@mail.gmail.com> Larry - also see the replies to your previous post on this subject - which I would paraphrase as "make sure the FS version you are using to test is the latest" On Thu, Mar 11, 2010 at 3:39 PM, Michael Collins wrote: > > > On Wed, Mar 10, 2010 at 2:38 PM, Larry Vatland wrote: > >> I'm new to freeswitch and just exploring the default dialplan. I have not >> been able to get the mad_boss_intercom example to work correctly, it pages >> fine but you should be able to press *2 to start a two-way conversation. >> Whats happening is the * toggles the phones mute. How do I set up the >> conference to pass the *2 off to the bind_meta_app to get a page to intercom >> system working? >> >> What phone are you using? It sounds like maybe the phone itself is > intercepting the * and not sending it along to FreeSWITCH. > -MC > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/cb4db115/attachment.html From msc at freeswitch.org Thu Mar 11 12:56:45 2010 From: msc at freeswitch.org (Michael Collins) Date: Thu, 11 Mar 2010 12:56:45 -0800 Subject: [Freeswitch-users] The demo xml dialplan extension mad_boss_intercom problem In-Reply-To: <367751821003111248k508db9dbn2c7a4d73a7c092c5@mail.gmail.com> References: <87f2f3b91003111239h1f07d7f7va4ffc9628cc217e7@mail.gmail.com> <367751821003111248k508db9dbn2c7a4d73a7c092c5@mail.gmail.com> Message-ID: <87f2f3b91003111256o451fe7md21aec93c802c0f9@mail.gmail.com> On Thu, Mar 11, 2010 at 12:48 PM, Phillip Jones wrote: > Larry - also see the replies to your previous post on this subject - which > I would paraphrase as "make sure the FS version you are using to test is the > latest" > Or, in other words, go to your FreeSWITCH source directory and type "make current" and then go get a cup of coffee. When it is done restart FreeSWITCH and test again... -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/321711d5/attachment.html From srinivas.ksvreddy at gmail.com Thu Mar 11 13:00:54 2010 From: srinivas.ksvreddy at gmail.com (srinivasula reddy) Date: Thu, 11 Mar 2010 16:00:54 -0500 Subject: [Freeswitch-users] more than one condition default.xml Message-ID: Hi, can i have more than one conditions in externsion tag in dialplan\default.xml. -- Srinivasula Reddy K -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/34c678ed/attachment.html From anthony.minessale at gmail.com Thu Mar 11 13:09:05 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 11 Mar 2010 15:09:05 -0600 Subject: [Freeswitch-users] more than one condition default.xml In-Reply-To: References: Message-ID: <191c3a031003111309v6d1dcceek41516267e6f3c9f1@mail.gmail.com> yes but make sure they are stacked not nested (see wiki) On Thu, Mar 11, 2010 at 3:00 PM, srinivasula reddy < srinivas.ksvreddy at gmail.com> wrote: > > Hi, > > can i have more than one conditions in externsion tag in > dialplan\default.xml. > > > > -- > Srinivasula Reddy K > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100311/06c18975/attachment.html From freeswitch at cartissolutions.com Thu Mar 11 13:25:18 2010 From: freeswitch at cartissolutions.com (Yossi Neiman) Date: Thu, 11 Mar 2010 15:25:18 -0600 Subject: [Freeswitch-users] more than one condition default.xml In-Reply-To: References: Message-ID: <4B995FBE.4090506@cartissolutions.com> On 03/11/2010 03:00 PM, srinivasula reddy wrote: > > Hi, > can i have more than one conditions in externsion tag in > dialplan\default.xml. > > -- > Srinivasula Reddy K > You can do the following: But you can not have nested conditions. Yossi Neiman Cartis Solutions, Inc. - http://www.cartissolutions.com From xengelpublicx at gmail.com Thu Mar 11 13:25:52 2010 From: xengelpublicx at gmail.com (Vladimir Elizarov) Date: Fri, 12 Mar 2010 00:25:52 +0300 Subject: [Freeswitch-users] Switch with External SoftPhone In-Reply-To: <87f2f3b91003111237i643e444fx5ecb1bfff59adfbc@mail.gmail.com> References: <87f2f3b91003111237i643e444fx5ecb1bfff59adfbc@mail.gmail.com> Message-ID: Internal users connects via internal profile.?FS has two interfaces lan and wan. scheme: wan(external real ip)<-fs->lan (local ip)-internal users I need to have external users with the same capabilities as the internal users. On Thu, Mar 11, 2010 at 11:37 PM, Michael Collins wrote: > > How are your internal users registering to your FS? What's your FS setup? Do you have more than one NIC? > -MC > > On Wed, Mar 10, 2010 at 4:41 PM, Vladimir Elizarov wrote: >> >> Hello. >> >> What are the ways connect external users to the fs there??In such a scheme: >> ?fs with real ip <-> internet <-> nat <-> sip-phone >> >> >> I read the topic http://wiki.freeswitch.org/wiki/External_profile # Switch_with_External_SoftPhone >> >> I did not understand several things: >> - That should be in exteranl5090.xml??Whole profile external.xml c changes in paragraphs 2,3? >> - Sofia/external5090 / @ xxxx: 5090 <- "What goes in xxxx? External UA IP? Domain?"?I have the same question.?that x.x.x.x should be? >> >> But this seems not quite what I need.?Must be external to the subscriber is practically no different from internal. >> >> -- >> Best regards, Vladimir Elizarov >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > -- Best regards, Vladimir Elizarov From lvatland at gmail.com Thu Mar 11 13:33:47 2010 From: lvatland at gmail.com (Larry Vatland) Date: Thu, 11 Mar 2010 15:33:47 -0600 Subject: [Freeswitch-users] The demo xml dialplan extension mad_boss_intercom problem In-Reply-To: <87f2f3b91003111256o451fe7md21aec93c802c0f9@mail.gmail.com> References: <87f2f3b91003111239h1f07d7f7va4ffc9628cc217e7@mail.gmail.com> <367751821003111248k508db9dbn2c7a4d73a7c092c5@mail.gmail.com> <87f2f3b91003111256o451fe7md21aec93c802c0f9@mail.gmail.com> Message-ID: Thanks All. The phone isn't the issue, when I push the * I receive a message from freeswitch about mute-on/mute-off. I tried to make current however I get a compile error with the current version see below, this is compiling on Mac OS-X 10.6.2 older version of freeswitch did compile fine. Compiling /usr/src/freeswitch-snapshot/src/mod/say/mod_say_en/mod_say_en.c ... Creating mod_say_en.so... Undefined symbols: "_switch_ivr_say_spell", referenced from: _en_say in mod_say_en.o "_switch_ivr_say_ip", referenced from: _en_say in mod_say_en.o ld: symbol(s) not found collect2: ld returned 1 exit status Thanks, Larry Vatland Computer World 3015 W. Wisconsin Ave. Appleton, WI 54914 (920) 733-9547 lvatland at gmail.com On Mar 11, 2010, at 2:56 PM, Michael Collins wrote: > > > On Thu, Mar 11, 2010 at 12:48 PM, Phillip Jones wrote: > Larry - also see the replies to your previous post on this subject - which I would paraphrase as "make sure the FS version you are using to test is the latest" > Or, in other words, go to your FreeSWITCH source directory and type "make current" and then go get a cup of coffee. When it is done restart FreeSWITCH and test again... > -MC > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100311/e7e44c1b/attachment.html From irmatov at gmail.com Thu Mar 11 23:20:42 2010 From: irmatov at gmail.com (Timur Irmatov) Date: Fri, 12 Mar 2010 12:20:42 +0500 Subject: [Freeswitch-users] RFC3578 Message-ID: <241d382f1003112320t173994d1gbb9b0e26ff2ba7ff@mail.gmail.com> Hi, Is there support for RFC3578 in FreeSWITCH? If not, is there any plans to implement it? As far as I understand from quick browsing through this RFC, it is about mapping of ISUP overlap signalling to SIP protocol. In short, remote device (softswitch for example) sends short (incomplete) number in INVITE message to freeswitch, which responds with '484 address incomplete', then softswitch send another INVITE with more digits. Freeswitch then can send another 484, and after some time (enough digits collected), proceed with usual call establishment. -- Timur Irmatov, xmpp:irmatov at jabber.ru From skoost at skoost.com Thu Mar 11 23:36:31 2010 From: skoost at skoost.com (Thangappan Mohan) Date: 12 Mar 2010 07:36:31 +0000 Subject: [Freeswitch-users] Thangappan Mohan sent you a little gift Message-ID: <20100312073631.D5C2D17F741@skoismta01.skoost.com> Thangappan Mohan is on Skoost and sent you a little gift. To collect your gift, follow the link below: http://www.skoost.com/?id=114961367_5284543 P.S. This is a safe and innocent gift that Thangappan Mohan sent from Skoost. Skoost From gavin.henry at gmail.com Fri Mar 12 02:22:02 2010 From: gavin.henry at gmail.com (Gavin Henry) Date: Fri, 12 Mar 2010 10:22:02 +0000 Subject: [Freeswitch-users] UK ring tone Message-ID: <13ca621c1003120222k5061879ei98863652c6ebd2db@mail.gmail.com> Hi, I've checked the internal and external sip profiles and think this needs to be set in autoload switch file as per: http://wiki.freeswitch.org/wiki/Variable_transfer_ringback I want by default a UK ringtone to be heard when I call a DDI that is configured on the system. At the moment it sounds like I'm calling the US. Thanks. -- http://www.suretecsystems.com/services/openldap/ http://www.suretectelecom.com From brian at freeswitch.org Fri Mar 12 04:56:56 2010 From: brian at freeswitch.org (Brian West) Date: Fri, 12 Mar 2010 06:56:56 -0600 Subject: [Freeswitch-users] RFC3578 In-Reply-To: <241d382f1003112320t173994d1gbb9b0e26ff2ba7ff@mail.gmail.com> References: <241d382f1003112320t173994d1gbb9b0e26ff2ba7ff@mail.gmail.com> Message-ID: It already works use the respond application in the dialplan to respond 484 /b On Mar 12, 2010, at 1:20 AM, Timur Irmatov wrote: > Hi, > > Is there support for RFC3578 in FreeSWITCH? If not, is there any plans > to implement it? > > As far as I understand from quick browsing through this RFC, it is > about mapping of ISUP overlap signalling to SIP protocol. In short, > remote device (softswitch for example) sends short (incomplete) number > in INVITE message to freeswitch, which responds with '484 address > incomplete', then softswitch send another INVITE with more digits. > Freeswitch then can send another 484, and after some time (enough > digits collected), proceed with usual call establishment. > > -- > Timur Irmatov, xmpp:irmatov at jabber.ru > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Fri Mar 12 07:55:29 2010 From: msc at freeswitch.org (Michael S Collins) Date: Fri, 12 Mar 2010 07:55:29 -0800 Subject: [Freeswitch-users] UK ring tone Message-ID: You can set it in the dialplan prior to transferring or bridging the incoming call. Sent from my iPhone On Mar 12, 2010, at 2:22 AM, Gavin Henry wrote: > Hi, > > I've checked the internal and external sip profiles and think this > needs to be set in autoload switch file as per: > > http://wiki.freeswitch.org/wiki/Variable_transfer_ringback > > I want by default a UK ringtone to be heard when I call a DDI that is > configured on the system. At the moment it sounds like I'm calling the > US. > > Thanks. > > -- http://www.suretecsystems.com/services/openldap/ > http://www.suretectelecom.com > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 ivdreg at gmail.com Fri Mar 12 08:44:57 2010 From: ivdreg at gmail.com (ivdreg ivdreg) Date: Fri, 12 Mar 2010 18:44:57 +0200 Subject: [Freeswitch-users] Attrafax In-Reply-To: References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> Message-ID: Hi Brian and everyone in FS list, Believe or not in some countries FAX is legal document in court and email is not. As a tech guy I hate faxing but I live in world full with lawyer and again because I am tech person when faxing is broken I have problems :( P.S. This is just an opinion and not related to this lovely project ;) 2010/3/9 Brian West > There is no such thing as security when humans are involved in the relay of > information. Thats fact. > > HIPAA is a joke. PCI is a joke... they all don't get it. Humans are > involved its not secure. > > /b > > On Mar 8, 2010, at 4:39 PM, Gabriel Kuri wrote: > > > While I'd love to see FAXing just die, especially with the amount of > headache associated with it, the reality is that specific organizations > still rely on it heavily on a daily basis (ie Health Care and > Banking/Finance Industry). Plus they can legally get away with FAXing > personal data directly between machines, since the FAX transmission doesn't > seem to be directly covered by all their respective privacy regultions (ie > HIPAA, PCI, etc.), unless of course it's a FAX-to-email service. Plus most > of these organizations just don't have the internal expertise to setup > end-to-end encrypted email nor the impetus to deal with it, since FAXing > works fine in their eyes. I think it's going to be around quite a while > longer unless they actually stop making the FAX machines and force people to > use something else. > > > > Cheers, > > Gabe > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100312/b9009f38/attachment.html From ivanov.maxim at gmail.com Fri Mar 12 09:30:34 2010 From: ivanov.maxim at gmail.com (Max Ivanov) Date: Fri, 12 Mar 2010 17:30:34 +0000 Subject: [Freeswitch-users] Multiple gateways dial string and user busy In-Reply-To: <4d15ff861002260838v6aa624a1t398eb50bddc75ab1@mail.gmail.com> References: <87f2f3b91002251149m13c0d961k722dd3375f46b6e8@mail.gmail.com> <4d15ff861002260838v6aa624a1t398eb50bddc75ab1@mail.gmail.com> Message-ID: 2010/2/26 Kristian Kielhofner : > http://wiki.freeswitch.org/wiki/Channel_Variables#failure_causes Doesn't help =( After getting first USER_BUSY it still makes call via second part of dialstring. originate {failure_causes=USER_BUSY}sofia/gateway/panas111/223|sofia/gateway/panas112/223 &playback(local_stream://moh) Relevant log part is following: 2010-03-12 20:26:00.490396 [DEBUG] switch_ivr_originate.c:1176 variable string 0 = [failure_causes=USER_BUSY] 2010-03-12 20:26:00.494260 [NOTICE] switch_channel.c:613 New Channel sofia/internal/223 [35e8382d-e3fd-4190-b625-47f61ae6be16] 2010-03-12 20:26:00.494260 [DEBUG] mod_sofia.c:3020 (sofia/internal/223) State Change CS_NEW -> CS_INIT freeswitch at internal> 2010-03-12 20:26:00.494260 [DEBUG] switch_core_session.c:1000 Send signal sofia/internal/223 [BREAK] 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:306 (sofia/internal/223) Running State Change CS_INIT 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:330 (sofia/internal/223) State INIT 2010-03-12 20:26:00.494260 [DEBUG] mod_sofia.c:83 sofia/internal/223 SOFIA INIT 2010-03-12 20:26:00.494260 [DEBUG] mod_sofia.c:111 (sofia/internal/223) State Change CS_INIT -> CS_ROUTING 2010-03-12 20:26:00.494260 [DEBUG] switch_core_session.c:1000 Send signal sofia/internal/223 [BREAK] 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:330 (sofia/internal/223) State INIT going to sleep 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:306 (sofia/internal/223) Running State Change CS_ROUTING 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:333 (sofia/internal/223) State ROUTING 2010-03-12 20:26:00.494260 [DEBUG] mod_sofia.c:130 sofia/internal/223 SOFIA ROUTING 2010-03-12 20:26:00.494260 [DEBUG] switch_ivr_originate.c:66 (sofia/internal/223) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2010-03-12 20:26:00.494260 [DEBUG] switch_core_session.c:1000 Send signal sofia/internal/223 [BREAK] 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:333 (sofia/internal/223) State ROUTING going to sleep 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:306 (sofia/internal/223) Running State Change CS_CONSUME_MEDIA 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:352 (sofia/internal/223) State CONSUME_MEDIA 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:352 (sofia/internal/223) State CONSUME_MEDIA going to sleep 2010-03-12 20:26:00.494260 [DEBUG] sofia.c:3583 Channel sofia/internal/223 entering state [calling][0] 2010-03-12 20:26:00.517975 [DEBUG] sofia.c:3583 Channel sofia/internal/223 entering state [calling][0] 2010-03-12 20:26:00.550450 [DEBUG] sofia.c:3583 Channel sofia/internal/223 entering state [terminated][486] 2010-03-12 20:26:00.550450 [NOTICE] sofia.c:4149 Hangup sofia/internal/223 [CS_CONSUME_MEDIA] [USER_BUSY] 2010-03-12 20:26:00.550450 [DEBUG] switch_channel.c:1896 Send signal sofia/internal/223 [KILL] 2010-03-12 20:26:00.550450 [DEBUG] switch_core_session.c:1000 Send signal sofia/internal/223 [BREAK] 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:451 thread mismatch skipping state handler. 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:306 (sofia/internal/223) Running State Change CS_HANGUP 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:478 (sofia/internal/223) State HANGUP 2010-03-12 20:26:00.550450 [DEBUG] mod_sofia.c:318 sofia/internal/223 Overriding SIP cause 486 with 486 from the other leg 2010-03-12 20:26:00.550450 [DEBUG] mod_sofia.c:350 Channel sofia/internal/223 hanging up, cause: USER_BUSY 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:46 sofia/internal/223 Standard HANGUP, cause: USER_BUSY 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:478 (sofia/internal/223) State HANGUP going to sleep 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:325 (sofia/internal/223) State Change CS_HANGUP -> CS_REPORTING 2010-03-12 20:26:00.550450 [DEBUG] switch_core_session.c:1000 Send signal sofia/internal/223 [BREAK] 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:306 (sofia/internal/223) Running State Change CS_REPORTING 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:569 (sofia/internal/223) State REPORTING 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:53 sofia/internal/223 Standard REPORTING, cause: USER_BUSY 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:569 (sofia/internal/223) State REPORTING going to sleep 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:319 (sofia/internal/223) State Change CS_REPORTING -> CS_DESTROY 2010-03-12 20:26:00.550450 [DEBUG] switch_core_session.c:1000 Send signal sofia/internal/223 [BREAK] 2010-03-12 20:26:00.550450 [DEBUG] switch_core_session.c:1137 Session 44644 (sofia/internal/223) Locked, Waiting on external entities 2010-03-12 20:26:00.550450 [DEBUG] switch_ivr_originate.c:2467 Originate Resulted in Error Cause: 17 [USER_BUSY] 2010-03-12 20:26:00.550450 [NOTICE] switch_core_session.c:1155 Session 44644 (sofia/internal/223) Ended 2010-03-12 20:26:00.550450 [NOTICE] switch_core_session.c:1157 Close Channel sofia/internal/223 [CS_DESTROY] 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/223) Running State Change CS_DESTROY 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:426 (sofia/internal/223) State DESTROY 2010-03-12 20:26:00.550450 [DEBUG] mod_sofia.c:267 sofia/internal/223 SOFIA DESTROY 2010-03-12 20:26:00.550450 [NOTICE] switch_channel.c:613 New Channel sofia/internal/223 [c8fdd3e0-d905-4f02-8955-d21d0bddf925] 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:60 sofia/internal/223 Standard DESTROY 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:426 (sofia/internal/223) State DESTROY going to sleep 2010-03-12 20:26:00.550450 [DEBUG] mod_sofia.c:3020 (sofia/internal/223) State Change CS_NEW -> CS_INIT 2010-03-12 20:26:00.550450 [DEBUG] switch_core_session.c:1000 Send signal sofia/internal/223 [BREAK] 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:306 (sofia/internal/223) Running State Change CS_INIT 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:330 (sofia/internal/223) State INIT 2010-03-12 20:26:00.550450 [DEBUG] mod_sofia.c:83 sofia/internal/223 SOFIA INIT 2010-03-12 20:26:00.554707 [DEBUG] mod_sofia.c:111 (sofia/internal/223) State Change CS_INIT -> CS_ROUTING 2010-03-12 20:26:00.554707 [DEBUG] switch_core_session.c:1000 Send signal sofia/internal/223 [BREAK] 2010-03-12 20:26:00.554707 [DEBUG] sofia.c:3583 Channel sofia/internal/223 entering state [calling][0] 2010-03-12 20:26:00.554707 [DEBUG] switch_core_state_machine.c:330 (sofia/internal/223) State INIT going to sleep 2010-03-12 20:26:00.554707 [DEBUG] switch_core_state_machine.c:306 (sofia/internal/223) Running State Change CS_ROUTING 2010-03-12 20:26:00.554707 [DEBUG] switch_core_state_machine.c:333 (sofia/internal/223) State ROUTING 2010-03-12 20:26:00.554707 [DEBUG] mod_sofia.c:130 sofia/internal/223 SOFIA ROUTING 2010-03-12 20:26:00.554707 [DEBUG] switch_ivr_originate.c:66 (sofia/internal/223) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2010-03-12 20:26:00.554707 [DEBUG] switch_core_session.c:1000 Send signal sofia/internal/223 [BREAK] 2010-03-12 20:26:00.554707 [DEBUG] switch_core_state_machine.c:333 (sofia/internal/223) State ROUTING going to sleep 2010-03-12 20:26:00.554707 [DEBUG] switch_core_state_machine.c:306 (sofia/internal/223) Running State Change CS_CONSUME_MEDIA 2010-03-12 20:26:00.554707 [DEBUG] switch_core_state_machine.c:352 (sofia/internal/223) State CONSUME_MEDIA 2010-03-12 20:26:00.554707 [DEBUG] switch_core_state_machine.c:352 (sofia/internal/223) State CONSUME_MEDIA going to sleep 2010-03-12 20:26:00.578400 [DEBUG] sofia.c:3583 Channel sofia/internal/223 entering state [calling][0] 2010-03-12 20:26:00.614451 [DEBUG] sofia.c:3583 Channel sofia/internal/223 entering state [terminated][486] 2010-03-12 20:26:00.614451 [NOTICE] sofia.c:4149 Hangup sofia/internal/223 [CS_CONSUME_MEDIA] [USER_BUSY] 2010-03-12 20:26:00.614451 [DEBUG] switch_channel.c:1896 Send signal sofia/internal/223 [KILL] 2010-03-12 20:26:00.614451 [DEBUG] switch_core_state_machine.c:306 (sofia/internal/223) Running State Change CS_HANGUP 2010-03-12 20:26:00.614451 [DEBUG] switch_core_state_machine.c:478 (sofia/internal/223) State HANGUP 2010-03-12 20:26:00.614451 [DEBUG] switch_core_session.c:1000 Send signal sofia/internal/223 [BREAK] 2010-03-12 20:26:00.614451 [DEBUG] switch_core_state_machine.c:451 thread mismatch skipping state handler. 2010-03-12 20:26:00.618419 [DEBUG] mod_sofia.c:318 sofia/internal/223 Overriding SIP cause 486 with 486 from the other leg 2010-03-12 20:26:00.618419 [DEBUG] mod_sofia.c:350 Channel sofia/internal/223 hanging up, cause: USER_BUSY 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:46 sofia/internal/223 Standard HANGUP, cause: USER_BUSY 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:478 (sofia/internal/223) State HANGUP going to sleep 2010-03-12 20:26:00.618419 [DEBUG] switch_ivr_originate.c:2467 Originate Resulted in Error Cause: 17 [USER_BUSY] 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:325 (sofia/internal/223) State Change CS_HANGUP -> CS_REPORTING 2010-03-12 20:26:00.618419 [DEBUG] switch_core_session.c:1000 Send signal sofia/internal/223 [BREAK] 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:306 (sofia/internal/223) Running State Change CS_REPORTING 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:569 (sofia/internal/223) State REPORTING 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:53 sofia/internal/223 Standard REPORTING, cause: USER_BUSY 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:569 (sofia/internal/223) State REPORTING going to sleep 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:319 (sofia/internal/223) State Change CS_REPORTING -> CS_DESTROY 2010-03-12 20:26:00.618419 [DEBUG] switch_core_session.c:1000 Send signal sofia/internal/223 [BREAK] 2010-03-12 20:26:00.618419 [DEBUG] switch_core_session.c:1137 Session 44645 (sofia/internal/223) Locked, Waiting on external entities 2010-03-12 20:26:00.618419 [NOTICE] switch_core_session.c:1155 Session 44645 (sofia/internal/223) Ended 2010-03-12 20:26:00.618419 [NOTICE] switch_core_session.c:1157 Close Channel sofia/internal/223 [CS_DESTROY] 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/223) Running State Change CS_DESTROY 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:426 (sofia/internal/223) State DESTROY 2010-03-12 20:26:00.618419 [DEBUG] mod_sofia.c:267 sofia/internal/223 SOFIA DESTROY 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:60 sofia/internal/223 Standard DESTROY 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:426 (sofia/internal/223) State DESTROY going to sleep From anthony.minessale at gmail.com Fri Mar 12 09:40:09 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 12 Mar 2010 11:40:09 -0600 Subject: [Freeswitch-users] Multiple gateways dial string and user busy In-Reply-To: References: <87f2f3b91002251149m13c0d961k722dd3375f46b6e8@mail.gmail.com> <4d15ff861002260838v6aa624a1t398eb50bddc75ab1@mail.gmail.com> Message-ID: <191c3a031003120940v65567d54w827a5ff0ec069e59@mail.gmail.com> you need fail_on_single_reject=true inside the {} as well On Fri, Mar 12, 2010 at 11:30 AM, Max Ivanov wrote: > 2010/2/26 Kristian Kielhofner : > > http://wiki.freeswitch.org/wiki/Channel_Variables#failure_causes > > Doesn't help =( After getting first USER_BUSY it still makes call via > second part of dialstring. > > originate > {failure_causes=USER_BUSY}sofia/gateway/panas111/223|sofia/gateway/panas112/223 > &playback(local_stream://moh) > > Relevant log part is following: > > 2010-03-12 20:26:00.490396 [DEBUG] switch_ivr_originate.c:1176 > variable string 0 = [failure_causes=USER_BUSY] > 2010-03-12 20:26:00.494260 [NOTICE] switch_channel.c:613 New Channel > sofia/internal/223 [35e8382d-e3fd-4190-b625-47f61ae6be16] > 2010-03-12 20:26:00.494260 [DEBUG] mod_sofia.c:3020 > (sofia/internal/223) State Change CS_NEW -> CS_INIT > freeswitch at internal> 2010-03-12 20:26:00.494260 [DEBUG] > switch_core_session.c:1000 Send signal sofia/internal/223 [BREAK] > 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:306 > (sofia/internal/223) Running State Change CS_INIT > 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:330 > (sofia/internal/223) State INIT > 2010-03-12 20:26:00.494260 [DEBUG] mod_sofia.c:83 sofia/internal/223 > SOFIA INIT > 2010-03-12 20:26:00.494260 [DEBUG] mod_sofia.c:111 > (sofia/internal/223) State Change CS_INIT -> CS_ROUTING > 2010-03-12 20:26:00.494260 [DEBUG] switch_core_session.c:1000 Send > signal sofia/internal/223 [BREAK] > 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:330 > (sofia/internal/223) State INIT going to sleep > 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:306 > (sofia/internal/223) Running State Change CS_ROUTING > 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:333 > (sofia/internal/223) State ROUTING > 2010-03-12 20:26:00.494260 [DEBUG] mod_sofia.c:130 sofia/internal/223 > SOFIA ROUTING > 2010-03-12 20:26:00.494260 [DEBUG] switch_ivr_originate.c:66 > (sofia/internal/223) State Change CS_ROUTING -> CS_CONSUME_MEDIA > 2010-03-12 20:26:00.494260 [DEBUG] switch_core_session.c:1000 Send > signal sofia/internal/223 [BREAK] > 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:333 > (sofia/internal/223) State ROUTING going to sleep > 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:306 > (sofia/internal/223) Running State Change CS_CONSUME_MEDIA > 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:352 > (sofia/internal/223) State CONSUME_MEDIA > 2010-03-12 20:26:00.494260 [DEBUG] switch_core_state_machine.c:352 > (sofia/internal/223) State CONSUME_MEDIA going to sleep > 2010-03-12 20:26:00.494260 [DEBUG] sofia.c:3583 Channel > sofia/internal/223 entering state [calling][0] > 2010-03-12 20:26:00.517975 [DEBUG] sofia.c:3583 Channel > sofia/internal/223 entering state [calling][0] > 2010-03-12 20:26:00.550450 [DEBUG] sofia.c:3583 Channel > sofia/internal/223 entering state [terminated][486] > 2010-03-12 20:26:00.550450 [NOTICE] sofia.c:4149 Hangup > sofia/internal/223 [CS_CONSUME_MEDIA] [USER_BUSY] > 2010-03-12 20:26:00.550450 [DEBUG] switch_channel.c:1896 Send signal > sofia/internal/223 [KILL] > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_session.c:1000 Send > signal sofia/internal/223 [BREAK] > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:451 > thread mismatch skipping state handler. > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:306 > (sofia/internal/223) Running State Change CS_HANGUP > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:478 > (sofia/internal/223) State HANGUP > 2010-03-12 20:26:00.550450 [DEBUG] mod_sofia.c:318 sofia/internal/223 > Overriding SIP cause 486 with 486 from the other leg > 2010-03-12 20:26:00.550450 [DEBUG] mod_sofia.c:350 Channel > sofia/internal/223 hanging up, cause: USER_BUSY > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:46 > sofia/internal/223 Standard HANGUP, cause: USER_BUSY > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:478 > (sofia/internal/223) State HANGUP going to sleep > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:325 > (sofia/internal/223) State Change CS_HANGUP -> CS_REPORTING > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_session.c:1000 Send > signal sofia/internal/223 [BREAK] > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:306 > (sofia/internal/223) Running State Change CS_REPORTING > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:569 > (sofia/internal/223) State REPORTING > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:53 > sofia/internal/223 Standard REPORTING, cause: USER_BUSY > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:569 > (sofia/internal/223) State REPORTING going to sleep > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:319 > (sofia/internal/223) State Change CS_REPORTING -> CS_DESTROY > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_session.c:1000 Send > signal sofia/internal/223 [BREAK] > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_session.c:1137 Session > 44644 (sofia/internal/223) Locked, Waiting on external entities > 2010-03-12 20:26:00.550450 [DEBUG] switch_ivr_originate.c:2467 > Originate Resulted in Error Cause: 17 [USER_BUSY] > 2010-03-12 20:26:00.550450 [NOTICE] switch_core_session.c:1155 Session > 44644 (sofia/internal/223) Ended > 2010-03-12 20:26:00.550450 [NOTICE] switch_core_session.c:1157 Close > Channel sofia/internal/223 [CS_DESTROY] > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:415 > (sofia/internal/223) Running State Change CS_DESTROY > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:426 > (sofia/internal/223) State DESTROY > 2010-03-12 20:26:00.550450 [DEBUG] mod_sofia.c:267 sofia/internal/223 > SOFIA DESTROY > 2010-03-12 20:26:00.550450 [NOTICE] switch_channel.c:613 New Channel > sofia/internal/223 [c8fdd3e0-d905-4f02-8955-d21d0bddf925] > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:60 > sofia/internal/223 Standard DESTROY > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:426 > (sofia/internal/223) State DESTROY going to sleep > 2010-03-12 20:26:00.550450 [DEBUG] mod_sofia.c:3020 > (sofia/internal/223) State Change CS_NEW -> CS_INIT > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_session.c:1000 Send > signal sofia/internal/223 [BREAK] > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:306 > (sofia/internal/223) Running State Change CS_INIT > 2010-03-12 20:26:00.550450 [DEBUG] switch_core_state_machine.c:330 > (sofia/internal/223) State INIT > 2010-03-12 20:26:00.550450 [DEBUG] mod_sofia.c:83 sofia/internal/223 > SOFIA INIT > 2010-03-12 20:26:00.554707 [DEBUG] mod_sofia.c:111 > (sofia/internal/223) State Change CS_INIT -> CS_ROUTING > 2010-03-12 20:26:00.554707 [DEBUG] switch_core_session.c:1000 Send > signal sofia/internal/223 [BREAK] > 2010-03-12 20:26:00.554707 [DEBUG] sofia.c:3583 Channel > sofia/internal/223 entering state [calling][0] > 2010-03-12 20:26:00.554707 [DEBUG] switch_core_state_machine.c:330 > (sofia/internal/223) State INIT going to sleep > 2010-03-12 20:26:00.554707 [DEBUG] switch_core_state_machine.c:306 > (sofia/internal/223) Running State Change CS_ROUTING > 2010-03-12 20:26:00.554707 [DEBUG] switch_core_state_machine.c:333 > (sofia/internal/223) State ROUTING > 2010-03-12 20:26:00.554707 [DEBUG] mod_sofia.c:130 sofia/internal/223 > SOFIA ROUTING > 2010-03-12 20:26:00.554707 [DEBUG] switch_ivr_originate.c:66 > (sofia/internal/223) State Change CS_ROUTING -> CS_CONSUME_MEDIA > 2010-03-12 20:26:00.554707 [DEBUG] switch_core_session.c:1000 Send > signal sofia/internal/223 [BREAK] > 2010-03-12 20:26:00.554707 [DEBUG] switch_core_state_machine.c:333 > (sofia/internal/223) State ROUTING going to sleep > 2010-03-12 20:26:00.554707 [DEBUG] switch_core_state_machine.c:306 > (sofia/internal/223) Running State Change CS_CONSUME_MEDIA > 2010-03-12 20:26:00.554707 [DEBUG] switch_core_state_machine.c:352 > (sofia/internal/223) State CONSUME_MEDIA > 2010-03-12 20:26:00.554707 [DEBUG] switch_core_state_machine.c:352 > (sofia/internal/223) State CONSUME_MEDIA going to sleep > 2010-03-12 20:26:00.578400 [DEBUG] sofia.c:3583 Channel > sofia/internal/223 entering state [calling][0] > 2010-03-12 20:26:00.614451 [DEBUG] sofia.c:3583 Channel > sofia/internal/223 entering state [terminated][486] > 2010-03-12 20:26:00.614451 [NOTICE] sofia.c:4149 Hangup > sofia/internal/223 [CS_CONSUME_MEDIA] [USER_BUSY] > 2010-03-12 20:26:00.614451 [DEBUG] switch_channel.c:1896 Send signal > sofia/internal/223 [KILL] > 2010-03-12 20:26:00.614451 [DEBUG] switch_core_state_machine.c:306 > (sofia/internal/223) Running State Change CS_HANGUP > 2010-03-12 20:26:00.614451 [DEBUG] switch_core_state_machine.c:478 > (sofia/internal/223) State HANGUP > 2010-03-12 20:26:00.614451 [DEBUG] switch_core_session.c:1000 Send > signal sofia/internal/223 [BREAK] > 2010-03-12 20:26:00.614451 [DEBUG] switch_core_state_machine.c:451 > thread mismatch skipping state handler. > 2010-03-12 20:26:00.618419 [DEBUG] mod_sofia.c:318 sofia/internal/223 > Overriding SIP cause 486 with 486 from the other leg > 2010-03-12 20:26:00.618419 [DEBUG] mod_sofia.c:350 Channel > sofia/internal/223 hanging up, cause: USER_BUSY > 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:46 > sofia/internal/223 Standard HANGUP, cause: USER_BUSY > 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:478 > (sofia/internal/223) State HANGUP going to sleep > 2010-03-12 20:26:00.618419 [DEBUG] switch_ivr_originate.c:2467 > Originate Resulted in Error Cause: 17 [USER_BUSY] > 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:325 > (sofia/internal/223) State Change CS_HANGUP -> CS_REPORTING > 2010-03-12 20:26:00.618419 [DEBUG] switch_core_session.c:1000 Send > signal sofia/internal/223 [BREAK] > 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:306 > (sofia/internal/223) Running State Change CS_REPORTING > 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:569 > (sofia/internal/223) State REPORTING > 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:53 > sofia/internal/223 Standard REPORTING, cause: USER_BUSY > 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:569 > (sofia/internal/223) State REPORTING going to sleep > 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:319 > (sofia/internal/223) State Change CS_REPORTING -> CS_DESTROY > 2010-03-12 20:26:00.618419 [DEBUG] switch_core_session.c:1000 Send > signal sofia/internal/223 [BREAK] > 2010-03-12 20:26:00.618419 [DEBUG] switch_core_session.c:1137 Session > 44645 (sofia/internal/223) Locked, Waiting on external entities > 2010-03-12 20:26:00.618419 [NOTICE] switch_core_session.c:1155 Session > 44645 (sofia/internal/223) Ended > 2010-03-12 20:26:00.618419 [NOTICE] switch_core_session.c:1157 Close > Channel sofia/internal/223 [CS_DESTROY] > 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:415 > (sofia/internal/223) Running State Change CS_DESTROY > 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:426 > (sofia/internal/223) State DESTROY > 2010-03-12 20:26:00.618419 [DEBUG] mod_sofia.c:267 sofia/internal/223 > SOFIA DESTROY > 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:60 > sofia/internal/223 Standard DESTROY > 2010-03-12 20:26:00.618419 [DEBUG] switch_core_state_machine.c:426 > (sofia/internal/223) State DESTROY going to sleep > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100312/25581146/attachment-0001.html From ivanov.maxim at gmail.com Fri Mar 12 10:46:06 2010 From: ivanov.maxim at gmail.com (Max Ivanov) Date: Fri, 12 Mar 2010 18:46:06 +0000 Subject: [Freeswitch-users] Multiple gateways dial string and user busy In-Reply-To: <191c3a031003120940v65567d54w827a5ff0ec069e59@mail.gmail.com> References: <87f2f3b91002251149m13c0d961k722dd3375f46b6e8@mail.gmail.com> <4d15ff861002260838v6aa624a1t398eb50bddc75ab1@mail.gmail.com> <191c3a031003120940v65567d54w827a5ff0ec069e59@mail.gmail.com> Message-ID: > you need fail_on_single_reject=true inside the {} as well brilliant! works like a charm! From sean at obscuradigital.com Fri Mar 12 14:18:00 2010 From: sean at obscuradigital.com (Sean Holt) Date: Fri, 12 Mar 2010 14:18:00 -0800 Subject: [Freeswitch-users] DTMF problem Message-ID: Question: I have FS 1.0.5 installed on a Centos 5.4 server box. I hope there?s a simple answer to this question. I?m having problems in particular when connecting to a outside conference line on a completely different phone system entering numbers that the receiver should accept. For example, call into a conference line, auto-attendent ask for the pin number, I then enter pin number, but The receiving ivr tells me I?ve entered the wrong pin number. I?m assuming that I?ve reached a timeout and the ivr is letting me know that I?ve entered the incorrect pin number. My thinking is that this is a DTMF issue. I?m new to FS so not sure if I need to enable something in my dialplan or not. Thoughts? Thanks in advance Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100312/fceb8ae0/attachment.html From anthony.minessale at gmail.com Fri Mar 12 14:32:48 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 12 Mar 2010 16:32:48 -0600 Subject: [Freeswitch-users] DTMF problem In-Reply-To: References: Message-ID: <191c3a031003121432l6fa95adcvc1693a268f9b289@mail.gmail.com> Yet its quite possible. If you are using a provider it can be a problem with them as well. There are numerous methods to debug DTMF issues on our wiki page. On Fri, Mar 12, 2010 at 4:18 PM, Sean Holt wrote: > Question: > > I have FS 1.0.5 installed on a Centos 5.4 server box. I hope there?s a > simple answer to this question. > > I?m having problems in particular when connecting to a outside conference > line on a completely different phone system entering numbers that the > receiver should accept. For example, call into a conference line, > auto-attendent ask for the pin number, I then enter pin number, but The > receiving ivr tells me I?ve entered the wrong pin number. I?m assuming that > I?ve reached a timeout and the ivr is letting me know that I?ve entered the > incorrect pin number. My thinking is that this is a DTMF issue. I?m new to > FS so not sure if I need to enable something in my dialplan or not. > > Thoughts? > Thanks in advance > Sean > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100312/4782e378/attachment.html From gavin.henry at gmail.com Fri Mar 12 14:38:17 2010 From: gavin.henry at gmail.com (Gavin Henry) Date: Fri, 12 Mar 2010 22:38:17 +0000 Subject: [Freeswitch-users] UK ring tone In-Reply-To: References: Message-ID: <13ca621c1003121438n5974d599sdaac4bb40211de74@mail.gmail.com> Ok, not system wide? Thanks, Gavin. On 12/03/2010, Michael S Collins wrote: > You can set it in the dialplan prior to transferring or bridging the > incoming call. > > Sent from my iPhone > > On Mar 12, 2010, at 2:22 AM, Gavin Henry wrote: > >> Hi, >> >> I've checked the internal and external sip profiles and think this >> needs to be set in autoload switch file as per: >> >> http://wiki.freeswitch.org/wiki/Variable_transfer_ringback >> >> I want by default a UK ringtone to be heard when I call a DDI that is >> configured on the system. At the moment it sounds like I'm calling the >> US. >> >> Thanks. >> >> -- http://www.suretecsystems.com/services/openldap/ >> http://www.suretectelecom.com >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > -- Sent from my mobile device http://www.suretecsystems.com/services/openldap/ http://www.suretectelecom.com From anthony.minessale at gmail.com Fri Mar 12 15:05:40 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 12 Mar 2010 17:05:40 -0600 Subject: [Freeswitch-users] UK ring tone In-Reply-To: <13ca621c1003121438n5974d599sdaac4bb40211de74@mail.gmail.com> References: <13ca621c1003121438n5974d599sdaac4bb40211de74@mail.gmail.com> Message-ID: <191c3a031003121505q346a363dv87103eda6cbf6f1b@mail.gmail.com> you can set it globally in vars.xml too On Fri, Mar 12, 2010 at 4:38 PM, Gavin Henry wrote: > Ok, not system wide? > > Thanks, > > Gavin. > > On 12/03/2010, Michael S Collins wrote: > > You can set it in the dialplan prior to transferring or bridging the > > incoming call. > > > > Sent from my iPhone > > > > On Mar 12, 2010, at 2:22 AM, Gavin Henry wrote: > > > >> Hi, > >> > >> I've checked the internal and external sip profiles and think this > >> needs to be set in autoload switch file as per: > >> > >> http://wiki.freeswitch.org/wiki/Variable_transfer_ringback > >> > >> I want by default a UK ringtone to be heard when I call a DDI that is > >> configured on the system. At the moment it sounds like I'm calling the > >> US. > >> > >> Thanks. > >> > >> -- http://www.suretecsystems.com/services/openldap/ > >> http://www.suretectelecom.com > >> > >> _______________________________________________ > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at 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 > > > > -- > Sent from my mobile device > > http://www.suretecsystems.com/services/openldap/ > http://www.suretectelecom.com > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100312/087d050f/attachment.html From brian at freeswitch.org Fri Mar 12 15:09:29 2010 From: brian at freeswitch.org (Brian West) Date: Fri, 12 Mar 2010 17:09:29 -0600 Subject: [Freeswitch-users] UK ring tone In-Reply-To: <191c3a031003121505q346a363dv87103eda6cbf6f1b@mail.gmail.com> References: <13ca621c1003121438n5974d599sdaac4bb40211de74@mail.gmail.com> <191c3a031003121505q346a363dv87103eda6cbf6f1b@mail.gmail.com> Message-ID: in fact an example for uk-ring is already there. /b On Mar 12, 2010, at 5:05 PM, Anthony Minessale wrote: > you can set it globally in vars.xml too > > > On Fri, Mar 12, 2010 at 4:38 PM, Gavin Henry wrote: > Ok, not system wide? > > Thanks, > > Gavin. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100312/f5a29286/attachment.html From m.sobkow at marketelsystems.com Fri Mar 12 15:48:25 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Fri, 12 Mar 2010 17:48:25 -0600 Subject: [Freeswitch-users] OpenZap/Sangoma drivers Message-ID: <4B9AD2C9.1010004@marketelsystems.com> I filed a bug report this morning because of a Freeswitch build problem, but the resolution was to update the OpenZap/Sangoma drivers. Updating the Sangoma drivers was a little hairy because of our project build process needing to be updated, but I got it figured out and got the latest build of Freeswitch installed (svn checkout this morning.) Next I need to re-test the call recordings. From fs-list at communicatefreely.net Fri Mar 12 18:38:08 2010 From: fs-list at communicatefreely.net (Tim St. Pierre) Date: Fri, 12 Mar 2010 21:38:08 -0500 Subject: [Freeswitch-users] voicemail_greeting_number stickiness Message-ID: <4B9AFA90.6050409@communicatefreely.net> Hello all, I'm trying to set up our voice mail system so that greetings can be mapped to failure conditions, ie. "I'm in my office, but not taking calls" when a phone is busy or in DND mode, but "Sorry I'm not here" if no_answer. I programmed things to set voicemail_greeting_number in the dialplan based on the bridge failure cause set when we rang the phone, but when I execute the voicemail application, it stores that greeting number in the database. I would much rather override for this call only, so that the user can still take advantage of the voicemail application's option to select a greeting. (which would be used as the no answer greeting under normal circumstances). Any thoughts? -Tim From jmesquita at freeswitch.org Fri Mar 12 20:23:19 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Sat, 13 Mar 2010 01:23:19 -0300 Subject: [Freeswitch-users] voicemail_greeting_number stickiness In-Reply-To: <4B9AFA90.6050409@communicatefreely.net> References: <4B9AFA90.6050409@communicatefreely.net> Message-ID: Use hangup hook to set it back to whatever is default? Regards, Jo?o Mesquita FreeSWITCH? Solutions t: +1 (646) 4959927 On Fri, Mar 12, 2010 at 11:38 PM, Tim St. Pierre < fs-list at communicatefreely.net> wrote: > > Hello all, > > I'm trying to set up our voice mail system so that greetings can be mapped > to failure conditions, > ie. "I'm in my office, but not taking calls" when a phone is busy or in DND > mode, but "Sorry I'm not > here" if no_answer. > > I programmed things to set voicemail_greeting_number in the dialplan based > on the bridge failure > cause set when we rang the phone, but when I execute the voicemail > application, it stores that > greeting number in the database. I would much rather override for this > call only, so that the user > can still take advantage of the voicemail application's option to select a > greeting. (which would > be used as the no answer greeting under normal circumstances). > > Any thoughts? > > -Tim > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100313/a67ce66c/attachment.html From fs-list at communicatefreely.net Fri Mar 12 21:34:50 2010 From: fs-list at communicatefreely.net (Tim St. Pierre) Date: Sat, 13 Mar 2010 00:34:50 -0500 Subject: [Freeswitch-users] Gateway context for incoming calls Message-ID: <4B9B23FA.6080103@communicatefreely.net> Hello, Is there a way for incoming calls from a gateway to go to a context other than the default one set in the sofia profile? I need a way to separate calls from providers vs. calls from the public at large. Here's the scenario: Our external sofia profile maps to the public IP address and listens on port 5060. Our providers send calls to this address, but we also need to have anonymous sip calls come in to the public address, on the default port. We want the calls from our SIP trunks to get billed appropriately, and increment our mod_limit counters, etc. If a call comes in from somewhere other than a SIP trunk, we want it to have access to extensions, but be rated as a free call. All our SIP trunks are mapped using static addresses - there isn't any registration or authentication happening in either direction. Each one has a gateway entry. Thanks! -Tim From msc at freeswitch.org Fri Mar 12 22:59:20 2010 From: msc at freeswitch.org (Michael Collins) Date: Fri, 12 Mar 2010 22:59:20 -0800 Subject: [Freeswitch-users] Gateway context for incoming calls In-Reply-To: <4B9B23FA.6080103@communicatefreely.net> References: <4B9B23FA.6080103@communicatefreely.net> Message-ID: <87f2f3b91003122259pabf3d67t48550db89ea0c808@mail.gmail.com> Try sending one of these calls to the info application in your public dialplan. Most likely there will be a few fields which you can key off of in your dialplan conditions. If your providers have static IPs then you can always use the network_addr field to match on. Once you match on a particular IP address (or whichever field) then you can execute the transfer app and send the call to another context altogether: Let us know how it goes. -MC On Fri, Mar 12, 2010 at 9:34 PM, Tim St. Pierre < fs-list at communicatefreely.net> wrote: > Hello, > > Is there a way for incoming calls from a gateway to go to a context other > than the default one set > in the sofia profile? I need a way to separate calls from providers vs. > calls from the public at large. > > Here's the scenario: > > Our external sofia profile maps to the public IP address and listens on > port 5060. Our providers > send calls to this address, but we also need to have anonymous sip calls > come in to the public > address, on the default port. We want the calls from our SIP trunks to get > billed appropriately, > and increment our mod_limit counters, etc. If a call comes in from > somewhere other than a SIP > trunk, we want it to have access to extensions, but be rated as a free > call. > > All our SIP trunks are mapped using static addresses - there isn't any > registration or > authentication happening in either direction. Each one has a gateway > entry. > > Thanks! > > -Tim > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100312/bbb833b8/attachment.html From jason at jasonjgw.net Sat Mar 13 00:51:13 2010 From: jason at jasonjgw.net (Jason White) Date: Sat, 13 Mar 2010 19:51:13 +1100 Subject: [Freeswitch-users] SILK Codec In-Reply-To: <23f91031003092137p689fb8c9nfb05c5613ef5e663@mail.gmail.com> References: <82160CC4-25E5-453F-8FD6-4889F9902682@freeswitch.org> <23f91031003091949n7c598fa9vf714a6b477ab539f@mail.gmail.com> <20100310051344.GA19653@jdc.jasonjgw.net> <23f91031003092137p689fb8c9nfb05c5613ef5e663@mail.gmail.com> Message-ID: <20100313085113.GA32174@jdc.jasonjgw.net> Code has now been posted at https://developer.skype.com/silk/ It appears from that page that there may be patent issues for anything other than testing of the codec, although it is stated elsewhere that the licence terms are royalty-free. To build the module (for those planning to do the aforementioned testing) you need to run make in libs/silk first to compile the library, then build FreeSWITCH; this will change once the build system is updated appropriately. From steveu at coppice.org Sat Mar 13 02:16:51 2010 From: steveu at coppice.org (Steve Underwood) Date: Sat, 13 Mar 2010 18:16:51 +0800 Subject: [Freeswitch-users] SILK Codec In-Reply-To: <20100313085113.GA32174@jdc.jasonjgw.net> References: <82160CC4-25E5-453F-8FD6-4889F9902682@freeswitch.org> <23f91031003091949n7c598fa9vf714a6b477ab539f@mail.gmail.com> <20100310051344.GA19653@jdc.jasonjgw.net> <23f91031003092137p689fb8c9nfb05c5613ef5e663@mail.gmail.com> <20100313085113.GA32174@jdc.jasonjgw.net> Message-ID: <4B9B6613.4040901@coppice.org> On 03/13/2010 04:51 PM, Jason White wrote: > Code has now been posted at https://developer.skype.com/silk/ > > It appears from that page that there may be patent issues for anything other > than testing of the codec, although it is stated elsewhere that the licence > terms are royalty-free. > That sounds like they are trying for a similar arrangement Polycom has with G.722.1. You can use G.722.1 royalty free, if you ask for a licence first and comply with some simple conditions - mostly ensuring that you properly follow the G.722.1 spec. It works well enough for most purposes, though it conflicts with some free licences, and there have been some disagreements. For example, Polycom said it was OK for Freeswitch to be distributed with the source code for G.722.1 bundled. It seems Digium believe Asterisk may not be distributed with the source code for G.722.1. > To build the module (for those planning to do the aforementioned testing) you > need to run make in libs/silk first to compile the library, then build > FreeSWITCH; this will change once the build system is updated appropriately. > > Steve From brian at freeswitch.org Sat Mar 13 08:08:37 2010 From: brian at freeswitch.org (Brian West) Date: Sat, 13 Mar 2010 10:08:37 -0600 Subject: [Freeswitch-users] Gateway context for incoming calls In-Reply-To: <87f2f3b91003122259pabf3d67t48550db89ea0c808@mail.gmail.com> References: <4B9B23FA.6080103@communicatefreely.net> <87f2f3b91003122259pabf3d67t48550db89ea0c808@mail.gmail.com> Message-ID: <47ED6B59-7300-467B-B879-643266018395@freeswitch.org> Its worse.. the only way you can map an inbound call back to the gateway in question is the far side has to call the registered contact you sent on outbound registration. Most services don't follow this rule. /b On Mar 13, 2010, at 12:59 AM, Michael Collins wrote: > Try sending one of these calls to the info application in your public dialplan. Most likely there will be a few fields which you can key off of in your dialplan conditions. If your providers have static IPs then you can always use the network_addr field to match on. Once you match on a particular IP address (or whichever field) then you can execute the transfer app and send the call to another context altogether: > > > > > > > > > Let us know how it goes. > -MC From gavin.henry at gmail.com Sat Mar 13 11:20:31 2010 From: gavin.henry at gmail.com (Gavin Henry) Date: Sat, 13 Mar 2010 19:20:31 +0000 Subject: [Freeswitch-users] UK ring tone In-Reply-To: References: <13ca621c1003121438n5974d599sdaac4bb40211de74@mail.gmail.com> <191c3a031003121505q346a363dv87103eda6cbf6f1b@mail.gmail.com> Message-ID: <13ca621c1003131120n4a322ad1mfa7b910f593b7b5c@mail.gmail.com> Ok, thanks. I think there is a us and fr one by default. Will comment out those and test. Thanks, Gavin. On 12/03/2010, Brian West wrote: > in fact an example for uk-ring is already there. > > /b > > On Mar 12, 2010, at 5:05 PM, Anthony Minessale wrote: > >> you can set it globally in vars.xml too >> >> >> On Fri, Mar 12, 2010 at 4:38 PM, Gavin Henry >> wrote: >> Ok, not system wide? >> >> Thanks, >> >> Gavin. > > -- Sent from my mobile device http://www.suretecsystems.com/services/openldap/ http://www.suretectelecom.com From jbrucehopkins at gmail.com Sat Mar 13 14:56:50 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Sat, 13 Mar 2010 22:56:50 +0000 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: <000001cabfbb$f2114c90$d633e5b0$@co.za> References: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> <8215DEFE-460E-4764-BF96-35FBE820EC11@freeswitch.org> <63837C30-11FB-47E6-8173-3AFEA76A5BB4@gmail.com> <000001cabfbb$f2114c90$d633e5b0$@co.za> Message-ID: Hi Roly, I promised I'd let you know when I got it working - so here it is: As Brian said, doublenat is no longer needed. It looks like I must have just been confusing things horribly by using various things I'd read about, including: These, and who knows what other mucking about I had been doing, must have confused everything as none of this is now necessary. All I did - after a reinstall - to get everything working through double NATs is: 1. In vars.xml 2. Then in prefix/sip_profiles/internal.xml Then as the man says, it just works. I decided not to enable options pings to keep the far-end NAT open to enable calling the remote phone - instead I configured it to send keep-alives. And that's it. I can't believe the knots I was tying myself in. It just works ! cheers Bruce On 9 March 2010 19:08, Roly Maz wrote: > Ah I see... what? Please share and lead this blind man out the FS > wilderness! > > I don't understand...what happens to the external profile? Do you delete > it? > And how do you forward port 5060? > > ...and you thought you were a newbie! > > Any insight would be much appreciated...loving the journey. > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bruce > Hopkins > Sent: 09 March 2010 08:23 AM > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] doublenat outgoing call issue > > Ah I see. I will try again using the internal profile and forwarding > port 5060. Presumably still creating a directory entry to enable the > outside-facing domain to be used. > > Many thanks for your patient help of a newbie Brian. > > Cheers > Bruce > > Please excuse the brevity - sent from my mobile. > > On 8 Mar 2010, at 17:21, Brian West wrote: > > > ok you aren't catching one key thing here.. you no longer need two > > profiles. > > > > /b > > > > On Mar 8, 2010, at 11:12 AM, Bruce Hopkins wrote: > > > >> Hi again, > >> > >> Thanks for the help so far. Unfotrunately I must still be doing > >> something wrong here as I am still having difficulty, and still > >> have the same problem. > >> > >> I updated to build 16938 by means of "make current" > >> > >> I'm not able to use UPNP or NATPMP so changed the port forwarding > >> to use 5080 instead of 5090. > >> > >> I got rid of the doublenat profile in sip_profiles, though I had to > >> retain an entry in the directory /usr/local/freeeswitch/conf/ > >> directory/ext_dns.xml in order to give freeswitch the dns name of > >> the server as a domain for the remote softphone to register on. I > >> left the group name in this entry the same as inthe default entry, > >> so that the remote phone could register on the same extension > >> numbers (100, etc) as in the default build. > >> > >> I still find that, if I initiate a call from the local (on same LAN > >> as freeswitch) phone to the remote phone, I get the message on the > >> CLI: > >> > >> [ERR] switch_ivr_originate.c2389 Cannot create outgoing channel of > >> type [user] cause: [USER_NOT_REGISTERED] > >> > >> One possibly unrelated aside, I also found I needed to uncomment > >> in > >> external.xml, otherwise in the case of a call initiated by the > >> remote phone being hung up by the local phone, freeswitch sent the > >> BYE to the private IP of the remote phone, rather than its public > >> ip - meaning that the remote phone didn't receive the BYE. > >> > >> Any further ideas where I am going wrong here please? > >> > >> thanks again in advance > >> Bruce > > > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100313/fd9fee57/attachment-0001.html From brian at freeswitch.org Sat Mar 13 17:05:40 2010 From: brian at freeswitch.org (Brian West) Date: Sat, 13 Mar 2010 19:05:40 -0600 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: References: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> <8215DEFE-460E-4764-BF96-35FBE820EC11@freeswitch.org> <63837C30-11FB-47E6-8173-3AFEA76A5BB4@gmail.com> <000001cabfbb$f2114c90$d633e5b0$@co.za> Message-ID: <3B76DFA1-6304-4B84-A478-387C1CED9D3C@freeswitch.org> Its a common thing to try too hard. I personally put in countless hours to make this stuff JUST work. ;) Also if you're traversing the nat and you expect to talk to clients behind the nat and outside the nat on the same profile you will be required to prefix both ext-rtp-ip and ext-sip-ip with "autonat:" and make sure local-network-acl is set to localnet.auto... I think thats the one in the defaults too. This gives FreeSWITCH the ability to dynamically lie to the client about which IP is which so that the same profile can talk to clients on either side of the nat. /b On Mar 13, 2010, at 4:56 PM, Bruce Hopkins wrote: > And that's it. I can't believe the knots I was tying myself in. It just works ! From mattdfong at gmail.com Sat Mar 13 17:24:48 2010 From: mattdfong at gmail.com (Matthew Fong) Date: Sat, 13 Mar 2010 17:24:48 -0800 Subject: [Freeswitch-users] Lua Script with mod_vmd, setInputCallback doesn't seem to get called In-Reply-To: <5c9dcbfb1003031904t4586f160ge0daf8c6d07331a7@mail.gmail.com> References: <5c9dcbfb1003011917h393ddde5ha8cc3ec74d0a4d53@mail.gmail.com> <5c9dcbfb1003031904t4586f160ge0daf8c6d07331a7@mail.gmail.com> Message-ID: <4256bf831003131724o324ac8e4m7d6b8a8af70e81c@mail.gmail.com> Hi Michael, the cell phone carriers in the US use a beep tone that is out of the range that is typically detected. i've had success using tone_detect rather than mod_vmd. if my memory serves me correctly 786 is the tone you need to listen for. the same is true for sprint and t-mobile voice mail beeps --matt freeswitch based voice broadcasting - http://www.hellohunter.com/voice_broadcast.php freeswitch based predictive dialing - http://www.hellohunter.com/predictive_dialer.php On Wed, Mar 3, 2010 at 7:04 PM, Michael De Lorenzo < delorenzodesign at gmail.com> wrote: > Has anyone experienced issues with vmd or dtmf with Verizon wireless? I > have another script that doesn't even register digits pressed -- it's like > no keys are pressed at all. > > I've checked the FS log and it doesn't seem to log anything with regard to > the mod_vmd other than an indication of MIN_TIME of 8000 (not sure what that > does exactly). > > Does anyone have any sample scripts available other than what's on the FS > wiki? > > > On Mon, Mar 1, 2010 at 10:17 PM, Michael De Lorenzo < > delorenzodesign at gmail.com> wrote: > >> I've got the following Lua script working in a sense, but the >> InputCallback never seems to get called while the file is being streamed to >> the call recipient. I've tried moving the "vmd start" command and set input >> callback around a bit, but to no avail. I'm testing this against a cell >> phone voice mailbox (Verizon). >> >> >>> freeswitch.consoleLog("info","########################################################\n\n"); >>> >>> number_to_call = argv[1] >>> message_to_play = "/opt/freeswitch/recordings/messages/" .. argv[2] >>> >>> voicemail_detected = false; >>> >>> function onInput(s, type, obj) >>> freeswitch.consoleLog("notice","*********** Type?: " .. type .. " >>> *************\n"); >>> -- freeswitch.consoleLog("notice","*********** VMD?: " .. >>> session:getVariable("vmd_detect") .. " *************\n"); >>> >>> if(type == "event" and voicemail_detected == false) then >>> freeswitch.consoleLog("notice","************ VOICE MAIL/ANSWERING >>> MACHINE DETECTED *************\n"); >>> voicemail_detected = true; >>> return "break"; >>> end >>> end >>> >>> function playbackMessage() >>> sleep_time = 1000; >>> if(voicemail_detected) then >>> sleep_time = 2500; >>> end >>> -- sleep a second >>> session:sleep(sleep_time); >>> -- play a file >>> session:streamFile(message_to_play); >>> end >>> >>> function notify() >>> session = >>> freeswitch.Session("{ignore_early_media=true}sofia/gateway/voicenetwork/1" >>> .. number_to_call) >>> >>> >>> >>> if(session:ready()) then >>> -- answer the call >>> session:answer(); >>> session:setInputCallback("onInput", ""); >>> session:execute("vmd","start"); >>> >>> playbackMessage(); >>> if(voicemail_detected) then >>> freeswitch.consoleLog("notice","************ DOING PLAYBACK >>> FOR VOICEMAIL/ANSWERING MACHINE *************\n"); >>> playbackMessage(); >>> end >>> >>> freeswitch.consoleLog("notice", "********* hanging up session >>> **********\n"); >>> -- hangup >>> session:hangup(); >>> end >>> end >>> >>> notify(); >>> >>> >>> freeswitch.consoleLog("info","########################################################\n\n"); >>> >> >> -- >> Michael De Lorenzo >> > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100313/0dfc5cc9/attachment.html From brian at microcomaustralia.com.au Sat Mar 13 17:53:20 2010 From: brian at microcomaustralia.com.au (Brian May) Date: Sun, 14 Mar 2010 12:53:20 +1100 Subject: [Freeswitch-users] not answering calls on TDM400 port Message-ID: <3c5cf5261003131753y454a419bp609ed55342f8ddb0@mail.gmail.com> Hello, I noticed Freeswitch wasn't answering calls on one of the TDM400 ports yesterday. All other ports seemed to be OK. Nothing showed up on the console, set at debug log level. I restarted Freeswitch and it came good. What should I do if it happens again? Is there any debugging information I can extract from the system? If so how? Thanks -- Brian May From brian at freeswitch.org Sat Mar 13 18:47:21 2010 From: brian at freeswitch.org (Brian West) Date: Sat, 13 Mar 2010 20:47:21 -0600 Subject: [Freeswitch-users] Lua Script with mod_vmd, setInputCallback doesn't seem to get called In-Reply-To: <4256bf831003131724o324ac8e4m7d6b8a8af70e81c@mail.gmail.com> References: <5c9dcbfb1003011917h393ddde5ha8cc3ec74d0a4d53@mail.gmail.com> <5c9dcbfb1003031904t4586f160ge0daf8c6d07331a7@mail.gmail.com> <4256bf831003131724o324ac8e4m7d6b8a8af70e81c@mail.gmail.com> Message-ID: <4EC6125F-683B-409D-B7D6-C8842586BAD2@freeswitch.org> You'll need to file a jira. Include a script that exhibits the behavior. You'll also need to document it fully and the dialplan entry you're using to produce this issue. /b On Mar 13, 2010, at 7:24 PM, Matthew Fong wrote: > Hi Michael, > > the cell phone carriers in the US use a beep tone that is out of the range that is typically detected. i've had success using tone_detect rather than mod_vmd. if my memory serves me correctly 786 is the tone you need to listen for. the same is true for sprint and t-mobile voice mail beeps > > --matt > freeswitch based voice broadcasting - http://www.hellohunter.com/voice_broadcast.php > freeswitch based predictive dialing - http://www.hellohunter.com/predictive_dialer.php -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100313/8961cfd6/attachment.html From brian at microcomaustralia.com.au Sat Mar 13 20:02:25 2010 From: brian at microcomaustralia.com.au (Brian May) Date: Sun, 14 Mar 2010 15:02:25 +1100 Subject: [Freeswitch-users] Possible typo on Openzap.conf wiki page specifying fxs/fxo-channels In-Reply-To: References: <2C33D9D6C1444AAC80950CDF8D38A428@greyhawk.tonecommander.com> <3c5cf5261002231524n4e9af307y80b3accb1ee4ff26@mail.gmail.com> <3c5cf5261002271711t59294b4fm9aebfdf5b48a6b31@mail.gmail.com> Message-ID: <3c5cf5261003132002v715c25a3o945baf6062f4f20@mail.gmail.com> On 1 March 2010 19:10, Fran?ois Legal wrote: > On this one, I would have to check in the code. I don't know if the span > order here makes a difference (my guess is no). Difference isn't so much the order, but one block has tonegroup set (I assume this is for an extension), and the other doesn't. -- Brian May From brian at microcomaustralia.com.au Sat Mar 13 20:11:07 2010 From: brian at microcomaustralia.com.au (Brian May) Date: Sun, 14 Mar 2010 15:11:07 +1100 Subject: [Freeswitch-users] internal/external profiles In-Reply-To: <87f2f3b91002240818q9f95269lc2cee35e8ac60498@mail.gmail.com> References: <3c5cf5261002231627s1dfb04b2m64bf9bfeb3ff171d@mail.gmail.com> <87f2f3b91002240818q9f95269lc2cee35e8ac60498@mail.gmail.com> Message-ID: <3c5cf5261003132011l627f91a8wd953aeb428493fca@mail.gmail.com> On 25 February 2010 03:18, Michael Collins wrote: > No problem. Separating them has a few advantages: security, scalability, and > readability. The first one on the list is definitely the most important. If > you stuff everything in the internal profile it's easier to open yourself up > to toll fraud. Hello, I am still confused as to how using the external profile can help reduce toll fraud. On my system both internal and external have: Also, what happens when freeswitch receives an anonymous connection? Are anonymous connections allowed or rejected? Where is that behaviour controlled? Thanks -- Brian May From brian at microcomaustralia.com.au Sat Mar 13 20:15:00 2010 From: brian at microcomaustralia.com.au (Brian May) Date: Sun, 14 Mar 2010 15:15:00 +1100 Subject: [Freeswitch-users] conferences lead to high server load In-Reply-To: <4B8A300C.4060805@xpirio.com> References: <4B857226.10308@xpirio.com> <191c3a031002241058y517e63fdte0d929b97a33f9ac@mail.gmail.com> <4B8A300C.4060805@xpirio.com> Message-ID: <3c5cf5261003132015q65c61f6cq5a24b5540912c92d@mail.gmail.com> 2010/2/28 Christian L?schenkohl : > problem solved with -vm > with this option we now have the usual low load for 50-70 conference users I can't see any documentation for vm, either here: http://wiki.freeswitch.org/wiki/Command_line or here: huey:/opt/freeswitch/conf# /opt/freeswitch/bin/freeswitch --help these are the optional arguments you can pass to freeswitch -nf -- no forking -u [user] -- specify user to switch to -g [group] -- specify group to switch to -help -- this message -version -- print the version and exit -waste -- allow memory waste -core -- dump cores -hp -- enable high priority settings -vg -- run under valgrind -nosql -- disable internal sql scoreboard -heavy-timer -- Heavy Timer, possibly more accurate but at a cost -nonat -- disable auto nat detection -nocal -- disable clock calibration -nort -- disable clock clock_realtime -stop -- stop freeswitch -nc -- do not output to a console and background -c -- output to a console and stay in the foreground -conf [confdir] -- specify an alternate config dir -log [logdir] -- specify an alternate log dir -run [rundir] -- specify an alternate run dir -db [dbdir] -- specify an alternate db dir -mod [moddir] -- specify an alternate mod dir -htdocs [htdocsdir] -- specify an alternate htdocs dir -scripts [scriptsdir] -- specify an alternate scripts dir What does it do? -- Brian May From sos at sokhapkin.dyndns.org Sat Mar 13 20:26:28 2010 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Sat, 13 Mar 2010 23:26:28 -0500 Subject: [Freeswitch-users] conferences lead to high server load In-Reply-To: <3c5cf5261003132015q65c61f6cq5a24b5540912c92d@mail.gmail.com> References: <4B857226.10308@xpirio.com> <4B8A300C.4060805@xpirio.com> <3c5cf5261003132015q65c61f6cq5a24b5540912c92d@mail.gmail.com> Message-ID: <201003132326.28390.sos@sokhapkin.dyndns.org> -vm option has been removed and is the default behavior now, -heavy-timer option switches to old (pre-1.0.5) way. On Saturday 13 March 2010, Brian May wrote: > 2010/2/28 Christian L?schenkohl : > > problem solved with -vm > > with this option we now have the usual low load for 50-70 conference > > users > > I can't see any documentation for vm, either here: > > http://wiki.freeswitch.org/wiki/Command_line > > or here: > > huey:/opt/freeswitch/conf# /opt/freeswitch/bin/freeswitch --help > these are the optional arguments you can pass to freeswitch > -nf -- no forking > -u [user] -- specify user to switch to > -g [group] -- specify group to switch to > -help -- this message > -version -- print the version and exit > -waste -- allow memory waste > -core -- dump cores > -hp -- enable high priority settings > -vg -- run under valgrind > -nosql -- disable internal sql scoreboard > -heavy-timer -- Heavy Timer, possibly more accurate but at a > cost -nonat -- disable auto nat detection > -nocal -- disable clock calibration > -nort -- disable clock clock_realtime > -stop -- stop freeswitch > -nc -- do not output to a console and background > -c -- output to a console and stay in the foreground > -conf [confdir] -- specify an alternate config dir > -log [logdir] -- specify an alternate log dir > -run [rundir] -- specify an alternate run dir > -db [dbdir] -- specify an alternate db dir > -mod [moddir] -- specify an alternate mod dir > -htdocs [htdocsdir] -- specify an alternate htdocs dir > -scripts [scriptsdir] -- specify an alternate scripts dir > > > > What does it do? > From nepaligas at yahoo.com Sat Mar 13 22:22:14 2010 From: nepaligas at yahoo.com (Prabin Shrestha) Date: Sat, 13 Mar 2010 22:22:14 -0800 (PST) Subject: [Freeswitch-users] problem in sending calls to internal Gateway. Message-ID: <249845.71206.qm@web65402.mail.ac4.yahoo.com> hello, My extension are working properly. But they can't send calls to gateway. I have 2 interfaces, one with public and another with private lan. Gateway is in private lan. Please suggest. My configurations are as follows: /conf/sip_profiles/external.xml: /conf/sip_profiles/internal.xml: haven't made any changes in conf/autoload_configs/acl.conf.xml to route calls from providers, /dialplan/public/providers.xml: gateway is defined at /conf/sip_profiles/internal/gateways.xml: To route internal calls from extensions, /conf/dialplan/default.xml: to route calls from providers, conf/dialplan/inbound_routing.xml: Please help. The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ From dome at tel.co.th Sun Mar 14 05:37:04 2010 From: dome at tel.co.th (Dome Charoenyost) Date: Sun, 14 Mar 2010 19:37:04 +0700 Subject: [Freeswitch-users] Inline and cond Message-ID: <8ccbff061003140537r550234d2j6c6124a6916ea8ec@mail.gmail.com> I try to use cond in my dialplan it's work but when use set b=${b1} it's not work What's wrong ? inline or cond ? Dome C. From yehavi.bourvine at gmail.com Sun Mar 14 08:18:23 2010 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Sun, 14 Mar 2010 17:18:23 +0200 Subject: [Freeswitch-users] Call transfer with Polycom works ok but a call is left on hold? Message-ID: Hello, We have a strange behavior which my users told me today, but I have a feeling it lasts for a long time (we are running now version 16972). User A calls user B on a Polycom. User B press the "transfer" key and calls C who answers. B then press "transfer" again, and now A talks to C. However, B is left with a held call to the voicemail of C... Anyone saw this behaviour? unattended transfer and conference work ok. Thanks! __Yehavi: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/b9f509e1/attachment.html From brian at freeswitch.org Sun Mar 14 10:50:28 2010 From: brian at freeswitch.org (Brian West) Date: Sun, 14 Mar 2010 12:50:28 -0500 Subject: [Freeswitch-users] Call transfer with Polycom works ok but a call is left on hold? In-Reply-To: References: Message-ID: Are you doing this with the latest SVN and default dialplan or are you doing something out of the usual? /b On Mar 14, 2010, at 10:18 AM, Yehavi Bourvine wrote: > Hello, > > We have a strange behavior which my users told me today, but I have a feeling it lasts for a long time (we are running now version 16972). > > User A calls user B on a Polycom. User B press the "transfer" key and calls C who answers. B then press "transfer" again, and now A talks to C. However, B is left with a held call to the voicemail of C... > > Anyone saw this behaviour? unattended transfer and conference work ok. > > Thanks! __Yehavi: From brian at freeswitch.org Sun Mar 14 10:53:55 2010 From: brian at freeswitch.org (Brian West) Date: Sun, 14 Mar 2010 12:53:55 -0500 Subject: [Freeswitch-users] Call transfer with Polycom works ok but a call is left on hold? In-Reply-To: References: Message-ID: <86173DCE-6BE0-4663-B90E-81244587F4C4@freeswitch.org> I can confirm I get the proper behavior. /b On Mar 14, 2010, at 10:18 AM, Yehavi Bourvine wrote: > Hello, > > We have a strange behavior which my users told me today, but I have a feeling it lasts for a long time (we are running now version 16972). > > User A calls user B on a Polycom. User B press the "transfer" key and calls C who answers. B then press "transfer" again, and now A talks to C. However, B is left with a held call to the voicemail of C... > > Anyone saw this behaviour? unattended transfer and conference work ok. > > Thanks! __Yehavi: > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 quentezcorp at gmail.com Fri Mar 12 13:03:28 2010 From: quentezcorp at gmail.com (Quentin CALVEZ) Date: Fri, 12 Mar 2010 22:03:28 +0100 Subject: [Freeswitch-users] js.dll crash on Windows Server 2008 R2 x64 Message-ID: <736e27571003121303x1df9c407w54f0a717ea16bb53@mail.gmail.com> Hello everybody, I've been trying Freeswitch those last days and there is one error that I don't know what to do about. I'm using FusionPBX to manage my freeswitch installation and it works great, however, whenever I try to use a function involving javascript (auto atendants, hunt groups...) the server crashs telling me that the faulty module is js32.dll. I really don't know what to do about it. Could someone help me :) ? Regards. Quentin Calvez -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100312/b30c17c0/attachment-0001.html From roland at haenel.me Sat Mar 13 12:38:26 2010 From: roland at haenel.me (=?ISO-8859-1?Q?Roland_H=E4nel?=) Date: Sat, 13 Mar 2010 21:38:26 +0100 Subject: [Freeswitch-users] Trouble with P-Asserted-Identity header(s) Message-ID: <429591151003131238q1d1531erbefc732b8e813126@mail.gmail.com> Hello, I'm developing a very simple call-through application using FreeSWITCH, but currently I'm stuck because my provider requires me to send a 'P-Asserted-Identity' header for outgoing calls if I want so signal an arbitrary caller ID in the 'From' field. Setup is as follows: - a-leg comes in from an external gateway - dialplan dispatches the call to a perl handler script - perl script looks like this (simplified as much as possible for this description): $num = "02222222"; $session->answer(); $session->setVariable("effective_caller_id_name", "The Redirector"); $session->setVariable("sip_h_P-Asserted-Identity", '< sip:0123456789 at q-loud.net >'); $session->execute("bridge", "sofia/gateway/mygateway/$num); The problem is now that FreeSWITCH correctly insertes a P-Asserted-Identity header as set in the perl script. But there is already an existing P-Asserted-Identity header by default, so I end up with two of them. This is the outgoing INVITE (b-leg): INVITE sip:02222222 at x.x.x.x SIP/2.0 Via: SIP/2.0/UDP x.x.x.x:5080;rport;branch=z9hG4bKca3KS0cQj121N Max-Forwards: 63 From: "The Redirector" >;tag=DBSvZ9NZc750g To: Call-ID: ecc19564-a84d-122d-5aa2-00515343ab02 CSeq: 128071597 INVITE Contact: User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-16952M Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY Supported: timer, precondition, path, replaces Allow-Events: talk, refer Privacy: none Content-Type: application/sdp Content-Disposition: session Content-Length: 244 X-Port: 5060 X-FS-Support: update_display P-Asserted-Identity: "The Redirector" > P-Asserted-Identity: > [... sdp ...] Numbers are: 01111111 - the original caller (a-leg & b-leg From:) 02222222 - the number redirected to (b-leg To:) 0123456789 - the number my provider needs in P-Asserted-Identity ('redirector's number') So, the INVITE is correct, it includes my P-Asserted-Identity 0123456789 line, but unfortunately it already includes another P-Asserted-Identity 011111111 line, and that breaks the setup at my provider. I really appreciate any help. Greetings, Roland -- Roland Haenel QSC AG - http://www.qsc.de -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100313/2f8ff2c7/attachment-0001.html From rentmycoder at gmail.com Sun Mar 14 10:40:02 2010 From: rentmycoder at gmail.com (rentmycoder rentmycoder) Date: Sun, 14 Mar 2010 18:40:02 +0100 Subject: [Freeswitch-users] how to access session variables after hangup??? Message-ID: <50e456911003141040t6022e91av9a139f9ec26fc4b5@mail.gmail.com> Hi guys, Freeswitch rocks! except the documentation:( I'm not able to figure out how to access session variables after hangup... I try to dial out on a gateway and detect it the called party hangs up before bridge... bgapi originate {ignore_early_media=true,continue_on_fail=true,bypass_media=false,hangup_after_bridge=true,originate_timeout=10,api_hangup_hook='luarun hangup.lua ${uuid}'}sofia/gateway/phoneno &park() I cannot access the variables using: 1. script arguments: 'luarun hangup.lua ${uuid}'} 2010-03-14 18:25:08.122511 [CRIT] switch_channel.c:759 Invalid data (${api_hangup_hook} contains a variable) 2. session:getVariable("originate_disposition") 2010-03-14 18:31:37.042756 [ERR] mod_lua.cpp:182 hangup.lua:2: attempt to call global 'getVar' (a nil value) 3. params:getHeader("variable_sip_req_uri") 2010-03-14 18:36:19.973939 [ERR] mod_lua.cpp:182 hangup.lua:3: attempt to index global 'params' (a nil value) I have asked this before on the dev list too, but Anthony didn't gave me a clean answer here: http://lists.freeswitch.org/pipermail/freeswitch-dev/2009-July/002491.html "In the script you can access the data from the env event which is automatically created for you and it contains all the channel variables from that departed channel." Ok, but how????? Please help... From spencer at 5ninesolutions.com Sun Mar 14 10:49:42 2010 From: spencer at 5ninesolutions.com (Spencer Thomason) Date: Sun, 14 Mar 2010 10:49:42 -0700 Subject: [Freeswitch-users] 100% CPU Message-ID: Hi, I have Freeswitch running as a SBC in front of several Asterisk machines and without warning one of the Freeswitch processes will use 100% of one of the CPU cores and stop responding to SIP requests. I'm using the latest svn on Centos 5.4 in a xen vm. Basically everything will be fine for about 3-4 hours and then this happens. [root at sip ~]# cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 33 model name : AMD Opteron(tm) Processor 275 stepping : 2 cpu MHz : 2204.998 cache size : 1024 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu de tsc msr pae cx8 apic cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni cmp_legacy bogomips : 5514.25 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp processor : 1 vendor_id : AuthenticAMD cpu family : 15 model : 33 model name : AMD Opteron(tm) Processor 275 stepping : 2 cpu MHz : 2204.998 cache size : 1024 KB physical id : 1 siblings : 1 core id : 0 cpu cores : 1 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu de tsc msr pae cx8 apic cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni cmp_legacy bogomips : 5514.25 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp processor : 2 vendor_id : AuthenticAMD cpu family : 15 model : 33 model name : AMD Opteron(tm) Processor 275 stepping : 2 cpu MHz : 2204.998 cache size : 1024 KB physical id : 2 siblings : 1 core id : 0 cpu cores : 1 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu de tsc msr pae cx8 apic cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni cmp_legacy bogomips : 5514.25 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp processor : 3 vendor_id : AuthenticAMD cpu family : 15 model : 33 model name : AMD Opteron(tm) Processor 275 stepping : 2 cpu MHz : 2204.998 cache size : 1024 KB physical id : 3 siblings : 1 core id : 0 cpu cores : 1 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu de tsc msr pae cx8 apic cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni cmp_legacy bogomips : 5514.25 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp [root at sip ~]# uname -r 2.6.18-164.11.1.el5xen -- Spencer Thomason 5Nine Solutions LLC e. sales at 5ninesolutions.com p. +1.888.271.7959 f. +1.310.510.6980 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/a056ba48/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshot.jpg Type: image/jpeg Size: 250686 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/a056ba48/attachment-0001.jpg From brian at freeswitch.org Sun Mar 14 10:58:35 2010 From: brian at freeswitch.org (Brian West) Date: Sun, 14 Mar 2010 12:58:35 -0500 Subject: [Freeswitch-users] js.dll crash on Windows Server 2008 R2 x64 In-Reply-To: <736e27571003121303x1df9c407w54f0a717ea16bb53@mail.gmail.com> References: <736e27571003121303x1df9c407w54f0a717ea16bb53@mail.gmail.com> Message-ID: We can't help you because you have failed to provide any information in context. Please read this link http://wiki.freeswitch.org/wiki/Reporting_Bugs Then collect the info and report it if the problem persists on latest SVN. Thanks, Brain On Mar 12, 2010, at 3:03 PM, Quentin CALVEZ wrote: > Hello everybody, > > I've been trying Freeswitch those last days and there is one error that I don't know what to do about. I'm using FusionPBX to manage my freeswitch installation and it works great, however, whenever I try to use a function involving javascript (auto atendants, hunt groups...) the server crashs telling me that the faulty module is js32.dll. > > I really don't know what to do about it. Could someone help me :) ? > > Regards. > > Quentin Calvez > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Sun Mar 14 10:59:36 2010 From: brian at freeswitch.org (Brian West) Date: Sun, 14 Mar 2010 12:59:36 -0500 Subject: [Freeswitch-users] Trouble with P-Asserted-Identity header(s) In-Reply-To: <429591151003131238q1d1531erbefc732b8e813126@mail.gmail.com> References: <429591151003131238q1d1531erbefc732b8e813126@mail.gmail.com> Message-ID: <97634AC6-B936-40F3-9689-CC41E640D0FF@freeswitch.org> Set the variable sip_cid_type=none and it will only attach the one you set. /b On Mar 13, 2010, at 2:38 PM, Roland H?nel wrote: > P-Asserted-Identity: "The Redirector" > P-Asserted-Identity: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/0a75f2d5/attachment.html From brian at freeswitch.org Sun Mar 14 11:00:10 2010 From: brian at freeswitch.org (Brian West) Date: Sun, 14 Mar 2010 13:00:10 -0500 Subject: [Freeswitch-users] how to access session variables after hangup??? In-Reply-To: <50e456911003141040t6022e91av9a139f9ec26fc4b5@mail.gmail.com> References: <50e456911003141040t6022e91av9a139f9ec26fc4b5@mail.gmail.com> Message-ID: <39B195A1-5A29-418C-A98C-6DCDC829FA39@freeswitch.org> Pass them as arguments to your luarun hangup hook. /b On Mar 14, 2010, at 12:40 PM, rentmycoder rentmycoder wrote: > Hi guys, > Freeswitch rocks! > except the documentation:( > I'm not able to figure out how to access session variables after hangup... > I try to dial out on a gateway and detect it the called party hangs up > before bridge... > > bgapi originate > {ignore_early_media=true,continue_on_fail=true,bypass_media=false,hangup_after_bridge=true,originate_timeout=10,api_hangup_hook='luarun > hangup.lua ${uuid}'}sofia/gateway/phoneno &park() > > I cannot access the variables using: > 1. script arguments: > 'luarun hangup.lua ${uuid}'} > 2010-03-14 18:25:08.122511 [CRIT] switch_channel.c:759 Invalid data > (${api_hangup_hook} contains a variable) > > 2. session:getVariable("originate_disposition") > 2010-03-14 18:31:37.042756 [ERR] mod_lua.cpp:182 hangup.lua:2: attempt > to call global 'getVar' (a nil value) > > 3. params:getHeader("variable_sip_req_uri") > 2010-03-14 18:36:19.973939 [ERR] mod_lua.cpp:182 hangup.lua:3: attempt > to index global 'params' (a nil value) > > I have asked this before on the dev list too, but Anthony didn't gave > me a clean answer here: > http://lists.freeswitch.org/pipermail/freeswitch-dev/2009-July/002491.html > > "In the script you can access the data from the env event which is > automatically created for you and it > contains all the channel variables from that departed channel." > > Ok, but how????? > > Please 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 From brian at freeswitch.org Sun Mar 14 11:00:55 2010 From: brian at freeswitch.org (Brian West) Date: Sun, 14 Mar 2010 13:00:55 -0500 Subject: [Freeswitch-users] 100% CPU In-Reply-To: References: Message-ID: Are you on the latest SVN? If the problem persists after you update to SVN trunk please read http://wiki.freeswitch.org/wiki/Reporting_Bugs and report the issue to jira. /b On Mar 14, 2010, at 12:49 PM, Spencer Thomason wrote: > I have Freeswitch running as a SBC in front of several Asterisk machines and without warning one of the Freeswitch processes will use 100% of one of the CPU cores and stop responding to SIP requests. I'm using the latest svn on Centos 5.4 in a xen vm. Basically everything will be fine for about 3-4 hours and then this happens. > From mrene_lists at avgs.ca Sun Mar 14 11:02:13 2010 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Sun, 14 Mar 2010 14:02:13 -0400 Subject: [Freeswitch-users] Trouble with P-Asserted-Identity header(s) In-Reply-To: <429591151003131238q1d1531erbefc732b8e813126@mail.gmail.com> References: <429591151003131238q1d1531erbefc732b8e813126@mail.gmail.com> Message-ID: Hi, If you want to manually add the P-Asserted-Identity header, you must first set sip_cid_type to none. Or you could just set effective_caller_id_number to the number that should show up in PAI. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 13-Mar-10, at 3:38 PM, Roland H?nel wrote: > Hello, > > I'm developing a very simple call-through application using > FreeSWITCH, but currently > I'm stuck because my provider requires me to send a 'P-Asserted- > Identity' header > for outgoing calls if I want so signal an arbitrary caller ID in the > 'From' field. > > Setup is as follows: > - a-leg comes in from an external gateway > - dialplan dispatches the call to a perl handler script > - perl script looks like this (simplified as much as possible for > this description): > > $num = "02222222"; > $session->answer(); > $session->setVariable("effective_caller_id_name", "The > Redirector"); > $session->setVariable("sip_h_P-Asserted-Identity", ' >'); > $session->execute("bridge", "sofia/gateway/mygateway/ > $num); > > The problem is now that FreeSWITCH correctly insertes a P-Asserted- > Identity header as > set in the perl script. But there is already an existing P-Asserted- > Identity header by default, > so I end up with two of them. This is the outgoing INVITE (b-leg): > > INVITE sip:02222222 at x.x.x.x SIP/2.0 > Via: SIP/2.0/UDP x.x.x.x:5080;rport;branch=z9hG4bKca3KS0cQj121N > Max-Forwards: 63 > From: "The Redirector" ;tag=DBSvZ9NZc750g > To: > Call-ID: ecc19564-a84d-122d-5aa2-00515343ab02 > CSeq: 128071597 INVITE > Contact: > User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-16952M > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, > REGISTER, REFER, NOTIFY > Supported: timer, precondition, path, replaces > Allow-Events: talk, refer > Privacy: none > Content-Type: application/sdp > Content-Disposition: session > Content-Length: 244 > X-Port: 5060 > X-FS-Support: update_display > P-Asserted-Identity: "The Redirector" > P-Asserted-Identity: > > [... sdp ...] > Numbers are: > > 01111111 - the original caller (a-leg & b-leg From:) > 02222222 - the number redirected to (b-leg To:) > 0123456789 - the number my provider needs in P-Asserted- > Identity ('redirector's number') > > So, the INVITE is correct, it includes my P-Asserted-Identity > 0123456789 > line, but unfortunately it already includes another P-Asserted- > Identity 011111111 > line, and that breaks the setup at my provider. > > I really appreciate any help. > > Greetings, > Roland > > -- > Roland Haenel > QSC AG - http://www.qsc.de > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/07d3d89d/attachment.html From lawwton at gmail.com Sun Mar 14 11:06:59 2010 From: lawwton at gmail.com (Alfredo Quiroga-Villamil) Date: Sun, 14 Mar 2010 14:06:59 -0400 Subject: [Freeswitch-users] mod_nibblebill and dynamic conference Message-ID: <5fe6fa8f1003141106q462a3988k59d192f92cbd441@mail.gmail.com> All: We are currently exploring the possibility of using mod_nibblebill and integrating it with a conference. It seems like it offers all the features and more that we need. The way we create a conference now is as follows: originate sofia/gateway/url/XXXXXXXXXXX &conference(myConf+flags{moderator,wait-mod}) >From the mod_nibblebill wiki page it seems like we need to set a few variables for the B leg: enable_heartbeat_events nibble_rate nibble_account= I was wondering if there is a way to set these variables via the API call shown above where the conference is created. If not, what options do you recommend to accomplish this? Thanks in advance, Alfredo From jmesquita at freeswitch.org Sun Mar 14 11:11:46 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Sun, 14 Mar 2010 15:11:46 -0300 Subject: [Freeswitch-users] Trouble with P-Asserted-Identity header(s) In-Reply-To: <429591151003131238q1d1531erbefc732b8e813126@mail.gmail.com> References: <429591151003131238q1d1531erbefc732b8e813126@mail.gmail.com> Message-ID: Try doing this different. Set the effective_caller_id_number, remove the manual header insertion and bridge it differently. Something like this: $num = "02222222"; $session->answer(); $session->setVariable("effective_caller_id_name", "The Redirector"); $session->setVariable("effective_caller_id_number", "0123456789 "); $session->execute("bridge", "{sip_from_uri= sip:01111111 at q-loud.net }sofia/gateway/mygateway/$num); /JM 2010/3/13 Roland H?nel > Hello, > > I'm developing a very simple call-through application using FreeSWITCH, but > currently > I'm stuck because my provider requires me to send a 'P-Asserted-Identity' > header > for outgoing calls if I want so signal an arbitrary caller ID in the 'From' > field. > > Setup is as follows: > - a-leg comes in from an external gateway > - dialplan dispatches the call to a perl handler script > - perl script looks like this (simplified as much as possible for this > description): > > $num = "02222222"; > $session->answer(); > $session->setVariable("effective_caller_id_name", "The > Redirector"); > $session->setVariable("sip_h_P-Asserted-Identity", '< > sip:0123456789 at q-loud.net >'); > $session->execute("bridge", "sofia/gateway/mygateway/$num); > > The problem is now that FreeSWITCH correctly insertes a P-Asserted-Identity > header as > set in the perl script. But there is already an existing > P-Asserted-Identity header by default, > so I end up with two of them. This is the outgoing INVITE (b-leg): > > > INVITE sip:02222222 at x.x.x.x SIP/2.0 > Via: SIP/2.0/UDP x.x.x.x:5080;rport;branch=z9hG4bKca3KS0cQj121N > Max-Forwards: 63 > From: "The Redirector" > >;tag=DBSvZ9NZc750g > To: > Call-ID: ecc19564-a84d-122d-5aa2-00515343ab02 > CSeq: 128071597 INVITE > Contact: > User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-16952M > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, > REFER, NOTIFY > Supported: timer, precondition, path, replaces > Allow-Events: talk, refer > Privacy: none > Content-Type: application/sdp > Content-Disposition: session > Content-Length: 244 > X-Port: 5060 > X-FS-Support: update_display > P-Asserted-Identity: "The Redirector" > > > P-Asserted-Identity: > > > > [... sdp ...] > > Numbers are: > > 01111111 - the original caller (a-leg & b-leg From:) > 02222222 - the number redirected to (b-leg To:) > 0123456789 - the number my provider needs in P-Asserted-Identity > ('redirector's number') > > So, the INVITE is correct, it includes my P-Asserted-Identity 0123456789 > line, but unfortunately it already includes another P-Asserted-Identity > 011111111 > line, and that breaks the setup at my provider. > > I really appreciate any help. > > Greetings, > Roland > > -- > Roland Haenel > QSC AG - http://www.qsc.de > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/e1fd16b8/attachment-0001.html From jmesquita at freeswitch.org Sun Mar 14 11:14:14 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Sun, 14 Mar 2010 15:14:14 -0300 Subject: [Freeswitch-users] Trouble with P-Asserted-Identity header(s) In-Reply-To: References: <429591151003131238q1d1531erbefc732b8e813126@mail.gmail.com> Message-ID: Or, I can shut-up and let the ppl who know about this stuff reply to your email. JM 2010/3/14 Jo?o Mesquita > Try doing this different. Set the effective_caller_id_number, remove the > manual header insertion and bridge it differently. > > Something like this: > > $num = "02222222"; > $session->answer(); > $session->setVariable("effective_caller_id_name", "The > Redirector"); > $session->setVariable("effective_caller_id_number", " > 0123456789 "); > $session->execute("bridge", "{sip_from_uri= > sip:01111111 at q-loud.net > }sofia/gateway/mygateway/$num); > > > /JM > > > 2010/3/13 Roland H?nel > >> Hello, >> >> I'm developing a very simple call-through application using FreeSWITCH, >> but currently >> I'm stuck because my provider requires me to send a 'P-Asserted-Identity' >> header >> for outgoing calls if I want so signal an arbitrary caller ID in the >> 'From' field. >> >> Setup is as follows: >> - a-leg comes in from an external gateway >> - dialplan dispatches the call to a perl handler script >> - perl script looks like this (simplified as much as possible for this >> description): >> >> $num = "02222222"; >> $session->answer(); >> $session->setVariable("effective_caller_id_name", "The >> Redirector"); >> $session->setVariable("sip_h_P-Asserted-Identity", '< >> sip:0123456789 at q-loud.net >'); >> $session->execute("bridge", "sofia/gateway/mygateway/$num); >> >> The problem is now that FreeSWITCH correctly insertes a >> P-Asserted-Identity header as >> set in the perl script. But there is already an existing >> P-Asserted-Identity header by default, >> so I end up with two of them. This is the outgoing INVITE (b-leg): >> >> >> INVITE sip:02222222 at x.x.x.x SIP/2.0 >> Via: SIP/2.0/UDP x.x.x.x:5080;rport;branch=z9hG4bKca3KS0cQj121N >> Max-Forwards: 63 >> From: "The Redirector" >> >;tag=DBSvZ9NZc750g >> To: >> Call-ID: ecc19564-a84d-122d-5aa2-00515343ab02 >> CSeq: 128071597 INVITE >> Contact: >> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-16952M >> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, >> REFER, NOTIFY >> Supported: timer, precondition, path, replaces >> Allow-Events: talk, refer >> Privacy: none >> Content-Type: application/sdp >> Content-Disposition: session >> Content-Length: 244 >> X-Port: 5060 >> X-FS-Support: update_display >> P-Asserted-Identity: "The Redirector" >> > >> P-Asserted-Identity: >> > >> >> [... sdp ...] >> >> Numbers are: >> >> 01111111 - the original caller (a-leg & b-leg From:) >> 02222222 - the number redirected to (b-leg To:) >> 0123456789 - the number my provider needs in P-Asserted-Identity >> ('redirector's number') >> >> So, the INVITE is correct, it includes my P-Asserted-Identity 0123456789 >> line, but unfortunately it already includes another P-Asserted-Identity >> 011111111 >> line, and that breaks the setup at my provider. >> >> I really appreciate any help. >> >> Greetings, >> Roland >> >> -- >> Roland Haenel >> QSC AG - http://www.qsc.de >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/0796e3ff/attachment.html From jmesquita at freeswitch.org Sun Mar 14 11:15:53 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Sun, 14 Mar 2010 15:15:53 -0300 Subject: [Freeswitch-users] mod_nibblebill and dynamic conference In-Reply-To: <5fe6fa8f1003141106q462a3988k59d192f92cbd441@mail.gmail.com> References: <5fe6fa8f1003141106q462a3988k59d192f92cbd441@mail.gmail.com> Message-ID: originate {enable_heartbeat_events,nibble_rate=,nibble_account= }sofia/gateway/url/XXXXXXXXXXX &conference(myConf+flags{moderator,wait-mod}) JM On Sun, Mar 14, 2010 at 3:06 PM, Alfredo Quiroga-Villamil wrote: > All: > > We are currently exploring the possibility of using mod_nibblebill and > integrating it with a conference. It seems like it offers all the > features and more that we need. The way we create a conference now is > as follows: > > originate sofia/gateway/url/XXXXXXXXXXX > &conference(myConf+flags{moderator,wait-mod}) > > >From the mod_nibblebill wiki page it seems like we need to set a few > variables for the B leg: > > enable_heartbeat_events > nibble_rate > nibble_account= > > I was wondering if there is a way to set these variables via the API > call shown above where the conference is created. If not, what options > do you recommend to accomplish this? > > Thanks in advance, > > Alfredo > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/b680d772/attachment.html From spencer at 5ninesolutions.com Sun Mar 14 11:17:27 2010 From: spencer at 5ninesolutions.com (Spencer Thomason) Date: Sun, 14 Mar 2010 11:17:27 -0700 Subject: [Freeswitch-users] 100% CPU In-Reply-To: References: Message-ID: <354A4EF2-6A17-4153-B500-65EDB00A4D4D@5ninesolutions.com> Yes, I'm using the latest SVN. Spencer On Mar 14, 2010, at 11:00 AM, Brian West wrote: > Are you on the latest SVN? > > If the problem persists after you update to SVN trunk please read http://wiki.freeswitch.org/wiki/Reporting_Bugs > and report the issue to jira. > > /b > > On Mar 14, 2010, at 12:49 PM, Spencer Thomason wrote: > >> I have Freeswitch running as a SBC in front of several Asterisk >> machines and without warning one of the Freeswitch processes will >> use 100% of one of the CPU cores and stop responding to SIP >> requests. I'm using the latest svn on Centos 5.4 in a xen vm. >> Basically everything will be fine for about 3-4 hours and then this >> happens. >> > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Sun Mar 14 11:20:13 2010 From: brian at freeswitch.org (Brian West) Date: Sun, 14 Mar 2010 13:20:13 -0500 Subject: [Freeswitch-users] Trouble with P-Asserted-Identity header(s) In-Reply-To: References: <429591151003131238q1d1531erbefc732b8e813126@mail.gmail.com> Message-ID: <7C5C714B-C507-4555-9153-2CF1BA9E8192@freeswitch.org> We are all on like mad today. :P /b On Mar 14, 2010, at 1:14 PM, Jo?o Mesquita wrote: > Or, I can shut-up and let the ppl who know about this stuff reply to your email. > > JM From rupa at rupa.com Sun Mar 14 11:20:45 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Sun, 14 Mar 2010 12:20:45 -0600 Subject: [Freeswitch-users] mod_nibblebill and dynamic conference In-Reply-To: <5fe6fa8f1003141106q462a3988k59d192f92cbd441@mail.gmail.com> References: <5fe6fa8f1003141106q462a3988k59d192f92cbd441@mail.gmail.com> Message-ID: Rather than going straight to the conference, you could go through loopback and have a dialplan that sets the vars and then executes the conference. On Sun, Mar 14, 2010 at 12:06 PM, Alfredo Quiroga-Villamil < lawwton at gmail.com> wrote: > All: > > We are currently exploring the possibility of using mod_nibblebill and > integrating it with a conference. It seems like it offers all the > features and more that we need. The way we create a conference now is > as follows: > > originate sofia/gateway/url/XXXXXXXXXXX > &conference(myConf+flags{moderator,wait-mod}) > > >From the mod_nibblebill wiki page it seems like we need to set a few > variables for the B leg: > > enable_heartbeat_events > nibble_rate > nibble_account= > > I was wondering if there is a way to set these variables via the API > call shown above where the conference is created. If not, what options > do you recommend to accomplish this? > > Thanks in advance, > > Alfredo > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/965a2a9b/attachment.html From lloyd.aloysius at gmail.com Sun Mar 14 11:26:50 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Sun, 14 Mar 2010 14:26:50 -0400 Subject: [Freeswitch-users] LUA and LUASQL Install Message-ID: <8a19bf2e1003141126i26065f9bnd45b870ad7475e52@mail.gmail.com> Hi All, Can some one help me to install Lua . OS: CentOS 5.4 wget http://www.lua.org/ftp/lua-5.1.4.tar.gz tar zxf lua-5.1.4.tar.gz cd lua-5.1.4 make linux But getting error when running *make linux * * * *Here is the Output* In file included from lua.h:16, from lua.c:15: luaconf.h:275:31: error: readline/readline.h: No such file or directory luaconf.h:276:30: error: readline/history.h: No such file or directory lua.c: In function ?pushline?: lua.c:182: warning: implicit declaration of function ?readline? lua.c:182: warning: assignment makes pointer from integer without a cast lua.c: In function ?loadline?: lua.c:210: warning: implicit declaration of function ?add_history? make[2]: *** [lua.o] Error 1 make[2]: Leaving directory `/usr/src/lua-5.1.4/src' make[1]: *** [linux] Error 2 make[1]: Leaving directory `/usr/src/lua-5.1.4/src' make: *** [linux] Error 2 Thank you in advance. Thanks, Lloyd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/08bff82b/attachment-0001.html From lawwton at gmail.com Sun Mar 14 11:26:55 2010 From: lawwton at gmail.com (Alfredo Quiroga-Villamil) Date: Sun, 14 Mar 2010 14:26:55 -0400 Subject: [Freeswitch-users] mod_nibblebill and dynamic conference In-Reply-To: References: <5fe6fa8f1003141106q462a3988k59d192f92cbd441@mail.gmail.com> Message-ID: <5fe6fa8f1003141126q5380fec5w3f09a5b13115bb72@mail.gmail.com> Awesome, thanks a lot. 2010/3/14 Jo?o Mesquita : > originate > {enable_heartbeat_events,nibble_rate=,nibble_account=}sofia/gateway/url/XXXXXXXXXXX > &conference(myConf+flags{moderator,wait-mod}) > > JM > > > On Sun, Mar 14, 2010 at 3:06 PM, Alfredo Quiroga-Villamil > wrote: >> >> All: >> >> We are currently exploring the possibility of using mod_nibblebill and >> integrating it with a conference. It seems like it offers all the >> features and more that we need. The way we create a conference now is >> as follows: >> >> originate sofia/gateway/url/XXXXXXXXXXX >> &conference(myConf+flags{moderator,wait-mod}) >> >> >From the mod_nibblebill wiki page it seems like we need to set a few >> variables for the B leg: >> >> enable_heartbeat_events >> nibble_rate >> nibble_account= >> >> I was wondering if there is a way to set these variables via the API >> call shown above where the conference is created. If not, what options >> do you recommend to accomplish this? >> >> Thanks in advance, >> >> Alfredo >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > From yehavi.bourvine at gmail.com Sun Mar 14 11:33:48 2010 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Sun, 14 Mar 2010 20:33:48 +0200 Subject: [Freeswitch-users] Call transfer with Polycom works ok but a call is left on hold? In-Reply-To: References: Message-ID: I am using the almost latest SVN (from yesterday) and our custom dialplan. I'll try stripping down our dialplan to see whether it helps. Thanks, __Yehavi: 2010/3/14 Brian West > Are you doing this with the latest SVN and default dialplan or are you > doing something out of the usual? > > /b > > On Mar 14, 2010, at 10:18 AM, Yehavi Bourvine wrote: > > > Hello, > > > > We have a strange behavior which my users told me today, but I have a > feeling it lasts for a long time (we are running now version 16972). > > > > User A calls user B on a Polycom. User B press the "transfer" key and > calls C who answers. B then press "transfer" again, and now A talks to C. > However, B is left with a held call to the voicemail of C... > > > > Anyone saw this behaviour? unattended transfer and conference work ok. > > > > Thanks! __Yehavi: > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/4ab28300/attachment.html From lawwton at gmail.com Sun Mar 14 11:38:35 2010 From: lawwton at gmail.com (Alfredo Quiroga-Villamil) Date: Sun, 14 Mar 2010 14:38:35 -0400 Subject: [Freeswitch-users] mod_nibblebill and dynamic conference In-Reply-To: References: <5fe6fa8f1003141106q462a3988k59d192f92cbd441@mail.gmail.com> Message-ID: <5fe6fa8f1003141138g5d9010e2h826053ad2aba7a44@mail.gmail.com> Thanks Rupa, We have looked at the loopback as an option and really like the idea, the only thing there is that the wiki page says: "Please take extra precautions in regard to CDR records. They may not display the information you are looking for after a call has been bridged through the loopback endpoint." We are not quite sure what that statement translates to as far as what fields from the CDR will be affected, etc... On Sun, Mar 14, 2010 at 2:20 PM, Rupa Schomaker wrote: > Rather than going straight to the conference, you could go through loopback > and have a dialplan that sets the vars and then executes the conference. > > On Sun, Mar 14, 2010 at 12:06 PM, Alfredo Quiroga-Villamil > wrote: >> >> All: >> >> We are currently exploring the possibility of using mod_nibblebill and >> integrating it with a conference. It seems like it offers all the >> features and more that we need. The way we create a conference now is >> as follows: >> >> originate sofia/gateway/url/XXXXXXXXXXX >> &conference(myConf+flags{moderator,wait-mod}) >> >> >From the mod_nibblebill wiki page it seems like we need to set a few >> variables for the B leg: >> >> enable_heartbeat_events >> nibble_rate >> nibble_account= >> >> I was wondering if there is a way to set these variables via the API >> call shown above where the conference is created. If not, what options >> do you recommend to accomplish this? >> >> Thanks in advance, >> >> Alfredo >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > From nazim.agabekov at gmail.com Sun Mar 14 11:38:45 2010 From: nazim.agabekov at gmail.com (Nazim Agabekov) Date: Sun, 14 Mar 2010 22:38:45 +0400 Subject: [Freeswitch-users] LUA and LUASQL Install In-Reply-To: <8a19bf2e1003141126i26065f9bnd45b870ad7475e52@mail.gmail.com> References: <8a19bf2e1003141126i26065f9bnd45b870ad7475e52@mail.gmail.com> Message-ID: <4B9D2D35.8010303@gmail.com> Hi Aloysius, Probably readline development package is not installed. If you have difficulties compiling Lua, you could get binaries + includes from: http://luabinaries.luaforge.net/download.html On 03/14/2010 10:26 PM, Aloysius Lloyd wrote: > Hi All, > > Can some one help me to install Lua . > > OS: CentOS 5.4 > > > wget http://www.lua.org/ftp/lua-5.1.4.tar.gz > tar zxf lua-5.1.4.tar.gz > cd lua-5.1.4 > make linux > > But getting error when running *make linux * > * > * > *Here is the Output* > > In file included from lua.h:16, > from lua.c:15: > luaconf.h:275:31: error: readline/readline.h: No such file or directory > luaconf.h:276:30: error: readline/history.h: No such file or directory > lua.c: In function ?pushline?: > lua.c:182: warning: implicit declaration of function ?readline? > lua.c:182: warning: assignment makes pointer from integer without a cast > lua.c: In function ?loadline?: > lua.c:210: warning: implicit declaration of function ?add_history? > make[2]: *** [lua.o] Error 1 > make[2]: Leaving directory `/usr/src/lua-5.1.4/src' > make[1]: *** [linux] Error 2 > make[1]: Leaving directory `/usr/src/lua-5.1.4/src' > make: *** [linux] Error 2 > > > Thank you in advance. > > > Thanks, > Lloyd > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/dd29dbb5/attachment.html From rupa at rupa.com Sun Mar 14 11:40:16 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Sun, 14 Mar 2010 12:40:16 -0600 Subject: [Freeswitch-users] mod_nibblebill and dynamic conference In-Reply-To: References: <5fe6fa8f1003141106q462a3988k59d192f92cbd441@mail.gmail.com> Message-ID: That will set it on the a-leg. IN this case it probably doesn't matter and it is cleaner to set it on the a-leg. 2010/3/14 Jo?o Mesquita > originate {enable_heartbeat_events,nibble_rate=,nibble_account= > }sofia/gateway/url/XXXXXXXXXXX > > &conference(myConf+flags{moderator,wait-mod}) > > > JM > > > > On Sun, Mar 14, 2010 at 3:06 PM, Alfredo Quiroga-Villamil < > lawwton at gmail.com> wrote: > >> All: >> >> We are currently exploring the possibility of using mod_nibblebill and >> integrating it with a conference. It seems like it offers all the >> features and more that we need. The way we create a conference now is >> as follows: >> >> originate sofia/gateway/url/XXXXXXXXXXX >> &conference(myConf+flags{moderator,wait-mod}) >> >> >From the mod_nibblebill wiki page it seems like we need to set a few >> variables for the B leg: >> >> enable_heartbeat_events >> nibble_rate >> nibble_account= >> >> I was wondering if there is a way to set these variables via the API >> call shown above where the conference is created. If not, what options >> do you recommend to accomplish this? >> >> Thanks in advance, >> >> Alfredo >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > -- -Rupa -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/c70a5048/attachment.html From spencer at 5ninesolutions.com Sun Mar 14 11:40:17 2010 From: spencer at 5ninesolutions.com (Spencer Thomason) Date: Sun, 14 Mar 2010 11:40:17 -0700 Subject: [Freeswitch-users] LUA and LUASQL Install In-Reply-To: <8a19bf2e1003141126i26065f9bnd45b870ad7475e52@mail.gmail.com> References: <8a19bf2e1003141126i26065f9bnd45b870ad7475e52@mail.gmail.com> Message-ID: <8990C9A1-01CB-4907-BB1E-660EBD91EB28@5ninesolutions.com> I have Centos RPMS and source RPMS for lua 5.1.4 at http://repo.5ninesolutions.com -- Spencer Thomason 5Nine Solutions LLC e. sales at 5ninesolutions.com p. +1.888.271.7959 f. +1.310.510.6980 On Mar 14, 2010, at 11:26 AM, Aloysius Lloyd wrote: > Hi All, > > Can some one help me to install Lua . > > OS: CentOS 5.4 > > > wget http://www.lua.org/ftp/lua-5.1.4.tar.gz > tar zxf lua-5.1.4.tar.gz > cd lua-5.1.4 > make linux > > But getting error when running make linux > > Here is the Output > > In file included from lua.h:16, > from lua.c:15: > luaconf.h:275:31: error: readline/readline.h: No such file or > directory > luaconf.h:276:30: error: readline/history.h: No such file or directory > lua.c: In function ?pushline?: > lua.c:182: warning: implicit declaration of function ?readline? > lua.c:182: warning: assignment makes pointer from integer without a > cast > lua.c: In function ?loadline?: > lua.c:210: warning: implicit declaration of function ?add_history? > make[2]: *** [lua.o] Error 1 > make[2]: Leaving directory `/usr/src/lua-5.1.4/src' > make[1]: *** [linux] Error 2 > make[1]: Leaving directory `/usr/src/lua-5.1.4/src' > make: *** [linux] Error 2 > > > Thank you in advance. > > > Thanks, > Lloyd > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/11931666/attachment-0001.html From rm at callrica.co.za Sun Mar 14 11:41:48 2010 From: rm at callrica.co.za (Roly Maz) Date: Sun, 14 Mar 2010 20:41:48 +0200 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: References: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> <8215DEFE-460E-4764-BF96-35FBE820EC11@freeswitch.org> <63837C30-11FB-47E6-8173-3AFEA76A5BB4@gmail.com> <000001cabfbb$f2114c90$d633e5b0$@co.za> Message-ID: <028601cac3a6$056fc940$104f5bc0$@co.za> Hi Bruce/Brian, Success on my side too! Thanks for sharing your experience. I too reset my FS and made minimal changes to my config. Voila! Anyone new to FS, and running it on Windows server- I strongly recommend you pull a copy of Wireshark off the net. It has great tools for analysing SIP/IP packets. I'll be adding my config and service provider setup to the wiki this week. Rgds From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bruce Hopkins Sent: 14 March 2010 12:57 AM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] doublenat outgoing call issue Hi Roly, I promised I'd let you know when I got it working - so here it is: As Brian said, doublenat is no longer needed. It looks like I must have just been confusing things horribly by using various things I'd read about, including: These, and who knows what other mucking about I had been doing, must have confused everything as none of this is now necessary. All I did - after a reinstall - to get everything working through double NATs is: 1. In vars.xml 2. Then in prefix/sip_profiles/internal.xml Then as the man says, it just works. I decided not to enable options pings to keep the far-end NAT open to enable calling the remote phone - instead I configured it to send keep-alives. And that's it. I can't believe the knots I was tying myself in. It just works ! cheers Bruce On 9 March 2010 19:08, Roly Maz wrote: Ah I see... what? Please share and lead this blind man out the FS wilderness! I don't understand...what happens to the external profile? Do you delete it? And how do you forward port 5060? ...and you thought you were a newbie! Any insight would be much appreciated...loving the journey. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bruce Hopkins Sent: 09 March 2010 08:23 AM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] doublenat outgoing call issue Ah I see. I will try again using the internal profile and forwarding port 5060. Presumably still creating a directory entry to enable the outside-facing domain to be used. Many thanks for your patient help of a newbie Brian. Cheers Bruce Please excuse the brevity - sent from my mobile. On 8 Mar 2010, at 17:21, Brian West wrote: > ok you aren't catching one key thing here.. you no longer need two > profiles. > > /b > > On Mar 8, 2010, at 11:12 AM, Bruce Hopkins wrote: > >> Hi again, >> >> Thanks for the help so far. Unfotrunately I must still be doing >> something wrong here as I am still having difficulty, and still >> have the same problem. >> >> I updated to build 16938 by means of "make current" >> >> I'm not able to use UPNP or NATPMP so changed the port forwarding >> to use 5080 instead of 5090. >> >> I got rid of the doublenat profile in sip_profiles, though I had to >> retain an entry in the directory /usr/local/freeeswitch/conf/ >> directory/ext_dns.xml in order to give freeswitch the dns name of >> the server as a domain for the remote softphone to register on. I >> left the group name in this entry the same as inthe default entry, >> so that the remote phone could register on the same extension >> numbers (100, etc) as in the default build. >> >> I still find that, if I initiate a call from the local (on same LAN >> as freeswitch) phone to the remote phone, I get the message on the >> CLI: >> >> [ERR] switch_ivr_originate.c2389 Cannot create outgoing channel of >> type [user] cause: [USER_NOT_REGISTERED] >> >> One possibly unrelated aside, I also found I needed to uncomment >> in >> external.xml, otherwise in the case of a call initiated by the >> remote phone being hung up by the local phone, freeswitch sent the >> BYE to the private IP of the remote phone, rather than its public >> ip - meaning that the remote phone didn't receive the BYE. >> >> Any further ideas where I am going wrong here please? >> >> thanks again in advance >> Bruce > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/9f6b3b0c/attachment.html From lloyd.aloysius at gmail.com Sun Mar 14 11:49:27 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Sun, 14 Mar 2010 14:49:27 -0400 Subject: [Freeswitch-users] LUA and LUASQL Install In-Reply-To: <8990C9A1-01CB-4907-BB1E-660EBD91EB28@5ninesolutions.com> References: <8a19bf2e1003141126i26065f9bnd45b870ad7475e52@mail.gmail.com> <8990C9A1-01CB-4907-BB1E-660EBD91EB28@5ninesolutions.com> Message-ID: <8a19bf2e1003141149j7fdfd07dw1639196fc22900d@mail.gmail.com> Nazim & Spencer , thank you. readline development package install solved the problem. Here is the Lua install on CentOS 5.4 yum install readline-devel wget http://www.lua.org/ftp/lua-5.1.4.tar.gz tar zxf lua-5.1.4.tar.gz cd lua-5.1.4 make linux make linux install Thanks Lloyd On Sun, Mar 14, 2010 at 2:40 PM, Spencer Thomason < spencer at 5ninesolutions.com> wrote: > I have Centos RPMS and source RPMS for lua 5.1.4 at > http://repo.5ninesolutions.com > -- > *Spencer Thomason* > 5Nine Solutions LLC > e. sales at 5ninesolutions.com > p. +1.888.271.7959 > f. +1.310.510.6980 > > > > On Mar 14, 2010, at 11:26 AM, Aloysius Lloyd wrote: > > Hi All, > > Can some one help me to install Lua . > > OS: CentOS 5.4 > > > wget http://www.lua.org/ftp/lua-5.1.4.tar.gz > tar zxf lua-5.1.4.tar.gz > cd lua-5.1.4 > make linux > > But getting error when running *make linux * > * > * > *Here is the Output* > > In file included from lua.h:16, > from lua.c:15: > luaconf.h:275:31: error: readline/readline.h: No such file or directory > luaconf.h:276:30: error: readline/history.h: No such file or directory > lua.c: In function ?pushline?: > lua.c:182: warning: implicit declaration of function ?readline? > lua.c:182: warning: assignment makes pointer from integer without a cast > lua.c: In function ?loadline?: > lua.c:210: warning: implicit declaration of function ?add_history? > make[2]: *** [lua.o] Error 1 > make[2]: Leaving directory `/usr/src/lua-5.1.4/src' > make[1]: *** [linux] Error 2 > make[1]: Leaving directory `/usr/src/lua-5.1.4/src' > make: *** [linux] Error 2 > > > Thank you in advance. > > > Thanks, > Lloyd > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100314/2edcdbeb/attachment-0001.html From lawwton at gmail.com Sun Mar 14 11:50:23 2010 From: lawwton at gmail.com (Alfredo Quiroga-Villamil) Date: Sun, 14 Mar 2010 14:50:23 -0400 Subject: [Freeswitch-users] mod_nibblebill and dynamic conference In-Reply-To: References: <5fe6fa8f1003141106q462a3988k59d192f92cbd441@mail.gmail.com> Message-ID: <5fe6fa8f1003141150u41d60e71u2d1446d00950efdf@mail.gmail.com> Thanks Rupa, appreciate the help. On Sun, Mar 14, 2010 at 2:40 PM, Rupa Schomaker wrote: > That will set it on the a-leg. ?IN this case it probably doesn't matter and > it is cleaner to set it on the a-leg. > > 2010/3/14 Jo?o Mesquita >> >> originate >> {enable_heartbeat_events,nibble_rate=,nibble_account=}sofia/gateway/url/XXXXXXXXXXX >> &conference(myConf+flags{moderator,wait-mod}) >> >> JM >> >> >> On Sun, Mar 14, 2010 at 3:06 PM, Alfredo Quiroga-Villamil >> wrote: >>> >>> All: >>> >>> We are currently exploring the possibility of using mod_nibblebill and >>> integrating it with a conference. It seems like it offers all the >>> features and more that we need. The way we create a conference now is >>> as follows: >>> >>> originate sofia/gateway/url/XXXXXXXXXXX >>> &conference(myConf+flags{moderator,wait-mod}) >>> >>> >From the mod_nibblebill wiki page it seems like we need to set a few >>> variables for the B leg: >>> >>> enable_heartbeat_events >>> nibble_rate >>> nibble_account= >>> >>> I was wondering if there is a way to set these variables via the API >>> call shown above where the conference is created. If not, what options >>> do you recommend to accomplish this? >>> >>> Thanks in advance, >>> >>> Alfredo >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> > > > > -- > -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 > > From lloyd.aloysius at gmail.com Sun Mar 14 12:46:46 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Sun, 14 Mar 2010 15:46:46 -0400 Subject: [Freeswitch-users] LUA and LUASQL Install In-Reply-To: <8a19bf2e1003141149j7fdfd07dw1639196fc22900d@mail.gmail.com> References: <8a19bf2e1003141126i26065f9bnd45b870ad7475e52@mail.gmail.com> <8990C9A1-01CB-4907-BB1E-660EBD91EB28@5ninesolutions.com> <8a19bf2e1003141149j7fdfd07dw1639196fc22900d@mail.gmail.com> Message-ID: <8a19bf2e1003141246p2fcdf561kf5a8b22bdb2a2366@mail.gmail.com> I am trying to install Luasql. Lots of make errors.Here is the steps I follow wget http://luaforge.net/frs/download.php/2686/luasql-2.1.1.tar.gz tar xfvz luasql-2.1.1.tar.gz cd luasql-2.1.1/ vi config uncomment the mysql enable mysql and change the mysql lib and include directory path. How to install LuaSql in CentOS 5.4? What is the best way to access mysql from Lua? odbc or natvie? Thanks Lloyd On Sun, Mar 14, 2010 at 2:49 PM, Aloysius Lloyd wrote: > Nazim & Spencer , thank you. > > readline development package install solved the problem. Here is the Lua > install on CentOS 5.4 > > yum install readline-devel > wget http://www.lua.org/ftp/lua-5.1.4.tar.gz > tar zxf lua-5.1.4.tar.gz > cd lua-5.1.4 > make linux > make linux install > > Thanks > Lloyd > > > > On Sun, Mar 14, 2010 at 2:40 PM, Spencer Thomason < > spencer at 5ninesolutions.com> wrote: > >> I have Centos RPMS and source RPMS for lua 5.1.4 at >> http://repo.5ninesolutions.com >> -- >> *Spencer Thomason* >> 5Nine Solutions LLC >> e. sales at 5ninesolutions.com >> p. +1.888.271.7959 >> f. +1.310.510.6980 >> >> >> >> On Mar 14, 2010, at 11:26 AM, Aloysius Lloyd wrote: >> >> Hi All, >> >> Can some one help me to install Lua . >> >> OS: CentOS 5.4 >> >> >> wget http://www.lua.org/ftp/lua-5.1.4.tar.gz >> tar zxf lua-5.1.4.tar.gz >> cd lua-5.1.4 >> make linux >> >> But getting error when running *make linux * >> * >> * >> *Here is the Output* >> >> In file included from lua.h:16, >> from lua.c:15: >> luaconf.h:275:31: error: readline/readline.h: No such file or directory >> luaconf.h:276:30: error: readline/history.h: No such file or directory >> lua.c: In function ?pushline?: >> lua.c:182: warning: implicit declaration of function ?readline? >> lua.c:182: warning: assignment makes pointer from integer without a cast >> lua.c: In function ?loadline?: >> lua.c:210: warning: implicit declaration of function ?add_history? >> make[2]: *** [lua.o] Error 1 >> make[2]: Leaving directory `/usr/src/lua-5.1.4/src' >> make[1]: *** [linux] Error 2 >> make[1]: Leaving directory `/usr/src/lua-5.1.4/src' >> make: *** [linux] Error 2 >> >> >> Thank you in advance. >> >> >> Thanks, >> Lloyd >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100314/7be0c006/attachment.html From rentmycoder at gmail.com Sun Mar 14 13:01:54 2010 From: rentmycoder at gmail.com (rentmycoder rentmycoder) Date: Sun, 14 Mar 2010 21:01:54 +0100 Subject: [Freeswitch-users] how to access session variables after hangup??? Message-ID: <50e456911003141301l1003a2a4n5ad00fd4f161b774@mail.gmail.com> > Pass them as arguments to your luarun hangup hook. And what about variables are not available before the call setup (like uuid), only during the call progress or after the hangup??? I would need to access the originate_disposition variable... >> 'luarun hangup.lua ${originate_disposition}' >> 2010-03-14 18:25:08.122511 [CRIT] switch_channel.c:759 Invalid data (${api_hangup_hook} contains a variable) any other hint??? > ---------- Forwarded message ---------- > From:?Brian West > To:?freeswitch-users at lists.freeswitch.org > Date:?Sun, 14 Mar 2010 13:00:10 -0500 > Subject:?Re: [Freeswitch-users] how to access session variables after hangup??? > Pass them as arguments to your luarun hangup hook. > > /b > > On Mar 14, 2010, at 12:40 PM, rentmycoder rentmycoder wrote: > >> Hi guys, >> Freeswitch rocks! >> except the documentation:( >> I'm not able to figure out how to access session variables after hangup... >> I try to dial out on a gateway and detect it the called party hangs up >> before bridge... >> >> bgapi originate >> {ignore_early_media=true,continue_on_fail=true,bypass_media=false,hangup_after_bridge=true,originate_timeout=10,api_hangup_hook='luarun >> hangup.lua ${uuid}'}sofia/gateway/phoneno &park() >> >> I cannot access the variables using: >> 1. script arguments: >> 'luarun hangup.lua ${uuid}'} >> 2010-03-14 18:25:08.122511 [CRIT] switch_channel.c:759 Invalid data >> (${api_hangup_hook} contains a variable) >> >> 2. session:getVariable("originate_disposition") >> 2010-03-14 18:31:37.042756 [ERR] mod_lua.cpp:182 hangup.lua:2: attempt >> to call global 'getVar' (a nil value) >> >> 3. params:getHeader("variable_sip_req_uri") >> 2010-03-14 18:36:19.973939 [ERR] mod_lua.cpp:182 hangup.lua:3: attempt >> to index global 'params' (a nil value) >> >> I have asked this before on the dev list too, but Anthony didn't gave >> me a clean answer here: >> http://lists.freeswitch.org/pipermail/freeswitch-dev/2009-July/002491.html >> >> "In the script you can access the data from the env event which is >> automatically created for you and it >> contains all the channel variables from that departed channel." >> >> Ok, but how????? >> >> Please help... >> From spencer at 5ninesolutions.com Sun Mar 14 13:13:16 2010 From: spencer at 5ninesolutions.com (Spencer Thomason) Date: Sun, 14 Mar 2010 13:13:16 -0700 Subject: [Freeswitch-users] Dial number at registered extension Message-ID: Hello all, Is there a way I can dial at number at a registered extension. Basically what I'd like to do is use Freeswitch as a SBC for a number of asterisk machines and I'd like to pass an incoming sip invite to a specific number at each one. Right now I'm specifying the IP in the bridge command like this sofia/default/NNNNNNNNNNN at xx.xx.xx.xx but if I dial the registered user directly it dials the contact address at the registered user and does not pass the inbound number. Basically what I'm trying to do is this: pstn -> ITSP -> freeswitch -> asterisk (1-n) Thanks, Spencer From roland at haenel.me Sun Mar 14 13:45:12 2010 From: roland at haenel.me (=?ISO-8859-1?Q?Roland_H=E4nel?=) Date: Sun, 14 Mar 2010 21:45:12 +0100 Subject: [Freeswitch-users] Trouble with P-Asserted-Identity header(s) In-Reply-To: <7C5C714B-C507-4555-9153-2CF1BA9E8192@freeswitch.org> References: <429591151003131238q1d1531erbefc732b8e813126@mail.gmail.com> <7C5C714B-C507-4555-9153-2CF1BA9E8192@freeswitch.org> Message-ID: <429591151003141345n67639652g9fffbafa689c748d@mail.gmail.com> Thanks guys for being mad like this. Not only gave me the perfect solution but also some insight about FreeSWITCH. :-) Greetings, Roland -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/7f3423c3/attachment.html From nazim.agabekov at gmail.com Sun Mar 14 13:59:24 2010 From: nazim.agabekov at gmail.com (Nazim Agabekov) Date: Mon, 15 Mar 2010 00:59:24 +0400 Subject: [Freeswitch-users] LUA and LUASQL Install In-Reply-To: <8a19bf2e1003141246p2fcdf561kf5a8b22bdb2a2366@mail.gmail.com> References: <8a19bf2e1003141126i26065f9bnd45b870ad7475e52@mail.gmail.com> <8990C9A1-01CB-4907-BB1E-660EBD91EB28@5ninesolutions.com> <8a19bf2e1003141149j7fdfd07dw1639196fc22900d@mail.gmail.com> <8a19bf2e1003141246p2fcdf561kf5a8b22bdb2a2366@mail.gmail.com> Message-ID: <4B9D4E2C.4020407@gmail.com> I would not use luasql with mysql driver because it leaks memory. Luasql odbc is better choice for production. What kind of errors do you have? If you installing luasql.odbc please make sure you have unix-odbc development packages. Nazim On 03/14/2010 11:46 PM, Aloysius Lloyd wrote: > I am trying to install Luasql. Lots of make errors.Here is the steps > I follow > > wget http://luaforge.net/frs/download.php/2686/luasql-2.1.1.tar.gz > tar xfvz luasql-2.1.1.tar.gz > cd luasql-2.1.1/ > vi config > > uncomment the mysql > enable mysql and change the mysql lib and include directory path. > > > How to install LuaSql in CentOS 5.4? > > What is the best way to access mysql from Lua? > odbc or natvie? > > Thanks > Lloyd > > > On Sun, Mar 14, 2010 at 2:49 PM, Aloysius Lloyd > > wrote: > > Nazim & Spencer , thank you. > > readline development package install solved the problem. Here is > the Lua install on CentOS 5.4 > > yum install readline-devel > wget http://www.lua.org/ftp/lua-5.1.4.tar.gz > tar zxf lua-5.1.4.tar.gz > cd lua-5.1.4 > make linux > make linux install > > Thanks > Lloyd > > > > On Sun, Mar 14, 2010 at 2:40 PM, Spencer Thomason > > > wrote: > > I have Centos RPMS and source RPMS for lua 5.1.4 at > http://repo.5ninesolutions.com > -- > *Spencer Thomason* > 5Nine Solutions LLC > e. sales at 5ninesolutions.com > p. +1.888.271.7959 > f. +1.310.510.6980 > > > > On Mar 14, 2010, at 11:26 AM, Aloysius Lloyd wrote: > >> Hi All, >> >> Can some one help me to install Lua . >> >> OS: CentOS 5.4 >> >> >> wget http://www.lua.org/ftp/lua-5.1.4.tar.gz >> tar zxf lua-5.1.4.tar.gz >> cd lua-5.1.4 >> make linux >> >> But getting error when running *make linux * >> * >> * >> *Here is the Output* >> >> In file included from lua.h:16, >> from lua.c:15: >> luaconf.h:275:31: error: readline/readline.h: No such file or >> directory >> luaconf.h:276:30: error: readline/history.h: No such file or >> directory >> lua.c: In function ?pushline?: >> lua.c:182: warning: implicit declaration of function ?readline? >> lua.c:182: warning: assignment makes pointer from integer >> without a cast >> lua.c: In function ?loadline?: >> lua.c:210: warning: implicit declaration of function >> ?add_history? >> make[2]: *** [lua.o] Error 1 >> make[2]: Leaving directory `/usr/src/lua-5.1.4/src' >> make[1]: *** [linux] Error 2 >> make[1]: Leaving directory `/usr/src/lua-5.1.4/src' >> make: *** [linux] Error 2 >> >> >> Thank you in advance. >> >> >> Thanks, >> Lloyd >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/3febb42d/attachment-0001.html From rupa at rupa.com Sun Mar 14 14:10:53 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Sun, 14 Mar 2010 16:10:53 -0500 Subject: [Freeswitch-users] mod_nibblebill and dynamic conference In-Reply-To: <5fe6fa8f1003141138g5d9010e2h826053ad2aba7a44@mail.gmail.com> References: <5fe6fa8f1003141106q462a3988k59d192f92cbd441@mail.gmail.com> <5fe6fa8f1003141138g5d9010e2h826053ad2aba7a44@mail.gmail.com> Message-ID: Basically you'll get new CDR records for the loopback side of the call. So you may have to reconcile the two -- depends on how you process your CDRs. If you can avoid loopback, do so. In this case, doing nibblebill on the a-leg is the right way to go unless you have a specific reason to nibble on the b-leg. On Sun, Mar 14, 2010 at 1:38 PM, Alfredo Quiroga-Villamil wrote: > Thanks Rupa, We have looked at the loopback as an option and really > like the idea, the only thing there is that the wiki page says: > > "Please take extra precautions in regard to CDR records. They may not > display the information you are looking for after a call has been > bridged through the loopback endpoint." > > We are not quite sure what that statement translates to as far as what > fields from the CDR will be affected, etc... > > On Sun, Mar 14, 2010 at 2:20 PM, Rupa Schomaker wrote: > > Rather than going straight to the conference, you could go through > loopback > > and have a dialplan that sets the vars and then executes the conference. > > > > On Sun, Mar 14, 2010 at 12:06 PM, Alfredo Quiroga-Villamil > > wrote: > >> > >> All: > >> > >> We are currently exploring the possibility of using mod_nibblebill and > >> integrating it with a conference. It seems like it offers all the > >> features and more that we need. The way we create a conference now is > >> as follows: > >> > >> originate sofia/gateway/url/XXXXXXXXXXX > >> &conference(myConf+flags{moderator,wait-mod}) > >> > >> >From the mod_nibblebill wiki page it seems like we need to set a few > >> variables for the B leg: > >> > >> enable_heartbeat_events > >> nibble_rate > >> nibble_account= > >> > >> I was wondering if there is a way to set these variables via the API > >> call shown above where the conference is created. If not, what options > >> do you recommend to accomplish this? > >> > >> Thanks in advance, > >> > >> Alfredo > >> > >> _______________________________________________ > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at 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 > > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/289cbc0b/attachment.html From rupa at rupa.com Sun Mar 14 14:12:28 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Sun, 14 Mar 2010 16:12:28 -0500 Subject: [Freeswitch-users] Dial number at registered extension In-Reply-To: References: Message-ID: maybe look at using something like mod_easyroute. You setup a database of mappings between DID and endpoints. It is designed for the situation you describe. On Sun, Mar 14, 2010 at 3:13 PM, Spencer Thomason < spencer at 5ninesolutions.com> wrote: > Hello all, > Is there a way I can dial at number at a registered extension. > Basically what I'd like to do is use Freeswitch as a SBC for a number > of asterisk machines and I'd like to pass an incoming sip invite to a > specific number at each one. Right now I'm specifying the IP in the > bridge command like this sofia/default/NNNNNNNNNNN at xx.xx.xx.xx but if > I dial the registered user directly it dials the contact address at > the registered user and does not pass the inbound number. Basically > what I'm trying to do is this: > > pstn -> ITSP -> freeswitch -> asterisk (1-n) > > Thanks, > Spencer > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/07cf5fe7/attachment.html From spencer at 5ninesolutions.com Sun Mar 14 15:02:33 2010 From: spencer at 5ninesolutions.com (Spencer Thomason) Date: Sun, 14 Mar 2010 15:02:33 -0700 Subject: [Freeswitch-users] Dial number at registered extension In-Reply-To: References: Message-ID: That looks promising, thanks. I was hoping to have FS do it automatically. I.e. inbound dids are assigned to specific asterisk boxes, ITSP dials inbound did of freeswitch, freeswitch dials inbound did @ whereever the registration came from instead of having the IP address hard coded into a route. On Mar 14, 2010, at 2:12 PM, Rupa Schomaker wrote: > maybe look at using something like mod_easyroute. You setup a > database of mappings between DID and endpoints. It is designed for > the situation you describe. > > On Sun, Mar 14, 2010 at 3:13 PM, Spencer Thomason > wrote: > Hello all, > Is there a way I can dial at number at a registered extension. > Basically what I'd like to do is use Freeswitch as a SBC for a number > of asterisk machines and I'd like to pass an incoming sip invite to a > specific number at each one. Right now I'm specifying the IP in the > bridge command like this sofia/default/NNNNNNNNNNN at xx.xx.xx.xx but if > I dial the registered user directly it dials the contact address at > the registered user and does not pass the inbound number. Basically > what I'm trying to do is this: > > pstn -> ITSP -> freeswitch -> asterisk (1-n) > > Thanks, > Spencer > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100314/2efcb37a/attachment.html From brian at freeswitch.org Sun Mar 14 15:18:05 2010 From: brian at freeswitch.org (Brian West) Date: Sun, 14 Mar 2010 17:18:05 -0500 Subject: [Freeswitch-users] Dial number at registered extension In-Reply-To: References: Message-ID: <2FA6B68D-360A-4E03-A1CD-C7A3CF7FC97C@freeswitch.org> You sure can still have it call a registration.. You're mixing the dialplan and user directly as if they are a single entity. They aren't. /b On Mar 14, 2010, at 5:02 PM, Spencer Thomason wrote: > That looks promising, thanks. I was hoping to have FS do it automatically. I.e. inbound dids are assigned to specific asterisk boxes, ITSP dials inbound did of freeswitch, freeswitch dials inbound did @ whereever the registration came from instead of having the IP address hard coded into a route. From spencer at 5ninesolutions.com Sun Mar 14 16:00:26 2010 From: spencer at 5ninesolutions.com (Spencer Thomason) Date: Sun, 14 Mar 2010 16:00:26 -0700 Subject: [Freeswitch-users] Dial number at registered extension In-Reply-To: <2FA6B68D-360A-4E03-A1CD-C7A3CF7FC97C@freeswitch.org> References: <2FA6B68D-360A-4E03-A1CD-C7A3CF7FC97C@freeswitch.org> Message-ID: <03BD849C-2B7F-4A59-AAB9-15E977EDD207@5ninesolutions.com> I guess my question is, is there some function which will return the IP address of a registered user? Similar to sofia_contact but only the IP address? Spencer On Mar 14, 2010, at 3:18 PM, Brian West wrote: > You sure can still have it call a registration.. You're mixing the > dialplan and user directly as if they are a single entity. They > aren't. > > /b > > On Mar 14, 2010, at 5:02 PM, Spencer Thomason wrote: > >> That looks promising, thanks. I was hoping to have FS do it >> automatically. I.e. inbound dids are assigned to specific asterisk >> boxes, ITSP dials inbound did of freeswitch, freeswitch dials >> inbound did @ whereever the registration came from instead of >> having the IP address hard coded into a route. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Sun Mar 14 16:08:47 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Sun, 14 Mar 2010 17:08:47 -0600 Subject: [Freeswitch-users] 100% CPU In-Reply-To: <354A4EF2-6A17-4153-B500-65EDB00A4D4D@5ninesolutions.com> References: <354A4EF2-6A17-4153-B500-65EDB00A4D4D@5ninesolutions.com> Message-ID: <191c3a031003141608j4933d768p116b17c32be2b6d2@mail.gmail.com> Do you think its due to resource limitations in your vm? Make sure you check all the config options to give fs full access to all the resouces. If it persists, do top -H and identify the pid with the 100% usage. Then get a gcore and gdb it to capture the output of "thread apply all bt" Report the findings to jira. On Mar 14, 2010 1:23 PM, "Spencer Thomason" wrote: Yes, I'm using the latest SVN. Spencer On Mar 14, 2010, at 11:00 AM, Brian West wrote: > Are you on the latest SVN? > > If the problem pe... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/d549ae9e/attachment-0001.html From jmesquita at freeswitch.org Sun Mar 14 16:17:13 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Sun, 14 Mar 2010 20:17:13 -0300 Subject: [Freeswitch-users] Dial number at registered extension In-Reply-To: <03BD849C-2B7F-4A59-AAB9-15E977EDD207@5ninesolutions.com> References: <2FA6B68D-360A-4E03-A1CD-C7A3CF7FC97C@freeswitch.org> <03BD849C-2B7F-4A59-AAB9-15E977EDD207@5ninesolutions.com> Message-ID: Yes, sofia_contact with regex to extract the IP portion? You had the answer yourself. Jo?o Mesquita On Sun, Mar 14, 2010 at 8:00 PM, Spencer Thomason < spencer at 5ninesolutions.com> wrote: > I guess my question is, is there some function which will return the > IP address of a registered user? Similar to sofia_contact but only > the IP address? > > Spencer > > On Mar 14, 2010, at 3:18 PM, Brian West wrote: > > > You sure can still have it call a registration.. You're mixing the > > dialplan and user directly as if they are a single entity. They > > aren't. > > > > /b > > > > On Mar 14, 2010, at 5:02 PM, Spencer Thomason wrote: > > > >> That looks promising, thanks. I was hoping to have FS do it > >> automatically. I.e. inbound dids are assigned to specific asterisk > >> boxes, ITSP dials inbound did of freeswitch, freeswitch dials > >> inbound did @ whereever the registration came from instead of > >> having the IP address hard coded into a route. > > > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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/20100314/79cf91d5/attachment.html From jmesquita at freeswitch.org Sun Mar 14 16:17:36 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Sun, 14 Mar 2010 20:17:36 -0300 Subject: [Freeswitch-users] Dial number at registered extension In-Reply-To: <03BD849C-2B7F-4A59-AAB9-15E977EDD207@5ninesolutions.com> References: <2FA6B68D-360A-4E03-A1CD-C7A3CF7FC97C@freeswitch.org> <03BD849C-2B7F-4A59-AAB9-15E977EDD207@5ninesolutions.com> Message-ID: Oh, check the RURI example on default configs. That might give you a hint. Jo?o Mesquita On Sun, Mar 14, 2010 at 8:00 PM, Spencer Thomason < spencer at 5ninesolutions.com> wrote: > I guess my question is, is there some function which will return the > IP address of a registered user? Similar to sofia_contact but only > the IP address? > > Spencer > > On Mar 14, 2010, at 3:18 PM, Brian West wrote: > > > You sure can still have it call a registration.. You're mixing the > > dialplan and user directly as if they are a single entity. They > > aren't. > > > > /b > > > > On Mar 14, 2010, at 5:02 PM, Spencer Thomason wrote: > > > >> That looks promising, thanks. I was hoping to have FS do it > >> automatically. I.e. inbound dids are assigned to specific asterisk > >> boxes, ITSP dials inbound did of freeswitch, freeswitch dials > >> inbound did @ whereever the registration came from instead of > >> having the IP address hard coded into a route. > > > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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/20100314/5f231d34/attachment.html From spencer at 5ninesolutions.com Sun Mar 14 17:14:11 2010 From: spencer at 5ninesolutions.com (Spencer Thomason) Date: Sun, 14 Mar 2010 17:14:11 -0700 Subject: [Freeswitch-users] 100% CPU In-Reply-To: <191c3a031003141608j4933d768p116b17c32be2b6d2@mail.gmail.com> References: <354A4EF2-6A17-4153-B500-65EDB00A4D4D@5ninesolutions.com> <191c3a031003141608j4933d768p116b17c32be2b6d2@mail.gmail.com> Message-ID: No. Its on our hardware, we just use xen to virtualize the machines.. this is the only vm on the machine. Gcore complains about no debugging symbols found, do I need to rebuild? It appears to be a problem when registering to one of my trunks. The very strange thing is the everything will be working perfectly and then all of a sudden this happens, i.e. trunks regged, calls completing, etc. This is a very lightly loaded server. This is the output from the console: freeswitch at internal> 2010-03-14 23:12:15.199983 [NOTICE] sofia_reg.c: 336 Registering bandtel 2010-03-14 23:12:15.223977 [DEBUG] sofia_reg.c:1478 Changing expire time to 475 by request of proxy sip:66.237.65.67 2010-03-14 23:20:05.429613 [NOTICE] sofia_reg.c:336 Registering bandtel 2010-03-14 23:20:08.285756 [ERR] sofia_reg.c:1490 bandtel Registration Failed with status Operation has no matching challenge [904]. failure #1 2010-03-14 23:20:10.043933 [WARNING] sofia_reg.c:381 bandtel Failed Registration, setting retry to 60 seconds. 2010-03-14 23:21:16.332797 [NOTICE] sofia_reg.c:336 Registering bandtel 2010-03-14 23:21:52.528409 [WARNING] sofia_reg.c:381 bandtel Failed Registration, setting retry to 60 seconds. 2010-03-14 23:22:56.945511 [NOTICE] sofia_reg.c:336 Registering bandtel 2010-03-14 23:23:33.083177 [WARNING] sofia_reg.c:381 bandtel Failed Registration, setting retry to 60 seconds. 2010-03-14 23:24:37.398155 [NOTICE] sofia_reg.c:336 Registering bandtel 2010-03-14 23:25:13.631825 [WARNING] sofia_reg.c:381 bandtel Failed Registration, setting retry to 60 seconds. 2010-03-14 23:26:17.978767 [NOTICE] sofia_reg.c:336 Registering bandtel 2010-03-14 23:26:54.172425 [WARNING] sofia_reg.c:381 bandtel Failed Registration, setting retry to 60 seconds. 2010-03-14 23:27:58.579354 [NOTICE] sofia_reg.c:336 Registering bandtel 2010-03-14 23:28:34.605017 [WARNING] sofia_reg.c:381 bandtel Failed Registration, setting retry to 60 seconds. On Mar 14, 2010, at 4:08 PM, Anthony Minessale wrote: > Do you think its due to resource limitations in your vm? > Make sure you check all the config options to give fs full access to > all the resouces. > > If it persists, do top -H and identify the pid with the 100% usage. > Then get a gcore and gdb it to capture the output of "thread apply > all bt" > > Report the findings to jira. > >> On Mar 14, 2010 1:23 PM, "Spencer Thomason" > > wrote: >> >> Yes, I'm using the latest SVN. >> >> Spencer >> >> On Mar 14, 2010, at 11:00 AM, Brian West wrote: >> >> > Are you on the latest SVN? >> > >> > If the problem pe... >> > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/e6419728/attachment.html From brian at freeswitch.org Sun Mar 14 17:23:43 2010 From: brian at freeswitch.org (Brian West) Date: Sun, 14 Mar 2010 19:23:43 -0500 Subject: [Freeswitch-users] 100% CPU In-Reply-To: References: <354A4EF2-6A17-4153-B500-65EDB00A4D4D@5ninesolutions.com> <191c3a031003141608j4933d768p116b17c32be2b6d2@mail.gmail.com> Message-ID: Are you sure you're on SVN trunk? /b On Mar 14, 2010, at 7:14 PM, Spencer Thomason wrote: > No. Its on our hardware, we just use xen to virtualize the machines.. this is the only vm on the machine. Gcore complains about no debugging symbols found, do I need to rebuild? > > It appears to be a problem when registering to one of my trunks. The very strange thing is the everything will be working perfectly and then all of a sudden this happens, i.e. trunks regged, calls completing, etc. This is a very lightly loaded server. > > This is the output from the console: From spencer at 5ninesolutions.com Sun Mar 14 17:25:43 2010 From: spencer at 5ninesolutions.com (Spencer Thomason) Date: Sun, 14 Mar 2010 17:25:43 -0700 Subject: [Freeswitch-users] Dial number at registered extension In-Reply-To: References: <2FA6B68D-360A-4E03-A1CD-C7A3CF7FC97C@freeswitch.org> <03BD849C-2B7F-4A59-AAB9-15E977EDD207@5ninesolutions.com> Message-ID: <10061342-9B60-427D-979F-B3F762D1AEAC@5ninesolutions.com> Duh.. :-) Thanks! On Mar 14, 2010, at 4:17 PM, Jo?o Mesquita wrote: > Yes, sofia_contact with regex to extract the IP portion? You had the > answer yourself. > > Jo?o Mesquita > > > > On Sun, Mar 14, 2010 at 8:00 PM, Spencer Thomason > wrote: > I guess my question is, is there some function which will return the > IP address of a registered user? Similar to sofia_contact but only > the IP address? > > Spencer > > On Mar 14, 2010, at 3:18 PM, Brian West wrote: > > > You sure can still have it call a registration.. You're mixing the > > dialplan and user directly as if they are a single entity. They > > aren't. > > > > /b > > > > On Mar 14, 2010, at 5:02 PM, Spencer Thomason wrote: > > > >> That looks promising, thanks. I was hoping to have FS do it > >> automatically. I.e. inbound dids are assigned to specific asterisk > >> boxes, ITSP dials inbound did of freeswitch, freeswitch dials > >> inbound did @ whereever the registration came from instead of > >> having the IP address hard coded into a route. > > > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/b929413b/attachment-0001.html From spencer at 5ninesolutions.com Sun Mar 14 17:38:43 2010 From: spencer at 5ninesolutions.com (Spencer Thomason) Date: Sun, 14 Mar 2010 17:38:43 -0700 Subject: [Freeswitch-users] 100% CPU In-Reply-To: References: <354A4EF2-6A17-4153-B500-65EDB00A4D4D@5ninesolutions.com> <191c3a031003141608j4933d768p116b17c32be2b6d2@mail.gmail.com> Message-ID: I rebuilt today. On Mar 14, 2010, at 5:23 PM, Brian West wrote: > Are you sure you're on SVN trunk? > > /b > > On Mar 14, 2010, at 7:14 PM, Spencer Thomason wrote: > >> No. Its on our hardware, we just use xen to virtualize the >> machines.. this is the only vm on the machine. Gcore complains >> about no debugging symbols found, do I need to rebuild? >> >> It appears to be a problem when registering to one of my trunks. >> The very strange thing is the everything will be working perfectly >> and then all of a sudden this happens, i.e. trunks regged, calls >> completing, etc. This is a very lightly loaded server. >> >> This is the output from the console: > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Sun Mar 14 17:44:36 2010 From: brian at freeswitch.org (Brian West) Date: Sun, 14 Mar 2010 19:44:36 -0500 Subject: [Freeswitch-users] 100% CPU In-Reply-To: References: <354A4EF2-6A17-4153-B500-65EDB00A4D4D@5ninesolutions.com> <191c3a031003141608j4933d768p116b17c32be2b6d2@mail.gmail.com> Message-ID: Collect sip traces for that issue. /b On Mar 14, 2010, at 7:38 PM, Spencer Thomason wrote: > I rebuilt today. > > On Mar 14, 2010, at 5:23 PM, Brian West wrote: > >> Are you sure you're on SVN trunk? >> >> /b From jbrucehopkins at gmail.com Sun Mar 14 18:53:10 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Mon, 15 Mar 2010 01:53:10 +0000 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: <028601cac3a6$056fc940$104f5bc0$@co.za> References: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> <8215DEFE-460E-4764-BF96-35FBE820EC11@freeswitch.org> <63837C30-11FB-47E6-8173-3AFEA76A5BB4@gmail.com> <000001cabfbb$f2114c90$d633e5b0$@co.za> <028601cac3a6$056fc940$104f5bc0$@co.za> Message-ID: Doubles all round ! cheers Bruce On 14 March 2010 18:41, Roly Maz wrote: > Hi Bruce/Brian, > > > > Success on my side too! > > > > Thanks for sharing your experience. I too reset my FS and made minimal > changes to my config. Voila! > > > > Anyone new to FS, and running it on Windows server? I strongly recommend > you pull a copy of Wireshark off the net. It has great tools for analysing > SIP/IP packets. > > > > I?ll be adding my config and service provider setup to the wiki this week. > > > > > > Rgds > > > > > > > > > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Bruce > Hopkins > *Sent:* 14 March 2010 12:57 AM > > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* Re: [Freeswitch-users] doublenat outgoing call issue > > > > > Hi Roly, > > I promised I'd let you know when I got it working - so here it is: > > As Brian said, doublenat is no longer needed. > > It looks like I must have just been confusing things horribly by using > various things I'd read about, including: > > > > > > > > These, and who knows what other mucking about I had been doing, must have > confused everything as none of this is now necessary. > > > > All I did - after a reinstall - to get everything working through double > NATs is: > > > > 1. In vars.xml > > > > > > > > > > 2. Then in prefix/sip_profiles/internal.xml > > > > > > > > Then as the man says, it just works. > > I decided not to enable options pings to keep the far-end NAT open to > enable calling the remote phone - instead I configured it to send > keep-alives. > > > > And that's it. I can't believe the knots I was tying myself in. It just > works ! > > cheers > > Bruce > > > > > > > > > > > > > > On 9 March 2010 19:08, Roly Maz wrote: > > Ah I see... what? Please share and lead this blind man out the FS > wilderness! > > I don't understand...what happens to the external profile? Do you delete > it? > And how do you forward port 5060? > > ...and you thought you were a newbie! > > Any insight would be much appreciated...loving the journey. > > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bruce > Hopkins > Sent: 09 March 2010 08:23 AM > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] doublenat outgoing call issue > > Ah I see. I will try again using the internal profile and forwarding > port 5060. Presumably still creating a directory entry to enable the > outside-facing domain to be used. > > Many thanks for your patient help of a newbie Brian. > > Cheers > Bruce > > Please excuse the brevity - sent from my mobile. > > On 8 Mar 2010, at 17:21, Brian West wrote: > > > ok you aren't catching one key thing here.. you no longer need two > > profiles. > > > > /b > > > > On Mar 8, 2010, at 11:12 AM, Bruce Hopkins wrote: > > > >> Hi again, > >> > >> Thanks for the help so far. Unfotrunately I must still be doing > >> something wrong here as I am still having difficulty, and still > >> have the same problem. > >> > >> I updated to build 16938 by means of "make current" > >> > >> I'm not able to use UPNP or NATPMP so changed the port forwarding > >> to use 5080 instead of 5090. > >> > >> I got rid of the doublenat profile in sip_profiles, though I had to > >> retain an entry in the directory /usr/local/freeeswitch/conf/ > >> directory/ext_dns.xml in order to give freeswitch the dns name of > >> the server as a domain for the remote softphone to register on. I > >> left the group name in this entry the same as inthe default entry, > >> so that the remote phone could register on the same extension > >> numbers (100, etc) as in the default build. > >> > >> I still find that, if I initiate a call from the local (on same LAN > >> as freeswitch) phone to the remote phone, I get the message on the > >> CLI: > >> > >> [ERR] switch_ivr_originate.c2389 Cannot create outgoing channel of > >> type [user] cause: [USER_NOT_REGISTERED] > >> > >> One possibly unrelated aside, I also found I needed to uncomment > >> in > >> external.xml, otherwise in the case of a call initiated by the > >> remote phone being hung up by the local phone, freeswitch sent the > >> BYE to the private IP of the remote phone, rather than its public > >> ip - meaning that the remote phone didn't receive the BYE. > >> > >> Any further ideas where I am going wrong here please? > >> > >> thanks again in advance > >> Bruce > > > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100315/cac518bb/attachment.html From brian at freeswitch.org Sun Mar 14 19:06:15 2010 From: brian at freeswitch.org (Brian West) Date: Sun, 14 Mar 2010 21:06:15 -0500 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: References: <4AD66A73-DC6B-461E-A752-C44D60ADA243@freeswitch.org> <8215DEFE-460E-4764-BF96-35FBE820EC11@freeswitch.org> <63837C30-11FB-47E6-8173-3AFEA76A5BB4@gmail.com> <000001cabfbb$f2114c90$d633e5b0$@co.za> <028601cac3a6$056fc940$104f5bc0$@co.za> Message-ID: Its nice to hear more people have this working. The more that depend on this .. the simpler my job is... because If we break it they start to open jira's about it. /b On Mar 14, 2010, at 8:53 PM, Bruce Hopkins wrote: > Doubles all round ! > > cheers > Bruce From jason at jasonjgw.net Sun Mar 14 19:17:46 2010 From: jason at jasonjgw.net (Jason White) Date: Mon, 15 Mar 2010 13:17:46 +1100 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: References: <8215DEFE-460E-4764-BF96-35FBE820EC11@freeswitch.org> <63837C30-11FB-47E6-8173-3AFEA76A5BB4@gmail.com> <000001cabfbb$f2114c90$d633e5b0$@co.za> <028601cac3a6$056fc940$104f5bc0$@co.za> Message-ID: <20100315021746.GA31211@jdc.jasonjgw.net> Brian West wrote: > Its nice to hear more people have this working. The more that depend on > this .. the simpler my job is... because If we break it they start to open > jira's about it. If both parties behind NAT could just go and register with http://tunelbroker.net/ or http://www.freenet6.net/ or http://www.sixxs.net/ or a similar service, or lobby their ISPs to introduce native IPv6, this problem would start to go away. From spencer at 5ninesolutions.com Sun Mar 14 19:20:50 2010 From: spencer at 5ninesolutions.com (Spencer Thomason) Date: Sun, 14 Mar 2010 19:20:50 -0700 Subject: [Freeswitch-users] Dial number at registered extension In-Reply-To: <10061342-9B60-427D-979F-B3F762D1AEAC@5ninesolutions.com> References: <2FA6B68D-360A-4E03-A1CD-C7A3CF7FC97C@freeswitch.org> <03BD849C-2B7F-4A59-AAB9-15E977EDD207@5ninesolutions.com> <10061342-9B60-427D-979F-B3F762D1AEAC@5ninesolutions.com> Message-ID: <3A691E53-08FE-4897-9896-225A823934D0@5ninesolutions.com> So just in case anyone else ever needs to do this.. here's what I ended up with: Basically the extension UAs register to is created as the same as the account code. We then use their ip at registration to dial a did on their end. Spencer On Mar 14, 2010, at 5:25 PM, Spencer Thomason wrote: > Duh.. :-) Thanks! > > On Mar 14, 2010, at 4:17 PM, Jo?o Mesquita wrote: > >> Yes, sofia_contact with regex to extract the IP portion? You had >> the answer yourself. >> >> Jo?o Mesquita >> >> >> >> On Sun, Mar 14, 2010 at 8:00 PM, Spencer Thomason > > wrote: >> I guess my question is, is there some function which will return the >> IP address of a registered user? Similar to sofia_contact but only >> the IP address? >> >> Spencer >> >> On Mar 14, 2010, at 3:18 PM, Brian West wrote: >> >> > You sure can still have it call a registration.. You're mixing the >> > dialplan and user directly as if they are a single entity. They >> > aren't. >> > >> > /b >> > >> > On Mar 14, 2010, at 5:02 PM, Spencer Thomason wrote: >> > >> >> That looks promising, thanks. I was hoping to have FS do it >> >> automatically. I.e. inbound dids are assigned to specific >> asterisk >> >> boxes, ITSP dials inbound did of freeswitch, freeswitch dials >> >> inbound did @ whereever the registration came from instead of >> >> having the IP address hard coded into a route. >> > >> > >> > _______________________________________________ >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at 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 >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100314/e33a48d6/attachment.html From jmesquita at freeswitch.org Sun Mar 14 19:40:27 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Sun, 14 Mar 2010 23:40:27 -0300 Subject: [Freeswitch-users] Dial number at registered extension In-Reply-To: <3A691E53-08FE-4897-9896-225A823934D0@5ninesolutions.com> References: <2FA6B68D-360A-4E03-A1CD-C7A3CF7FC97C@freeswitch.org> <03BD849C-2B7F-4A59-AAB9-15E977EDD207@5ninesolutions.com> <10061342-9B60-427D-979F-B3F762D1AEAC@5ninesolutions.com> <3A691E53-08FE-4897-9896-225A823934D0@5ninesolutions.com> Message-ID: Wiki is your friend to that type of info! Contribute to it, please! JM On Sun, Mar 14, 2010 at 11:20 PM, Spencer Thomason < spencer at 5ninesolutions.com> wrote: > So just in case anyone else ever needs to do this.. here's what I ended up > with: > > > > > > > data="sofia/default/$1${regex(${sofia_contact(${accountcode}@$${domain})}|^[^\@]+(.*)|%1)}" > /> > > > > > Basically the extension UAs register to is created as the same as the > account code. We then use their ip at registration to dial a did on their > end. > > Spencer > > > On Mar 14, 2010, at 5:25 PM, Spencer Thomason wrote: > > Duh.. :-) Thanks! > > On Mar 14, 2010, at 4:17 PM, Jo?o Mesquita wrote: > > Yes, sofia_contact with regex to extract the IP portion? You had the answer > yourself. > > Jo?o Mesquita > > > > On Sun, Mar 14, 2010 at 8:00 PM, Spencer Thomason < > spencer at 5ninesolutions.com> wrote: > >> I guess my question is, is there some function which will return the >> IP address of a registered user? Similar to sofia_contact but only >> the IP address? >> >> Spencer >> >> On Mar 14, 2010, at 3:18 PM, Brian West wrote: >> >> > You sure can still have it call a registration.. You're mixing the >> > dialplan and user directly as if they are a single entity. They >> > aren't. >> > >> > /b >> > >> > On Mar 14, 2010, at 5:02 PM, Spencer Thomason wrote: >> > >> >> That looks promising, thanks. I was hoping to have FS do it >> >> automatically. I.e. inbound dids are assigned to specific asterisk >> >> boxes, ITSP dials inbound did of freeswitch, freeswitch dials >> >> inbound did @ whereever the registration came from instead of >> >> having the IP address hard coded into a route. >> > >> > >> > _______________________________________________ >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at 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 >> > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100314/8d36b16d/attachment.html From lloyd.aloysius at gmail.com Sun Mar 14 21:36:59 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Mon, 15 Mar 2010 00:36:59 -0400 Subject: [Freeswitch-users] LUA and LUASQL Install In-Reply-To: <4B9D4E2C.4020407@gmail.com> References: <8a19bf2e1003141126i26065f9bnd45b870ad7475e52@mail.gmail.com> <8990C9A1-01CB-4907-BB1E-660EBD91EB28@5ninesolutions.com> <8a19bf2e1003141149j7fdfd07dw1639196fc22900d@mail.gmail.com> <8a19bf2e1003141246p2fcdf561kf5a8b22bdb2a2366@mail.gmail.com> <4B9D4E2C.4020407@gmail.com> Message-ID: <8a19bf2e1003142136x17dbddd2j2c745b5265cd5a92@mail.gmail.com> Thank you for the suggestion. Now FreeSWITCH , Lua , LuaSQL (ODBC) working great. On Sun, Mar 14, 2010 at 4:59 PM, Nazim Agabekov wrote: > I would not use luasql with mysql driver because it leaks memory. Luasql > odbc is better choice for production. > What kind of errors do you have? If you installing luasql.odbc please make > sure you have unix-odbc development packages. > > Nazim > > > > > > On 03/14/2010 11:46 PM, Aloysius Lloyd wrote: > > I am trying to install Luasql. Lots of make errors.Here is the steps I > follow > > wget http://luaforge.net/frs/download.php/2686/luasql-2.1.1.tar.gz > tar xfvz luasql-2.1.1.tar.gz > cd luasql-2.1.1/ > vi config > > uncomment the mysql > enable mysql and change the mysql lib and include directory path. > > > How to install LuaSql in CentOS 5.4? > > What is the best way to access mysql from Lua? > odbc or natvie? > > Thanks > Lloyd > > > On Sun, Mar 14, 2010 at 2:49 PM, Aloysius Lloyd wrote: > >> Nazim & Spencer , thank you. >> >> readline development package install solved the problem. Here is the Lua >> install on CentOS 5.4 >> >> yum install readline-devel >> wget http://www.lua.org/ftp/lua-5.1.4.tar.gz >> tar zxf lua-5.1.4.tar.gz >> cd lua-5.1.4 >> make linux >> make linux install >> >> Thanks >> Lloyd >> >> >> >> On Sun, Mar 14, 2010 at 2:40 PM, Spencer Thomason < >> spencer at 5ninesolutions.com> wrote: >> >>> I have Centos RPMS and source RPMS for lua 5.1.4 at >>> http://repo.5ninesolutions.com >>> -- >>> *Spencer Thomason* >>> 5Nine Solutions LLC >>> e. sales at 5ninesolutions.com >>> p. +1.888.271.7959 >>> f. +1.310.510.6980 >>> >>> >>> >>> On Mar 14, 2010, at 11:26 AM, Aloysius Lloyd wrote: >>> >>> Hi All, >>> >>> Can some one help me to install Lua . >>> >>> OS: CentOS 5.4 >>> >>> >>> wget http://www.lua.org/ftp/lua-5.1.4.tar.gz >>> tar zxf lua-5.1.4.tar.gz >>> cd lua-5.1.4 >>> make linux >>> >>> But getting error when running *make linux * >>> * >>> * >>> *Here is the Output* >>> >>> In file included from lua.h:16, >>> from lua.c:15: >>> luaconf.h:275:31: error: readline/readline.h: No such file or directory >>> luaconf.h:276:30: error: readline/history.h: No such file or directory >>> lua.c: In function ?pushline?: >>> lua.c:182: warning: implicit declaration of function ?readline? >>> lua.c:182: warning: assignment makes pointer from integer without a cast >>> lua.c: In function ?loadline?: >>> lua.c:210: warning: implicit declaration of function ?add_history? >>> make[2]: *** [lua.o] Error 1 >>> make[2]: Leaving directory `/usr/src/lua-5.1.4/src' >>> make[1]: *** [linux] Error 2 >>> make[1]: Leaving directory `/usr/src/lua-5.1.4/src' >>> make: *** [linux] Error 2 >>> >>> >>> Thank you in advance. >>> >>> >>> Thanks, >>> Lloyd >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >>> >>> >> > > _______________________________________________ > 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 > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/d3ade910/attachment-0001.html From tzury.by at reguluslabs.com Sun Mar 14 23:52:39 2010 From: tzury.by at reguluslabs.com (Tzury Bar Yochay) Date: Mon, 15 Mar 2010 08:52:39 +0200 Subject: [Freeswitch-users] errors and failures at snagoma+freeswitch Message-ID: <10128ef11003142352h7b151bc6me0f958f34fc00071@mail.gmail.com> Hi, Owe to an hardware failure I have had to reinstall my server. Originally I have had the combination of FreeSWITCH/Sangoma/LibPRI/OpenZap Getting recommendation to try the new sangoma prid I tried to follow the instructions found at http://wiki.sangoma.com/wanpipe-freeswitch-install Being unable to make it work, I search through the mailing-list and saw the specific versions which should be used. Followed these instruction as well, yet, it is not working. probing hardware shows all goos indications. When I try to originate from within the FreeSWITCH's CLI I get freeswitch at snaptrunk-02> originate openzap/smg_prid/a/0525133399 XML public 2010-03-14 16:09:14.575286 [CRIT] ozmod_sangoma_boost.c:254 SPAN is not online. -ERR NORMAL_CIRCUIT_CONGESTION 2010-03-14 16:09:14.575286 [ERR] switch_ivr_originate.c:2422 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] freeswitch at snaptrunk-02> when I try to run #smg_ctrl start I get: smg_ctrl: sangoma_prid failed to start > smg_ctrl: check /var/log/sangoma_mgd.log for errors > *However, that file ( /var/log/sangoma_mgd.log) is empty. *I pastebin all relevant files at http://gist.github.com/332589* *I am using the latest freeswitch (svn trunk) I tried the smg with these versions (from ftp://ftp.sangoma.com/linux/custom/DavidYS/) - wanpipe-3.5.10.smg_pri.1.tgz - wanpipe-3.5.10.3.smg_pri-v1.58.tgz * * -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/2b61d126/attachment.html From gmaruzz at celliax.org Mon Mar 15 01:15:55 2010 From: gmaruzz at celliax.org (Giovanni Maruzzelli) Date: Mon, 15 Mar 2010 09:15:55 +0100 Subject: [Freeswitch-users] Skypiax has been renamed as Skypopen Message-ID: <7b197bef1003150115la6f9540l77e0de601d1ce0f9@mail.gmail.com> Ciao FreeSWITCHers, is with pleasure that we're announcing the renaming of mod_skypiax module to mod_skypopen. The new wiki page is at http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk To upgrade from a previous Skypiax installation, please read: http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#Upgrading_from_Skypiax Many many many thanks to the wonderful FreeSWITCH team that make it all happens! -giovanni -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From jason at jasonjgw.net Mon Mar 15 01:31:56 2010 From: jason at jasonjgw.net (Jason White) Date: Mon, 15 Mar 2010 19:31:56 +1100 Subject: [Freeswitch-users] Skypiax has been renamed as Skypopen In-Reply-To: <7b197bef1003150115la6f9540l77e0de601d1ce0f9@mail.gmail.com> References: <7b197bef1003150115la6f9540l77e0de601d1ce0f9@mail.gmail.com> Message-ID: <20100315083156.GA12318@jdc.jasonjgw.net> Giovanni Maruzzelli wrote: > Ciao FreeSWITCHers, > > is with pleasure that we're announcing the renaming of mod_skypiax > module to mod_skypopen. Could you also rename it in the Debian packaging files (located in the debian directory)? From gmaruzz at celliax.org Mon Mar 15 01:47:56 2010 From: gmaruzz at celliax.org (Giovanni Maruzzelli) Date: Mon, 15 Mar 2010 09:47:56 +0100 Subject: [Freeswitch-users] Skypiax has been renamed as Skypopen In-Reply-To: <20100315083156.GA12318@jdc.jasonjgw.net> References: <7b197bef1003150115la6f9540l77e0de601d1ce0f9@mail.gmail.com> <20100315083156.GA12318@jdc.jasonjgw.net> Message-ID: <7b197bef1003150147t7837e332jc2497197eaf2bc77@mail.gmail.com> On Mon, Mar 15, 2010 at 9:31 AM, Jason White wrote: > > Could you also rename it in the Debian packaging files (located in the debian > directory)? I'll ask the people who's taking care of Debian packages (I'll find out who) to do it, thanks for reporting. -giovanni > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 maciej.aniserowicz at gmail.com Mon Mar 15 01:56:36 2010 From: maciej.aniserowicz at gmail.com (Maciej Aniserowicz) Date: Mon, 15 Mar 2010 00:56:36 -0800 (PST) Subject: [Freeswitch-users] Call gets hanged up with ORIGINATOR_CANCEL cause Message-ID: <1268643396699-4735736.post@n2.nabble.com> Hello, I have the following problem: I register with x-lite to my freeswitch and then call it by sending command bgapi originate {originate_timeout=15}[24cc_session_id=76dfb907-a0c3-4357-b1f9-ede89caf8a7e,ignore_early_media=true,max_forwards=999999,origination_uuid=d4f4e460-43c7-4e53-af18-46fa5226227d]sofia/gateway/agent_gateway/2500 &park() Then i dial through a gateway which points to another freeswitch instance: bgapi originate {originate_timeout=20}[24cc_session_id=3134a5ae-ec00-4164-94b1-a7fb5e0368fa,ignore_early_media=true,max_forwards=999999,origination_uuid=a85fd47e-051f-42ea-987e-f4e090c7ae78]sofia/gateway/prospect_gateway/1300671139878747511456 &park() The dialplan causes answering the phone, playing a file and hanging up. The two calls are connected with this command: bgapi uuid_transfer f0c0db16-f00f-4b0b-8a00-d3b108d121b2 intercept:a85fd47e-051f-42ea-987e-f4e090c7ae78,park inline Unfortunately after the second call hangs up, the first call gets hanged up too. I recently upgraded to FS trunk. Logs are in pastebin: first freeswitch: http://pastebin.freeswitch.org/12432 second freeswitch: http://pastebin.freeswitch.org/12433 Please take a look and help me figure this out.. -- View this message in context: http://n2.nabble.com/Call-gets-hanged-up-with-ORIGINATOR-CANCEL-cause-tp4735736p4735736.html Sent from the freeswitch-users mailing list archive at Nabble.com. From peter.olsson at visionutveckling.se Mon Mar 15 02:20:03 2010 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Mon, 15 Mar 2010 10:20:03 +0100 Subject: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. Message-ID: <549CFEF87AEDE841A38E9D15EAB4C04C5577434BCE@cooper> I'm not sure if this belongs in Jira, or if it's possible to do it another way - so I try the list first :) I'm using ESL to do some IVR functions. Basically I play some sound files, wait for DTMF, and then do something, like record a message, transfer the call to a mobile phone etc. Quite basic and simple. I've noticed one problem with this, and it's when I want to stop playback using command "break". In 99% of the time everything works as expected, but sometimes I get this problem - and the problem is that the current file doesn't stop playing. And I think I know why this is happening. Lets say I first send playback(tone_stream://%(1500, 3500, 440.0, 0.0);loops=100) to the channel. This will play a ring-tone (swedish) and loop through it 100 times. When I want to stop this tone I send the break command, and directly after this a new playback command. Maybe 1 time in 100 tries the tone_stream doesn't stop playing. I think this is becuase how break works. From what I understand from the source it just sets the CF_BREAK flag on the channel, and then the playback application will detect this and stop the playback. However, when I send a new playback command immediately after break it will reset the CF_BREAK-flag again, to make sure it won't cause any problems for the new playback. So if the original playback (tone_stream) didn't check the flag before it was reset, it won't known that it was supposed to stop playing. I guess I could wait 50ms before sending the new playback message, but I can really never be sure that it was handled properly. Is there any other way around this? How about "break all", will it make any difference in this case? Or should this just be treated as a timing bug, and filed to Jira? Any help on this would be greatly appreciated. These are the messages I'm sending; SendMsg call-command: execute execute-app-name: playback execute-app-arg: tone_stream://%(1500, 3500, 440.0, 0.0);loops=100 When I don't want this to play anymore I send a break; SendMsg call-command: execute execute-app-name: break And immediately after this I want to play another file; SendMsg call-command: execute execute-app-name: playback execute-app-arg: file/to/play.wav Regards, Peter Olsson -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/8fc24263/attachment-0001.html From dujinfang at gmail.com Mon Mar 15 03:08:30 2010 From: dujinfang at gmail.com (Seven Du) Date: Mon, 15 Mar 2010 18:08:30 +0800 Subject: [Freeswitch-users] A few questions after upgrade to trunk Message-ID: <23f91031003150308j5e5938fasd0cf9d2adb5147d5@mail.gmail.com> ALL, I just upgrade FS to 16992. 1) timer warning: How's possible the 10000 microseconds? audio sounds ok. [WARNING] switch_time.c:206 Timer resolution of 10000 microseconds detected! Do you have your kernel timer set to higher than 1 kHz? You may experience audio problems. uname -a Linux xxx.idapted.com 2.6.22-14-server #1 SMP Tue Feb 12 08:27:05 UTC 2008 i686 GNU/Linux I used a script to check the interupts :~$ while :; do cat /proc/interrupts |grep LOC; sleep 1; done LOC: 14892854 14892843 14892841 14892830 LOC: 14892955 14892944 14892942 14892931 LOC: 14893056 14893045 14893043 14893032 LOC: 14893157 14893146 14893144 14893133 LOC: 14893258 14893247 14893245 14893234 LOC: 14893359 14893348 14893346 14893335 LOC: 14893460 14893449 14893447 14893436 2) run dingaling with client mode. dingaling doesn't pick up answer. I originate a call from FS, the console blocks, gtalk client ring and it looks ok when I hit answer, but no sound, FS console still blocks. a few seconds later gtalk client shows: Sorry! The voice chat with language_lesson failed because of a network problem at 5:50 PM. Please try again. Click here to report this to Google. here is a log with bgapi: http://pastebin.freeswitch.org/12434 rev 14696 works on the same server same conf. another server running 16958M works at the same time. I have no clue to check, is it related to the timer as in 1)? can some help me to take a look? let me know if you need "dl_debug on" logs. Thanks. From dujinfang at gmail.com Mon Mar 15 03:27:38 2010 From: dujinfang at gmail.com (Seven Du) Date: Mon, 15 Mar 2010 18:27:38 +0800 Subject: [Freeswitch-users] A few questions after upgrade to trunk In-Reply-To: <23f91031003150308j5e5938fasd0cf9d2adb5147d5@mail.gmail.com> References: <23f91031003150308j5e5938fasd0cf9d2adb5147d5@mail.gmail.com> Message-ID: <23f91031003150327g182f0743r73c7002514471817@mail.gmail.com> here is the client: 2010/3/15 Seven Du : > ALL, > > I just upgrade FS to 16992. > > 1) timer warning: How's possible the 10000 microseconds? audio sounds ok. > > > [WARNING] switch_time.c:206 Timer resolution of 10000 microseconds detected! > Do you have your kernel timer set to higher than 1 kHz? You may > experience audio problems. > > uname -a > Linux xxx.idapted.com 2.6.22-14-server #1 SMP Tue Feb 12 08:27:05 UTC > 2008 i686 GNU/Linux > > > I used a script to check the interupts > > :~$ while :; do cat /proc/interrupts |grep LOC; sleep 1; done > LOC: ? 14892854 ? 14892843 ? 14892841 ? 14892830 > LOC: ? 14892955 ? 14892944 ? 14892942 ? 14892931 > LOC: ? 14893056 ? 14893045 ? 14893043 ? 14893032 > LOC: ? 14893157 ? 14893146 ? 14893144 ? 14893133 > LOC: ? 14893258 ? 14893247 ? 14893245 ? 14893234 > LOC: ? 14893359 ? 14893348 ? 14893346 ? 14893335 > LOC: ? 14893460 ? 14893449 ? 14893447 ? 14893436 > > > 2) run dingaling with client mode. dingaling doesn't pick up answer. I > originate a call from FS, the console blocks, gtalk client ring and it > looks ok when I hit answer, but no sound, FS console still blocks. a > few seconds later gtalk client shows: > > Sorry! The voice chat with language_lesson failed because of a network > problem at 5:50 PM. Please try again. > ?Click here to report this to Google. > > > here is a log with bgapi: > http://pastebin.freeswitch.org/12434 > > > rev 14696 works on the same server same conf. another server running > 16958M works at the same time. I have no clue to check, is it related > to the timer as in 1)? can some help me to take a look? let me know if > you need "dl_debug on" logs. > > Thanks. > From tzury.by at reguluslabs.com Mon Mar 15 03:28:08 2010 From: tzury.by at reguluslabs.com (Tzury Bar Yochay) Date: Mon, 15 Mar 2010 12:28:08 +0200 Subject: [Freeswitch-users] regarding the recent sangoma boost Message-ID: <10128ef11003150328t3e033993nb4de567d9e129bd6@mail.gmail.com> one must run # mkdir /root/sangoma before head. otherwise, sangoma_prid will fail to start I discoverd this since /var/log/sangoma_mgd.log file was empty even though the line local2.* /var/log/sangoma_mgd.log exists in /etc/syslog.conf I did the following: # export LD_LIBRARY_PATH=/usr/lib/sangoma_prid # /usr/sbin/sangoma_prid &> sangoma_prid.log an then with # tail -f sangoma_prid.log I got ==> sangoma_prid.log <== ================System restart============= = Sangoma PRI Protocol Stack Daemon = = Version: 1.58 = = Date: Feb 18 2010 = = Wanpipe Release: wanpipe-3.5.10.3 = = Revision:Revision: 15364 = =========================================== sh: gen_fs_gcore.sh: not found touch: cannot touch `/root/sangoma/sangoma_prid.gcore.24821': No such file or directory /usr/bin/gcore: 83: cannot create /root/sangoma/sangoma_prid.gcore.24821: Directory nonexistent gcore: failed to create /root/sangoma/sangoma_prid.gcore.24794 I then ran `# mkdir /root/sangoma` and restart everything Right now I am facing another problem which hope to over come right after lunch the problem is this error freeswitch at snaptrunk-02> originate openzap/1/a/0525133399 XML public 2010-03-15 12:20:56.307066 [WARNING] ozmod_sangoma_boost.c:341 TX EVENT: CALL_START:(80) [w1g1] CSid=1 Seq=0 Cn=[N/A] Cd=[0525133399] Ci=[N/A] Rdnis=[] 2010-03-15 12:21:06.858887 [WARNING] sangoma_boost_client.c:221 TX EVENT (N): CALL_START_NACK:(82) [w1g1] Rc=0 CSid=1 Seq=1 2010-03-15 12:21:06.858887 [ERR] switch_ivr_originate.c:2422 Cannot create outgoing channel of type [openzap] cause: [RECOVERY_ON_TIMER_EXPIRE] -ERR RECOVERY_ON_TIMER_EXPIRE 2010-03-15 12:21:06.858887 [DEBUG] switch_ivr_originate.c:3220 Originate Resulted in Error Cause: 102 [RECOVERY_ON_TIMER_EXPIRE] freeswitch at snaptrunk-02> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/6abd1731/attachment.html From jbrucehopkins at gmail.com Mon Mar 15 04:39:26 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Mon, 15 Mar 2010 11:39:26 +0000 Subject: [Freeswitch-users] doublenat outgoing call issue In-Reply-To: <20100315021746.GA31211@jdc.jasonjgw.net> References: <8215DEFE-460E-4764-BF96-35FBE820EC11@freeswitch.org> <63837C30-11FB-47E6-8173-3AFEA76A5BB4@gmail.com> <000001cabfbb$f2114c90$d633e5b0$@co.za> <028601cac3a6$056fc940$104f5bc0$@co.za> <20100315021746.GA31211@jdc.jasonjgw.net> Message-ID: Very interesting. Thanks for sharing this. I must read up on it. cheersBruce On 15 March 2010 02:17, Jason White wrote: > Brian West wrote: > > Its nice to hear more people have this working. The more that depend on > > this .. the simpler my job is... because If we break it they start to > open > > jira's about it. > > If both parties behind NAT could just go and register with > http://tunelbroker.net/ or http://www.freenet6.net/ or > http://www.sixxs.net/ > or a similar service, or lobby their ISPs to introduce native IPv6, this > problem would start to go away. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/c9992576/attachment.html From lakindia89 at gmail.com Mon Mar 15 05:38:56 2010 From: lakindia89 at gmail.com (lakshmanan ganapathy) Date: Mon, 15 Mar 2010 18:08:56 +0530 Subject: [Freeswitch-users] errors and failures at snagoma+freeswitch In-Reply-To: <10128ef11003142352h7b151bc6me0f958f34fc00071@mail.gmail.com> References: <10128ef11003142352h7b151bc6me0f958f34fc00071@mail.gmail.com> Message-ID: <7d79b3931003150538u4621c056l2469f77fd78d0ad7@mail.gmail.com> Make sure that the following packages are installed. apt-get install libsctp1 patch bison build-essential gcc g++ make libncurses5-dev flex linux-headers-$(uname -r) automake libtools autoconf libtermcap-devel devscripts pbuilder glibc2.4 On Mon, Mar 15, 2010 at 12:22 PM, Tzury Bar Yochay wrote: > Hi, > > Owe to an hardware failure I have had to reinstall my server. > Originally I have had the combination of FreeSWITCH/Sangoma/LibPRI/OpenZap > > Getting recommendation to try the new sangoma prid I tried to follow the > instructions found at http://wiki.sangoma.com/wanpipe-freeswitch-install > > Being unable to make it work, I search through the mailing-list and saw the > specific versions which should be used. > Followed these instruction as well, yet, it is not working. > > probing hardware shows all goos indications. > > When I try to originate from within the FreeSWITCH's CLI I get > > freeswitch at snaptrunk-02> originate openzap/smg_prid/a/0525133399 XML > public > 2010-03-14 16:09:14.575286 [CRIT] ozmod_sangoma_boost.c:254 SPAN is not > online. > > -ERR NORMAL_CIRCUIT_CONGESTION > > 2010-03-14 16:09:14.575286 [ERR] switch_ivr_originate.c:2422 Cannot create > outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] > freeswitch at snaptrunk-02> > > > when I try to run #smg_ctrl start > I get: > > smg_ctrl: sangoma_prid failed to start >> smg_ctrl: check /var/log/sangoma_mgd.log for errors >> > > *However, that file ( /var/log/sangoma_mgd.log) is empty. > > *I pastebin all relevant files at http://gist.github.com/332589* > > *I am using the latest freeswitch (svn trunk) > > I tried the smg with these versions (from > ftp://ftp.sangoma.com/linux/custom/DavidYS/) > > - wanpipe-3.5.10.smg_pri.1.tgz > - wanpipe-3.5.10.3.smg_pri-v1.58.tgz > > * > > * > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/d9d5e5c2/attachment.html From lloyd.aloysius at gmail.com Mon Mar 15 06:40:25 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Mon, 15 Mar 2010 09:40:25 -0400 Subject: [Freeswitch-users] LUA Call duration or Billing Sec Message-ID: <8a19bf2e1003150640ld95ba1dqd888a9cedf6df381@mail.gmail.com> Hi All, I have the following simple Lua script answer a inbound call then dial another number and bridge the call. Is there any way to get the call duration or billing sec using the session:getVariable( ); -- answer the call session:answer(); -- sleep a second session:sleep(1000); -- Initiate an outbound call obSession = freeswitch.Session("sofia/gateway/voipms/14165555555",session) obSession:execute("sched_hangup","+60 alloted_timeout"); -- bride the call freeswitch.bridge(session, obSession); -- hangup session:hangup(); Thank you Lloyd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/fcfbac9a/attachment.html From tzury.by at reguluslabs.com Mon Mar 15 06:45:51 2010 From: tzury.by at reguluslabs.com (Tzury Bar Yochay) Date: Mon, 15 Mar 2010 15:45:51 +0200 Subject: [Freeswitch-users] SIP to PRI RECOVERY_ON_TIMER_EXPIRE error using Sangoma (sangoma_prid) Message-ID: <10128ef11003150645w2d7f46b1v5053960592490825@mail.gmail.com> Hi, This is my setup FreeSWITCH: Version 1.0.trunk (16992M) Sangoma: wanpipe-3.5.10.3.smg_pri-v1.58 I have finally managed to set up the environment coping many hick-ups reported in this mailing list recently. However, I am still encountering problems when trying to perform call from SIP to PRI. I have configured my dialplan to bridge all numbers which are not pastebin for all configuration files is available at: http://pastebin.freeswitch.org/12437 pastebin for CLI output is available at: http://pastebin.freeswitch.org/12436 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/9a238778/attachment-0001.html From tzury.by at reguluslabs.com Mon Mar 15 06:51:51 2010 From: tzury.by at reguluslabs.com (Tzury Bar Yochay) Date: Mon, 15 Mar 2010 15:51:51 +0200 Subject: [Freeswitch-users] SIP to PRI RECOVERY_ON_TIMER_EXPIRE error using Sangoma (sangoma_prid) In-Reply-To: <10128ef11003150645w2d7f46b1v5053960592490825@mail.gmail.com> References: <10128ef11003150645w2d7f46b1v5053960592490825@mail.gmail.com> Message-ID: <10128ef11003150651r793f61b9i91dadc169b97b907@mail.gmail.com> Hi, This is my setup FreeSWITCH: Version 1.0.trunk (16992M) Sangoma: wanpipe-3.5.10.3.smg_pri-v1.58 I have finally managed to set up the environment coping many hick-ups reported in this mailing list recently. However, I am still encountering problems when trying to perform call from SIP to PRI. I have configured my dialplan to bridge all numbers which are not SIP to be bridged over to the PSTN. However, when calling a PSTN number I am getting RECOVERY_ON_TIMER_EXPIRE error pastebin for all configuration files is available at: http://pastebin.freeswitch.org/12437 pastebin for CLI output is available at: http://pastebin.freeswitch.org/12436 From sos at sokhapkin.dyndns.org Mon Mar 15 06:56:37 2010 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Mon, 15 Mar 2010 09:56:37 -0400 Subject: [Freeswitch-users] LUA Call duration or Billing Sec In-Reply-To: <8a19bf2e1003150640ld95ba1dqd888a9cedf6df381@mail.gmail.com> References: <8a19bf2e1003150640ld95ba1dqd888a9cedf6df381@mail.gmail.com> Message-ID: <201003150956.37356.sos@sokhapkin.dyndns.org> Unfortunately all "interesting" billing-related channel variables are set after the lua script execution, when channel enters REPORTING state. To access those variables I execute separate lua script using mod_cdr_csv, it allows to invoke lua script. On Monday 15 March 2010, Aloysius Lloyd wrote: > Hi All, > > I have the following simple Lua script answer a inbound call then dial > another number and bridge the call. > > Is there any way to get the call duration or billing sec using the > > session:getVariable( ); > > > > -- answer the call > session:answer(); > > -- sleep a second > session:sleep(1000); > > -- Initiate an outbound call > obSession = freeswitch.Session("sofia/gateway/voipms/14165555555",session) > > obSession:execute("sched_hangup","+60 alloted_timeout"); > > -- bride the call > freeswitch.bridge(session, obSession); > > -- hangup > session:hangup(); > > > Thank you > Lloyd > From moises.silva at gmail.com Mon Mar 15 07:00:20 2010 From: moises.silva at gmail.com (Moises Silva) Date: Mon, 15 Mar 2010 10:00:20 -0400 Subject: [Freeswitch-users] errors and failures at snagoma+freeswitch In-Reply-To: <10128ef11003142352h7b151bc6me0f958f34fc00071@mail.gmail.com> References: <10128ef11003142352h7b151bc6me0f958f34fc00071@mail.gmail.com> Message-ID: Enable debug and do svn update. I suspect you don't have sctp. You can also run sangoma_prid directly to see the output in stdout/stderr # export LD_LIBRARY_PATH=/usr/lib/sangoma_prid # sangoma_prid If there is no output in /var/log may be is because /etc/syslog.conf is missing something like this: # Sangoma Media Gateway log local2.* /var/log/sangoma_mgd.log # Sangoma BRI Daemon (smg_bri) log local3.* /var/log/sangoma_bri.log On Mon, Mar 15, 2010 at 2:52 AM, Tzury Bar Yochay wrote: > Hi, > > Owe to an hardware failure I have had to reinstall my server. > Originally I have had the combination of FreeSWITCH/Sangoma/LibPRI/OpenZap > > Getting recommendation to try the new sangoma prid I tried to follow the > instructions found at http://wiki.sangoma.com/wanpipe-freeswitch-install > > Being unable to make it work, I search through the mailing-list and saw the > specific versions which should be used. > Followed these instruction as well, yet, it is not working. > > probing hardware shows all goos indications. > > When I try to originate from within the FreeSWITCH's CLI I get > > freeswitch at snaptrunk-02> originate openzap/smg_prid/a/0525133399 XML > public > 2010-03-14 16:09:14.575286 [CRIT] ozmod_sangoma_boost.c:254 SPAN is not > online. > > -ERR NORMAL_CIRCUIT_CONGESTION > > 2010-03-14 16:09:14.575286 [ERR] switch_ivr_originate.c:2422 Cannot create > outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] > freeswitch at snaptrunk-02> > > > when I try to run #smg_ctrl start > I get: > > smg_ctrl: sangoma_prid failed to start >> smg_ctrl: check /var/log/sangoma_mgd.log for errors >> > > *However, that file ( /var/log/sangoma_mgd.log) is empty. > > *I pastebin all relevant files at http://gist.github.com/332589* > > *I am using the latest freeswitch (svn trunk) > > I tried the smg with these versions (from > ftp://ftp.sangoma.com/linux/custom/DavidYS/) > > - wanpipe-3.5.10.smg_pri.1.tgz > - wanpipe-3.5.10.3.smg_pri-v1.58.tgz > > * > > * > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy at sangoma.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/2f43d4ea/attachment.html From moises.silva at gmail.com Mon Mar 15 07:03:22 2010 From: moises.silva at gmail.com (Moises Silva) Date: Mon, 15 Mar 2010 10:03:22 -0400 Subject: [Freeswitch-users] SIP to PRI RECOVERY_ON_TIMER_EXPIRE error using Sangoma (sangoma_prid) In-Reply-To: <10128ef11003150651r793f61b9i91dadc169b97b907@mail.gmail.com> References: <10128ef11003150645w2d7f46b1v5053960592490825@mail.gmail.com> <10128ef11003150651r793f61b9i91dadc169b97b907@mail.gmail.com> Message-ID: take an isdn pcap dump of the wanpipe interface to see the messages there (I think you already know how, if not, search "pcap" in wiki.sangoma.com) On Mon, Mar 15, 2010 at 9:51 AM, Tzury Bar Yochay wrote: > Hi, > > This is my setup > > FreeSWITCH: Version 1.0.trunk (16992M) > Sangoma: wanpipe-3.5.10.3.smg_pri-v1.58 > > I have finally managed to set up the environment coping many hick-ups > reported in this mailing list recently. > However, I am still encountering problems when trying to perform call > from SIP to PRI. > > I have configured my dialplan to bridge all numbers which are not SIP > to be bridged over to the PSTN. > However, when calling a PSTN number I am getting > RECOVERY_ON_TIMER_EXPIRE error > > pastebin for all configuration files is available at: > http://pastebin.freeswitch.org/12437 > > pastebin for CLI output is available at: > http://pastebin.freeswitch.org/12436 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy at sangoma.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/f9d8a1f4/attachment.html From lukasz at voiceworks.pl Mon Mar 15 07:11:51 2010 From: lukasz at voiceworks.pl (Lukasz Kutkowski) Date: Mon, 15 Mar 2010 15:11:51 +0100 Subject: [Freeswitch-users] SIP to PRI RECOVERY_ON_TIMER_EXPIRE error using Sangoma (sangoma_prid) In-Reply-To: <10128ef11003150651r793f61b9i91dadc169b97b907@mail.gmail.com> References: <10128ef11003150645w2d7f46b1v5053960592490825@mail.gmail.com> <10128ef11003150651r793f61b9i91dadc169b97b907@mail.gmail.com> Message-ID: <4B9E4027.4000100@voiceworks.pl> I would check wanpipe 3.5.10.9 first. I think I had similar problem when I installed new openzap and older sangoma_prid (older wanpipe). Tzury Bar Yochay wrote: > Hi, > > This is my setup > > FreeSWITCH: Version 1.0.trunk (16992M) > Sangoma: wanpipe-3.5.10.3.smg_pri-v1.58 > > I have finally managed to set up the environment coping many hick-ups > reported in this mailing list recently. > However, I am still encountering problems when trying to perform call > from SIP to PRI. > > I have configured my dialplan to bridge all numbers which are not SIP > to be bridged over to the PSTN. > However, when calling a PSTN number I am getting > RECOVERY_ON_TIMER_EXPIRE error > > pastebin for all configuration files is available at: > http://pastebin.freeswitch.org/12437 > > pastebin for CLI output is available at: > http://pastebin.freeswitch.org/12436 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 tzury.by at reguluslabs.com Mon Mar 15 07:11:58 2010 From: tzury.by at reguluslabs.com (Tzury Bar Yochay) Date: Mon, 15 Mar 2010 16:11:58 +0200 Subject: [Freeswitch-users] SIP to PRI RECOVERY_ON_TIMER_EXPIRE error using Sangoma (sangoma_prid) In-Reply-To: References: <10128ef11003150645w2d7f46b1v5053960592490825@mail.gmail.com> <10128ef11003150651r793f61b9i91dadc169b97b907@mail.gmail.com> Message-ID: <10128ef11003150711q571f28fescf478066e3b3b209@mail.gmail.com> On Mon, Mar 15, 2010 at 4:03 PM, Moises Silva wrote: > take an isdn pcap dump of the wanpipe interface to see the messages there (I > think you already know how, if not, search "pcap" in wiki.sangoma.com) pcap file attached, also available at http://rapidshare.com/files/363660904/isdn.pcap.html -------------- next part -------------- A non-text attachment was scrubbed... Name: isdn.pcap Type: application/cap Size: 484 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/ff2ca10b/attachment.bin From tzury.by at reguluslabs.com Mon Mar 15 07:21:44 2010 From: tzury.by at reguluslabs.com (Tzury Bar Yochay) Date: Mon, 15 Mar 2010 16:21:44 +0200 Subject: [Freeswitch-users] SIP to PRI RECOVERY_ON_TIMER_EXPIRE error using Sangoma (sangoma_prid) In-Reply-To: <4B9E4027.4000100@voiceworks.pl> References: <10128ef11003150645w2d7f46b1v5053960592490825@mail.gmail.com> <10128ef11003150651r793f61b9i91dadc169b97b907@mail.gmail.com> <4B9E4027.4000100@voiceworks.pl> Message-ID: <10128ef11003150721o546e5da8n79ff766c8722537@mail.gmail.com> On Mon, Mar 15, 2010 at 4:11 PM, Lukasz Kutkowski wrote: > I would check wanpipe 3.5.10.9 first. I think I had similar problem when > I installed new openzap and older sangoma_prid (older wanpipe). Bu then I might face this issue http://lists.freeswitch.org/pipermail/freeswitch-users/2010-February/025361.html which was the reason I went to this version at first place From lloyd.aloysius at gmail.com Mon Mar 15 07:34:22 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Mon, 15 Mar 2010 10:34:22 -0400 Subject: [Freeswitch-users] LUA Call duration or Billing Sec In-Reply-To: <201003150956.37356.sos@sokhapkin.dyndns.org> References: <8a19bf2e1003150640ld95ba1dqd888a9cedf6df381@mail.gmail.com> <201003150956.37356.sos@sokhapkin.dyndns.org> Message-ID: <8a19bf2e1003150734q41a442dcl40261b59ff46c58b@mail.gmail.com> How to execute another lua script when channel enter the REPORTING state? What are the channel variable names? Thanks Lloyd On Mon, Mar 15, 2010 at 9:56 AM, Sergey Okhapkin wrote: > Unfortunately all "interesting" billing-related channel variables are set > after the lua script execution, when channel enters REPORTING state. To > access > those variables I execute separate lua script using mod_cdr_csv, it allows > to > invoke lua script. > > On Monday 15 March 2010, Aloysius Lloyd wrote: > > Hi All, > > > > I have the following simple Lua script answer a inbound call then dial > > another number and bridge the call. > > > > Is there any way to get the call duration or billing sec using the > > > > session:getVariable( ); > > > > > > > > -- answer the call > > session:answer(); > > > > -- sleep a second > > session:sleep(1000); > > > > -- Initiate an outbound call > > obSession = > freeswitch.Session("sofia/gateway/voipms/14165555555",session) > > > > obSession:execute("sched_hangup","+60 alloted_timeout"); > > > > -- bride the call > > freeswitch.bridge(session, obSession); > > > > -- hangup > > session:hangup(); > > > > > > Thank you > > Lloyd > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/b7a19248/attachment-0001.html From lukasz at voiceworks.pl Mon Mar 15 07:36:47 2010 From: lukasz at voiceworks.pl (Lukasz Kutkowski) Date: Mon, 15 Mar 2010 15:36:47 +0100 Subject: [Freeswitch-users] SIP to PRI RECOVERY_ON_TIMER_EXPIRE error using Sangoma (sangoma_prid) In-Reply-To: <10128ef11003150721o546e5da8n79ff766c8722537@mail.gmail.com> References: <10128ef11003150645w2d7f46b1v5053960592490825@mail.gmail.com> <10128ef11003150651r793f61b9i91dadc169b97b907@mail.gmail.com> <4B9E4027.4000100@voiceworks.pl> <10128ef11003150721o546e5da8n79ff766c8722537@mail.gmail.com> Message-ID: <4B9E45FF.3030204@voiceworks.pl> I'm running FreeSWITCH Version 1.0.trunk (16966) WANPIPE Release: 3.5.10.9 in my lab and everything is ok. Check http://wiki.sangoma.com/wanpipe-freeswitch-install. They recommend wanpipe 3.5.10.9. I think you should try it. Tzury Bar Yochay wrote: > On Mon, Mar 15, 2010 at 4:11 PM, Lukasz Kutkowski wrote: > >> I would check wanpipe 3.5.10.9 first. I think I had similar problem when >> I installed new openzap and older sangoma_prid (older wanpipe). >> > > Bu then I might face this issue > http://lists.freeswitch.org/pipermail/freeswitch-users/2010-February/025361.html > which was the reason I went to this version at first place > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 sos at sokhapkin.dyndns.org Mon Mar 15 07:48:34 2010 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Mon, 15 Mar 2010 10:48:34 -0400 Subject: [Freeswitch-users] LUA Call duration or Billing Sec In-Reply-To: <8a19bf2e1003150734q41a442dcl40261b59ff46c58b@mail.gmail.com> References: <8a19bf2e1003150640ld95ba1dqd888a9cedf6df381@mail.gmail.com> <201003150956.37356.sos@sokhapkin.dyndns.org> <8a19bf2e1003150734q41a442dcl40261b59ff46c58b@mail.gmail.com> Message-ID: <201003151048.34689.sos@sokhapkin.dyndns.org> cdr_csv.conf.xml: All variables described at http://wiki.freeswitch.org/wiki/Mod_cdr_csv are accessible from that lua script. On Monday 15 March 2010, Aloysius Lloyd wrote: > How to execute another lua script when channel enter the REPORTING state? > > What are the channel variable names? > > Thanks > Lloyd > > On Mon, Mar 15, 2010 at 9:56 AM, Sergey Okhapkin > > wrote: > > Unfortunately all "interesting" billing-related channel variables are set > > after the lua script execution, when channel enters REPORTING state. To > > access > > those variables I execute separate lua script using mod_cdr_csv, it > > allows to > > invoke lua script. > > > > On Monday 15 March 2010, Aloysius Lloyd wrote: > > > Hi All, > > > > > > I have the following simple Lua script answer a inbound call then dial > > > another number and bridge the call. > > > > > > Is there any way to get the call duration or billing sec using the > > > > > > session:getVariable( ); > > > > > > > > > > > > -- answer the call > > > session:answer(); > > > > > > -- sleep a second > > > session:sleep(1000); > > > > > > -- Initiate an outbound call > > > obSession = > > > > freeswitch.Session("sofia/gateway/voipms/14165555555",session) > > > > > obSession:execute("sched_hangup","+60 alloted_timeout"); > > > > > > -- bride the call > > > freeswitch.bridge(session, obSession); > > > > > > -- hangup > > > session:hangup(); > > > > > > > > > Thank you > > > Lloyd > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 ahmed.ajmal at breezecom.ae Mon Mar 15 07:50:49 2010 From: ahmed.ajmal at breezecom.ae (Ahmed Ajmal) Date: Mon, 15 Mar 2010 19:50:49 +0500 Subject: [Freeswitch-users] Set/Export channel variable In-Reply-To: References: <016f01cac05a$36be9610$a43bc230$@ajmal@breezecom.ae> Message-ID: <016201cac44e$eadf33f0$c09d9bd0$@ajmal@breezecom.ae> Hi I have now configured the gateways as suggested below but I am not able to see the sip_gateway_name variable when the call hangup event is complete. I am on Freeswitch 1.0.5. Thanks Ahmed From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Wednesday, March 10, 2010 7:08 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Set/Export channel variable We already set you a variable called sip_gateway_name when a call is placed out a gateway. You're also doing this wrong you should NEVER EVER do @$ipgwX as that data is in the gateway. You should simply do sofia/gateway/gwname/number /b On Mar 10, 2010, at 8:01 AM, Ahmed Ajmal wrote: Hi I am trying to set a channel variable on the bridge application using this: The application runs fine, what I now need to do is set/export the 'gw' channel variable for CDR so that I know which gateway was dialed. I have tried using set and export application but that doesn't work. Please help. Thanks Ahmed -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/0a98d809/attachment.html From lloyd.aloysius at gmail.com Mon Mar 15 07:54:13 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Mon, 15 Mar 2010 10:54:13 -0400 Subject: [Freeswitch-users] LUA Call duration or Billing Sec In-Reply-To: <201003151048.34689.sos@sokhapkin.dyndns.org> References: <8a19bf2e1003150640ld95ba1dqd888a9cedf6df381@mail.gmail.com> <201003150956.37356.sos@sokhapkin.dyndns.org> <8a19bf2e1003150734q41a442dcl40261b59ff46c58b@mail.gmail.com> <201003151048.34689.sos@sokhapkin.dyndns.org> Message-ID: <8a19bf2e1003150754m558f72d3jbdad26217d24e82a@mail.gmail.com> How to trigger this template from the main script ? or Does this automatically trigger when finish the first script complete? Thanks Lloyd On Mon, Mar 15, 2010 at 10:48 AM, Sergey Okhapkin wrote: > cdr_csv.conf.xml: > > > > > > All variables described at http://wiki.freeswitch.org/wiki/Mod_cdr_csv are > accessible from that lua script. > > On Monday 15 March 2010, Aloysius Lloyd wrote: > > How to execute another lua script when channel enter the REPORTING state? > > > > What are the channel variable names? > > > > Thanks > > Lloyd > > > > On Mon, Mar 15, 2010 at 9:56 AM, Sergey Okhapkin > > > > wrote: > > > Unfortunately all "interesting" billing-related channel variables are > set > > > after the lua script execution, when channel enters REPORTING state. To > > > access > > > those variables I execute separate lua script using mod_cdr_csv, it > > > allows to > > > invoke lua script. > > > > > > On Monday 15 March 2010, Aloysius Lloyd wrote: > > > > Hi All, > > > > > > > > I have the following simple Lua script answer a inbound call then > dial > > > > another number and bridge the call. > > > > > > > > Is there any way to get the call duration or billing sec using the > > > > > > > > session:getVariable( ); > > > > > > > > > > > > > > > > -- answer the call > > > > session:answer(); > > > > > > > > -- sleep a second > > > > session:sleep(1000); > > > > > > > > -- Initiate an outbound call > > > > obSession = > > > > > > freeswitch.Session("sofia/gateway/voipms/14165555555",session) > > > > > > > obSession:execute("sched_hangup","+60 alloted_timeout"); > > > > > > > > -- bride the call > > > > freeswitch.bridge(session, obSession); > > > > > > > > -- hangup > > > > session:hangup(); > > > > > > > > > > > > Thank you > > > > Lloyd > > > > > > _______________________________________________ > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/aea79970/attachment.html From sos at sokhapkin.dyndns.org Mon Mar 15 08:02:03 2010 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Mon, 15 Mar 2010 11:02:03 -0400 Subject: [Freeswitch-users] LUA Call duration or Billing Sec In-Reply-To: <8a19bf2e1003150754m558f72d3jbdad26217d24e82a@mail.gmail.com> References: <8a19bf2e1003150640ld95ba1dqd888a9cedf6df381@mail.gmail.com> <201003151048.34689.sos@sokhapkin.dyndns.org> <8a19bf2e1003150754m558f72d3jbdad26217d24e82a@mail.gmail.com> Message-ID: <201003151102.03407.sos@sokhapkin.dyndns.org> That script will be executed automatically when call ends. You can set some channel variables in the main lua script and access those variables from hangup lua script if you need to pass the information to the hangup script. On Monday 15 March 2010, Aloysius Lloyd wrote: > How to trigger this template from the main script ? or Does this > automatically trigger when finish the first script complete? > > Thanks > Lloyd > > On Mon, Mar 15, 2010 at 10:48 AM, Sergey Okhapkin > > wrote: > > cdr_csv.conf.xml: > > > > > > > > > > > > All variables described at http://wiki.freeswitch.org/wiki/Mod_cdr_csv > > are accessible from that lua script. > > > > On Monday 15 March 2010, Aloysius Lloyd wrote: > > > How to execute another lua script when channel enter the REPORTING > > > state? > > > > > > What are the channel variable names? > > > > > > Thanks > > > Lloyd > > > > > > On Mon, Mar 15, 2010 at 9:56 AM, Sergey Okhapkin > > > > > > wrote: > > > > Unfortunately all "interesting" billing-related channel variables are > > > > set > > > > > > after the lua script execution, when channel enters REPORTING state. > > > > To access > > > > those variables I execute separate lua script using mod_cdr_csv, it > > > > allows to > > > > invoke lua script. > > > > > > > > On Monday 15 March 2010, Aloysius Lloyd wrote: > > > > > Hi All, > > > > > > > > > > I have the following simple Lua script answer a inbound call then > > > > dial > > > > > > > another number and bridge the call. > > > > > > > > > > Is there any way to get the call duration or billing sec using the > > > > > > > > > > session:getVariable( ); > > > > > > > > > > > > > > > > > > > > -- answer the call > > > > > session:answer(); > > > > > > > > > > -- sleep a second > > > > > session:sleep(1000); > > > > > > > > > > -- Initiate an outbound call > > > > > obSession = > > > > > > > > freeswitch.Session("sofia/gateway/voipms/14165555555",session) > > > > > > > > > obSession:execute("sched_hangup","+60 alloted_timeout"); > > > > > > > > > > -- bride the call > > > > > freeswitch.bridge(session, obSession); > > > > > > > > > > -- hangup > > > > > session:hangup(); > > > > > > > > > > > > > > > Thank you > > > > > Lloyd > > > > > > > > _______________________________________________ > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at 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 moises.silva at gmail.com Mon Mar 15 08:28:13 2010 From: moises.silva at gmail.com (Moises Silva) Date: Mon, 15 Mar 2010 11:28:13 -0400 Subject: [Freeswitch-users] SIP to PRI RECOVERY_ON_TIMER_EXPIRE error using Sangoma (sangoma_prid) In-Reply-To: <10128ef11003150721o546e5da8n79ff766c8722537@mail.gmail.com> References: <10128ef11003150645w2d7f46b1v5053960592490825@mail.gmail.com> <10128ef11003150651r793f61b9i91dadc169b97b907@mail.gmail.com> <4B9E4027.4000100@voiceworks.pl> <10128ef11003150721o546e5da8n79ff766c8722537@mail.gmail.com> Message-ID: Ok, so the call is not even being placed in the ISDN network. Did you manage to get the sangoma_prid logs working? if that's the case then paste them too, it seems sangoma_prid is not seeing the request from FreeSWITCH to place a call and FreeSWITCH is timing out cuz there is no response from sangoma_prid binary (they both communicate through sctp socket). -- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy at sangoma.com On Mon, Mar 15, 2010 at 10:21 AM, Tzury Bar Yochay wrote: > On Mon, Mar 15, 2010 at 4:11 PM, Lukasz Kutkowski > wrote: > > I would check wanpipe 3.5.10.9 first. I think I had similar problem when > > I installed new openzap and older sangoma_prid (older wanpipe). > > Bu then I might face this issue > > http://lists.freeswitch.org/pipermail/freeswitch-users/2010-February/025361.html > which was the reason I went to this version at first place > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/6785501d/attachment.html From anthony.minessale at gmail.com Mon Mar 15 08:31:03 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 15 Mar 2010 09:31:03 -0600 Subject: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. In-Reply-To: <549CFEF87AEDE841A38E9D15EAB4C04C5577434BCE@cooper> References: <549CFEF87AEDE841A38E9D15EAB4C04C5577434BCE@cooper> Message-ID: <191c3a031003150831p42041ceeu5e1b12bbee1d9b1c@mail.gmail.com> you could wait for the execute_complete event for your break command. On Mon, Mar 15, 2010 at 3:20 AM, Peter Olsson < peter.olsson at visionutveckling.se> wrote: > I?m not sure if this belongs in Jira, or if it?s possible to do it > another way ? so I try the list first :) > > > > I?m using ESL to do some IVR functions. Basically I play some sound files, > wait for DTMF, and then do something, like record a message, transfer the > call to a mobile phone etc. Quite basic and simple. > > > > I?ve noticed one problem with this, and it?s when I want to stop playback > using command ?break?. In 99% of the time everything works as expected, but > sometimes I get this problem ? and the problem is that the current file > doesn?t stop playing. And I think I know why this is happening. > > > > Lets say I first send playback(tone_stream://%(1500, 3500, 440.0, > 0.0);loops=100) to the channel. This will play a ring-tone (swedish) and > loop through it 100 times. When I want to stop this tone I send the break > command, and directly after this a new playback command. Maybe 1 time in 100 > tries the tone_stream doesn?t stop playing. I think this is becuase how > break works. From what I understand from the source it just sets the > CF_BREAK flag on the channel, and then the playback application will detect > this and stop the playback. However, when I send a new playback command > immediately after break it will reset the CF_BREAK-flag again, to make sure > it won?t cause any problems for the new playback. So if the original > playback (tone_stream) didn?t check the flag before it was reset, it won?t > known that it was supposed to stop playing. > > > > I guess I could wait 50ms before sending the new playback message, but I > can really never be sure that it was handled properly. > > > > Is there any other way around this? How about ?break all?, will it > make any difference in this case? Or should this just be treated as a timing > bug, and filed to Jira? Any help on this would be greatly appreciated. > > > > These are the messages I?m sending; > > > > SendMsg > > call-command: execute > > execute-app-name: playback > > execute-app-arg: tone_stream://%(1500, 3500, 440.0, 0.0);loops=100 > > > > When I don?t want this to play anymore I send a break; > > > > SendMsg > > call-command: execute > > execute-app-name: break > > > > And immediately after this I want to play another file; > > > > SendMsg > > call-command: execute > > execute-app-name: playback > > execute-app-arg: file/to/play.wav > > > > > > Regards, > > > > Peter Olsson > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100315/424d72b0/attachment.html From srinivas.ksvreddy at gmail.com Mon Mar 15 08:36:29 2010 From: srinivas.ksvreddy at gmail.com (srinivasula reddy) Date: Mon, 15 Mar 2010 11:36:29 -0400 Subject: [Freeswitch-users] freeswitch to cisco gateway Message-ID: Hi, i am using freeswitch1.0.2, farwarding call from freeswitch to cisco like just farwading the call. / > i do not using any gateway here, just farwarding call to router, is this correct way of doing? any idea -- Srinivasula Reddy K -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/70f08dba/attachment.html From peter.olsson at visionutveckling.se Mon Mar 15 08:40:48 2010 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Mon, 15 Mar 2010 16:40:48 +0100 Subject: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. In-Reply-To: <191c3a031003150831p42041ceeu5e1b12bbee1d9b1c@mail.gmail.com> References: <549CFEF87AEDE841A38E9D15EAB4C04C5577434BCE@cooper> <191c3a031003150831p42041ceeu5e1b12bbee1d9b1c@mail.gmail.com> Message-ID: <549CFEF87AEDE841A38E9D15EAB4C04C5577434DE9@cooper> Thanks for the reply. Yes, I thought of this. But that still shouldn't solve the issue? It will only tell that the CF_BREAK flag was set on the channel, not that the current playback detected the flag in the loop (which I guess is done in a different thread), or is this event sent once the playback really did stop? /Peter Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Anthony Minessale Skickat: den 15 mars 2010 16:31 Till: freeswitch-users at lists.freeswitch.org ?mne: Re: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. you could wait for the execute_complete event for your break command. On Mon, Mar 15, 2010 at 3:20 AM, Peter Olsson > wrote: I'm not sure if this belongs in Jira, or if it's possible to do it another way - so I try the list first :) I'm using ESL to do some IVR functions. Basically I play some sound files, wait for DTMF, and then do something, like record a message, transfer the call to a mobile phone etc. Quite basic and simple. I've noticed one problem with this, and it's when I want to stop playback using command "break". In 99% of the time everything works as expected, but sometimes I get this problem - and the problem is that the current file doesn't stop playing. And I think I know why this is happening. Lets say I first send playback(tone_stream://%(1500, 3500, 440.0, 0.0);loops=100) to the channel. This will play a ring-tone (swedish) and loop through it 100 times.. When I want to stop this tone I send the break command, and directly after this a new playback command. Maybe 1 time in 100 tries the tone_stream doesn't stop playing. I think this is becuase how break works. From what I understand from the source it just sets the CF_BREAK flag on the channel, and then the playback application will detect this and stop the playback. However, when I send a new playback command immediately after break it will reset the CF_BREAK-flag again, to make sure it won't cause any problems for the new playback. So if the original playback (tone_stream) didn't check the flag before it was reset, it won't known that it was supposed to stop playing. I guess I could wait 50ms before sending the new playback message, but I can really never be sure that it was handled properly. Is there any other way around this? How about "break all", will it make any difference in this case? Or should this just be treated as a timing bug, and filed to Jira? Any help on this would be greatly appreciated. These are the messages I'm sending; SendMsg call-command: execute execute-app-name: playback execute-app-arg: tone_stream://%(1500, 3500, 440.0, 0.0);loops=100 When I don't want this to play anymore I send a break; SendMsg call-command: execute execute-app-name: break And immediately after this I want to play another file; SendMsg call-command: execute execute-app-name: playback execute-app-arg: file/to/play.wav Regards, Peter Olsson _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 !DSPAM:4b9e543132932880416179! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/d0c6c80b/attachment-0001.html From anthony.minessale at gmail.com Mon Mar 15 08:45:37 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 15 Mar 2010 09:45:37 -0600 Subject: [Freeswitch-users] 100% CPU In-Reply-To: References: <354A4EF2-6A17-4153-B500-65EDB00A4D4D@5ninesolutions.com> <191c3a031003141608j4933d768p116b17c32be2b6d2@mail.gmail.com> Message-ID: <191c3a031003150845y63b03bf8ic46b5ba5b8d830bd@mail.gmail.com> That seems suspiciously similar to an old issue we have already fixed, how exactly did you rebuild? On Sun, Mar 14, 2010 at 6:38 PM, Spencer Thomason < spencer at 5ninesolutions.com> wrote: > I rebuilt today. > > On Mar 14, 2010, at 5:23 PM, Brian West wrote: > > > Are you sure you're on SVN trunk? > > > > /b > > > > On Mar 14, 2010, at 7:14 PM, Spencer Thomason wrote: > > > >> No. Its on our hardware, we just use xen to virtualize the > >> machines.. this is the only vm on the machine. Gcore complains > >> about no debugging symbols found, do I need to rebuild? > >> > >> It appears to be a problem when registering to one of my trunks. > >> The very strange thing is the everything will be working perfectly > >> and then all of a sudden this happens, i.e. trunks regged, calls > >> completing, etc. This is a very lightly loaded server. > >> > >> This is the output from the console: > > > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 > -- 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 iax:guest at conference.freeswitch.org/888 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/20100315/8dd8aae8/attachment.html From anthony.minessale at gmail.com Mon Mar 15 09:21:15 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 15 Mar 2010 10:21:15 -0600 Subject: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. In-Reply-To: <549CFEF87AEDE841A38E9D15EAB4C04C5577434DE9@cooper> References: <549CFEF87AEDE841A38E9D15EAB4C04C5577434BCE@cooper> <191c3a031003150831p42041ceeu5e1b12bbee1d9b1c@mail.gmail.com> <549CFEF87AEDE841A38E9D15EAB4C04C5577434DE9@cooper> Message-ID: <191c3a031003150921wf2560cdj74a91b36dc70eb71@mail.gmail.com> you could also wait for the execute_complete of the file you were playing On Mon, Mar 15, 2010 at 9:40 AM, Peter Olsson < peter.olsson at visionutveckling.se> wrote: > Thanks for the reply. > > > > Yes, I thought of this. > > > > But that still shouldn?t solve the issue? It will only tell that the > CF_BREAK flag was set on the channel, not that the current playback detected > the flag in the loop (which I guess is done in a different thread), or is > this event sent once the playback really did stop? > > > > /Peter > > > > *Fr?n:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *F?r *Anthony Minessale > *Skickat:* den 15 mars 2010 16:31 > *Till:* freeswitch-users at lists.freeswitch.org > *?mne:* Re: [Freeswitch-users] ESL and application "break" (to stop file > playback) - timing issues. > > > > you could wait for the execute_complete event for your break command. > > On Mon, Mar 15, 2010 at 3:20 AM, Peter Olsson < > peter.olsson at visionutveckling.se> wrote: > > I?m not sure if this belongs in Jira, or if it?s possible to do it another > way ? so I try the list first :) > > > > I?m using ESL to do some IVR functions. Basically I play some sound files, > wait for DTMF, and then do something, like record a message, transfer the > call to a mobile phone etc. Quite basic and simple. > > > > I?ve noticed one problem with this, and it?s when I want to stop playback > using command ?break?. In 99% of the time everything works as expected, but > sometimes I get this problem ? and the problem is that the current file > doesn?t stop playing. And I think I know why this is happening. > > > > Lets say I first send playback(tone_stream://%(1500, 3500, 440.0, > 0.0);loops=100) to the channel. This will play a ring-tone (swedish) and > loop through it 100 times.. When I want to stop this tone I send the break > command, and directly after this a new playback command. Maybe 1 time in 100 > tries the tone_stream doesn?t stop playing. I think this is becuase how > break works. From what I understand from the source it just sets the > CF_BREAK flag on the channel, and then the playback application will detect > this and stop the playback. However, when I send a new playback command > immediately after break it will reset the CF_BREAK-flag again, to make sure > it won?t cause any problems for the new playback. So if the original > playback (tone_stream) didn?t check the flag before it was reset, it won?t > known that it was supposed to stop playing. > > > > I guess I could wait 50ms before sending the new playback message, but I > can really never be sure that it was handled properly. > > > > Is there any other way around this? How about ?break all?, will it > make any difference in this case? Or should this just be treated as a timing > bug, and filed to Jira? Any help on this would be greatly appreciated. > > > > These are the messages I?m sending; > > > > SendMsg > > call-command: execute > > execute-app-name: playback > > execute-app-arg: tone_stream://%(1500, 3500, 440.0, 0.0);loops=100 > > > > When I don?t want this to play anymore I send a break; > > > > SendMsg > > call-command: execute > > execute-app-name: break > > > > And immediately after this I want to play another file; > > > > SendMsg > > call-command: execute > > execute-app-name: playback > > execute-app-arg: file/to/play.wav > > > > > > Regards, > > > > Peter Olsson > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > !DSPAM:4b9e543132932880416179! > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100315/ea3d4547/attachment.html From anthony.minessale at gmail.com Mon Mar 15 09:28:05 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 15 Mar 2010 10:28:05 -0600 Subject: [Freeswitch-users] A few questions after upgrade to trunk In-Reply-To: <23f91031003150327g182f0743r73c7002514471817@mail.gmail.com> References: <23f91031003150308j5e5938fasd0cf9d2adb5147d5@mail.gmail.com> <23f91031003150327g182f0743r73c7002514471817@mail.gmail.com> Message-ID: <191c3a031003150928s7ec8a562hddff8a89bad4ef68@mail.gmail.com> you would have to execute dl_debug on to get a trace that would tell us anything about that? Are you using the windows gtalk client or the web site? We are following google who have been pushing for the online client embedded in the gmail website. On Mon, Mar 15, 2010 at 4:27 AM, Seven Du wrote: > here is the client: > > > > > > > > > > > > > > > > > > > > > 2010/3/15 Seven Du : > > ALL, > > > > I just upgrade FS to 16992. > > > > 1) timer warning: How's possible the 10000 microseconds? audio sounds ok. > > > > > > [WARNING] switch_time.c:206 Timer resolution of 10000 microseconds > detected! > > Do you have your kernel timer set to higher than 1 kHz? You may > > experience audio problems. > > > > uname -a > > Linux xxx.idapted.com 2.6.22-14-server #1 SMP Tue Feb 12 08:27:05 UTC > > 2008 i686 GNU/Linux > > > > > > I used a script to check the interupts > > > > :~$ while :; do cat /proc/interrupts |grep LOC; sleep 1; done > > LOC: 14892854 14892843 14892841 14892830 > > LOC: 14892955 14892944 14892942 14892931 > > LOC: 14893056 14893045 14893043 14893032 > > LOC: 14893157 14893146 14893144 14893133 > > LOC: 14893258 14893247 14893245 14893234 > > LOC: 14893359 14893348 14893346 14893335 > > LOC: 14893460 14893449 14893447 14893436 > > > > > > 2) run dingaling with client mode. dingaling doesn't pick up answer. I > > originate a call from FS, the console blocks, gtalk client ring and it > > looks ok when I hit answer, but no sound, FS console still blocks. a > > few seconds later gtalk client shows: > > > > Sorry! The voice chat with language_lesson failed because of a network > > problem at 5:50 PM. Please try again. > > Click here to report this to Google. > > > > > > here is a log with bgapi: > > http://pastebin.freeswitch.org/12434 > > > > > > rev 14696 works on the same server same conf. another server running > > 16958M works at the same time. I have no clue to check, is it related > > to the timer as in 1)? can some help me to take a look? let me know if > > you need "dl_debug on" logs. > > > > Thanks. > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100315/d97fc84c/attachment-0001.html From anthony.minessale at gmail.com Mon Mar 15 09:39:26 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 15 Mar 2010 10:39:26 -0600 Subject: [Freeswitch-users] Call gets hanged up with ORIGINATOR_CANCEL cause In-Reply-To: <1268643396699-4735736.post@n2.nabble.com> References: <1268643396699-4735736.post@n2.nabble.com> Message-ID: <191c3a031003150939l5d33e830gfd317a9a06376544@mail.gmail.com> according to the code: you are bridging 2 channels where one of them is not answered yet. and if it never is answered before the timeout it will hangup. try waiting for both to be answered before you bridge them. On Mon, Mar 15, 2010 at 2:56 AM, Maciej Aniserowicz < maciej.aniserowicz at gmail.com> wrote: > > Hello, > I have the following problem: > > I register with x-lite to my freeswitch and then call it by sending command > bgapi originate > > {originate_timeout=15}[24cc_session_id=76dfb907-a0c3-4357-b1f9-ede89caf8a7e,ignore_early_media=true,max_forwards=999999,origination_uuid=d4f4e460-43c7-4e53-af18-46fa5226227d]sofia/gateway/agent_gateway/2500 > &park() > > Then i dial through a gateway which points to another freeswitch instance: > bgapi originate > > {originate_timeout=20}[24cc_session_id=3134a5ae-ec00-4164-94b1-a7fb5e0368fa,ignore_early_media=true,max_forwards=999999,origination_uuid=a85fd47e-051f-42ea-987e-f4e090c7ae78]sofia/gateway/prospect_gateway/1300671139878747511456 > &park() > > The dialplan causes answering the phone, playing a file and hanging up. > > The two calls are connected with this command: > > bgapi uuid_transfer f0c0db16-f00f-4b0b-8a00-d3b108d121b2 > intercept:a85fd47e-051f-42ea-987e-f4e090c7ae78,park inline > > > Unfortunately after the second call hangs up, the first call gets hanged up > too. > > I recently upgraded to FS trunk. > > Logs are in pastebin: > first freeswitch: http://pastebin.freeswitch.org/12432 > second freeswitch: http://pastebin.freeswitch.org/12433 > > Please take a look and help me figure this out.. > -- > View this message in context: > http://n2.nabble.com/Call-gets-hanged-up-with-ORIGINATOR-CANCEL-cause-tp4735736p4735736.html > Sent from the freeswitch-users mailing list archive at Nabble.com. > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100315/40a50010/attachment.html From dujinfang at gmail.com Mon Mar 15 10:01:08 2010 From: dujinfang at gmail.com (Seven Du) Date: Tue, 16 Mar 2010 01:01:08 +0800 Subject: [Freeswitch-users] A few questions after upgrade to trunk In-Reply-To: <191c3a031003150928s7ec8a562hddff8a89bad4ef68@mail.gmail.com> References: <23f91031003150308j5e5938fasd0cf9d2adb5147d5@mail.gmail.com> <23f91031003150327g182f0743r73c7002514471817@mail.gmail.com> <191c3a031003150928s7ec8a562hddff8a89bad4ef68@mail.gmail.com> Message-ID: <23f91031003151001t2a6dfcc5p2ed58b6c2376f899@mail.gmail.com> Thanks, It's late now, I will get logs tomorrow. I tested both on Windows client and web site on Mac. They both work on the other two instances of FreeSWITCH I mentioned in this thread. btw, can you give me a hint on the timer warning? 2010/3/16 Anthony Minessale : > you would have to execute > > dl_debug on > > to get a trace that would tell us anything about that? > > Are you using the windows gtalk client or the web site? > We are following google who have been pushing for the online client embedded > in the gmail website. > > > > > On Mon, Mar 15, 2010 at 4:27 AM, Seven Du wrote: >> >> here is the client: >> >> >> ? >> ? >> ? >> ? >> ? >> ? >> ? >> ? >> ? >> ? >> ? >> ? >> ? >> ? >> ? >> >> >> >> 2010/3/15 Seven Du : >> > ALL, >> > >> > I just upgrade FS to 16992. >> > >> > 1) timer warning: How's possible the 10000 microseconds? audio sounds >> > ok. >> > >> > >> > [WARNING] switch_time.c:206 Timer resolution of 10000 microseconds >> > detected! >> > Do you have your kernel timer set to higher than 1 kHz? You may >> > experience audio problems. >> > >> > uname -a >> > Linux xxx.idapted.com 2.6.22-14-server #1 SMP Tue Feb 12 08:27:05 UTC >> > 2008 i686 GNU/Linux >> > >> > >> > I used a script to check the interupts >> > >> > :~$ while :; do cat /proc/interrupts |grep LOC; sleep 1; done >> > LOC: ? 14892854 ? 14892843 ? 14892841 ? 14892830 >> > LOC: ? 14892955 ? 14892944 ? 14892942 ? 14892931 >> > LOC: ? 14893056 ? 14893045 ? 14893043 ? 14893032 >> > LOC: ? 14893157 ? 14893146 ? 14893144 ? 14893133 >> > LOC: ? 14893258 ? 14893247 ? 14893245 ? 14893234 >> > LOC: ? 14893359 ? 14893348 ? 14893346 ? 14893335 >> > LOC: ? 14893460 ? 14893449 ? 14893447 ? 14893436 >> > >> > >> > 2) run dingaling with client mode. dingaling doesn't pick up answer. I >> > originate a call from FS, the console blocks, gtalk client ring and it >> > looks ok when I hit answer, but no sound, FS console still blocks. a >> > few seconds later gtalk client shows: >> > >> > Sorry! The voice chat with language_lesson failed because of a network >> > problem at 5:50 PM. Please try again. >> > ?Click here to report this to Google. >> > >> > >> > here is a log with bgapi: >> > http://pastebin.freeswitch.org/12434 >> > >> > >> > rev 14696 works on the same server same conf. another server running >> > 16958M works at the same time. I have no clue to check, is it related >> > to the timer as in 1)? can some help me to take a look? let me know if >> > you need "dl_debug on" logs. >> > >> > Thanks. >> > >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 maciej.aniserowicz at gmail.com Mon Mar 15 10:04:04 2010 From: maciej.aniserowicz at gmail.com (Maciej Aniserowicz) Date: Mon, 15 Mar 2010 09:04:04 -0800 (PST) Subject: [Freeswitch-users] Call gets hanged up with ORIGINATOR_CANCEL cause In-Reply-To: <191c3a031003150939l5d33e830gfd317a9a06376544@mail.gmail.com> References: <1268643396699-4735736.post@n2.nabble.com> <191c3a031003150939l5d33e830gfd317a9a06376544@mail.gmail.com> Message-ID: <1268672644810-4738333.post@n2.nabble.com> Hi Anthony, Sorry if this was unclear - I am actually waiting for the phone to be answered. The two calls are bridged in handler for ANSWERED event of the 2nd call... -- View this message in context: http://n2.nabble.com/Call-gets-hanged-up-with-ORIGINATOR-CANCEL-cause-tp4735736p4738333.html Sent from the freeswitch-users mailing list archive at Nabble.com. From msc at freeswitch.org Mon Mar 15 10:04:46 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 15 Mar 2010 09:04:46 -0800 Subject: [Freeswitch-users] not answering calls on TDM400 port In-Reply-To: <3c5cf5261003131753y454a419bp609ed55342f8ddb0@mail.gmail.com> References: <3c5cf5261003131753y454a419bp609ed55342f8ddb0@mail.gmail.com> Message-ID: <87f2f3b91003151004j4c91f78cie800f9ce8be2eef4@mail.gmail.com> The TDM400 is a zaptel/dahdi card so you can use zttool (or the dahdi equivalent) to see what the channels are doing. -MC On Sat, Mar 13, 2010 at 5:53 PM, Brian May wrote: > Hello, > > I noticed Freeswitch wasn't answering calls on one of the TDM400 ports > yesterday. > > All other ports seemed to be OK. > > Nothing showed up on the console, set at debug log level. > > I restarted Freeswitch and it came good. > > What should I do if it happens again? Is there any debugging > information I can extract from the system? If so how? > > Thanks > -- > Brian May > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/144590ef/attachment.html From anthony.minessale at gmail.com Mon Mar 15 10:18:06 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 15 Mar 2010 11:18:06 -0600 Subject: [Freeswitch-users] A few questions after upgrade to trunk In-Reply-To: <23f91031003151001t2a6dfcc5p2ed58b6c2376f899@mail.gmail.com> References: <23f91031003150308j5e5938fasd0cf9d2adb5147d5@mail.gmail.com> <23f91031003150327g182f0743r73c7002514471817@mail.gmail.com> <191c3a031003150928s7ec8a562hddff8a89bad4ef68@mail.gmail.com> <23f91031003151001t2a6dfcc5p2ed58b6c2376f899@mail.gmail.com> Message-ID: <191c3a031003151018l670fdab6t5fc638115bb119d@mail.gmail.com> FS would prefer you run your kernel at 1000hz you are probably on a VM if its 10000hz On Mon, Mar 15, 2010 at 11:01 AM, Seven Du wrote: > Thanks, It's late now, I will get logs tomorrow. I tested both on > Windows client and web site on Mac. They both work on the other two > instances of FreeSWITCH I mentioned in this thread. > > btw, can you give me a hint on the timer warning? > > 2010/3/16 Anthony Minessale : > > you would have to execute > > > > dl_debug on > > > > to get a trace that would tell us anything about that? > > > > Are you using the windows gtalk client or the web site? > > We are following google who have been pushing for the online client > embedded > > in the gmail website. > > > > > > > > > > On Mon, Mar 15, 2010 at 4:27 AM, Seven Du wrote: > >> > >> here is the client: > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> 2010/3/15 Seven Du : > >> > ALL, > >> > > >> > I just upgrade FS to 16992. > >> > > >> > 1) timer warning: How's possible the 10000 microseconds? audio sounds > >> > ok. > >> > > >> > > >> > [WARNING] switch_time.c:206 Timer resolution of 10000 microseconds > >> > detected! > >> > Do you have your kernel timer set to higher than 1 kHz? You may > >> > experience audio problems. > >> > > >> > uname -a > >> > Linux xxx.idapted.com 2.6.22-14-server #1 SMP Tue Feb 12 08:27:05 UTC > >> > 2008 i686 GNU/Linux > >> > > >> > > >> > I used a script to check the interupts > >> > > >> > :~$ while :; do cat /proc/interrupts |grep LOC; sleep 1; done > >> > LOC: 14892854 14892843 14892841 14892830 > >> > LOC: 14892955 14892944 14892942 14892931 > >> > LOC: 14893056 14893045 14893043 14893032 > >> > LOC: 14893157 14893146 14893144 14893133 > >> > LOC: 14893258 14893247 14893245 14893234 > >> > LOC: 14893359 14893348 14893346 14893335 > >> > LOC: 14893460 14893449 14893447 14893436 > >> > > >> > > >> > 2) run dingaling with client mode. dingaling doesn't pick up answer. I > >> > originate a call from FS, the console blocks, gtalk client ring and it > >> > looks ok when I hit answer, but no sound, FS console still blocks. a > >> > few seconds later gtalk client shows: > >> > > >> > Sorry! The voice chat with language_lesson failed because of a network > >> > problem at 5:50 PM. Please try again. > >> > Click here to report this to Google. > >> > > >> > > >> > here is a log with bgapi: > >> > http://pastebin.freeswitch.org/12434 > >> > > >> > > >> > rev 14696 works on the same server same conf. another server running > >> > 16958M works at the same time. I have no clue to check, is it related > >> > to the timer as in 1)? can some help me to take a look? let me know if > >> > you need "dl_debug on" logs. > >> > > >> > Thanks. > >> > > >> > >> _______________________________________________ > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at 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 > > iax:guest at conference.freeswitch.org/888 > > googletalk:conf+888 at conference.freeswitch.org > > pstn:+19193869900 > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 > -- 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 iax:guest at conference.freeswitch.org/888 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/20100315/07481b15/attachment-0001.html From anthony.minessale at gmail.com Mon Mar 15 10:21:48 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 15 Mar 2010 11:21:48 -0600 Subject: [Freeswitch-users] Call gets hanged up with ORIGINATOR_CANCEL cause In-Reply-To: <1268672644810-4738333.post@n2.nabble.com> References: <1268643396699-4735736.post@n2.nabble.com> <191c3a031003150939l5d33e830gfd317a9a06376544@mail.gmail.com> <1268672644810-4738333.post@n2.nabble.com> Message-ID: <191c3a031003151021l7de8a5d8jf699f05607ea6e7e@mail.gmail.com> As you can see in the log that call hangs up before you bridge it so it ends in failure you may want to wait and make sure the call makes it to park start instead of answered before you bridge. On Mon, Mar 15, 2010 at 11:04 AM, Maciej Aniserowicz < maciej.aniserowicz at gmail.com> wrote: > > Hi Anthony, > Sorry if this was unclear - I am actually waiting for the phone to be > answered. The two calls are bridged in handler for ANSWERED event of the > 2nd > call... > -- > View this message in context: > http://n2.nabble.com/Call-gets-hanged-up-with-ORIGINATOR-CANCEL-cause-tp4735736p4738333.html > Sent from the freeswitch-users mailing list archive at Nabble.com. > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100315/e645c5bd/attachment.html From msc at freeswitch.org Mon Mar 15 10:36:03 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 15 Mar 2010 09:36:03 -0800 Subject: [Freeswitch-users] problem in sending calls to internal Gateway. In-Reply-To: <249845.71206.qm@web65402.mail.ac4.yahoo.com> References: <249845.71206.qm@web65402.mail.ac4.yahoo.com> Message-ID: <87f2f3b91003151036s3d458580l91c4cec4d90d3e73@mail.gmail.com> Prabin, Thank you for posting the configs. It is difficult to say what is wrong at this point because we don't know exactly what you are dialing. Could you please use pastebin.freeswitch.org and give us some call examples? Capture the debug output from the FreeSWITCH console. Also, be sure to say what phone is making the call and what digits the phone is dialing. You might actually be able to figure it out by looking at the debug output. If you are using fs_cli then debug mode is on automatically. If you are at the actual FreeSWITCH console (meaning that you did NOT start freeswitch with the -nc flag) then be sure to press F8 or type "console loglevel debug" to enable debug level output. See also this page for lots of handy tips on reporting information for troubleshooting: http://wiki.freeswitch.org/wiki/Reporting_Bugs -MC On Sat, Mar 13, 2010 at 10:22 PM, Prabin Shrestha wrote: > hello, > > My extension are working properly. But they can't send calls to gateway. I > have 2 interfaces, one with public and another with private lan. Gateway is > in private lan. Please suggest. > My configurations are as follows: > > /conf/sip_profiles/external.xml: > > > > > > /conf/sip_profiles/internal.xml: > > > > > > haven't made any changes in conf/autoload_configs/acl.conf.xml > > to route calls from providers, /dialplan/public/providers.xml: > > > > > > > > gateway is defined at /conf/sip_profiles/internal/gateways.xml: > > > > > > > > > > > > To route internal calls from extensions, /conf/dialplan/default.xml: > > > > > > > > to route calls from providers, conf/dialplan/inbound_routing.xml: > > > > > > > > > > Please help. > > > The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. > http://in.yahoo.com/ > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/041ea0f9/attachment.html From robert.dyck at shaw.ca Sun Mar 14 18:11:57 2010 From: robert.dyck at shaw.ca (Rob Dyck) Date: Sun, 14 Mar 2010 18:11:57 -0700 Subject: [Freeswitch-users] Fscomm unable to detect devices Message-ID: <201003141811.58645.robert.dyck@shaw.ca> 16987 on Fedora I realize fscomm is an immature project. I get an error message when it tries to detect my devices ( pci sound card, usb handset, usb camera with microphone ). Is this the expected result? Detection works in Twinkle and Ekiga. Second question - is video support on the roadmap? From schogge at gmx.de Mon Mar 15 08:14:02 2010 From: schogge at gmx.de (schogge) Date: Mon, 15 Mar 2010 08:14:02 -0700 (PDT) Subject: [Freeswitch-users] FreeSWITCH to add SRTP to Asterisk Message-ID: <27901964.post@talk.nabble.com> Hi Community, I'm new to FreeSWITCH. What I have read so far it seems to be a very interesting project. For our company we are running an Asterisk PBX in a datacenter. After some years it is doing everything we want except of SRTP. Would it be possible to run FreeSWITCH in front of Asterisk to convert SRTP coming from our phones to RTP which is ok for Asterisk and vice versa? Thanks, schogge -- View this message in context: http://old.nabble.com/FreeSWITCH-to-add-SRTP-to-Asterisk-tp27901964p27901964.html Sent from the Freeswitch-users mailing list archive at Nabble.com. From infos at madovsky.org Mon Mar 15 09:28:29 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 15 Mar 2010 12:28:29 -0400 Subject: [Freeswitch-users] voicemail options Message-ID: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705> Hi all, is there any way to set the voicemail for leave a message without any option at the end ? like record or send the message by email once the caller hangs up or after N sec of silence. Thanks Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/aef3bf08/attachment.html From anthony.minessale at gmail.com Mon Mar 15 10:54:57 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 15 Mar 2010 12:54:57 -0500 Subject: [Freeswitch-users] FreeSWITCH to add SRTP to Asterisk In-Reply-To: <27901964.post@talk.nabble.com> References: <27901964.post@talk.nabble.com> Message-ID: <191c3a031003151054s28d84c38oc02ae3ddad38acf7@mail.gmail.com> yes, it should be possible. On Mon, Mar 15, 2010 at 10:14 AM, schogge wrote: > > Hi Community, > I'm new to FreeSWITCH. What I have read so far it seems to be a very > interesting project. > For our company we are running an Asterisk PBX in a datacenter. After some > years it is doing everything we want except of SRTP. > Would it be possible to run FreeSWITCH in front of Asterisk to convert SRTP > coming from our phones to RTP which is ok for Asterisk and vice versa? > Thanks, > schogge > -- > View this message in context: > http://old.nabble.com/FreeSWITCH-to-add-SRTP-to-Asterisk-tp27901964p27901964.html > Sent from the Freeswitch-users mailing list archive at Nabble.com. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100315/30351b6b/attachment-0001.html From spencer at 5ninesolutions.com Mon Mar 15 11:07:24 2010 From: spencer at 5ninesolutions.com (Spencer Thomason) Date: Mon, 15 Mar 2010 11:07:24 -0700 Subject: [Freeswitch-users] 100% CPU In-Reply-To: <191c3a031003150845y63b03bf8ic46b5ba5b8d830bd@mail.gmail.com> References: <354A4EF2-6A17-4153-B500-65EDB00A4D4D@5ninesolutions.com> <191c3a031003141608j4933d768p116b17c32be2b6d2@mail.gmail.com> <191c3a031003150845y63b03bf8ic46b5ba5b8d830bd@mail.gmail.com> Message-ID: <5D46FB05-7C47-4D87-8CBB-1B1FEEC64A87@5ninesolutions.com> I'm using Centos 5.4, I have a build machine and I got the latest source from SVN, and rebuilt the RPMS from the updates source and then updated the FS machine. We have our own repo setup to update the machines. I disabled most of the modules except mod_console, mod_logfile, mod_cdr_csv, mod_event_scoket, mod_sofia, mod_loopback, mod_commands, mod_dptools, mod_expr, mod_limit, mod_dialplan_xml, and mod_voipcodecs and everything is working great. As soon as I enable the default set of modules, FS will work for about 3-4 hours and then one of the threads goes to 100% CPU. I haven't had the time to load the modules one by one to try to isolate the problem. The build completes fine, and I'm using the stock centos libraries to build against. The centos xen kernel on x86_64 is 100hz, could that be an issue? On Mar 15, 2010, at 8:45 AM, Anthony Minessale wrote: > That seems suspiciously similar to an old issue we have already > fixed, how exactly did you rebuild? > > > On Sun, Mar 14, 2010 at 6:38 PM, Spencer Thomason > wrote: > I rebuilt today. > > On Mar 14, 2010, at 5:23 PM, Brian West wrote: > > > Are you sure you're on SVN trunk? > > > > /b > > > > On Mar 14, 2010, at 7:14 PM, Spencer Thomason wrote: > > > >> No. Its on our hardware, we just use xen to virtualize the > >> machines.. this is the only vm on the machine. Gcore complains > >> about no debugging symbols found, do I need to rebuild? > >> > >> It appears to be a problem when registering to one of my trunks. > >> The very strange thing is the everything will be working perfectly > >> and then all of a sudden this happens, i.e. trunks regged, calls > >> completing, etc. This is a very lightly loaded server. > >> > >> This is the output from the console: > > > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 > > > > -- > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/1c368491/attachment.html From msc at freeswitch.org Mon Mar 15 11:18:39 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 15 Mar 2010 10:18:39 -0800 Subject: [Freeswitch-users] Dial number at registered extension In-Reply-To: References: <2FA6B68D-360A-4E03-A1CD-C7A3CF7FC97C@freeswitch.org> <03BD849C-2B7F-4A59-AAB9-15E977EDD207@5ninesolutions.com> <10061342-9B60-427D-979F-B3F762D1AEAC@5ninesolutions.com> <3A691E53-08FE-4897-9896-225A823934D0@5ninesolutions.com> Message-ID: <87f2f3b91003151118u1a0373aete4903979e48aaab8@mail.gmail.com> FYI, I added this as example 16 on the dialplan xml page on the wiki. -MC 2010/3/14 Jo?o Mesquita > Wiki is your friend to that type of info! Contribute to it, please! > > JM > > > > On Sun, Mar 14, 2010 at 11:20 PM, Spencer Thomason < > spencer at 5ninesolutions.com> wrote: > >> So just in case anyone else ever needs to do this.. here's what I ended up >> with: >> >> >> >> >> >> >> > data="sofia/default/$1${regex(${sofia_contact(${accountcode}@$${domain})}|^[^\@]+(.*)|%1)}" >> /> >> >> >> >> >> Basically the extension UAs register to is created as the same as the >> account code. We then use their ip at registration to dial a did on their >> end. >> >> Spencer >> >> >> On Mar 14, 2010, at 5:25 PM, Spencer Thomason wrote: >> >> Duh.. :-) Thanks! >> >> On Mar 14, 2010, at 4:17 PM, Jo?o Mesquita wrote: >> >> Yes, sofia_contact with regex to extract the IP portion? You had the >> answer yourself. >> >> Jo?o Mesquita >> >> >> >> On Sun, Mar 14, 2010 at 8:00 PM, Spencer Thomason < >> spencer at 5ninesolutions.com> wrote: >> >>> I guess my question is, is there some function which will return the >>> IP address of a registered user? Similar to sofia_contact but only >>> the IP address? >>> >>> Spencer >>> >>> On Mar 14, 2010, at 3:18 PM, Brian West wrote: >>> >>> > You sure can still have it call a registration.. You're mixing the >>> > dialplan and user directly as if they are a single entity. They >>> > aren't. >>> > >>> > /b >>> > >>> > On Mar 14, 2010, at 5:02 PM, Spencer Thomason wrote: >>> > >>> >> That looks promising, thanks. I was hoping to have FS do it >>> >> automatically. I.e. inbound dids are assigned to specific asterisk >>> >> boxes, ITSP dials inbound did of freeswitch, freeswitch dials >>> >> inbound did @ whereever the registration came from instead of >>> >> having the IP address hard coded into a route. >>> > >>> > >>> > _______________________________________________ >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at 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 >>> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100315/4e184a13/attachment.html From anthony.minessale at gmail.com Mon Mar 15 11:22:59 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 15 Mar 2010 13:22:59 -0500 Subject: [Freeswitch-users] 100% CPU In-Reply-To: <5D46FB05-7C47-4D87-8CBB-1B1FEEC64A87@5ninesolutions.com> References: <354A4EF2-6A17-4153-B500-65EDB00A4D4D@5ninesolutions.com> <191c3a031003141608j4933d768p116b17c32be2b6d2@mail.gmail.com> <191c3a031003150845y63b03bf8ic46b5ba5b8d830bd@mail.gmail.com> <5D46FB05-7C47-4D87-8CBB-1B1FEEC64A87@5ninesolutions.com> Message-ID: <191c3a031003151122q601b8341s1f77172090ebc02f@mail.gmail.com> if you can email me privately at consulting at freeswitch.org with the details to log into the box. I can have a look for you. On Mon, Mar 15, 2010 at 1:07 PM, Spencer Thomason < spencer at 5ninesolutions.com> wrote: > I'm using Centos 5.4, I have a build machine and I got the latest source > from SVN, and rebuilt the RPMS from the updates source and then updated the > FS machine. We have our own repo setup to update the machines. I disabled > most of the modules except mod_console, mod_logfile, mod_cdr_csv, > mod_event_scoket, mod_sofia, mod_loopback, mod_commands, mod_dptools, > mod_expr, mod_limit, mod_dialplan_xml, and mod_voipcodecs and everything is > working great. As soon as I enable the default set of modules, FS will work > for about 3-4 hours and then one of the threads goes to 100% CPU. I haven't > had the time to load the modules one by one to try to isolate the problem. > The build completes fine, and I'm using the stock centos libraries to build > against. The centos xen kernel on x86_64 is 100hz, could that be an issue? > > > On Mar 15, 2010, at 8:45 AM, Anthony Minessale wrote: > > That seems suspiciously similar to an old issue we have already fixed, how > exactly did you rebuild? > > > On Sun, Mar 14, 2010 at 6:38 PM, Spencer Thomason < > spencer at 5ninesolutions.com> wrote: > >> I rebuilt today. >> >> On Mar 14, 2010, at 5:23 PM, Brian West wrote: >> >> > Are you sure you're on SVN trunk? >> > >> > /b >> > >> > On Mar 14, 2010, at 7:14 PM, Spencer Thomason wrote: >> > >> >> No. Its on our hardware, we just use xen to virtualize the >> >> machines.. this is the only vm on the machine. Gcore complains >> >> about no debugging symbols found, do I need to rebuild? >> >> >> >> It appears to be a problem when registering to one of my trunks. >> >> The very strange thing is the everything will be working perfectly >> >> and then all of a sudden this happens, i.e. trunks regged, calls >> >> completing, etc. This is a very lightly loaded server. >> >> >> >> This is the output from the console: >> > >> > >> > _______________________________________________ >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at 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 >> > > > > -- > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > > -- 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 iax:guest at conference.freeswitch.org/888 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/20100315/8f308478/attachment-0001.html From msc at freeswitch.org Mon Mar 15 11:23:02 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 15 Mar 2010 10:23:02 -0800 Subject: [Freeswitch-users] voicemail options In-Reply-To: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705> References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705> Message-ID: <87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com> On Mon, Mar 15, 2010 at 8:28 AM, Madovsky wrote: > Hi all, > > is there any way to set the voicemail for leave a message without any > option at the end ? > like record or send the message by email once the caller hangs up or after > N sec of silence. > > I'm not quite sure that I understand the question. If the caller hangs up while leaving a message then the message gets sent. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/7ac11742/attachment.html From msc at freeswitch.org Mon Mar 15 11:28:35 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 15 Mar 2010 10:28:35 -0800 Subject: [Freeswitch-users] Set/Export channel variable In-Reply-To: <8259813661645760166@unknownmsgid> References: <8259813661645760166@unknownmsgid> Message-ID: <87f2f3b91003151128g656519bcq3d79516e5309effc@mail.gmail.com> On Mon, Mar 15, 2010 at 6:50 AM, Ahmed Ajmal wrote: > Hi > > > > I have now configured the gateways as suggested below but I am not able to > see the sip_gateway_name variable when the call hangup event is complete. I > am on Freeswitch 1.0.5. > > > Where are you looking to find the variable? -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/6d94ce24/attachment.html From msc at freeswitch.org Mon Mar 15 11:39:01 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 15 Mar 2010 10:39:01 -0800 Subject: [Freeswitch-users] freeswitch to cisco gateway In-Reply-To: References: Message-ID: <87f2f3b91003151139w5525dfa9pcb1d201bdb0ee91d@mail.gmail.com> On Mon, Mar 15, 2010 at 7:36 AM, srinivasula reddy < srinivas.ksvreddy at gmail.com> wrote: > Hi, > > i am using freeswitch1.0.2, farwarding call from freeswitch to cisco > like just farwading the call. > 1.0.2? Are you running it on MS-DOS 2.0?! Seriously, you need to update. 1.0.2 had some bugs. We're now at 1.0.5 (essentially). 1.0.2 is like 3 generations old. > > sofia/internal/${destination_number}@ciscogatewayip > /> > i do not using any gateway here, just farwarding call to router, is this > correct way of doing? any idea > You might want to use $1 instead of ${destination_number} since $1 will always have the right information in it, assuming of course that you used ( and ) in your regular expression. Something like this ought to work -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/0addd6e6/attachment.html From lloyd.aloysius at gmail.com Mon Mar 15 11:50:25 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Mon, 15 Mar 2010 14:50:25 -0400 Subject: [Freeswitch-users] LUA Call duration or Billing Sec In-Reply-To: <201003151102.03407.sos@sokhapkin.dyndns.org> References: <8a19bf2e1003150640ld95ba1dqd888a9cedf6df381@mail.gmail.com> <201003151048.34689.sos@sokhapkin.dyndns.org> <8a19bf2e1003150754m558f72d3jbdad26217d24e82a@mail.gmail.com> <201003151102.03407.sos@sokhapkin.dyndns.org> Message-ID: <8a19bf2e1003151150t70220eefy6e2281abfdbd4a81@mail.gmail.com> How to control the default-template. I do not want to run all the time when call hangup. I want only when I need for some hangup information.. Thanks Lloyd On Mon, Mar 15, 2010 at 11:02 AM, Sergey Okhapkin wrote: > That script will be executed automatically when call ends. You can set some > channel variables in the main lua script and access those variables from > hangup lua script if you need to pass the information to the hangup script. > > On Monday 15 March 2010, Aloysius Lloyd wrote: > > How to trigger this template from the main script ? or Does this > > automatically trigger when finish the first script complete? > > > > Thanks > > Lloyd > > > > On Mon, Mar 15, 2010 at 10:48 AM, Sergey Okhapkin > > > > wrote: > > > cdr_csv.conf.xml: > > > > > > > > > > > > > > > > > > All variables described at http://wiki.freeswitch.org/wiki/Mod_cdr_csv > > > are accessible from that lua script. > > > > > > On Monday 15 March 2010, Aloysius Lloyd wrote: > > > > How to execute another lua script when channel enter the REPORTING > > > > state? > > > > > > > > What are the channel variable names? > > > > > > > > Thanks > > > > Lloyd > > > > > > > > On Mon, Mar 15, 2010 at 9:56 AM, Sergey Okhapkin > > > > > > > > wrote: > > > > > Unfortunately all "interesting" billing-related channel variables > are > > > > > > set > > > > > > > > after the lua script execution, when channel enters REPORTING > state. > > > > > To access > > > > > those variables I execute separate lua script using mod_cdr_csv, it > > > > > allows to > > > > > invoke lua script. > > > > > > > > > > On Monday 15 March 2010, Aloysius Lloyd wrote: > > > > > > Hi All, > > > > > > > > > > > > I have the following simple Lua script answer a inbound call then > > > > > > dial > > > > > > > > > another number and bridge the call. > > > > > > > > > > > > Is there any way to get the call duration or billing sec using > the > > > > > > > > > > > > session:getVariable( ); > > > > > > > > > > > > > > > > > > > > > > > > -- answer the call > > > > > > session:answer(); > > > > > > > > > > > > -- sleep a second > > > > > > session:sleep(1000); > > > > > > > > > > > > -- Initiate an outbound call > > > > > > obSession = > > > > > > > > > > freeswitch.Session("sofia/gateway/voipms/14165555555",session) > > > > > > > > > > > obSession:execute("sched_hangup","+60 alloted_timeout"); > > > > > > > > > > > > -- bride the call > > > > > > freeswitch.bridge(session, obSession); > > > > > > > > > > > > -- hangup > > > > > > session:hangup(); > > > > > > > > > > > > > > > > > > Thank you > > > > > > Lloyd > > > > > > > > > > _______________________________________________ > > > > > FreeSWITCH-users mailing list > > > > > FreeSWITCH-users at lists.freeswitch.org > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > UNSUBSCRIBE: > > > > > > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > > > > > http://www.freeswitch.org > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/ac2afb51/attachment.html From msc at freeswitch.org Mon Mar 15 11:52:31 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 15 Mar 2010 10:52:31 -0800 Subject: [Freeswitch-users] FreeSWITCH Conf Call Agenda Message-ID: <87f2f3b91003151152s1acc22f4ydf45f2e6630673b3@mail.gmail.com> Hello all, The agenda for Wednesday's conference call is now up: http://wiki.freeswitch.org/wiki/FS_weekly_2010_03_17 We could use some more content. Also, we would love to have a volunteer discuss one of the FreeSWITCH modules or some other FS feature that he/she uses. If you have any thoughts or suggestions please email me off list. Thanks! -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/51dec772/attachment.html From infos at madovsky.org Mon Mar 15 12:18:10 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 15 Mar 2010 15:18:10 -0400 Subject: [Freeswitch-users] voicemail options References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705> <87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com> Message-ID: <9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705> Actually on the default voicemail example after you left a message the operator says press 1 to listen blabla or 2 to save blabla.. so if the caller hangs up before to press 2 the message is not sent. any way to remove these options and send the message after slience or caller hang up ? Thanks F ----- Original Message ----- From: Michael Collins To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 2:23 PM Subject: Re: [Freeswitch-users] voicemail options On Mon, Mar 15, 2010 at 8:28 AM, Madovsky wrote: Hi all, is there any way to set the voicemail for leave a message without any option at the end ? like record or send the message by email once the caller hangs up or after N sec of silence. I'm not quite sure that I understand the question. If the caller hangs up while leaving a message then the message gets sent. -MC ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/ec06ab32/attachment-0001.html From testeador01 at gmail.com Mon Mar 15 12:32:04 2010 From: testeador01 at gmail.com (Milena) Date: Mon, 15 Mar 2010 14:32:04 -0500 Subject: [Freeswitch-users] voicemail options In-Reply-To: <9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705> References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705> <87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com> <9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705> Message-ID: Hello, I have voicemails set on my office and messages do get sent when you hang up even if you don't press 2, did you try it? or are you guessing? (not trying to be rude, just trying to get info :) ) what revision are you running? 2010/3/15 Madovsky > Actually on the default voicemail example > after you left a message the operator says press 1 to listen blabla or 2 to > save blabla.. > so if the caller hangs up before to press 2 the message is not sent. any > way to remove > these options and send the message after slience or caller hang up ? > > Thanks > > F > > ----- Original Message ----- > *From:* Michael Collins > *To:* freeswitch-users at lists.freeswitch.org > *Sent:* Monday, March 15, 2010 2:23 PM > *Subject:* Re: [Freeswitch-users] voicemail options > > > > On Mon, Mar 15, 2010 at 8:28 AM, Madovsky wrote: > >> Hi all, >> >> is there any way to set the voicemail for leave a message without any >> option at the end ? >> like record or send the message by email once the caller hangs up or after >> N sec of silence. >> >> > I'm not quite sure that I understand the question. If the caller hangs up > while leaving a message then the message gets sent. > -MC > > ------------------------------ > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100315/ce6a97da/attachment.html From infos at madovsky.org Mon Mar 15 13:01:38 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 15 Mar 2010 16:01:38 -0400 Subject: [Freeswitch-users] voicemail options References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com><9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705> Message-ID: Hi, ah ok, so maybe the reason of fail is this error in console 2010-03-15 16:01:36.752887 [CRIT] switch_channel.c:759 Invalid data (${RECORD_COMMENT} contains a variable) Any idea ? Thanks ----- Original Message ----- From: Milena To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 3:32 PM Subject: Re: [Freeswitch-users] voicemail options Hello, I have voicemails set on my office and messages do get sent when you hang up even if you don't press 2, did you try it? or are you guessing? (not trying to be rude, just trying to get info :) ) what revision are you running? 2010/3/15 Madovsky Actually on the default voicemail example after you left a message the operator says press 1 to listen blabla or 2 to save blabla.. so if the caller hangs up before to press 2 the message is not sent. any way to remove these options and send the message after slience or caller hang up ? Thanks F ----- Original Message ----- From: Michael Collins To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 2:23 PM Subject: Re: [Freeswitch-users] voicemail options On Mon, Mar 15, 2010 at 8:28 AM, Madovsky wrote: Hi all, is there any way to set the voicemail for leave a message without any option at the end ? like record or send the message by email once the caller hangs up or after N sec of silence. I'm not quite sure that I understand the question. If the caller hangs up while leaving a message then the message gets sent. -MC -------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/627abce0/attachment.html From infos at madovsky.org Mon Mar 15 13:02:05 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 15 Mar 2010 16:02:05 -0400 Subject: [Freeswitch-users] voicemail options References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com><9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705> Message-ID: Sorry revision 16970 ----- Original Message ----- From: Milena To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 3:32 PM Subject: Re: [Freeswitch-users] voicemail options Hello, I have voicemails set on my office and messages do get sent when you hang up even if you don't press 2, did you try it? or are you guessing? (not trying to be rude, just trying to get info :) ) what revision are you running? 2010/3/15 Madovsky Actually on the default voicemail example after you left a message the operator says press 1 to listen blabla or 2 to save blabla.. so if the caller hangs up before to press 2 the message is not sent. any way to remove these options and send the message after slience or caller hang up ? Thanks F ----- Original Message ----- From: Michael Collins To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 2:23 PM Subject: Re: [Freeswitch-users] voicemail options On Mon, Mar 15, 2010 at 8:28 AM, Madovsky wrote: Hi all, is there any way to set the voicemail for leave a message without any option at the end ? like record or send the message by email once the caller hangs up or after N sec of silence. I'm not quite sure that I understand the question. If the caller hangs up while leaving a message then the message gets sent. -MC -------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/ac453c92/attachment-0001.html From testeador01 at gmail.com Mon Mar 15 13:10:54 2010 From: testeador01 at gmail.com (Milena) Date: Mon, 15 Mar 2010 15:10:54 -0500 Subject: [Freeswitch-users] voicemail options In-Reply-To: References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705> <87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com> <9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705> Message-ID: Hello, What value are you setting for "RECORD_COMMENT"? what is your dial plan for the extension you're testing? 2010/3/15 Madovsky > Sorry revision 16970 > > ----- Original Message ----- > *From:* Milena > *To:* freeswitch-users at lists.freeswitch.org > *Sent:* Monday, March 15, 2010 3:32 PM > *Subject:* Re: [Freeswitch-users] voicemail options > > Hello, > > I have voicemails set on my office and messages do get sent when you hang > up even if you don't press 2, > > did you try it? or are you guessing? (not trying to be rude, just trying to > get info :) ) > > what revision are you running? > > > > 2010/3/15 Madovsky > >> Actually on the default voicemail example >> after you left a message the operator says press 1 to listen blabla or 2 >> to save blabla.. >> so if the caller hangs up before to press 2 the message is not sent. any >> way to remove >> these options and send the message after slience or caller hang up ? >> >> Thanks >> >> F >> >> ----- Original Message ----- >> *From:* Michael Collins >> *To:* freeswitch-users at lists.freeswitch.org >> *Sent:* Monday, March 15, 2010 2:23 PM >> *Subject:* Re: [Freeswitch-users] voicemail options >> >> >> >> On Mon, Mar 15, 2010 at 8:28 AM, Madovsky wrote: >> >>> Hi all, >>> >>> is there any way to set the voicemail for leave a message without any >>> option at the end ? >>> like record or send the message by email once the caller hangs up or >>> after N sec of silence. >>> >>> >> I'm not quite sure that I understand the question. If the caller hangs up >> while leaving a message then the message gets sent. >> -MC >> >> ------------------------------ >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> >> > ------------------------------ > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100315/a9a01742/attachment.html From xengelpublicx at gmail.com Mon Mar 15 13:21:07 2010 From: xengelpublicx at gmail.com (Vladimir Elizarov) Date: Mon, 15 Mar 2010 23:21:07 +0300 Subject: [Freeswitch-users] intercept in fifo queue Message-ID: Hello. How can I intercept a fifo? I tried to use the example of intecept default dialplan, but in no fifo dialed_extension. {fifo_caller_exit_key=9,fifo_consumer_exit_key=9}user/100@$${domain} -- Best regards, Vladimir Elizarov From robert.hadley at teotech.com Mon Mar 15 13:24:07 2010 From: robert.hadley at teotech.com (Robert Hadley) Date: Mon, 15 Mar 2010 13:24:07 -0700 Subject: [Freeswitch-users] voicemail options In-Reply-To: <9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705> References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com> <9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705> Message-ID: <6CFB240D4D064C63BB295CAADAD1EF9E@greyhawk.tonecommander.com> The default FS action is to save the voicemail, so it is saved when there is silence or the caller hangs up without pressing 2. Note there is a minimum recording length of several seconds before a VM is saved. Robert _____ From: Madovsky [mailto:infos at madovsky.org] Sent: Monday, March 15, 2010 12:18 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] voicemail options Actually on the default voicemail example after you left a message the operator says press 1 to listen blabla or 2 to save blabla.. so if the caller hangs up before to press 2 the message is not sent. any way to remove these options and send the message after slience or caller hang up ? Thanks F ----- Original Message ----- From: Michael Collins To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 2:23 PM Subject: Re: [Freeswitch-users] voicemail options On Mon, Mar 15, 2010 at 8:28 AM, Madovsky wrote: Hi all, is there any way to set the voicemail for leave a message without any option at the end ? like record or send the message by email once the caller hangs up or after N sec of silence. I'm not quite sure that I understand the question. If the caller hangs up while leaving a message then the message gets sent. -MC _____ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/7db6fb56/attachment-0001.html From infos at madovsky.org Mon Mar 15 13:24:56 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 15 Mar 2010 16:24:56 -0400 Subject: [Freeswitch-users] voicemail options References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com><9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705> Message-ID: <5B1C9610DC644E8390EA3B9D450F4DBB@MOBILEE1705> here is my dialplan absolutly have no idea where RECORD_COMMENT var comes from... Thx ----- Original Message ----- From: Milena To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 4:10 PM Subject: Re: [Freeswitch-users] voicemail options Hello, What value are you setting for "RECORD_COMMENT"? what is your dial plan for the extension you're testing? 2010/3/15 Madovsky Sorry revision 16970 ----- Original Message ----- From: Milena To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 3:32 PM Subject: Re: [Freeswitch-users] voicemail options Hello, I have voicemails set on my office and messages do get sent when you hang up even if you don't press 2, did you try it? or are you guessing? (not trying to be rude, just trying to get info :) ) what revision are you running? 2010/3/15 Madovsky Actually on the default voicemail example after you left a message the operator says press 1 to listen blabla or 2 to save blabla.. so if the caller hangs up before to press 2 the message is not sent. any way to remove these options and send the message after slience or caller hang up ? Thanks F ----- Original Message ----- From: Michael Collins To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 2:23 PM Subject: Re: [Freeswitch-users] voicemail options On Mon, Mar 15, 2010 at 8:28 AM, Madovsky wrote: Hi all, is there any way to set the voicemail for leave a message without any option at the end ? like record or send the message by email once the caller hangs up or after N sec of silence. I'm not quite sure that I understand the question. If the caller hangs up while leaving a message then the message gets sent. -MC ---------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 -------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/8a5543c2/attachment.html From infos at madovsky.org Mon Mar 15 13:38:42 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 15 Mar 2010 16:38:42 -0400 Subject: [Freeswitch-users] voicemail options References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com><9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705> <6CFB240D4D064C63BB295CAADAD1EF9E@greyhawk.tonecommander.com> Message-ID: yes by was not sure that this save behavior was in default FS action. Thanks F ----- Original Message ----- From: Robert Hadley To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 4:24 PM Subject: Re: [Freeswitch-users] voicemail options The default FS action is to save the voicemail, so it is saved when there is silence or the caller hangs up without pressing 2. Note there is a minimum recording length of several seconds before a VM is saved. Robert ------------------------------------------------------------------------------ From: Madovsky [mailto:infos at madovsky.org] Sent: Monday, March 15, 2010 12:18 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] voicemail options Actually on the default voicemail example after you left a message the operator says press 1 to listen blabla or 2 to save blabla.. so if the caller hangs up before to press 2 the message is not sent. any way to remove these options and send the message after slience or caller hang up ? Thanks F ----- Original Message ----- From: Michael Collins To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 2:23 PM Subject: Re: [Freeswitch-users] voicemail options On Mon, Mar 15, 2010 at 8:28 AM, Madovsky wrote: Hi all, is there any way to set the voicemail for leave a message without any option at the end ? like record or send the message by email once the caller hangs up or after N sec of silence. I'm not quite sure that I understand the question. If the caller hangs up while leaving a message then the message gets sent. -MC ---------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20100315/b3de018b/attachment-0001.html From infos at madovsky.org Mon Mar 15 13:59:37 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 15 Mar 2010 16:59:37 -0400 Subject: [Freeswitch-users] voicemail options References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com><9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705> Message-ID: <180F642C4A184B1FAC86489E19B28AC0@MOBILEE1705> ok maybe this is the var from voicemail.conf.xml record-comment ? didn't know it doesn't allow variables... so I removed it and the error disappeared. so I have on console 2010-03-15 16:55:12.846384 [INFO] mod_shout.c:297 LAME 3.97 64bits (http://www.mp3dev.org/) 2010-03-15 16:55:12.846384 [INFO] mod_shout.c:297 Using polyphase lowpass filter, transition band: 7806 Hz - 8000 Hz but no message sent by email yet.. I checked sendmail -t manually, it works. here is my voicemail.conf.xml and the user config .... .... ... F ----- Original Message ----- From: Milena To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 4:10 PM Subject: Re: [Freeswitch-users] voicemail options Hello, What value are you setting for "RECORD_COMMENT"? what is your dial plan for the extension you're testing? 2010/3/15 Madovsky Sorry revision 16970 ----- Original Message ----- From: Milena To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 3:32 PM Subject: Re: [Freeswitch-users] voicemail options Hello, I have voicemails set on my office and messages do get sent when you hang up even if you don't press 2, did you try it? or are you guessing? (not trying to be rude, just trying to get info :) ) what revision are you running? 2010/3/15 Madovsky Actually on the default voicemail example after you left a message the operator says press 1 to listen blabla or 2 to save blabla.. so if the caller hangs up before to press 2 the message is not sent. any way to remove these options and send the message after slience or caller hang up ? Thanks F ----- Original Message ----- From: Michael Collins To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 2:23 PM Subject: Re: [Freeswitch-users] voicemail options On Mon, Mar 15, 2010 at 8:28 AM, Madovsky wrote: Hi all, is there any way to set the voicemail for leave a message without any option at the end ? like record or send the message by email once the caller hangs up or after N sec of silence. I'm not quite sure that I understand the question. If the caller hangs up while leaving a message then the message gets sent. -MC ---------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 -------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/261e926b/attachment.html From brian at freeswitch.org Mon Mar 15 14:14:52 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 15 Mar 2010 16:14:52 -0500 Subject: [Freeswitch-users] voicemail options In-Reply-To: <180F642C4A184B1FAC86489E19B28AC0@MOBILEE1705> References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com><9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705> <180F642C4A184B1FAC86489E19B28AC0@MOBILEE1705> Message-ID: <2456D54C-A539-4BBA-AF86-937E9BC2F1A1@freeswitch.org> Word of advice. MP3 is not recommended at all. /b On Mar 15, 2010, at 3:59 PM, Madovsky wrote: > 2010-03-15 16:55:12.846384 [INFO] mod_shout.c:297 LAME 3.97 64bits (http://www.mp3dev.org/) > 2010-03-15 16:55:12.846384 [INFO] mod_shout.c:297 Using polyphase lowpass filter, transition band: 7806 Hz - 8000 Hz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/dcc809a7/attachment-0001.html From msc at freeswitch.org Mon Mar 15 14:15:03 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 15 Mar 2010 13:15:03 -0800 Subject: [Freeswitch-users] LUA Call duration or Billing Sec In-Reply-To: <8a19bf2e1003151150t70220eefy6e2281abfdbd4a81@mail.gmail.com> References: <8a19bf2e1003150640ld95ba1dqd888a9cedf6df381@mail.gmail.com> <201003151048.34689.sos@sokhapkin.dyndns.org> <8a19bf2e1003150754m558f72d3jbdad26217d24e82a@mail.gmail.com> <201003151102.03407.sos@sokhapkin.dyndns.org> <8a19bf2e1003151150t70220eefy6e2281abfdbd4a81@mail.gmail.com> Message-ID: <87f2f3b91003151415t48a342c0wb6c5e81f42bf734c@mail.gmail.com> On Mon, Mar 15, 2010 at 10:50 AM, Aloysius Lloyd wrote: > How to control the default-template. I do not want to run all the time when > call hangup. I want only when I need for some hangup information.. > > Thanks > Lloyd > I don't know that you can selectively run or not run a script at hangup time. However, since Lua is so lightweight it probably would be fine just to run it at each hangup. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/04a61654/attachment.html From lloyd.aloysius at gmail.com Mon Mar 15 14:38:24 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Mon, 15 Mar 2010 17:38:24 -0400 Subject: [Freeswitch-users] LUA Call duration or Billing Sec In-Reply-To: <87f2f3b91003151415t48a342c0wb6c5e81f42bf734c@mail.gmail.com> References: <8a19bf2e1003150640ld95ba1dqd888a9cedf6df381@mail.gmail.com> <201003151048.34689.sos@sokhapkin.dyndns.org> <8a19bf2e1003150754m558f72d3jbdad26217d24e82a@mail.gmail.com> <201003151102.03407.sos@sokhapkin.dyndns.org> <8a19bf2e1003151150t70220eefy6e2281abfdbd4a81@mail.gmail.com> <87f2f3b91003151415t48a342c0wb6c5e81f42bf734c@mail.gmail.com> Message-ID: <8a19bf2e1003151438t532b522lb9f98462d744317@mail.gmail.com> I would like to do some Database insert and update operations , Not for all the calls only the calls originating from a particular script. On Mon, Mar 15, 2010 at 5:15 PM, Michael Collins wrote: > > > On Mon, Mar 15, 2010 at 10:50 AM, Aloysius Lloyd > wrote: > >> How to control the default-template. I do not want to run all the time >> when call hangup. I want only when I need for some hangup information.. >> >> Thanks >> Lloyd >> > > I don't know that you can selectively run or not run a script at hangup > time. However, since Lua is so lightweight it probably would be fine just to > run it at each hangup. > -MC > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/0d984363/attachment.html From nazim.agabekov at gmail.com Mon Mar 15 15:09:12 2010 From: nazim.agabekov at gmail.com (Nazim Agabekov) Date: Tue, 16 Mar 2010 02:09:12 +0400 Subject: [Freeswitch-users] LUA Call duration or Billing Sec In-Reply-To: <8a19bf2e1003151438t532b522lb9f98462d744317@mail.gmail.com> References: <8a19bf2e1003150640ld95ba1dqd888a9cedf6df381@mail.gmail.com> <201003151048.34689.sos@sokhapkin.dyndns.org> <8a19bf2e1003150754m558f72d3jbdad26217d24e82a@mail.gmail.com> <201003151102.03407.sos@sokhapkin.dyndns.org> <8a19bf2e1003151150t70220eefy6e2281abfdbd4a81@mail.gmail.com> <87f2f3b91003151415t48a342c0wb6c5e81f42bf734c@mail.gmail.com> <8a19bf2e1003151438t532b522lb9f98462d744317@mail.gmail.com> Message-ID: <4B9EB008.4080005@gmail.com> Lloyd, if you need to run different Lua scripts depending on some variables (or entirely skip the cdr), try my implementation. Documentation is in very embryonic state. You could get the overview from blog.buta-tech.com. Warning! all code snapshots on that page are obsolete! Latetest svn trunk is at http://nazim at svn.freeswitch.org/svn/freeswitch/trunk/contrib/nazim Regards, Nazim On 03/16/2010 01:38 AM, Aloysius Lloyd wrote: > I would like to do some Database insert and update operations , Not > for all the calls only the calls originating from a particular script. > > > > > > > > On Mon, Mar 15, 2010 at 5:15 PM, Michael Collins > wrote: > > > > On Mon, Mar 15, 2010 at 10:50 AM, Aloysius Lloyd > > wrote: > > How to control the default-template. I do not want to run all > the time when call hangup. I want only when I need for some > hangup information.. > > Thanks > Lloyd > > > I don't know that you can selectively run or not run a script at > hangup time. However, since Lua is so lightweight it probably > would be fine just to run it at each hangup. > -MC > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100316/6941c39d/attachment.html From will.traenkle at yahoo.com Mon Mar 15 16:22:25 2010 From: will.traenkle at yahoo.com (William Traenkle) Date: Mon, 15 Mar 2010 16:22:25 -0700 (PDT) Subject: [Freeswitch-users] IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds In-Reply-To: <87f2f3b91003092300n4bde010dy23b1374931058a@mail.gmail.com> References: <153857.43476.qm@web57613.mail.re1.yahoo.com> <87f2f3b91003092300n4bde010dy23b1374931058a@mail.gmail.com> Message-ID: <923176.22123.qm@web57601.mail.re1.yahoo.com> When a hunt group is accessed from the main IVR, the hunt group dials an internal extension via correctly but when trying to dial an external number such a cell phone via sip uri it is unable to connect or ring the cell phone and it waits the correct timeout period before it goes to voicemail. However, if you dial the hunt group directly without going through the main IVR, the external number such as cell phone that uses sip uri to connect to it work perfect. There is only an issue when the hunt group is accessed from the main IVR when dialing an external number using sip uri. 1) fs_cli output for successful call scenario directly to x7000 hunt group: http://pastebin.com/Q1ayXkNR 2) fs_cli output for failed call scenario x5002 IVR to x7000 hunt group: http://pastebin.com/FaxuGdJ3 3) autoattendant_5002.js script: http://pastebin.com/FaxuGdJ3 4) huntgroup_7000.js script: http://pastebin.com/wNX9K7Ab 5) Dialplan default.xml: http://pastebin.com/iAbNSW9E If you require additional information or have any other questions, please let me know. Thanks, -Will ________________________________ From: Michael Collins To: freeswitch-users at lists.freeswitch.org Sent: Tue, March 9, 2010 11:00:53 PM Subject: Re: [Freeswitch-users] IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds On Tue, Mar 9, 2010 at 9:55 PM, William Traenkle wrote: When a hunt group is accessed from the main IVR, the hunt group dials an internal extension via transfer correctly but when trying to dial an external number such a cell phone via sip uri it is unable to connect or ring the phone but it waits the correct timeout period before it goes to voicemail. > >However, if you access the hunt group directly without going through the main IVR, all works perfectly. > >Any ideas where I should look and what line of code I might be missing? > > Start by capturing the fs_cli debug output for the IVR call. Look through the debug lines for clues as to what is happening with your call. The symptom "unable to connect" has many possible causes, so try to locate the debug lines leading up to the attempt to bridge the SIP URI. If you want community help then pastebin the full debug log plus the relevant XML: the dialplan extension and the IVR definition. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/cde44593/attachment.html From lloydie.t at googlemail.com Mon Mar 15 16:51:48 2010 From: lloydie.t at googlemail.com (lloyd thomas) Date: Mon, 15 Mar 2010 23:51:48 +0000 Subject: [Freeswitch-users] Problem post request. Message-ID: <8b61bd671003151651sda3970er7e2d2fcf50067ae2@mail.gmail.com> I post two request re mod_xml_curl, but they both seemed to have disappeared. Please can you advise how I can post request so that they can be viewed as I am stuck on a few things? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/03f19970/attachment.html From infos at madovsky.org Mon Mar 15 17:21:41 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 15 Mar 2010 20:21:41 -0400 Subject: [Freeswitch-users] voicemail options References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com><9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705><180F642C4A184B1FAC86489E19B28AC0@MOBILEE1705> <2456D54C-A539-4BBA-AF86-937E9BC2F1A1@freeswitch.org> Message-ID: <82909F7AEAFD4F579399C90802F1476B@MOBILEE1705> Ok, for what reason ? ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 5:14 PM Subject: Re: [Freeswitch-users] voicemail options Word of advice. MP3 is not recommended at all. /b On Mar 15, 2010, at 3:59 PM, Madovsky wrote: 2010-03-15 16:55:12.846384 [INFO] mod_shout.c:297 LAME 3.97 64bits (http://www.mp3dev.org/) 2010-03-15 16:55:12.846384 [INFO] mod_shout.c:297 Using polyphase lowpass filter, transition band: 7806 Hz - 8000 Hz ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/c7133fb0/attachment-0001.html From brian at freeswitch.org Mon Mar 15 17:31:14 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 15 Mar 2010 19:31:14 -0500 Subject: [Freeswitch-users] voicemail options In-Reply-To: <82909F7AEAFD4F579399C90802F1476B@MOBILEE1705> References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com><9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705><180F642C4A184B1FAC86489E19B28AC0@MOBILEE1705> <2456D54C-A539-4BBA-AF86-937E9BC2F1A1@freeswitch.org> <82909F7AEAFD4F579399C90802F1476B@MOBILEE1705> Message-ID: <306F88D0-0B49-4772-9451-F9667FC6AA7F@freeswitch.org> You can't expect mp3 to scale. Also if you happen to hit a bad MP3 that crashes the decoder... which can happen the whole switch goes with it. /b On Mar 15, 2010, at 7:21 PM, Madovsky wrote: > Ok, for what reason ? > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/105c4c75/attachment.html From infos at madovsky.org Mon Mar 15 17:46:27 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 15 Mar 2010 20:46:27 -0400 Subject: [Freeswitch-users] voicemail options References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com><9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705><180F642C4A184B1FAC86489E19B28AC0@MOBILEE1705><2456D54C-A539-4BBA-AF86-937E9BC2F1A1@freeswitch.org><82909F7AEAFD4F579399C90802F1476B@MOBILEE1705> <306F88D0-0B49-4772-9451-F9667FC6AA7F@freeswitch.org> Message-ID: ok I understand. So any way to avoid wav (which could be big for an email) ? I guess I can use the audio format of modules I compiled in FS isn't it ? From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 8:31 PM Subject: Re: [Freeswitch-users] voicemail options You can't expect mp3 to scale. Also if you happen to hit a bad MP3 that crashes the decoder... which can happen the whole switch goes with it. /b On Mar 15, 2010, at 7:21 PM, Madovsky wrote: Ok, for what reason ? ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/6fe8fd20/attachment.html From spencer at 5ninesolutions.com Mon Mar 15 17:55:56 2010 From: spencer at 5ninesolutions.com (Spencer Thomason) Date: Mon, 15 Mar 2010 17:55:56 -0700 Subject: [Freeswitch-users] Radius CDR Message-ID: Hello all, Is mod_radius_cdr still around and does anyone have any experience with it? Spencer From infos at madovsky.org Mon Mar 15 19:26:04 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 15 Mar 2010 22:26:04 -0400 Subject: [Freeswitch-users] voicemail options References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com><9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705><180F642C4A184B1FAC86489E19B28AC0@MOBILEE1705><2456D54C-A539-4BBA-AF86-937E9BC2F1A1@freeswitch.org><82909F7AEAFD4F579399C90802F1476B@MOBILEE1705> <306F88D0-0B49-4772-9451-F9667FC6AA7F@freeswitch.org> Message-ID: now I can see after changed in default config with wav : /bin/cat: write error: Broken pipe sh: line 1: 22006 Done(1) /bin/cat /tmp/mail.12687062250d3d 22007 Segmentation fault | sendmail -f 123456789 at mydomain -t owner at mydomain however it seems that the file exists in /tmp but in a different subfolder and different name /tmp///msg_99010fd0-f429-441f-960d-939bb545591c.wav Amy idea ? ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 8:31 PM Subject: Re: [Freeswitch-users] voicemail options You can't expect mp3 to scale. Also if you happen to hit a bad MP3 that crashes the decoder... which can happen the whole switch goes with it. /b On Mar 15, 2010, at 7:21 PM, Madovsky wrote: Ok, for what reason ? ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/6dc964ab/attachment.html From dujinfang at gmail.com Mon Mar 15 20:09:00 2010 From: dujinfang at gmail.com (Seven Du) Date: Tue, 16 Mar 2010 11:09:00 +0800 Subject: [Freeswitch-users] LUA Call duration or Billing Sec In-Reply-To: <8a19bf2e1003150640ld95ba1dqd888a9cedf6df381@mail.gmail.com> References: <8a19bf2e1003150640ld95ba1dqd888a9cedf6df381@mail.gmail.com> Message-ID: <23f91031003152009o7c67cb66ubdcba84bd41c040c@mail.gmail.com> Using event consumer immediately after session:hangup -- uuid = session.uuid session:hangup for e in (function() return con:pop(1) end) do -- psudo code -- if e.uuid == uuid and e.event_type == reporting then .... end note this is not safe since you may miss the event before you do con:pop, then maybe you can try non-blocking con:pop() ... not tested, just an idea. Anyway, doing inline bill is not recommended. 2010/3/15 Aloysius Lloyd : > Hi All, > I have the following simple Lua script answer a inbound call then dial > another number and bridge the call. > Is there any way to get the ?call duration?or billing sec using the > session:getVariable( ?); > > > -- answer the call > session:answer(); > -- sleep a second > session:sleep(1000); > -- Initiate an outbound call > obSession = freeswitch.Session("sofia/gateway/voipms/14165555555",session) > obSession:execute("sched_hangup","+60 alloted_timeout"); > -- bride the call > ?? ?freeswitch.bridge(session, obSession); > -- hangup > session:hangup(); > > Thank you > Lloyd > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > From brian at freeswitch.org Mon Mar 15 20:14:41 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 15 Mar 2010 22:14:41 -0500 Subject: [Freeswitch-users] voicemail options In-Reply-To: References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com><9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705><180F642C4A184B1FAC86489E19B28AC0@MOBILEE1705><2456D54C-A539-4BBA-AF86-937E9BC2F1A1@freeswitch.org><82909F7AEAFD4F579399C90802F1476B@MOBILEE1705> <306F88D0-0B49-4772-9451-F9667FC6AA7F@freeswitch.org> Message-ID: <47AC86C6-784D-4AD1-A7B5-F6F925B3DC29@freeswitch.org> Not too sure who Amy is... but did FreeSWITCH crash or your mailer? /b On Mar 15, 2010, at 9:26 PM, Madovsky wrote: > Amy idea ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/00aefa49/attachment.html From infos at madovsky.org Mon Mar 15 20:42:35 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 15 Mar 2010 23:42:35 -0400 Subject: [Freeswitch-users] voicemail options References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com><9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705><180F642C4A184B1FAC86489E19B28AC0@MOBILEE1705><2456D54C-A539-4BBA-AF86-937E9BC2F1A1@freeswitch.org><82909F7AEAFD4F579399C90802F1476B@MOBILEE1705><306F88D0-0B49-4772-9451-F9667FC6AA7F@freeswitch.org> <47AC86C6-784D-4AD1-A7B5-F6F925B3DC29@freeswitch.org> Message-ID: <5EBFD6DBC1194098B33C8092B54C54FB@MOBILEE1705> fingers ripped... no FS is ok, I updated to 16998, used the default voicemail config and it's the same /bin/cat: write error: Broken pipe sh: line 1: 15281 Done(1) /bin/cat /tmp/mail.12687097673f11 15282 Segmentation fault | sendmail -f gaga at gogo.kiki -t infos at bobo.baba I think it means that the cat doesn't find the file... so I checked the /tmp permission and it's ok (chmod 1777) also if I change in voicemail.conf.xml to for example FS continues to use /tmp. Latest trunk, fedora 10 64bits ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 11:14 PM Subject: Re: [Freeswitch-users] voicemail options Not too sure who Amy is... but did FreeSWITCH crash or your mailer? /b On Mar 15, 2010, at 9:26 PM, Madovsky wrote: Amy idea ? ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/ddc6d07b/attachment-0001.html From brian at freeswitch.org Mon Mar 15 20:50:00 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 15 Mar 2010 22:50:00 -0500 Subject: [Freeswitch-users] voicemail options In-Reply-To: <5EBFD6DBC1194098B33C8092B54C54FB@MOBILEE1705> References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com><9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705><180F642C4A184B1FAC86489E19B28AC0@MOBILEE1705><2456D54C-A539-4BBA-AF86-937E9BC2F1A1@freeswitch.org><82909F7AEAFD4F579399C90802F1476B@MOBILEE1705><306F88D0-0B49-4772-9451-F9667FC6AA7F@freeswitch.org> <47AC86C6-784D-4AD1-A7B5-F6F925B3DC29@freeswitch.org> <5EBFD6DBC1194098B33C8092B54C54FB@MOBILEE1705> Message-ID: NO your mailer is crashing cuz its running out of stack space I suspect. What mailer are you using? /b On Mar 15, 2010, at 10:42 PM, Madovsky wrote: > fingers ripped... > no FS is ok, I updated to 16998, used the default voicemail config and it's the same > > /bin/cat: write error: Broken pipe > sh: line 1: 15281 Done(1) /bin/cat /tmp/mail.12687097673f11 > 15282 Segmentation fault | sendmail -f gaga at gogo.kiki -t infos at bobo.baba > > I think it means that the cat doesn't find the file... > so I checked the /tmp permission and it's ok (chmod 1777) > also if I change in voicemail.conf.xml > to for example > FS continues to use /tmp. > > Latest trunk, fedora 10 64bits > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/626e0669/attachment.html From infos at madovsky.org Mon Mar 15 20:58:30 2010 From: infos at madovsky.org (Madovsky) Date: Mon, 15 Mar 2010 23:58:30 -0400 Subject: [Freeswitch-users] voicemail options References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com><9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705><180F642C4A184B1FAC86489E19B28AC0@MOBILEE1705><2456D54C-A539-4BBA-AF86-937E9BC2F1A1@freeswitch.org><82909F7AEAFD4F579399C90802F1476B@MOBILEE1705><306F88D0-0B49-4772-9451-F9667FC6AA7F@freeswitch.org><47AC86C6-784D-4AD1-A7B5-F6F925B3DC29@freeswitch.org><5EBFD6DBC1194098B33C8092B54C54FB@MOBILEE1705> Message-ID: sendmail. ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 11:50 PM Subject: Re: [Freeswitch-users] voicemail options NO your mailer is crashing cuz its running out of stack space I suspect. What mailer are you using? /b On Mar 15, 2010, at 10:42 PM, Madovsky wrote: fingers ripped... no FS is ok, I updated to 16998, used the default voicemail config and it's the same /bin/cat: write error: Broken pipe sh: line 1: 15281 Done(1) /bin/cat /tmp/mail.12687097673f11 15282 Segmentation fault | sendmail -f gaga at gogo.kiki -t infos at bobo.baba I think it means that the cat doesn't find the file... so I checked the /tmp permission and it's ok (chmod 1777) also if I change in voicemail.conf.xml to for example FS continues to use /tmp. Latest trunk, fedora 10 64bits ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/15ada919/attachment.html From infos at madovsky.org Mon Mar 15 21:20:06 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 16 Mar 2010 00:20:06 -0400 Subject: [Freeswitch-users] voicemail options Message-ID: <92F81BC5148C4B688B38497FD5216AD2@MOBILEE1705> So I checked t/mp WHILE the operator says "message saved" but nothing like /tmp/mail.xxxxxxx do you have an army of ideas ? ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 11:58 PM Subject: Re: [Freeswitch-users] voicemail options sendmail. ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 11:50 PM Subject: Re: [Freeswitch-users] voicemail options NO your mailer is crashing cuz its running out of stack space I suspect. What mailer are you using? /b On Mar 15, 2010, at 10:42 PM, Madovsky wrote: fingers ripped... no FS is ok, I updated to 16998, used the default voicemail config and it's the same /bin/cat: write error: Broken pipe sh: line 1: 15281 Done(1) /bin/cat /tmp/mail.12687097673f11 15282 Segmentation fault | sendmail -f gaga at gogo.kiki -t infos at bobo.baba I think it means that the cat doesn't find the file... so I checked the /tmp permission and it's ok (chmod 1777) also if I change in voicemail.conf.xml to for example FS continues to use /tmp. Latest trunk, fedora 10 64bits ---------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/5d99e660/attachment.html From brian at freeswitch.org Mon Mar 15 21:28:34 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 15 Mar 2010 23:28:34 -0500 Subject: [Freeswitch-users] voicemail options In-Reply-To: <92F81BC5148C4B688B38497FD5216AD2@MOBILEE1705> References: <92F81BC5148C4B688B38497FD5216AD2@MOBILEE1705> Message-ID: <90B89EA1-AF0B-4A4F-83C1-A5B208D86BE9@freeswitch.org> Yes your mailer is crashing and never actually mailing the file... Works here for me.... I use exim see faq on wiki. /b On Mar 15, 2010, at 11:20 PM, Madovsky wrote: > So I checked t/mp WHILE the operator says "message saved" > but nothing like /tmp/mail.xxxxxxx > > do you have an army of ideas ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/b1fc3b11/attachment.html From tayeb.meftah at gmail.com Mon Mar 15 21:30:44 2010 From: tayeb.meftah at gmail.com (Meftah Tayeb) Date: Tue, 16 Mar 2010 05:30:44 +0100 Subject: [Freeswitch-users] freeswitch to cisco gateway In-Reply-To: References: Message-ID: <4B9F0974.70509@gmail.com> yeah, this is right but svn up to 1.0.5! you are 3yeers old Le 15/03/2010 16:36, srinivasula reddy a ?crit : > Hi, > i am using freeswitch1.0.2, farwarding call from freeswitch to cisco > like just farwading the call. > sofia/internal/${destination_number}@ciscogatewayip > /> > i do not using any gateway here, just farwarding call to router, is > this correct way of doing? any idea > > -- > Srinivasula Reddy K > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/9b8273c5/attachment-0001.html From tzury.by at reguluslabs.com Mon Mar 15 21:31:28 2010 From: tzury.by at reguluslabs.com (Tzury Bar Yochay) Date: Tue, 16 Mar 2010 06:31:28 +0200 Subject: [Freeswitch-users] SIP to PRI RECOVERY_ON_TIMER_EXPIRE error using Sangoma (sangoma_prid) In-Reply-To: References: <10128ef11003150645w2d7f46b1v5053960592490825@mail.gmail.com> <10128ef11003150651r793f61b9i91dadc169b97b907@mail.gmail.com> <4B9E4027.4000100@voiceworks.pl> <10128ef11003150721o546e5da8n79ff766c8722537@mail.gmail.com> Message-ID: <10128ef11003152131o383e0b3el6b9628b74da56998@mail.gmail.com> On Mon, Mar 15, 2010 at 5:28 PM, Moises Silva wrote: > Ok, so the call is not even being placed in the ISDN network. > > Did you manage to get the sangoma_prid logs working? if that's the case > then paste them too, it seems sangoma_prid is not seeing the request from > FreeSWITCH to place a call and FreeSWITCH is timing out cuz there is no > response from sangoma_prid binary (they both communicate through sctp > socket). > This is the log (a result of `# /usr/sbin/sangoma_prid &> sangoma_prid.log`) ================System restart============= = Sangoma PRI Protocol Stack Daemon = = Version: 1.58 = = Date: Feb 18 2010 = = Wanpipe Release: wanpipe-3.5.10.3 = = Revision:Revision: 15364 = =========================================== DEBUG - AlarmRegistryImpl::addAlarm : Alarm is not unique : system.overload.task DEBUG - AlarmRegistryImpl::addAlarm : Alarm is not unique : system.task.queue.100%-full DEBUG - AlarmRegistryImpl::addAlarm : Alarm is not unique : system.task.queue.90%-full DEBUG - AlarmRegistryImpl::addAlarm : Alarm is not unique : system.overload.task DEBUG - AlarmRegistryImpl::addAlarm : Alarm is not unique : system.task.queue.100%-full DEBUG - AlarmRegistryImpl::addAlarm : Alarm is not unique : system.task.queue.90%-full WARN - detected an AFT-A101 board with an unsupported firmware version. (detected: 0x34, supported: 0x36). You may encounter unknown issues if you use an unsupported firmware version. Please contact support to get the proper instructions to get the supported firmware unless you have been instructed to use this firmware version. ERROR - Assertion failed (in_eNewState == STARTING_TSLINK_STATE) file=../../../stack/src/main.cpp line=134 ERROR - ACE_Task::wait failed with error 22 (Invalid argument) . Task name = TelesoftStack ERROR - failed to waitUntilDone the TaskManager's thread TelesoftStack -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/b8f4e5d7/attachment.html From infos at madovsky.org Mon Mar 15 21:33:58 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 16 Mar 2010 00:33:58 -0400 Subject: [Freeswitch-users] voicemail options Message-ID: <3B08FAEF58694375A8A2739BEC293BDA@MOBILEE1705> there's a thread here http://lists.freeswitch.org/pipermail/freeswitch-users/2010-January/024731.html for exim with the same problem, but at the end he didn't say if it worked or not ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 16, 2010 12:20 AM Subject: Re: [Freeswitch-users] voicemail options So I checked t/mp WHILE the operator says "message saved" but nothing like /tmp/mail.xxxxxxx do you have an army of ideas ? ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 11:58 PM Subject: Re: [Freeswitch-users] voicemail options sendmail. ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 11:50 PM Subject: Re: [Freeswitch-users] voicemail options NO your mailer is crashing cuz its running out of stack space I suspect. What mailer are you using? /b On Mar 15, 2010, at 10:42 PM, Madovsky wrote: fingers ripped... no FS is ok, I updated to 16998, used the default voicemail config and it's the same /bin/cat: write error: Broken pipe sh: line 1: 15281 Done(1) /bin/cat /tmp/mail.12687097673f11 15282 Segmentation fault | sendmail -f gaga at gogo.kiki -t infos at bobo.baba I think it means that the cat doesn't find the file... so I checked the /tmp permission and it's ok (chmod 1777) also if I change in voicemail.conf.xml to for example FS continues to use /tmp. Latest trunk, fedora 10 64bits -------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/dbe6f1cd/attachment.html From brian at freeswitch.org Mon Mar 15 21:38:21 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 15 Mar 2010 23:38:21 -0500 Subject: [Freeswitch-users] voicemail options In-Reply-To: <3B08FAEF58694375A8A2739BEC293BDA@MOBILEE1705> References: <3B08FAEF58694375A8A2739BEC293BDA@MOBILEE1705> Message-ID: <6C5774D8-D130-458F-BC40-0DC1F5ECE87B@freeswitch.org> read the wiki it tells you how. /b On Mar 15, 2010, at 11:33 PM, Madovsky wrote: > there's a thread here > http://lists.freeswitch.org/pipermail/freeswitch-users/2010-January/024731.html > for exim with the same problem, > but at the end he didn't say if it worked or not > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/402adbde/attachment.html From brian at freeswitch.org Mon Mar 15 21:39:44 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 15 Mar 2010 23:39:44 -0500 Subject: [Freeswitch-users] freeswitch to cisco gateway In-Reply-To: References: Message-ID: <7E79BFF7-FC88-4333-AD25-370D55BB49AF@freeswitch.org> You should NEVER and I mean NEVER use ${destination_number} as is... its possible to inject things into the dial string. We never recommend it. gun+bullets=shot in foot. /b On Mar 15, 2010, at 10:36 AM, srinivasula reddy wrote: > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/1f3a2afc/attachment.html From tayeb.meftah at gmail.com Mon Mar 15 21:44:53 2010 From: tayeb.meftah at gmail.com (Meftah Tayeb) Date: Tue, 16 Mar 2010 05:44:53 +0100 Subject: [Freeswitch-users] latest windows binary Message-ID: <4B9F0CC5.3020409@gmail.com> hi all, could anyone build a windows version and put it in latest.freeswitch.org? thanks From infos at madovsky.org Mon Mar 15 21:46:41 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 16 Mar 2010 00:46:41 -0400 Subject: [Freeswitch-users] voicemail options [SOLVED] Message-ID: as my sendmail is ultra secure I forgot that the FROM "email" MUST be registered in your mails server... but now there is another problem. I open a new thread Thanks for your time Franck ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 16, 2010 12:33 AM Subject: Re: [Freeswitch-users] voicemail options there's a thread here http://lists.freeswitch.org/pipermail/freeswitch-users/2010-January/024731.html for exim with the same problem, but at the end he didn't say if it worked or not ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 16, 2010 12:20 AM Subject: Re: [Freeswitch-users] voicemail options So I checked t/mp WHILE the operator says "message saved" but nothing like /tmp/mail.xxxxxxx do you have an army of ideas ? ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 11:58 PM Subject: Re: [Freeswitch-users] voicemail options sendmail. ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 11:50 PM Subject: Re: [Freeswitch-users] voicemail options NO your mailer is crashing cuz its running out of stack space I suspect. What mailer are you using? /b On Mar 15, 2010, at 10:42 PM, Madovsky wrote: fingers ripped... no FS is ok, I updated to 16998, used the default voicemail config and it's the same /bin/cat: write error: Broken pipe sh: line 1: 15281 Done(1) /bin/cat /tmp/mail.12687097673f11 15282 Segmentation fault | sendmail -f gaga at gogo.kiki -t infos at bobo.baba I think it means that the cat doesn't find the file... so I checked the /tmp permission and it's ok (chmod 1777) also if I change in voicemail.conf.xml to for example FS continues to use /tmp. Latest trunk, fedora 10 64bits ------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/36b19fa9/attachment-0001.html From infos at madovsky.org Mon Mar 15 21:49:33 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 16 Mar 2010 00:49:33 -0400 Subject: [Freeswitch-users] voicemail message "saved" error Message-ID: <9E87C048B9AB44A9AE8C7C899740FB21@MOBILEE1705> Hi, 2010-03-16 00:44:27.878289 [WARNING] switch_ivr_play_say.c:339 Macro [voicemail_ack]: 'saved' did not match any patterns sh: line 1: 30667 Done /bin/cat /tmp/mail.126871466794cf 30668 Segmentation fault | sendmail -f infos at bibi.baba -t other at kiki.coco Thanks F -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/c7f7d9ea/attachment.html From tayeb.meftah at gmail.com Mon Mar 15 21:55:10 2010 From: tayeb.meftah at gmail.com (Meftah Tayeb) Date: Tue, 16 Mar 2010 05:55:10 +0100 Subject: [Freeswitch-users] PSTN connection In-Reply-To: <2F2B99BE-23B7-4B44-9157-DFA3791CEF39@ukgb.net> References: <2F2B99BE-23B7-4B44-9157-DFA3791CEF39@ukgb.net> Message-ID: <4B9F0F2E.4060407@gmail.com> hi, mayb you can wait for mod_gsmopen;) i am not sure. Le 11/03/2010 18:34, Ken Gillett a ?crit : > If I am running FreeSwitch on a Mac, would I be able to use Apple's USB modem as a means to connect to the PSTN and utilise this line to place and receive calls? > > > > Ken G i l l e t t > > _/_/_/_/_/_/_/_/ > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 tayeb.meftah at gmail.com Mon Mar 15 21:56:39 2010 From: tayeb.meftah at gmail.com (Meftah Tayeb) Date: Tue, 16 Mar 2010 05:56:39 +0100 Subject: [Freeswitch-users] Attrafax In-Reply-To: <65d96fc81003110915v39fb6dbia8e031322f9d451c@mail.gmail.com> References: <4d15ff861003080740t1bd67ee1h73891d2c2155cb5a@mail.gmail.com> <4B951E63.6060200@coppice.org> <4d15ff861003080824i1b7d1cb4p1466368d2130f45f@mail.gmail.com> <8b1c9cda1003081439h3da46e03n82ac897d95cf1911@mail.gmail.com> <65d96fc81003100410t7a386f0au411135ae62e34a6b@mail.gmail.com> <191c3a031003100911x30213038h533d5b89eb364242@mail.gmail.com> <65d96fc81003110915v39fb6dbia8e031322f9d451c@mail.gmail.com> Message-ID: <4B9F0F87.1050001@gmail.com> mod_fax is ready andd in production no T38 only T30 Le 11/03/2010 18:15, Tihomir Culjaga a ?crit : > > > On Wed, Mar 10, 2010 at 6:11 PM, Anthony Minessale > > wrote: > > We have a mod_fax for t30 and work on t38 is underway. > So we already acknowledge that I guess. > > > anything ready for testing ? > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/120e10a7/attachment.html From infos at madovsky.org Mon Mar 15 21:57:55 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 16 Mar 2010 00:57:55 -0400 Subject: [Freeswitch-users] voicemail options [SOLVED] Message-ID: Brian, I read the wiki 2 days ago already and din't help me ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 16, 2010 12:46 AM Subject: Re: [Freeswitch-users] voicemail options [SOLVED] as my sendmail is ultra secure I forgot that the FROM "email" MUST be registered in your mails server... but now there is another problem. I open a new thread Thanks for your time Franck ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 16, 2010 12:33 AM Subject: Re: [Freeswitch-users] voicemail options there's a thread here http://lists.freeswitch.org/pipermail/freeswitch-users/2010-January/024731.html for exim with the same problem, but at the end he didn't say if it worked or not ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 16, 2010 12:20 AM Subject: Re: [Freeswitch-users] voicemail options So I checked t/mp WHILE the operator says "message saved" but nothing like /tmp/mail.xxxxxxx do you have an army of ideas ? ----- Original Message ----- From: Madovsky To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 11:58 PM Subject: Re: [Freeswitch-users] voicemail options sendmail. ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 11:50 PM Subject: Re: [Freeswitch-users] voicemail options NO your mailer is crashing cuz its running out of stack space I suspect. What mailer are you using? /b On Mar 15, 2010, at 10:42 PM, Madovsky wrote: fingers ripped... no FS is ok, I updated to 16998, used the default voicemail config and it's the same /bin/cat: write error: Broken pipe sh: line 1: 15281 Done(1) /bin/cat /tmp/mail.12687097673f11 15282 Segmentation fault | sendmail -f gaga at gogo.kiki -t infos at bobo.baba I think it means that the cat doesn't find the file... so I checked the /tmp permission and it's ok (chmod 1777) also if I change in voicemail.conf.xml to for example FS continues to use /tmp. Latest trunk, fedora 10 64bits ---------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/4f8ad988/attachment.html From tayeb.meftah at gmail.com Mon Mar 15 22:01:52 2010 From: tayeb.meftah at gmail.com (Meftah Tayeb) Date: Tue, 16 Mar 2010 06:01:52 +0100 Subject: [Freeswitch-users] Switch with External SoftPhone In-Reply-To: References: Message-ID: <4B9F10C0.6020501@gmail.com> hi don't confuse betwan internal/external profile external profile is to send trafic to a provider and to subscrib users but in internal you can subscrib external and internal users awell just forward the required ports like 5060TCP/UDP for sip and 16000-32000 for rtp Le 11/03/2010 01:41, Vladimir Elizarov a ?crit : > Hello. > > What are the ways connect external users to the fs there? In such a > scheme: > fs with real ip <-> internet <-> nat <-> sip-phone > > > I read the topic http://wiki.freeswitch.org/wiki/External_profile # > Switch_with_External_SoftPhone > > I did not understand several things: > - That should be in exteranl5090.xml? Whole profile external.xml c > changes in paragraphs 2,3? > - Sofia/external5090 / @ xxxx: 5090 <- "What goes > in xxxx? External UA IP? Domain?" I have the same question. that > x.x.x.x should be? > > But this seems not quite what I need. Must be external to the > subscriber is practically no different from internal. > > -- > Best regards, Vladimir Elizarov > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/22b103d7/attachment-0001.html From brian at freeswitch.org Mon Mar 15 22:08:22 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 16 Mar 2010 00:08:22 -0500 Subject: [Freeswitch-users] voicemail message "saved" error In-Reply-To: <9E87C048B9AB44A9AE8C7C899740FB21@MOBILEE1705> References: <9E87C048B9AB44A9AE8C7C899740FB21@MOBILEE1705> Message-ID: <4E102168-434C-4DC7-9D38-661D890BD056@freeswitch.org> make vm-sync restart On Mar 15, 2010, at 11:49 PM, Madovsky wrote: > 2010-03-16 00:44:27.878289 [WARNING] switch_ivr_play_say.c:339 Macro [voicemail_ack]: 'saved' did not match any patterns > sh: line 1: 30667 Done /bin/cat /tmp/mail.126871466794cf > 30668 Segmentation fault | sendmail -f infos at bibi.baba -t other at kiki.coco > > Thanks > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/555393e5/attachment.html From ahmed.ajmal at breezecom.ae Mon Mar 15 22:41:41 2010 From: ahmed.ajmal at breezecom.ae (Ahmed Ajmal) Date: Tue, 16 Mar 2010 10:41:41 +0500 Subject: [Freeswitch-users] Set/Export channel variable In-Reply-To: <87f2f3b91003151128g656519bcq3d79516e5309effc@mail.gmail.com> References: <8259813661645760166@unknownmsgid> <87f2f3b91003151128g656519bcq3d79516e5309effc@mail.gmail.com> Message-ID: <015c01cac4cb$5f02baa0$1d082fe0$@ajmal@breezecom.ae> I am looking at the FS console after hangup is complete. I also have a ESL event hooked up for HANGUP_COMPLETE event. In both cases I am unable to see the sip_gateway_name variable. -ahmed From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Monday, March 15, 2010 11:29 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Set/Export channel variable On Mon, Mar 15, 2010 at 6:50 AM, Ahmed Ajmal wrote: Hi I have now configured the gateways as suggested below but I am not able to see the sip_gateway_name variable when the call hangup event is complete. I am on Freeswitch 1.0.5. Where are you looking to find the variable? -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/cef61940/attachment.html From ahmed.ajmal at breezecom.ae Mon Mar 15 23:21:49 2010 From: ahmed.ajmal at breezecom.ae (Ahmed Ajmal) Date: Tue, 16 Mar 2010 11:21:49 +0500 Subject: [Freeswitch-users] Set/Export channel variable [SOLVED] In-Reply-To: <015c01cac4cb$5f02baa0$1d082fe0$@ajmal@breezecom.ae> References: <8259813661645760166@unknownmsgid> <87f2f3b91003151128g656519bcq3d79516e5309effc@mail.gmail.com> <015c01cac4cb$5f02baa0$1d082fe0$@ajmal@breezecom.ae> Message-ID: <016701cac4d0$f917d210$eb477630$@ajmal@breezecom.ae> So it seems that the FS console by default only displays the 'a' leg vars which is why I couldn't see it (and it makes sense too since gateway is on the b leg side). I have the ESL script now display both the inbound/outbound after which I can see the sip_gateway_name var. -ahmed From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ahmed Ajmal Sent: Tuesday, March 16, 2010 10:42 AM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Set/Export channel variable I am looking at the FS console after hangup is complete. I also have a ESL event hooked up for HANGUP_COMPLETE event. In both cases I am unable to see the sip_gateway_name variable. -ahmed From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Monday, March 15, 2010 11:29 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Set/Export channel variable On Mon, Mar 15, 2010 at 6:50 AM, Ahmed Ajmal wrote: Hi I have now configured the gateways as suggested below but I am not able to see the sip_gateway_name variable when the call hangup event is complete. I am on Freeswitch 1.0.5. Where are you looking to find the variable? -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/001f7051/attachment.html From infos at madovsky.org Mon Mar 15 23:32:10 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 16 Mar 2010 02:32:10 -0400 Subject: [Freeswitch-users] voicemail options References: <21B81B3B0E304C759391E0C4E657E59F@MOBILEE1705><87f2f3b91003151123n1f340c4eu1d61bccabe73cc09@mail.gmail.com><9CAB6A7159E24717B31BB21E01FD16E4@MOBILEE1705><180F642C4A184B1FAC86489E19B28AC0@MOBILEE1705> <2456D54C-A539-4BBA-AF86-937E9BC2F1A1@freeswitch.org> Message-ID: <1B3CCF4C5CD84CF28FA7270D0C20EA2B@MOBILEE1705> Sorry Brian, I just realised that the wav is encoded in 8khz for vociemail. So it's not big MB deal Good Night ----- Original Message ----- From: Brian West To: freeswitch-users at lists.freeswitch.org Sent: Monday, March 15, 2010 5:14 PM Subject: Re: [Freeswitch-users] voicemail options Word of advice. MP3 is not recommended at all. /b On Mar 15, 2010, at 3:59 PM, Madovsky wrote: 2010-03-15 16:55:12.846384 [INFO] mod_shout.c:297 LAME 3.97 64bits (http://www.mp3dev.org/) 2010-03-15 16:55:12.846384 [INFO] mod_shout.c:297 Using polyphase lowpass filter, transition band: 7806 Hz - 8000 Hz ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/6e7111ac/attachment.html From tayeb.meftah at gmail.com Tue Mar 16 01:00:23 2010 From: tayeb.meftah at gmail.com (Meftah Tayeb) Date: Tue, 16 Mar 2010 09:00:23 +0100 Subject: [Freeswitch-users] answering call in irly_media mode Message-ID: <4B9F3A97.4030609@gmail.com> hi all i want to setup a custom ringback tone for inbound (not outbound calls) is in irly_media mode but i still heare the normal US ringback. where is my dialplan extension: http://pastebin.freeswitch.org/12452 thanks From will.traenkle at yahoo.com Tue Mar 16 01:03:32 2010 From: will.traenkle at yahoo.com (William Traenkle) Date: Tue, 16 Mar 2010 01:03:32 -0700 (PDT) Subject: [Freeswitch-users] IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds In-Reply-To: <87f2f3b91003151711r11746d5bt27e02ce54a6e98e@mail.gmail.com> References: <153857.43476.qm@web57613.mail.re1.yahoo.com> <87f2f3b91003092300n4bde010dy23b1374931058a@mail.gmail.com> <923176.22123.qm@web57601.mail.re1.yahoo.com> <87f2f3b91003151711r11746d5bt27e02ce54a6e98e@mail.gmail.com> Message-ID: <617776.63524.qm@web57601.mail.re1.yahoo.com> Michael, Thanks for your help. I was able to get it work, however, I would like your opinion as how to do this correctly as I have a hunch I may have opened up some security risks or have gone against freeswitch best practices. If not, just let me know and I will leave it as is. I modified the public.xml file under /conf/dialplan/ I uncommented the following: I added the following: ________________________________ From: Michael Collins To: William Traenkle Sent: Mon, March 15, 2010 5:11:57 PM Subject: Re: IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds On Mon, Mar 15, 2010 at 4:22 PM, William Traenkle wrote: When a hunt group is accessed from the main IVR, the hunt group dials >an internal extension via correctly but when trying to dial an >external number such a cell phone via sip uri it is unable to connect >or ring the cell phone and it waits the correct timeout period before it >goes to voicemail. > >However, if you dial the hunt group directly without going through the main IVR, the external number such as cell phone that uses sip uri to connect to it work perfect. > > > >>There is only an issue when the hunt group is accessed from the main IVR when dialing an external number using sip uri. > >>1) fs_cli output for successful call scenario directly to x7000 hunt group: http://pastebin.com/Q1ayXkNR > >>2) fs_cli output for failed call scenario x5002 IVR to x7000 hunt group: http://pastebin.com/FaxuGdJ3 In #2 your call to 7000 is hitting the public context. Most likely this isn't what you were anticipating. Try handling 7000 in the public context. Find the public_extensions dp entry and update your regex there: reloadxml and try again. If it works then consider creating a public context extension that specifically handles these calls, perhaps checking the IP address of the source of the call. -MC > >>3) autoattendant_5002.js script: http://pastebin.com/FaxuGdJ3 > >>4) huntgroup_7000.js script: http://pastebin.com/wNX9K7Ab > > >5) Dialplan default.xml: >http://pastebin.com/iAbNSW9E > >If you require additional information or have any other >questions, please let me know. > >>Thanks, > >>-Will > ________________________________ From: Michael Collins >To: freeswitch-users at lists.freeswitch.org >Sent: Tue, March 9, 2010 11:00:53 PM >Subject: Re: [Freeswitch-users] IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds > > > > >On Tue, Mar 9, 2010 at 9:55 PM, William Traenkle wrote: > >When a hunt group is accessed from the main IVR, the hunt group dials an internal extension via transfer correctly but when trying to dial an external number such a cell phone via sip uri it is unable to connect or ring the phone but it waits the correct timeout period before it goes to voicemail. >> >>However, if you access the hunt group directly without going through the main IVR, all works perfectly. >> >>Any ideas where I should look and what line of code I might be missing? >> >> > >Start by capturing the fs_cli debug output for the IVR call. Look through the debug lines for clues as to what is happening with your call. The symptom "unable to connect" has many possible causes, so try to locate the debug lines leading up to the attempt to bridge the SIP URI. If you want community help then pastebin the full debug log plus the relevant XML: the dialplan extension and the IVR definition. >> >-MC > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/e82daf19/attachment.html From will.traenkle at yahoo.com Tue Mar 16 01:09:53 2010 From: will.traenkle at yahoo.com (William Traenkle) Date: Tue, 16 Mar 2010 01:09:53 -0700 (PDT) Subject: [Freeswitch-users] IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds Message-ID: <227536.63049.qm@web57605.mail.re1.yahoo.com> Michael, Last question, what dictates when a call uses the public.xml or the default.xml dial plan? Thanks, ________________________________ From: William Traenkle To: Michael Collins ; freeswitch-users at lists.freeswitch.org Sent: Tue, March 16, 2010 1:03:32 AM Subject: Re: IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds Michael, Thanks for your help. I was able to get it work, however, I would like your opinion as how to do this correctly as I have a hunch I may have opened up some security risks or have gone against freeswitch best practices. If not, just let me know and I will leave it as is. I modified the public.xml file under /conf/dialplan/ I uncommented the following: I added the following: ________________________________ From: Michael Collins To: William Traenkle Sent: Mon, March 15, 2010 5:11:57 PM Subject: Re: IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds On Mon, Mar 15, 2010 at 4:22 PM, William Traenkle wrote: When a hunt group is accessed from the main IVR, the hunt group dials >an internal extension via correctly but when trying to dial an >external number such a cell phone via sip uri it is unable to connect >or ring the cell phone and it waits the correct timeout period before it >goes to voicemail. > >However, if you dial the hunt group directly without going through the main IVR, the external number such as cell phone that uses sip uri to connect to it work perfect. > > > >>There is only an issue when the hunt group is accessed from the main IVR when dialing an external number using sip uri. > >>1) fs_cli output for successful call scenario directly to x7000 hunt group: http://pastebin.com/Q1ayXkNR > >>2) fs_cli output for failed call scenario x5002 IVR to x7000 hunt group: http://pastebin.com/FaxuGdJ3 In #2 your call to 7000 is hitting the public context. Most likely this isn't what you were anticipating. Try handling 7000 in the public context. Find the public_extensions dp entry and update your regex there: reloadxml and try again. If it works then consider creating a public context extension that specifically handles these calls, perhaps checking the IP address of the source of the call. -MC > >>3) autoattendant_5002.js script: http://pastebin.com/FaxuGdJ3 > >>4) huntgroup_7000.js script: http://pastebin.com/wNX9K7Ab > > >5) Dialplan default.xml: >http://pastebin.com/iAbNSW9E > >If you require additional information or have any other >questions, please let me know. > >>Thanks, > >>-Will > ________________________________ From: Michael Collins >To: freeswitch-users at lists.freeswitch.org >Sent: Tue, March 9, 2010 11:00:53 PM >Subject: Re: [Freeswitch-users] IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds > > > > >On Tue, Mar 9, 2010 at 9:55 PM, William Traenkle wrote: > >When a hunt group is accessed from the main IVR, the hunt group dials an internal extension via transfer correctly but when trying to dial an external number such a cell phone via sip uri it is unable to connect or ring the phone but it waits the correct timeout period before it goes to voicemail. >> >>However, if you access the hunt group directly without going through the main IVR, all works perfectly. >> >>Any ideas where I should look and what line of code I might be missing? >> >> > >Start by capturing the fs_cli debug output for the IVR call. Look through the debug lines for clues as to what is happening with your call. The symptom "unable to connect" has many possible causes, so try to locate the debug lines leading up to the attempt to bridge the SIP URI. If you want community help then pastebin the full debug log plus the relevant XML: the dialplan extension and the IVR definition. >> >-MC > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/2b10f51c/attachment-0001.html From jason at jasonjgw.net Tue Mar 16 01:34:58 2010 From: jason at jasonjgw.net (Jason White) Date: Tue, 16 Mar 2010 19:34:58 +1100 Subject: [Freeswitch-users] IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds In-Reply-To: <227536.63049.qm@web57605.mail.re1.yahoo.com> References: <227536.63049.qm@web57605.mail.re1.yahoo.com> Message-ID: <20100316083458.GA30096@jdc.jasonjgw.net> William Traenkle wrote: > > Last question, what dictates when a call uses the public.xml or the > default.xml dial plan? The context of the call, e.g., as specified in the SIP profile. From jason at jasonjgw.net Tue Mar 16 01:45:09 2010 From: jason at jasonjgw.net (Jason White) Date: Tue, 16 Mar 2010 19:45:09 +1100 Subject: [Freeswitch-users] IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds In-Reply-To: <617776.63524.qm@web57601.mail.re1.yahoo.com> References: <153857.43476.qm@web57613.mail.re1.yahoo.com> <87f2f3b91003092300n4bde010dy23b1374931058a@mail.gmail.com> <923176.22123.qm@web57601.mail.re1.yahoo.com> <87f2f3b91003151711r11746d5bt27e02ce54a6e98e@mail.gmail.com> <617776.63524.qm@web57601.mail.re1.yahoo.com> Message-ID: <20100316084509.GA30197@jdc.jasonjgw.net> William Traenkle wrote: > Thanks for your help. I was able to get it work, however, I would like your > opinion as how to do this correctly as I have a hunch I may have opened up > some security risks or have gone against freeswitch best practices. If not, > just let me know and I will leave it as is. What you don't want is for calls originating in the public context to be transferred into extensions of the default dial plan for which they aren't authorized. Based on a cursory reading of your post, I don't notice any problems; you aren't transferring the calls into the default dial plan using the transfer application, so it should all just work fine. Having said that, I'm not responsible for your security; it's your task to consider call flows and make sure that public calls won't end up where you don't want them. From dujinfang at gmail.com Tue Mar 16 02:53:21 2010 From: dujinfang at gmail.com (Seven Du) Date: Tue, 16 Mar 2010 17:53:21 +0800 Subject: [Freeswitch-users] A few questions after upgrade to trunk In-Reply-To: <191c3a031003151018l670fdab6t5fc638115bb119d@mail.gmail.com> References: <23f91031003150308j5e5938fasd0cf9d2adb5147d5@mail.gmail.com> <23f91031003150327g182f0743r73c7002514471817@mail.gmail.com> <191c3a031003150928s7ec8a562hddff8a89bad4ef68@mail.gmail.com> <23f91031003151001t2a6dfcc5p2ed58b6c2376f899@mail.gmail.com> <191c3a031003151018l670fdab6t5fc638115bb119d@mail.gmail.com> Message-ID: <23f91031003160253n1a9ad426gaca1b13f4a2ee64c@mail.gmail.com> 2010/3/16 Anthony Minessale : > FS would prefer you run your kernel at 1000hz you are probably on a VM if > its 10000hz > It's a physical machine. And I'm also running 20 skype clients. as 100HZ is recommended for skypiax. I think the kernel should be 100 or 250 HZ. weird. here is the dingaling log with dl_debug on http://pastebin.freeswitch.org/12453 My public IP is 220.231.26.130, and nat to 192.168.1.27(me) still get this message on client: Sorry! The voice chat with language_lesson failed because of a network problem at 5:39 PM. Please try again. Click here to report this to Google Thanks. > > On Mon, Mar 15, 2010 at 11:01 AM, Seven Du wrote: >> >> Thanks, It's late now, I will get logs tomorrow. I tested both on >> Windows client and web site on Mac. They both work on the other two >> instances of FreeSWITCH I mentioned in this thread. >> >> btw, can you give me a hint on the timer warning? >> >> 2010/3/16 Anthony Minessale : >> > you would have to execute >> > >> > dl_debug on >> > >> > to get a trace that would tell us anything about that? >> > >> > Are you using the windows gtalk client or the web site? >> > We are following google who have been pushing for the online client >> > embedded >> > in the gmail website. >> > >> > >> > >> > >> > On Mon, Mar 15, 2010 at 4:27 AM, Seven Du wrote: >> >> >> >> here is the client: >> >> >> >> >> >> ? >> >> ? >> >> ? >> >> ? >> >> ? >> >> ? >> >> ? >> >> ? >> >> ? >> >> ? >> >> ? >> >> ? >> >> ? >> >> ? >> >> ? >> >> >> >> >> >> >> >> 2010/3/15 Seven Du : >> >> > ALL, >> >> > >> >> > I just upgrade FS to 16992. >> >> > >> >> > 1) timer warning: How's possible the 10000 microseconds? audio sounds >> >> > ok. >> >> > >> >> > >> >> > [WARNING] switch_time.c:206 Timer resolution of 10000 microseconds >> >> > detected! >> >> > Do you have your kernel timer set to higher than 1 kHz? You may >> >> > experience audio problems. >> >> > >> >> > uname -a >> >> > Linux xxx.idapted.com 2.6.22-14-server #1 SMP Tue Feb 12 08:27:05 UTC >> >> > 2008 i686 GNU/Linux >> >> > >> >> > >> >> > I used a script to check the interupts >> >> > >> >> > :~$ while :; do cat /proc/interrupts |grep LOC; sleep 1; done >> >> > LOC: ? 14892854 ? 14892843 ? 14892841 ? 14892830 >> >> > LOC: ? 14892955 ? 14892944 ? 14892942 ? 14892931 >> >> > LOC: ? 14893056 ? 14893045 ? 14893043 ? 14893032 >> >> > LOC: ? 14893157 ? 14893146 ? 14893144 ? 14893133 >> >> > LOC: ? 14893258 ? 14893247 ? 14893245 ? 14893234 >> >> > LOC: ? 14893359 ? 14893348 ? 14893346 ? 14893335 >> >> > LOC: ? 14893460 ? 14893449 ? 14893447 ? 14893436 >> >> > >> >> > >> >> > 2) run dingaling with client mode. dingaling doesn't pick up answer. >> >> > I >> >> > originate a call from FS, the console blocks, gtalk client ring and >> >> > it >> >> > looks ok when I hit answer, but no sound, FS console still blocks. a >> >> > few seconds later gtalk client shows: >> >> > >> >> > Sorry! The voice chat with language_lesson failed because of a >> >> > network >> >> > problem at 5:50 PM. Please try again. >> >> > ?Click here to report this to Google. >> >> > >> >> > >> >> > here is a log with bgapi: >> >> > http://pastebin.freeswitch.org/12434 >> >> > >> >> > >> >> > rev 14696 works on the same server same conf. another server running >> >> > 16958M works at the same time. I have no clue to check, is it related >> >> > to the timer as in 1)? can some help me to take a look? let me know >> >> > if >> >> > you need "dl_debug on" logs. >> >> > >> >> > Thanks. >> >> > >> >> >> >> _______________________________________________ >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at 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 >> > iax:guest at conference.freeswitch.org/888 >> > googletalk:conf+888 at conference.freeswitch.org >> > pstn:+19193869900 >> > >> > _______________________________________________ >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at 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 > > > > -- > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 jbrucehopkins at gmail.com Tue Mar 16 03:30:43 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Tue, 16 Mar 2010 10:30:43 +0000 Subject: [Freeswitch-users] Speex transcoding question Message-ID: Hi, I am having trouble getting my configuration right so that I can have a call transcoded to Speex wideband from another codec (alaw or g.722). If both phones use Speex wideband with no transcoding required by FS, the call succeeds though. My codecs are listed in vars.xml as follows: However if I make a call from a phone A using, say, g.722 to a phone using Speex wideband, the SDP in the invite from phone A to phone B does not include Speex wideband. In fact the SDP includes speex/8000 even though speex/8000 is neither enabled in vars.xml, not in either of the phones. Here is the codec listing in the SDP of the INVITE from Freeswitch to phone B (from Wireshark) : Media Attribute (a): rtpmap:9 G722/8000 Media Attribute (a): rtpmap:99 SPEEX/8000 Media Attribute (a): rtpmap:115 G7221/32000 Media Attribute (a): fmtp:115 bitrate=48000 Media Attribute (a): rtpmap:107 G7221/16000 Media Attribute (a): fmtp:107 bitrate=32000 Media Attribute (a): rtpmap:8 PCMA/8000 Media Attribute (a): rtpmap:0 PCMU/8000 Media Attribute (a): rtpmap:3 GSM/8000 Media Attribute (a): rtpmap:101 telephone-event/8000 Media Attribute (a): fmtp:101 0-16 Media Attribute (a): rtpmap:13 CN/8000 Media Attribute (a): ptime:20 Could anyone tell me what I am doing wrong please? Many thanks Bruce -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/326d167d/attachment.html From jbrucehopkins at gmail.com Tue Mar 16 03:36:01 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Tue, 16 Mar 2010 10:36:01 +0000 Subject: [Freeswitch-users] Speex transcoding question In-Reply-To: References: Message-ID: Please ignore this last email. I think I have missed out something I hav already been told. Sorry for the waste of bandwidth. regards Bruce On 16 March 2010 10:30, Bruce Hopkins wrote: > Hi, > > I am having trouble getting my configuration right so that I can have a > call transcoded to Speex wideband from another codec (alaw or g.722). > > If both phones use Speex wideband with no transcoding required by FS, the > call succeeds though. > > My codecs are listed in vars.xml as follows: > > > > > However if I make a call from a phone A using, say, g.722 to a phone using > Speex wideband, the SDP in the invite from phone A to phone B does not > include Speex wideband. In fact the SDP includes speex/8000 even though > speex/8000 is neither enabled in vars.xml, not in either of the phones. > Here is the codec listing in the SDP of the INVITE from Freeswitch to phone > B (from Wireshark) : > > Media Attribute (a): rtpmap:9 G722/8000 > Media Attribute (a): rtpmap:99 SPEEX/8000 > Media Attribute (a): rtpmap:115 G7221/32000 > Media Attribute (a): fmtp:115 bitrate=48000 > Media Attribute (a): rtpmap:107 G7221/16000 > Media Attribute (a): fmtp:107 bitrate=32000 > Media Attribute (a): rtpmap:8 PCMA/8000 > Media Attribute (a): rtpmap:0 PCMU/8000 > Media Attribute (a): rtpmap:3 GSM/8000 > Media Attribute (a): rtpmap:101 telephone-event/8000 > Media Attribute (a): fmtp:101 0-16 > Media Attribute (a): rtpmap:13 CN/8000 > Media Attribute (a): ptime:20 > > Could anyone tell me what I am doing wrong please? > > Many thanks > Bruce > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/de66f655/attachment.html From ken at ukgb.net Tue Mar 16 03:50:05 2010 From: ken at ukgb.net (Ken Gillett) Date: Tue, 16 Mar 2010 10:50:05 +0000 Subject: [Freeswitch-users] call info display Message-ID: <7A4674AD-A840-4506-A36F-DB8E822C0E72@ukgb.net> Sorry to ask what are perhaps very basic questions, but could someone please enlighten me on FreeSwitch's capabilities with regard to information for display on the recipient's extension. When a call is received, the extension really needs to display information about the origin and the intended recipient of the call. Normally for an incoming external call, the former is supplied by the 'incoming CLI' (often linked to locally stored name) and the latter probably by associating a name with each incoming line, so in this way the recipient can see at a glance who called whom (or what). Am I right in thinking that within SIP there is the provision to send information about the calling party (origin), so the called party (recipient) doesn't have to rely on CLI and matching numbers to locally stored directories? So, how does FS handle all the above? What does it pass to the recipient, for both external and internal calls? Is this part of FS configuration? IOW, do you have programmatic access to such information and can you specify exactly what is sent to an extension? Ken G i l l e t t _/_/_/_/_/_/_/_/ From siniypin at gmail.com Tue Mar 16 04:18:55 2010 From: siniypin at gmail.com (RobertT) Date: Tue, 16 Mar 2010 14:18:55 +0300 Subject: [Freeswitch-users] ICE related sdp headers forwarding In-Reply-To: <2160023e1003090117w159d72fdsf1914c52460aaf98@mail.gmail.com> References: <2160023e1003090117w159d72fdsf1914c52460aaf98@mail.gmail.com> Message-ID: <2160023e1003160418m163f1badq4fea3df25456fe04@mail.gmail.com> Should someone want to know the answers I found, here they are. I had two ideas about how to forward SDP ICE-related headers from FS to leg-B. *1. Redirect a directly to b. But to accomplish this I've to know b's IP, that it was registered with, which is being stored in sip_registrations db. Can I obtain it with db app in dialplan and substitute as a parameter to deflect app? *This is* *rather simple - just call "defend" app from dialplan with ${destination_number} parameter. Actually, FS answers with a bit awkward address in Refer-to header, containing @, so one would have to parse recieved address manually, to use a correct sip uri. Did I make something wrong?.. * * *2. Force FS to copy remote SDP headers, or at least a part of them, to it's local SDP.* This is even more simple - just set inbound_bypass_media to true in sofia profile settings, and FS will leave all of the SDP headers intact. But, you have to remember, that media traffic for this profile will bypass FS, as parameter's name implies. Therefore FS will not be able to manipulate media data in anyway. Best regards, RobertT. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/a2ad6bb6/attachment-0001.html From jbrucehopkins at gmail.com Tue Mar 16 04:26:21 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Tue, 16 Mar 2010 11:26:21 +0000 Subject: [Freeswitch-users] Speex transcoding question In-Reply-To: References: Message-ID: OK - sorry to make such a meal of this. I am still encountering a problem getting my configuration right, having followed the advice I received previously. What I am observing is that if more than one flavour of SPEEX is enabled in vars.xml, then only the first one in the list is offered to phone B in the SDP section of the INVITE if transcoding is required by Freeswitch. i.e. In vars.xml I have: If I then try to make a call from Phone A (using PCMA) to Phone B (using SPEEX/8000), the call fails and the log shows an incompatible destination. The SDP of the INVITE from Freeswitch to Phone B offers SPEEX/16000 but not SPEEX/8000 or SPEEX/32000, so there is no compatible codec offered to Phone B. If however both Phone A and Phone B both use SPEEX/8000, the call works fine - as my default configuration is that the codec preferred by Phone A goes to the top of the list of codecs offered to Phone B Could anyone help with what I need to do to resolve my problem when transcoding is required though please? I am did "make current" last night so am using the latest snapshop. many thanks again, Bruce On 16 March 2010 10:36, Bruce Hopkins wrote: > Please ignore this last email. I think I have missed out something I hav > already been told. Sorry for the waste of bandwidth. > > regards > Bruce > > > On 16 March 2010 10:30, Bruce Hopkins wrote: > >> Hi, >> >> I am having trouble getting my configuration right so that I can have a >> call transcoded to Speex wideband from another codec (alaw or g.722). >> >> If both phones use Speex wideband with no transcoding required by FS, the >> call succeeds though. >> >> My codecs are listed in vars.xml as follows: >> >> >> >> >> However if I make a call from a phone A using, say, g.722 to a phone using >> Speex wideband, the SDP in the invite from phone A to phone B does not >> include Speex wideband. In fact the SDP includes speex/8000 even though >> speex/8000 is neither enabled in vars.xml, not in either of the phones. >> Here is the codec listing in the SDP of the INVITE from Freeswitch to phone >> B (from Wireshark) : >> >> Media Attribute (a): rtpmap:9 G722/8000 >> Media Attribute (a): rtpmap:99 SPEEX/8000 >> Media Attribute (a): rtpmap:115 G7221/32000 >> Media Attribute (a): fmtp:115 bitrate=48000 >> Media Attribute (a): rtpmap:107 G7221/16000 >> Media Attribute (a): fmtp:107 bitrate=32000 >> Media Attribute (a): rtpmap:8 PCMA/8000 >> Media Attribute (a): rtpmap:0 PCMU/8000 >> Media Attribute (a): rtpmap:3 GSM/8000 >> Media Attribute (a): rtpmap:101 telephone-event/8000 >> Media Attribute (a): fmtp:101 0-16 >> Media Attribute (a): rtpmap:13 CN/8000 >> Media Attribute (a): ptime:20 >> >> Could anyone tell me what I am doing wrong please? >> >> Many thanks >> Bruce >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/87695c47/attachment.html From peter.olsson at visionutveckling.se Tue Mar 16 04:41:09 2010 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Tue, 16 Mar 2010 12:41:09 +0100 Subject: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. In-Reply-To: <191c3a031003150921wf2560cdj74a91b36dc70eb71@mail.gmail.com> References: <549CFEF87AEDE841A38E9D15EAB4C04C5577434BCE@cooper> <191c3a031003150831p42041ceeu5e1b12bbee1d9b1c@mail.gmail.com> <549CFEF87AEDE841A38E9D15EAB4C04C5577434DE9@cooper> <191c3a031003150921wf2560cdj74a91b36dc70eb71@mail.gmail.com> Message-ID: <549CFEF87AEDE841A38E9D15EAB4C04C5577435072@cooper> I agree, that is a possibility. However, when sending a "SendMsg" with application "break", and receive "+OK" as it's reply, you kind of expect that it was received correctly, and will be handled in the event queue properly. I have a created a small patch that (probably) will fix this in FS, without breaking anything else. I just need to test it first - if everything seems ok I will add a jira for it, with the patch attached. /Peter Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Anthony Minessale Skickat: den 15 mars 2010 17:21 Till: freeswitch-users at lists.freeswitch.org ?mne: Re: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. you could also wait for the execute_complete of the file you were playing On Mon, Mar 15, 2010 at 9:40 AM, Peter Olsson > wrote: Thanks for the reply. Yes, I thought of this. But that still shouldn't solve the issue? It will only tell that the CF_BREAK flag was set on the channel, not that the current playback detected the flag in the loop (which I guess is done in a different thread), or is this event sent once the playback really did stop? /Peter Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Anthony Minessale Skickat: den 15 mars 2010 16:31 Till: freeswitch-users at lists.freeswitch.org ?mne: Re: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. you could wait for the execute_complete event for your break command. On Mon, Mar 15, 2010 at 3:20 AM, Peter Olsson > wrote: I'm not sure if this belongs in Jira, or if it's possible to do it another way - so I try the list first :) I'm using ESL to do some IVR functions. Basically I play some sound files, wait for DTMF, and then do something, like record a message, transfer the call to a mobile phone etc. Quite basic and simple. I've noticed one problem with this, and it's when I want to stop playback using command "break". In 99% of the time everything works as expected, but sometimes I get this problem - and the problem is that the current file doesn't stop playing. And I think I know why this is happening. Lets say I first send playback(tone_stream://%(1500, 3500, 440.0, 0.0);loops=100) to the channel. This will play a ring-tone (swedish) and loop through it 100 times.. When I want to stop this tone I send the break command, and directly after this a new playback command. Maybe 1 time in 100 tries the tone_stream doesn't stop playing. I think this is becuase how break works. From what I understand from the source it just sets the CF_BREAK flag on the channel, and then the playback application will detect this and stop the playback. However, when I send a new playback command immediately after break it will reset the CF_BREAK-flag again, to make sure it won't cause any problems for the new playback. So if the original playback (tone_stream) didn't check the flag before it was reset, it won't known that it was supposed to stop playing. I guess I could wait 50ms before sending the new playback message, but I can really never be sure that it was handled properly. Is there any other way around this? How about "break all", will it make any difference in this case? Or should this just be treated as a timing bug, and filed to Jira? Any help on this would be greatly appreciated. These are the messages I'm sending; SendMsg call-command: execute execute-app-name: playback execute-app-arg: tone_stream://%(1500, 3500, 440.0, 0.0);loops=100 When I don't want this to play anymore I send a break; SendMsg call-command: execute execute-app-name: break And immediately after this I want to play another file; SendMsg call-command: execute execute-app-name: playback execute-app-arg: file/to/play.wav Regards, Peter Olsson _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 !DSPAM:4b9e60d032938314917241! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/72dee8aa/attachment-0001.html From Prometheus001 at gmx.net Tue Mar 16 04:55:25 2010 From: Prometheus001 at gmx.net (Peter P GMX) Date: Tue, 16 Mar 2010 12:55:25 +0100 Subject: [Freeswitch-users] How to answer USER_BUSY on NO_USER_RESPONSE? Message-ID: <4B9F71AD.7070008@gmx.net> I have the folowing scenario: A Snom phone has activated DND (do not disturb) When the phone is called, it returns "480 Do Not Disturb" and then "404 Not Found". Freeswitch then announces NO_USER_RESPONSE to the caller (PSTN). The PSTN then (wrongly) announces "this number is not listed". My question: How can we overcome this and announce back a different message to PSTN, but only on NO_USER_RESPONSE. I tried to continue on bridge and then this after the bridge command the following: But the installed Freeswith does not support the "inline" yet and we will not be able to update Freeswitch soon. So my question: Is there any other way to achieve this? Best regards Peter From vetali100 at gmail.com Tue Mar 16 05:04:21 2010 From: vetali100 at gmail.com (Vitalii Colosov) Date: Tue, 16 Mar 2010 14:04:21 +0200 Subject: [Freeswitch-users] Load balancing solution using pure FreeSWITCH Message-ID: Hi dear FS community, After a brief analysis of 2 solutions using OpenSIPS and Kamailio ( http://www.opensips.org/html/docs/modules/devel/load_balancer.html#id226109) and ( http://wiki.freeswitch.org/wiki/SBC_Setup) I decided to implement my own solution using ONLY FreeSWITCH and ONLY 1 table of any database server (we use MySQL). It works on few of our servers right now without any issues. Feel free to reuse / improve it or provide your comments if you see something wrong with it. We have one routing server (RS) and several Media Servers (MS). FreeSWITCH is installed on each server in default configuration. --> MS_1 RS --> MS_2 --> MS_N (Failover can be implemented by adding one more routing server, but this is out of scope of current description). Routing server routes calls to media servers based on logic that you can easily define. (Generally speaking, Routing server can route part of the calls onto itself, but to simplify let's say that it will route only to Media Servers). Routing server is used to register subscribers (it will have directory files ./freeswitch/conf/directory/default/10001whatever.xml-99999whatever.xml). Media servers do NOT contain files with users (security issue? probably should be managed on dialplan stage of media servers by comparing ip addresses of requests). The whole routing can be presented by the following chain: Call arrives into Default context-->RS default dialplan-->Lua script-->PHP script to get destination MEDIA SERVER IP-->back to Lua script-->Bridge "sofia/external/" to determined MS IP address-->[Bridge to fail over media server, optionally]-->End Let's say we need to route all international calls based on less loaded server (other logic can be easily implemented in PHP script as well). *1. RS Dialplan: default.xml* *2. RS Lua script: route.lua* called_number = argv[1]; //without "00" api = freeswitch.API(); server_ip_address = api:executeString("curl http://localhost/get_server_ip.php); forwarding_session_string = "sofia/external/"..called_number.."@"..server_ip_address; session:setVariable("bypass_media", "true"); //described below!!! session:execute("bridge",forwarding_session_string); *3. PHP script: get_server_ip.php* <<< ANY PHP CODE THAT WILL QUERY COMMON DATABASE AND WILL DETERMINE LESS LOADED AT THE MOMENT SERVER>>> die($less_loaded_server_ip); All Media Servers should provide information about their current load into one common database (dedicated server or routing server can be used for database). If you use scripts you can update this table on starting a call and after call finished. Or you can create a job that will query FreeSWITCH and will update the database every, say, 10 seconds. Basically that's all (really!) I beleive it can be used for most general purpose scenarios without need of third-party tools. P.S. The only problem we had from the beginning was that RTP media traffic was passing thru both servers: RS and Media Server. But after we added the following command to the routing script, RTP media traffic started to pass only thru Media server, making RS almost free. session:setVariable("bypass_media", "true"); Best regards, vIT -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/d4956db4/attachment.html From leon at scarlet-internet.nl Tue Mar 16 05:42:56 2010 From: leon at scarlet-internet.nl (Leon de Rooij) Date: Tue, 16 Mar 2010 13:42:56 +0100 Subject: [Freeswitch-users] How to answer USER_BUSY on NO_USER_RESPONSE? In-Reply-To: <4B9F71AD.7070008@gmx.net> References: <4B9F71AD.7070008@gmx.net> Message-ID: <2B8BE348-65E6-4A32-8346-0BECF49323A4@scarlet-internet.nl> Hi, Don't know if it helps, but the inline attribute can only be set on actions, not on conditions. Also, the hangup application is not allowed to be run inline: http://fisheye.freeswitch.org/browse/FreeSWITCH/src/mod/applications/mod_dptools/mod_dptools.c?r=HEAD#l3047 (it has no SAF_ROUTING_EXEC flag) Perhaps you can try to transfer to another context directly after your bridge ? (where that second context contains an extension with conditions matching on variable_originate_disposition) kind regards, Leon On Mar 16, 2010, at 12:55 PM, Peter P GMX wrote: > I have the folowing scenario: > A Snom phone has activated DND (do not disturb) > When the phone is called, it returns "480 Do Not Disturb" and then > "404 Not Found". > Freeswitch then announces NO_USER_RESPONSE to the caller (PSTN). > The PSTN then (wrongly) announces "this number is not listed". > > My question: How can we overcome this and announce back a different > message to PSTN, but only on NO_USER_RESPONSE. > I tried to continue on bridge and then this after the bridge command > the > following: > expression="NO_USER_RESPONSE" inline="true"> > > > > But the installed Freeswith does not support the "inline" yet and we > will not be able to update Freeswitch soon. > > So my question: > Is there any other way to achieve this? > > Best regards > Peter > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 tculjaga at gmail.com Tue Mar 16 06:07:39 2010 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Tue, 16 Mar 2010 14:07:39 +0100 Subject: [Freeswitch-users] Load balancing solution using pure FreeSWITCH In-Reply-To: References: Message-ID: <65d96fc81003160607g5d77c8b3s52fb5a018aa82bdb@mail.gmail.com> this is something you took from Mera .. isn't it ? :) On Tue, Mar 16, 2010 at 1:04 PM, Vitalii Colosov wrote: > Hi dear FS community, > > After a brief analysis of 2 solutions using OpenSIPS and Kamailio ( > http://www.opensips.org/html/docs/modules/devel/load_balancer.html#id226109) and ( > http://wiki.freeswitch.org/wiki/SBC_Setup) I decided to implement my own > solution using ONLY FreeSWITCH and ONLY 1 table of any database server (we > use MySQL). > > It works on few of our servers right now without any issues. > > Feel free to reuse / improve it or provide your comments if you see > something wrong with it. > > > We have one routing server (RS) and several Media Servers (MS). > FreeSWITCH is installed on each server in default configuration. > > --> MS_1 > RS --> MS_2 > --> MS_N > > > (Failover can be implemented by adding one more routing server, but this is > out of scope of current description). > routing server is your single point of failure, you should make two of them in active/standby mode. What about registered endpoints ? ... where do you register them?.... you should have a DB replication in order to have the "registered context" distributed between both routing servers So, i'd suggest to bring up a LAN_HA and have a floating address between your routing servers.... of course the you should be using ODBC in the core to have registrations on both servers. > > Routing server routes calls to media servers based on logic that you can > easily define. > (Generally speaking, Routing server can route part of the calls onto > itself, but to simplify let's say that it will route only to Media Servers). > > you will be loosing calls on the on the MS if it goes down ... maybe there is a way to "replace" media resource for that calls and keep them going even after the MS went down. > > Routing server is used to register subscribers (it will have directory > files > ./freeswitch/conf/directory/default/10001whatever.xml-99999whatever.xml). > Media servers do NOT contain files with users (security issue? probably > should be managed on dialplan stage of media servers by comparing ip > addresses of requests). > > consider ODBC in the core! > > The whole routing can be presented by the following chain: > > Call arrives into Default context-->RS default dialplan-->Lua script-->PHP > script to get destination MEDIA SERVER IP-->back to Lua script-->Bridge > "sofia/external/" to determined MS IP address-->[Bridge to fail over media > server, optionally]-->End > > Let's say we need to route all international calls based on less loaded > server (other logic can be easily implemented in PHP script as well). > > *1. RS Dialplan: default.xml* > > > expression="^(00)(\d+)"> > > > > > > > *2. RS Lua script: route.lua* > called_number = argv[1]; //without "00" > api = freeswitch.API(); > server_ip_address = api:executeString("curl > http://localhost/get_server_ip.php); > forwarding_session_string = > "sofia/external/"..called_number.."@"..server_ip_address; > session:setVariable("bypass_media", "true"); //described below!!! > session:execute("bridge",forwarding_session_string); > > do your bridging in the dialplan not from a script... you will get better performances! > *3. PHP script: get_server_ip.php* > <<< ANY PHP CODE THAT WILL QUERY COMMON DATABASE AND WILL DETERMINE LESS > LOADED AT THE MOMENT SERVER>>> > die($less_loaded_server_ip); > > > All Media Servers should provide information about their current load into > one common database (dedicated server or routing server can be used for > database). > If you use scripts you can update this table on starting a call and after > call finished. > Or you can create a job that will query FreeSWITCH and will update the > database every, say, 10 seconds. > > > Basically that's all (really!) > I beleive it can be used for most general purpose scenarios without need of > third-party tools. > > P.S. > The only problem we had from the beginning was that RTP media traffic was > passing thru both servers: RS and Media Server. > But after we added the following command to the routing script, RTP media > traffic started to pass only thru Media server, making RS almost free. > session:setVariable("bypass_media", "true"); > > > anyhow it is a good start ... with a custom module for media server "kepalive" and resource migration it could be a great solution. T. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/804cf839/attachment-0001.html From lawwton at gmail.com Tue Mar 16 06:13:14 2010 From: lawwton at gmail.com (Alfredo Quiroga-Villamil) Date: Tue, 16 Mar 2010 09:13:14 -0400 Subject: [Freeswitch-users] Load balancing solution using pure FreeSWITCH In-Reply-To: References: Message-ID: <5fe6fa8f1003160613o4b54df83g5da2ce7b3fd4b3e7@mail.gmail.com> Vit: Nice email, very informative; curious to find out the reasons why you decided to go with FS instead of OpenSip. We soon have to make a similar decision and would like to find out the rationale behind it. Thanks, Alfredo On Tue, Mar 16, 2010 at 8:04 AM, Vitalii Colosov wrote: > Hi dear FS community, > After a brief analysis of 2 solutions using OpenSIPS > and?Kamailio?(http://www.opensips.org/html/docs/modules/devel/load_balancer.html#id226109 > ) and (http://wiki.freeswitch.org/wiki/SBC_Setup) I decided to implement my > own solution using ONLY FreeSWITCH and ONLY 1 table of any database server > (we use MySQL). > It works on few of our servers right now without any issues. > Feel free to reuse / improve it or provide your comments if you see > something wrong with it. > > We have one routing server (RS) and several Media Servers (MS). > FreeSWITCH is installed on each server in default configuration. > --> MS_1 > RS ?--> MS_2 > --> MS_N > > (Failover can be implemented by adding one more routing server, but this is > out of scope of current description). > Routing server routes calls to media servers based on logic that you can > easily define. > (Generally speaking, Routing server can route part of the calls onto itself, > but to simplify let's say that it will route only to Media Servers). > > Routing server is used to register subscribers (it will have directory files > ./freeswitch/conf/directory/default/10001whatever.xml-99999whatever.xml). > Media servers do NOT contain files with users (security issue? probably > should be managed on dialplan stage of media servers by comparing ip > addresses of requests). > > The whole routing can be presented by the following chain: > Call arrives into Default context-->RS default dialplan-->Lua script-->PHP > script to get destination MEDIA SERVER IP-->back to Lua script-->Bridge > "sofia/external/"?to determined MS IP address-->[Bridge to fail over media > server, optionally]-->End > Let's say we need to route all international calls based on less loaded > server (other logic can be easily implemented in PHP script as well). > 1. RS Dialplan: default.xml > > ?? ? ? ? > ?? ? ? ? ? ? ? ? expression="^(00)(\d+)"> > ?? ? ? ? ? ? ? ? ? ? ? ? > ?? ? ? ? ? ? ? ? > ?? ? ? ? > > > 2. RS Lua script: route.lua > called_number = argv[1]; //without "00" > api = freeswitch.API(); > server_ip_address = api:executeString("curl > http://localhost/get_server_ip.php); > forwarding_session_string = > "sofia/external/"..called_number.."@"..server_ip_address; > session:setVariable("bypass_media", "true"); //described below!!! > session:execute("bridge",forwarding_session_string); > 3. PHP script: get_server_ip.php > <<< ?ANY PHP CODE THAT WILL QUERY COMMON DATABASE AND WILL DETERMINE LESS > LOADED AT THE MOMENT SERVER>>> > die($less_loaded_server_ip); > > All Media Servers should provide information about their current load into > one common database (dedicated server or routing server can be used for > database). > If you use scripts you can update this table on starting a call and after > call finished. > Or you can create a job that will query FreeSWITCH and will update the > database every, say, 10 seconds. > > Basically that's all (really!) > I beleive it can be used for most general purpose scenarios without need of > third-party tools. > P.S. > The only problem we had from the beginning was that RTP media traffic was > passing thru both servers: RS and Media Server. > But after we added the following command to the routing script, RTP media > traffic started to pass only thru Media server, making RS almost free. > session:setVariable("bypass_media", "true"); > > > Best regards, > vIT > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 vetali100 at gmail.com Tue Mar 16 06:19:26 2010 From: vetali100 at gmail.com (Vitalii Colosov) Date: Tue, 16 Mar 2010 15:19:26 +0200 Subject: [Freeswitch-users] Load balancing solution using pure FreeSWITCH In-Reply-To: <65d96fc81003160607g5d77c8b3s52fb5a018aa82bdb@mail.gmail.com> References: <65d96fc81003160607g5d77c8b3s52fb5a018aa82bdb@mail.gmail.com> Message-ID: Hi Tihomir, What do you mean by "took from Mera"? If someone else already implemented this, could you please provide me a link? This solution was invented by me personally, after looking into the following: http://wiki.freeswitch.org/wiki/SBC_Setup They use Kamailio layer as routing, I decided that we can avoid this and use OOB things. Thanks for your reply, it can add more value to the solution. Regards, vIT 2010/3/16 Tihomir Culjaga > this is something you took from Mera .. isn't it ? :) > > > > On Tue, Mar 16, 2010 at 1:04 PM, Vitalii Colosov wrote: > >> Hi dear FS community, >> >> After a brief analysis of 2 solutions using OpenSIPS and Kamailio ( >> http://www.opensips.org/html/docs/modules/devel/load_balancer.html#id226109) and ( >> http://wiki.freeswitch.org/wiki/SBC_Setup) I decided to implement my own >> solution using ONLY FreeSWITCH and ONLY 1 table of any database server (we >> use MySQL). >> >> It works on few of our servers right now without any issues. >> >> Feel free to reuse / improve it or provide your comments if you see >> something wrong with it. >> >> >> We have one routing server (RS) and several Media Servers (MS). >> FreeSWITCH is installed on each server in default configuration. >> >> --> MS_1 >> RS --> MS_2 >> --> MS_N >> >> >> (Failover can be implemented by adding one more routing server, but this >> is out of scope of current description). >> > > routing server is your single point of failure, you should make two of them > in active/standby mode. What about registered endpoints ? ... where do you > register them?.... you should have a DB replication in order to have the > "registered context" distributed between both routing servers > > > So, i'd suggest to bring up a LAN_HA and have a floating address between > your routing servers.... of course the you should be using ODBC in the core > to have registrations on both servers. > > > > >> >> Routing server routes calls to media servers based on logic that you can >> easily define. >> (Generally speaking, Routing server can route part of the calls onto >> itself, but to simplify let's say that it will route only to Media Servers). >> >> you will be loosing calls on the on the MS if it goes down ... maybe there > is a way to "replace" media resource for that calls and keep them going even > after the MS went down. > > > >> >> Routing server is used to register subscribers (it will have directory >> files >> ./freeswitch/conf/directory/default/10001whatever.xml-99999whatever.xml). >> Media servers do NOT contain files with users (security issue? probably >> should be managed on dialplan stage of media servers by comparing ip >> addresses of requests). >> >> > consider ODBC in the core! > > >> >> The whole routing can be presented by the following chain: >> >> Call arrives into Default context-->RS default dialplan-->Lua script-->PHP >> script to get destination MEDIA SERVER IP-->back to Lua script-->Bridge >> "sofia/external/" to determined MS IP address-->[Bridge to fail over media >> server, optionally]-->End >> >> Let's say we need to route all international calls based on less loaded >> server (other logic can be easily implemented in PHP script as well). >> >> *1. RS Dialplan: default.xml* >> >> >> > expression="^(00)(\d+)"> >> >> >> >> >> >> >> *2. RS Lua script: route.lua* >> called_number = argv[1]; //without "00" >> api = freeswitch.API(); >> server_ip_address = api:executeString("curl >> http://localhost/get_server_ip.php); >> forwarding_session_string = >> "sofia/external/"..called_number.."@"..server_ip_address; >> session:setVariable("bypass_media", "true"); //described below!!! >> session:execute("bridge",forwarding_session_string); >> >> > do your bridging in the dialplan not from a script... you will get better > performances! > > > > >> *3. PHP script: get_server_ip.php* >> <<< ANY PHP CODE THAT WILL QUERY COMMON DATABASE AND WILL DETERMINE LESS >> LOADED AT THE MOMENT SERVER>>> >> die($less_loaded_server_ip); >> >> >> All Media Servers should provide information about their current load into >> one common database (dedicated server or routing server can be used for >> database). >> If you use scripts you can update this table on starting a call and after >> call finished. >> Or you can create a job that will query FreeSWITCH and will update the >> database every, say, 10 seconds. >> >> >> Basically that's all (really!) >> I beleive it can be used for most general purpose scenarios without need >> of third-party tools. >> >> P.S. >> The only problem we had from the beginning was that RTP media traffic was >> passing thru both servers: RS and Media Server. >> But after we added the following command to the routing script, RTP media >> traffic started to pass only thru Media server, making RS almost free. >> session:setVariable("bypass_media", "true"); >> >> >> > anyhow it is a good start ... with a custom module for media server > "kepalive" and resource migration it could be a great solution. > > > T. > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/881e363a/attachment.html From vetali100 at gmail.com Tue Mar 16 06:21:58 2010 From: vetali100 at gmail.com (Vitalii Colosov) Date: Tue, 16 Mar 2010 15:21:58 +0200 Subject: [Freeswitch-users] Load balancing solution using pure FreeSWITCH In-Reply-To: <5fe6fa8f1003160613o4b54df83g5da2ce7b3fd4b3e7@mail.gmail.com> References: <5fe6fa8f1003160613o4b54df83g5da2ce7b3fd4b3e7@mail.gmail.com> Message-ID: Basically this solution gives me exactly what I need at the moment. If there is a still special reason to use OpenSIPS, maybe we should expect opinion of some better FS experts then me :-) vIT 2010/3/16 Alfredo Quiroga-Villamil > Vit: > > Nice email, very informative; curious to find out the reasons why you > decided to go with FS instead of OpenSip. We soon have to make a > similar decision and would like to find out the rationale behind it. > > Thanks, > > Alfredo > > On Tue, Mar 16, 2010 at 8:04 AM, Vitalii Colosov > wrote: > > Hi dear FS community, > > After a brief analysis of 2 solutions using OpenSIPS > > and Kamailio ( > http://www.opensips.org/html/docs/modules/devel/load_balancer.html#id226109 > > ) and (http://wiki.freeswitch.org/wiki/SBC_Setup) I decided to implement > my > > own solution using ONLY FreeSWITCH and ONLY 1 table of any database > server > > (we use MySQL). > > It works on few of our servers right now without any issues. > > Feel free to reuse / improve it or provide your comments if you see > > something wrong with it. > > > > We have one routing server (RS) and several Media Servers (MS). > > FreeSWITCH is installed on each server in default configuration. > > --> MS_1 > > RS --> MS_2 > > --> MS_N > > > > (Failover can be implemented by adding one more routing server, but this > is > > out of scope of current description). > > Routing server routes calls to media servers based on logic that you can > > easily define. > > (Generally speaking, Routing server can route part of the calls onto > itself, > > but to simplify let's say that it will route only to Media Servers). > > > > Routing server is used to register subscribers (it will have directory > files > > ./freeswitch/conf/directory/default/10001whatever.xml-99999whatever.xml). > > Media servers do NOT contain files with users (security issue? probably > > should be managed on dialplan stage of media servers by comparing ip > > addresses of requests). > > > > The whole routing can be presented by the following chain: > > Call arrives into Default context-->RS default dialplan-->Lua > script-->PHP > > script to get destination MEDIA SERVER IP-->back to Lua script-->Bridge > > "sofia/external/" to determined MS IP address-->[Bridge to fail over > media > > server, optionally]-->End > > Let's say we need to route all international calls based on less loaded > > server (other logic can be easily implemented in PHP script as well). > > 1. RS Dialplan: default.xml > > > > > > > expression="^(00)(\d+)"> > > > > > > > > > > > > 2. RS Lua script: route.lua > > called_number = argv[1]; //without "00" > > api = freeswitch.API(); > > server_ip_address = api:executeString("curl > > http://localhost/get_server_ip.php); > > forwarding_session_string = > > "sofia/external/"..called_number.."@"..server_ip_address; > > session:setVariable("bypass_media", "true"); //described below!!! > > session:execute("bridge",forwarding_session_string); > > 3. PHP script: get_server_ip.php > > <<< ANY PHP CODE THAT WILL QUERY COMMON DATABASE AND WILL DETERMINE LESS > > LOADED AT THE MOMENT SERVER>>> > > die($less_loaded_server_ip); > > > > All Media Servers should provide information about their current load > into > > one common database (dedicated server or routing server can be used for > > database). > > If you use scripts you can update this table on starting a call and after > > call finished. > > Or you can create a job that will query FreeSWITCH and will update the > > database every, say, 10 seconds. > > > > Basically that's all (really!) > > I beleive it can be used for most general purpose scenarios without need > of > > third-party tools. > > P.S. > > The only problem we had from the beginning was that RTP media traffic was > > passing thru both servers: RS and Media Server. > > But after we added the following command to the routing script, RTP media > > traffic started to pass only thru Media server, making RS almost free. > > session:setVariable("bypass_media", "true"); > > > > > > Best regards, > > vIT > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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/20100316/4359b1de/attachment-0001.html From vetali100 at gmail.com Tue Mar 16 06:31:13 2010 From: vetali100 at gmail.com (Vitalii Colosov) Date: Tue, 16 Mar 2010 15:31:13 +0200 Subject: [Freeswitch-users] Load balancing solution using pure FreeSWITCH In-Reply-To: References: <5fe6fa8f1003160613o4b54df83g5da2ce7b3fd4b3e7@mail.gmail.com> Message-ID: Tihomir, Could you please add more details to the following? "So, i'd suggest to bring up a LAN_HA and have a floating address between your routing servers.... of course the you should be using ODBC in the core to have registrations on both servers." Do you have any links that describe how to implement this kind of fail over? I thought about configuring 2 DNS servers on 2 Routing servers, so if one will go down, traffic will be addressed to another, but at the moment I don't have enough knowledge how to implement this. Thanks, vIT 2010/3/16 Vitalii Colosov > Basically this solution gives me exactly what I need at the moment. > > If there is a still special reason to use OpenSIPS, maybe we should expect > opinion of some better FS experts then me :-) > > vIT > > 2010/3/16 Alfredo Quiroga-Villamil > > Vit: >> >> Nice email, very informative; curious to find out the reasons why you >> decided to go with FS instead of OpenSip. We soon have to make a >> similar decision and would like to find out the rationale behind it. >> >> Thanks, >> >> Alfredo >> >> On Tue, Mar 16, 2010 at 8:04 AM, Vitalii Colosov >> wrote: >> > Hi dear FS community, >> > After a brief analysis of 2 solutions using OpenSIPS >> > and Kamailio ( >> http://www.opensips.org/html/docs/modules/devel/load_balancer.html#id226109 >> > ) and (http://wiki.freeswitch.org/wiki/SBC_Setup) I decided to >> implement my >> > own solution using ONLY FreeSWITCH and ONLY 1 table of any database >> server >> > (we use MySQL). >> > It works on few of our servers right now without any issues. >> > Feel free to reuse / improve it or provide your comments if you see >> > something wrong with it. >> > >> > We have one routing server (RS) and several Media Servers (MS). >> > FreeSWITCH is installed on each server in default configuration. >> > --> MS_1 >> > RS --> MS_2 >> > --> MS_N >> > >> > (Failover can be implemented by adding one more routing server, but this >> is >> > out of scope of current description). >> > Routing server routes calls to media servers based on logic that you can >> > easily define. >> > (Generally speaking, Routing server can route part of the calls onto >> itself, >> > but to simplify let's say that it will route only to Media Servers). >> > >> > Routing server is used to register subscribers (it will have directory >> files >> > >> ./freeswitch/conf/directory/default/10001whatever.xml-99999whatever.xml). >> > Media servers do NOT contain files with users (security issue? probably >> > should be managed on dialplan stage of media servers by comparing ip >> > addresses of requests). >> > >> > The whole routing can be presented by the following chain: >> > Call arrives into Default context-->RS default dialplan-->Lua >> script-->PHP >> > script to get destination MEDIA SERVER IP-->back to Lua script-->Bridge >> > "sofia/external/" to determined MS IP address-->[Bridge to fail over >> media >> > server, optionally]-->End >> > Let's say we need to route all international calls based on less loaded >> > server (other logic can be easily implemented in PHP script as well). >> > 1. RS Dialplan: default.xml >> > >> > >> > > > expression="^(00)(\d+)"> >> > >> > >> > >> > >> > >> > 2. RS Lua script: route.lua >> > called_number = argv[1]; //without "00" >> > api = freeswitch.API(); >> > server_ip_address = api:executeString("curl >> > http://localhost/get_server_ip.php); >> > forwarding_session_string = >> > "sofia/external/"..called_number.."@"..server_ip_address; >> > session:setVariable("bypass_media", "true"); //described below!!! >> > session:execute("bridge",forwarding_session_string); >> > 3. PHP script: get_server_ip.php >> > <<< ANY PHP CODE THAT WILL QUERY COMMON DATABASE AND WILL DETERMINE >> LESS >> > LOADED AT THE MOMENT SERVER>>> >> > die($less_loaded_server_ip); >> > >> > All Media Servers should provide information about their current load >> into >> > one common database (dedicated server or routing server can be used for >> > database). >> > If you use scripts you can update this table on starting a call and >> after >> > call finished. >> > Or you can create a job that will query FreeSWITCH and will update the >> > database every, say, 10 seconds. >> > >> > Basically that's all (really!) >> > I beleive it can be used for most general purpose scenarios without need >> of >> > third-party tools. >> > P.S. >> > The only problem we had from the beginning was that RTP media traffic >> was >> > passing thru both servers: RS and Media Server. >> > But after we added the following command to the routing script, RTP >> media >> > traffic started to pass only thru Media server, making RS almost free. >> > session:setVariable("bypass_media", "true"); >> > >> > >> > Best regards, >> > vIT >> > >> > _______________________________________________ >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at 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/20100316/52ea44a7/attachment.html From mustafa.pk at gmail.com Tue Mar 16 06:41:05 2010 From: mustafa.pk at gmail.com (Ghulam Mustafa) Date: Tue, 16 Mar 2010 18:41:05 +0500 Subject: [Freeswitch-users] Load balancing solution using pure FreeSWITCH In-Reply-To: References: <5fe6fa8f1003160613o4b54df83g5da2ce7b3fd4b3e7@mail.gmail.com> Message-ID: <8213d6071003160641k4d10c0dcs47c1a94dc05fa080@mail.gmail.com> On Tue, Mar 16, 2010 at 6:31 PM, Vitalii Colosov wrote: > Tihomir, > Could you please add more details to the following? > > "So, i'd suggest to bring up a LAN_HA and have a floating > address between your routing servers.... of course the you should be using > ODBC in the core to have registrations on both servers." > no problem, you can update your knowledge base for free, check http://www.linux-ha.org/wiki/Main_Page > > Do you have any links that describe how to implement this kind of fail > over? > > I thought about configuring 2 DNS servers on 2 Routing servers, so if one > will go down, traffic will be addressed to another, but at the moment I > don't have enough knowledge how to implement this. > > Thanks, > vIT > > > > 2010/3/16 Vitalii Colosov > > Basically this solution gives me exactly what I need at the moment. >> >> If there is a still special reason to use OpenSIPS, maybe we should expect >> opinion of some better FS experts then me :-) >> >> vIT >> >> 2010/3/16 Alfredo Quiroga-Villamil >> >> Vit: >>> >>> Nice email, very informative; curious to find out the reasons why you >>> decided to go with FS instead of OpenSip. We soon have to make a >>> similar decision and would like to find out the rationale behind it. >>> >>> Thanks, >>> >>> Alfredo >>> >>> On Tue, Mar 16, 2010 at 8:04 AM, Vitalii Colosov >>> wrote: >>> > Hi dear FS community, >>> > After a brief analysis of 2 solutions using OpenSIPS >>> > and Kamailio ( >>> http://www.opensips.org/html/docs/modules/devel/load_balancer.html#id226109 >>> > ) and (http://wiki.freeswitch.org/wiki/SBC_Setup) I decided to >>> implement my >>> > own solution using ONLY FreeSWITCH and ONLY 1 table of any database >>> server >>> > (we use MySQL). >>> > It works on few of our servers right now without any issues. >>> > Feel free to reuse / improve it or provide your comments if you see >>> > something wrong with it. >>> > >>> > We have one routing server (RS) and several Media Servers (MS). >>> > FreeSWITCH is installed on each server in default configuration. >>> > --> MS_1 >>> > RS --> MS_2 >>> > --> MS_N >>> > >>> > (Failover can be implemented by adding one more routing server, but >>> this is >>> > out of scope of current description). >>> > Routing server routes calls to media servers based on logic that you >>> can >>> > easily define. >>> > (Generally speaking, Routing server can route part of the calls onto >>> itself, >>> > but to simplify let's say that it will route only to Media Servers). >>> > >>> > Routing server is used to register subscribers (it will have directory >>> files >>> > >>> ./freeswitch/conf/directory/default/10001whatever.xml-99999whatever.xml). >>> > Media servers do NOT contain files with users (security issue? probably >>> > should be managed on dialplan stage of media servers by comparing ip >>> > addresses of requests). >>> > >>> > The whole routing can be presented by the following chain: >>> > Call arrives into Default context-->RS default dialplan-->Lua >>> script-->PHP >>> > script to get destination MEDIA SERVER IP-->back to Lua script-->Bridge >>> > "sofia/external/" to determined MS IP address-->[Bridge to fail over >>> media >>> > server, optionally]-->End >>> > Let's say we need to route all international calls based on less loaded >>> > server (other logic can be easily implemented in PHP script as well). >>> > 1. RS Dialplan: default.xml >>> > >>> > >>> > >> > expression="^(00)(\d+)"> >>> > >>> > >>> > >>> > >>> > >>> > 2. RS Lua script: route.lua >>> > called_number = argv[1]; //without "00" >>> > api = freeswitch.API(); >>> > server_ip_address = api:executeString("curl >>> > http://localhost/get_server_ip.php); >>> > forwarding_session_string = >>> > "sofia/external/"..called_number.."@"..server_ip_address; >>> > session:setVariable("bypass_media", "true"); //described below!!! >>> > session:execute("bridge",forwarding_session_string); >>> > 3. PHP script: get_server_ip.php >>> > <<< ANY PHP CODE THAT WILL QUERY COMMON DATABASE AND WILL DETERMINE >>> LESS >>> > LOADED AT THE MOMENT SERVER>>> >>> > die($less_loaded_server_ip); >>> > >>> > All Media Servers should provide information about their current load >>> into >>> > one common database (dedicated server or routing server can be used for >>> > database). >>> > If you use scripts you can update this table on starting a call and >>> after >>> > call finished. >>> > Or you can create a job that will query FreeSWITCH and will update the >>> > database every, say, 10 seconds. >>> > >>> > Basically that's all (really!) >>> > I beleive it can be used for most general purpose scenarios without >>> need of >>> > third-party tools. >>> > P.S. >>> > The only problem we had from the beginning was that RTP media traffic >>> was >>> > passing thru both servers: RS and Media Server. >>> > But after we added the following command to the routing script, RTP >>> media >>> > traffic started to pass only thru Media server, making RS almost free. >>> > session:setVariable("bypass_media", "true"); >>> > >>> > >>> > Best regards, >>> > vIT >>> > >>> > _______________________________________________ >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at 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 >>> >> >> > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -- Ghulam Mustafa cell: +92 333.611.7681 sip: cyrenity at ekiga.net mail: mustafa.pk at gmail.com web: cyrenity.wordpress.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/1b50e000/attachment-0001.html From anthony.minessale at gmail.com Tue Mar 16 06:45:29 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 16 Mar 2010 08:45:29 -0500 Subject: [Freeswitch-users] A few questions after upgrade to trunk In-Reply-To: <23f91031003160253n1a9ad426gaca1b13f4a2ee64c@mail.gmail.com> References: <23f91031003150308j5e5938fasd0cf9d2adb5147d5@mail.gmail.com> <23f91031003150327g182f0743r73c7002514471817@mail.gmail.com> <191c3a031003150928s7ec8a562hddff8a89bad4ef68@mail.gmail.com> <23f91031003151001t2a6dfcc5p2ed58b6c2376f899@mail.gmail.com> <191c3a031003151018l670fdab6t5fc638115bb119d@mail.gmail.com> <23f91031003160253n1a9ad426gaca1b13f4a2ee64c@mail.gmail.com> Message-ID: <191c3a031003160645n69a9ef8dr8271673a18bfc34a@mail.gmail.com> Are you bridging to sip or some ivr and making dingaling wait until the call answers? gtalk is sort of missing key telephony features like the concept of pdd and indication progress etc. Try answering the call in your dialplan before you bridge. I think the gtalk client is getting impatient because you did not answer soon enough with an ip choice so it starts sending all these extra ones at you and gave up on the one we chose. On Tue, Mar 16, 2010 at 4:53 AM, Seven Du wrote: > 2010/3/16 Anthony Minessale : > > FS would prefer you run your kernel at 1000hz you are probably on a VM if > > its 10000hz > > > > It's a physical machine. And I'm also running 20 skype clients. as > 100HZ is recommended for skypiax. I think the kernel should be 100 or > 250 HZ. weird. > > > here is the dingaling log with dl_debug on > > http://pastebin.freeswitch.org/12453 > My public IP is 220.231.26.130, and nat to 192.168.1.27(me) > > > still get this message on client: > > Sorry! The voice chat with language_lesson failed because of a network > problem at 5:39 PM. Please try again. > Click here to report this to Google > > > > Thanks. > > > > > > > > > > > > > On Mon, Mar 15, 2010 at 11:01 AM, Seven Du wrote: > >> > >> Thanks, It's late now, I will get logs tomorrow. I tested both on > >> Windows client and web site on Mac. They both work on the other two > >> instances of FreeSWITCH I mentioned in this thread. > >> > >> btw, can you give me a hint on the timer warning? > >> > >> 2010/3/16 Anthony Minessale : > >> > you would have to execute > >> > > >> > dl_debug on > >> > > >> > to get a trace that would tell us anything about that? > >> > > >> > Are you using the windows gtalk client or the web site? > >> > We are following google who have been pushing for the online client > >> > embedded > >> > in the gmail website. > >> > > >> > > >> > > >> > > >> > On Mon, Mar 15, 2010 at 4:27 AM, Seven Du > wrote: > >> >> > >> >> here is the client: > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> 2010/3/15 Seven Du : > >> >> > ALL, > >> >> > > >> >> > I just upgrade FS to 16992. > >> >> > > >> >> > 1) timer warning: How's possible the 10000 microseconds? audio > sounds > >> >> > ok. > >> >> > > >> >> > > >> >> > [WARNING] switch_time.c:206 Timer resolution of 10000 microseconds > >> >> > detected! > >> >> > Do you have your kernel timer set to higher than 1 kHz? You may > >> >> > experience audio problems. > >> >> > > >> >> > uname -a > >> >> > Linux xxx.idapted.com 2.6.22-14-server #1 SMP Tue Feb 12 08:27:05 > UTC > >> >> > 2008 i686 GNU/Linux > >> >> > > >> >> > > >> >> > I used a script to check the interupts > >> >> > > >> >> > :~$ while :; do cat /proc/interrupts |grep LOC; sleep 1; done > >> >> > LOC: 14892854 14892843 14892841 14892830 > >> >> > LOC: 14892955 14892944 14892942 14892931 > >> >> > LOC: 14893056 14893045 14893043 14893032 > >> >> > LOC: 14893157 14893146 14893144 14893133 > >> >> > LOC: 14893258 14893247 14893245 14893234 > >> >> > LOC: 14893359 14893348 14893346 14893335 > >> >> > LOC: 14893460 14893449 14893447 14893436 > >> >> > > >> >> > > >> >> > 2) run dingaling with client mode. dingaling doesn't pick up > answer. > >> >> > I > >> >> > originate a call from FS, the console blocks, gtalk client ring and > >> >> > it > >> >> > looks ok when I hit answer, but no sound, FS console still blocks. > a > >> >> > few seconds later gtalk client shows: > >> >> > > >> >> > Sorry! The voice chat with language_lesson failed because of a > >> >> > network > >> >> > problem at 5:50 PM. Please try again. > >> >> > Click here to report this to Google. > >> >> > > >> >> > > >> >> > here is a log with bgapi: > >> >> > http://pastebin.freeswitch.org/12434 > >> >> > > >> >> > > >> >> > rev 14696 works on the same server same conf. another server > running > >> >> > 16958M works at the same time. I have no clue to check, is it > related > >> >> > to the timer as in 1)? can some help me to take a look? let me know > >> >> > if > >> >> > you need "dl_debug on" logs. > >> >> > > >> >> > Thanks. > >> >> > > >> >> > >> >> _______________________________________________ > >> >> FreeSWITCH-users mailing list > >> >> FreeSWITCH-users at 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 > >> > iax:guest at conference.freeswitch.org/888 > >> > googletalk:conf+888 at conference.freeswitch.org > >> > pstn:+19193869900 > >> > > >> > _______________________________________________ > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users at 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 > > > > > > > > -- > > 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 > > iax:guest at conference.freeswitch.org/888 > > googletalk:conf+888 at conference.freeswitch.org > > pstn:+19193869900 > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 > -- 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 iax:guest at conference.freeswitch.org/888 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/20100316/4f9bcfc4/attachment.html From brian at freeswitch.org Tue Mar 16 06:53:33 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 16 Mar 2010 08:53:33 -0500 Subject: [Freeswitch-users] Speex transcoding question In-Reply-To: References: Message-ID: <5B407202-CFA6-4203-B39A-A0BE43A5B6B4@freeswitch.org> Can you collect some logs and traces to show us this? /b On Mar 16, 2010, at 6:26 AM, Bruce Hopkins wrote: > OK - sorry to make such a meal of this. From anthony.minessale at gmail.com Tue Mar 16 06:54:33 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 16 Mar 2010 08:54:33 -0500 Subject: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. In-Reply-To: <549CFEF87AEDE841A38E9D15EAB4C04C5577435072@cooper> References: <549CFEF87AEDE841A38E9D15EAB4C04C5577434BCE@cooper> <191c3a031003150831p42041ceeu5e1b12bbee1d9b1c@mail.gmail.com> <549CFEF87AEDE841A38E9D15EAB4C04C5577434DE9@cooper> <191c3a031003150921wf2560cdj74a91b36dc70eb71@mail.gmail.com> <549CFEF87AEDE841A38E9D15EAB4C04C5577435072@cooper> Message-ID: <191c3a031003160654g2126c97cnd658d80638849437@mail.gmail.com> These events sent via sendmsg are designed to be asynchronous. artificial waiting may be adding to the problem. Step outside of what you are trying to do and consider that the sendmsg command itself is designed to send a 1 way message to the channel, the reply is only to confirm that it was sent not the reply from the application you are executing, because executing an app is not the only thing you can do. if you don't like async behaviour you could always send a blocking instruction like the read or play_and_get_digits app to collect your info. If anything, it might be ok to put this in the "break" app at the end switch_channel_wait_for_flag(channel, CF_BROADCAST, SWITCH_FALSE, 2000, NULL); On Tue, Mar 16, 2010 at 6:41 AM, Peter Olsson < peter.olsson at visionutveckling.se> wrote: > I agree, that is a possibility. However, when sending a ?SendMsg? with > application ?break?, and receive ?+OK? as it?s reply, you kind of expect > that it was received correctly, and will be handled in the event queue > properly. > > > > I have a created a small patch that (probably) will fix this in FS, without > breaking anything else. I just need to test it first ? if everything seems > ok I will add a jira for it, with the patch attached. > > > > /Peter > > > > *Fr?n:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *F?r *Anthony Minessale > *Skickat:* den 15 mars 2010 17:21 > > *Till:* freeswitch-users at lists.freeswitch.org > *?mne:* Re: [Freeswitch-users] ESL and application "break" (to stop file > playback) - timing issues. > > > > you could also wait for the execute_complete of the file you were playing > > On Mon, Mar 15, 2010 at 9:40 AM, Peter Olsson < > peter.olsson at visionutveckling.se> wrote: > > Thanks for the reply. > > > > Yes, I thought of this. > > > > But that still shouldn?t solve the issue? It will only tell that the > CF_BREAK flag was set on the channel, not that the current playback detected > the flag in the loop (which I guess is done in a different thread), or is > this event sent once the playback really did stop? > > > > /Peter > > > > *Fr?n:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *F?r *Anthony Minessale > *Skickat:* den 15 mars 2010 16:31 > *Till:* freeswitch-users at lists.freeswitch.org > *?mne:* Re: [Freeswitch-users] ESL and application "break" (to stop file > playback) - timing issues. > > > > you could wait for the execute_complete event for your break command. > > On Mon, Mar 15, 2010 at 3:20 AM, Peter Olsson < > peter.olsson at visionutveckling.se> wrote: > > I?m not sure if this belongs in Jira, or if it?s possible to do it another > way ? so I try the list first :) > > > > I?m using ESL to do some IVR functions. Basically I play some sound files, > wait for DTMF, and then do something, like record a message, transfer the > call to a mobile phone etc. Quite basic and simple. > > > > I?ve noticed one problem with this, and it?s when I want to stop playback > using command ?break?. In 99% of the time everything works as expected, but > sometimes I get this problem ? and the problem is that the current file > doesn?t stop playing. And I think I know why this is happening. > > > > Lets say I first send playback(tone_stream://%(1500, 3500, 440.0, > 0.0);loops=100) to the channel. This will play a ring-tone (swedish) and > loop through it 100 times.. When I want to stop this tone I send the break > command, and directly after this a new playback command. Maybe 1 time in 100 > tries the tone_stream doesn?t stop playing. I think this is becuase how > break works. From what I understand from the source it just sets the > CF_BREAK flag on the channel, and then the playback application will detect > this and stop the playback. However, when I send a new playback command > immediately after break it will reset the CF_BREAK-flag again, to make sure > it won?t cause any problems for the new playback. So if the original > playback (tone_stream) didn?t check the flag before it was reset, it won?t > known that it was supposed to stop playing. > > > > I guess I could wait 50ms before sending the new playback message, but I > can really never be sure that it was handled properly. > > > > Is there any other way around this? How about ?break all?, will it > make any difference in this case? Or should this just be treated as a timing > bug, and filed to Jira? Any help on this would be greatly appreciated. > > > > These are the messages I?m sending; > > > > SendMsg > > call-command: execute > > execute-app-name: playback > > execute-app-arg: tone_stream://%(1500, 3500, 440.0, 0.0);loops=100 > > > > When I don?t want this to play anymore I send a break; > > > > SendMsg > > call-command: execute > > execute-app-name: break > > > > And immediately after this I want to play another file; > > > > SendMsg > > call-command: execute > > execute-app-name: playback > > execute-app-arg: file/to/play.wav > > > > > > Regards, > > > > Peter Olsson > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > !DSPAM:4b9e60d032938314917241! > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100316/0a02e678/attachment-0001.html From peter.olsson at visionutveckling.se Tue Mar 16 07:13:40 2010 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Tue, 16 Mar 2010 15:13:40 +0100 Subject: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. In-Reply-To: <191c3a031003160654g2126c97cnd658d80638849437@mail.gmail.com> References: <549CFEF87AEDE841A38E9D15EAB4C04C5577434BCE@cooper> <191c3a031003150831p42041ceeu5e1b12bbee1d9b1c@mail.gmail.com> <549CFEF87AEDE841A38E9D15EAB4C04C5577434DE9@cooper> <191c3a031003150921wf2560cdj74a91b36dc70eb71@mail.gmail.com> <549CFEF87AEDE841A38E9D15EAB4C04C5577435072@cooper> <191c3a031003160654g2126c97cnd658d80638849437@mail.gmail.com> Message-ID: <549CFEF87AEDE841A38E9D15EAB4C04C557743513F@cooper> Anthony, thanks for further information! My goal is not to wait for the break to be executed, I just want to make sure it will be handled properly - and actually break the channel that is playing. So nothing wrong with the async behaviour itself - I like it the way it is. I've been digging into the FS code for a couple of hours, and I think the problem occurs when I'm "fast" enough to add the break command, and then a new playback command in the event queue (and they both exist there). Then in the main loop of switch_ivr_play_file(), after CF_BREAK flag is checked, switch_ivr_parse_all_events() will be called. If both events exist in the queue, the CF_BREAK will first be set, then on the next event it will be reset again, and the new playback will begin. But it will never break the original playback. Since I havn't digging too deep in the code, I'm not 100% sure of this :) I was hoping you could help out with your expertice. My current patch looks something like this - do you think it's possible this causes other problems? By the way - sorry for getting this technical in the users-list, I guess this belongs more to the dev-list... Index: src/switch_ivr.c =================================================================== --- src/switch_ivr.c (revision 17000) +++ src/switch_ivr.c (working copy) @@ -660,12 +660,16 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_all_events(switch_core_session_t *session) { int x = 0; + switch_channel_t *channel = switch_core_session_get_channel(session); - switch_ivr_parse_all_messages(session); - while (switch_ivr_parse_next_event(session) == SWITCH_STATUS_SUCCESS) + while (switch_ivr_parse_next_event(session) == SWITCH_STATUS_SUCCESS) { x++; + if (switch_channel_test_flag(channel, CF_BREAK)) { + break; + } + } if (x) { switch_ivr_sleep(session, 0, SWITCH_TRUE, NULL); /Peter Olsson Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Anthony Minessale Skickat: den 16 mars 2010 14:55 Till: freeswitch-users at lists.freeswitch.org ?mne: Re: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. These events sent via sendmsg are designed to be asynchronous. artificial waiting may be adding to the problem. Step outside of what you are trying to do and consider that the sendmsg command itself is designed to send a 1 way message to the channel, the reply is only to confirm that it was sent not the reply from the application you are executing, because executing an app is not the only thing you can do. if you don't like async behaviour you could always send a blocking instruction like the read or play_and_get_digits app to collect your info. If anything, it might be ok to put this in the "break" app at the end switch_channel_wait_for_flag(channel, CF_BROADCAST, SWITCH_FALSE, 2000, NULL); On Tue, Mar 16, 2010 at 6:41 AM, Peter Olsson > wrote: I agree, that is a possibility. However, when sending a "SendMsg" with application "break", and receive "+OK" as it's reply, you kind of expect that it was received correctly, and will be handled in the event queue properly. I have a created a small patch that (probably) will fix this in FS, without breaking anything else. I just need to test it first - if everything seems ok I will add a jira for it, with the patch attached. /Peter Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Anthony Minessale Skickat: den 15 mars 2010 17:21 Till: freeswitch-users at lists.freeswitch.org ?mne: Re: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. you could also wait for the execute_complete of the file you were playing On Mon, Mar 15, 2010 at 9:40 AM, Peter Olsson > wrote: Thanks for the reply. Yes, I thought of this. But that still shouldn't solve the issue? It will only tell that the CF_BREAK flag was set on the channel, not that the current playback detected the flag in the loop (which I guess is done in a different thread), or is this event sent once the playback really did stop? /Peter Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Anthony Minessale Skickat: den 15 mars 2010 16:31 Till: freeswitch-users at lists.freeswitch.org ?mne: Re: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. you could wait for the execute_complete event for your break command. On Mon, Mar 15, 2010 at 3:20 AM, Peter Olsson > wrote: I'm not sure if this belongs in Jira, or if it's possible to do it another way - so I try the list first :) I'm using ESL to do some IVR functions. Basically I play some sound files, wait for DTMF, and then do something, like record a message, transfer the call to a mobile phone etc. Quite basic and simple. I've noticed one problem with this, and it's when I want to stop playback using command "break". In 99% of the time everything works as expected, but sometimes I get this problem - and the problem is that the current file doesn't stop playing. And I think I know why this is happening. Lets say I first send playback(tone_stream://%(1500, 3500, 440.0, 0.0);loops=100) to the channel. This will play a ring-tone (swedish) and loop through it 100 times.. When I want to stop this tone I send the break command, and directly after this a new playback command. Maybe 1 time in 100 tries the tone_stream doesn't stop playing. I think this is becuase how break works. From what I understand from the source it just sets the CF_BREAK flag on the channel, and then the playback application will detect this and stop the playback. However, when I send a new playback command immediately after break it will reset the CF_BREAK-flag again, to make sure it won't cause any problems for the new playback. So if the original playback (tone_stream) didn't check the flag before it was reset, it won't known that it was supposed to stop playing. I guess I could wait 50ms before sending the new playback message, but I can really never be sure that it was handled properly. Is there any other way around this? How about "break all", will it make any difference in this case? Or should this just be treated as a timing bug, and filed to Jira? Any help on this would be greatly appreciated. These are the messages I'm sending; SendMsg call-command: execute execute-app-name: playback execute-app-arg: tone_stream://%(1500, 3500, 440.0, 0.0);loops=100 When I don't want this to play anymore I send a break; SendMsg call-command: execute execute-app-name: break And immediately after this I want to play another file; SendMsg call-command: execute execute-app-name: playback execute-app-arg: file/to/play.wav Regards, Peter Olsson _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 !DSPAM:4b9f8f4132931389420256! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/c28feec4/attachment-0001.html From moises.silva at gmail.com Tue Mar 16 07:32:28 2010 From: moises.silva at gmail.com (Moises Silva) Date: Tue, 16 Mar 2010 10:32:28 -0400 Subject: [Freeswitch-users] SIP to PRI RECOVERY_ON_TIMER_EXPIRE error using Sangoma (sangoma_prid) In-Reply-To: <10128ef11003152131o383e0b3el6b9628b74da56998@mail.gmail.com> References: <10128ef11003150645w2d7f46b1v5053960592490825@mail.gmail.com> <10128ef11003150651r793f61b9i91dadc169b97b907@mail.gmail.com> <4B9E4027.4000100@voiceworks.pl> <10128ef11003150721o546e5da8n79ff766c8722537@mail.gmail.com> <10128ef11003152131o383e0b3el6b9628b74da56998@mail.gmail.com> Message-ID: I'll contact you off-list to arrange ssh debug session. -- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy at sangoma.com On Tue, Mar 16, 2010 at 12:31 AM, Tzury Bar Yochay wrote: > > > On Mon, Mar 15, 2010 at 5:28 PM, Moises Silva wrote: > >> Ok, so the call is not even being placed in the ISDN network. >> >> Did you manage to get the sangoma_prid logs working? if that's the case >> then paste them too, it seems sangoma_prid is not seeing the request from >> FreeSWITCH to place a call and FreeSWITCH is timing out cuz there is no >> response from sangoma_prid binary (they both communicate through sctp >> socket). >> > > This is the log (a result of `# /usr/sbin/sangoma_prid &> > sangoma_prid.log`) > > ================System restart============= > = Sangoma PRI Protocol Stack Daemon = > = Version: 1.58 = > = Date: Feb 18 2010 = > = Wanpipe Release: wanpipe-3.5.10.3 = > = Revision:Revision: 15364 = > =========================================== > DEBUG - AlarmRegistryImpl::addAlarm : Alarm is not unique : > system.overload.task > DEBUG - AlarmRegistryImpl::addAlarm : Alarm is not unique : > system.task.queue.100%-full > DEBUG - AlarmRegistryImpl::addAlarm : Alarm is not unique : > system.task.queue.90%-full > DEBUG - AlarmRegistryImpl::addAlarm : Alarm is not unique : > system.overload.task > DEBUG - AlarmRegistryImpl::addAlarm : Alarm is not unique : > system.task.queue.100%-full > DEBUG - AlarmRegistryImpl::addAlarm : Alarm is not unique : > system.task.queue.90%-full > WARN - detected an AFT-A101 board with an unsupported firmware version. > (detected: 0x34, supported: 0x36). You may encounter unknown issues if you > use an unsupported firmware version. Please contact support to get the > proper instructions to get the supported firmware unless you have been > instructed to use this firmware version. > ERROR - Assertion failed (in_eNewState == STARTING_TSLINK_STATE) > file=../../../stack/src/main.cpp line=134 > ERROR - ACE_Task::wait failed with error 22 (Invalid argument) . Task name > = TelesoftStack > ERROR - failed to waitUntilDone the TaskManager's thread TelesoftStack > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/219af6c8/attachment.html From anthony.minessale at gmail.com Tue Mar 16 07:33:40 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 16 Mar 2010 09:33:40 -0500 Subject: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. In-Reply-To: <549CFEF87AEDE841A38E9D15EAB4C04C557743513F@cooper> References: <549CFEF87AEDE841A38E9D15EAB4C04C5577434BCE@cooper> <191c3a031003150831p42041ceeu5e1b12bbee1d9b1c@mail.gmail.com> <549CFEF87AEDE841A38E9D15EAB4C04C5577434DE9@cooper> <191c3a031003150921wf2560cdj74a91b36dc70eb71@mail.gmail.com> <549CFEF87AEDE841A38E9D15EAB4C04C5577435072@cooper> <191c3a031003160654g2126c97cnd658d80638849437@mail.gmail.com> <549CFEF87AEDE841A38E9D15EAB4C04C557743513F@cooper> Message-ID: <191c3a031003160733j5c5640f4u7bb51c7a2f744966@mail.gmail.com> my last email had a code suggestion On Tue, Mar 16, 2010 at 9:13 AM, Peter Olsson < peter.olsson at visionutveckling.se> wrote: > Anthony, thanks for further information! > > > > My goal is not to wait for the break to be executed, I just want to make > sure it will be handled properly ? and actually break the channel that is > playing. So nothing wrong with the async behaviour itself - I like it the > way it is. > > > > I?ve been digging into the FS code for a couple of hours, and I think the > problem occurs when I?m ?fast? enough to add the break command, and then a > new playback command in the event queue (and they both exist there). Then in > the main loop of switch_ivr_play_file(), after CF_BREAK flag is checked, > switch_ivr_parse_all_events() will be called. If both events exist in the > queue, the CF_BREAK will first be set, then on the next event it will be > reset again, and the new playback will begin. But it will never break the > original playback. > > > > Since I havn?t digging too deep in the code, I?m not 100% sure of this :) I > was hoping you could help out with your expertice. My current patch looks > something like this ? do you think it?s possible this causes other problems? > By the way ? sorry for getting this technical in the users-list, I guess > this belongs more to the dev-list... > > > > Index: src/switch_ivr.c > > =================================================================== > > --- src/switch_ivr.c (revision 17000) > > +++ src/switch_ivr.c (working copy) > > @@ -660,12 +660,16 @@ > > SWITCH_DECLARE(switch_status_t) > switch_ivr_parse_all_events(switch_core_session_t *session) > > { > > int x = 0; > > + switch_channel_t *channel = > switch_core_session_get_channel(session); > > > > - > > switch_ivr_parse_all_messages(session); > > > > - while (switch_ivr_parse_next_event(session) == > SWITCH_STATUS_SUCCESS) > > + while (switch_ivr_parse_next_event(session) == > SWITCH_STATUS_SUCCESS) { > > x++; > > + if > (switch_channel_test_flag(channel, CF_BREAK)) { > > + > break; > > + } > > + } > > > > if (x) { > > > switch_ivr_sleep(session, 0, SWITCH_TRUE, NULL); > > > > /Peter Olsson > > > > *Fr?n:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *F?r *Anthony Minessale > *Skickat:* den 16 mars 2010 14:55 > > *Till:* freeswitch-users at lists.freeswitch.org > *?mne:* Re: [Freeswitch-users] ESL and application "break" (to stop file > playback) - timing issues. > > > > These events sent via sendmsg are designed to be asynchronous. > artificial waiting may be adding to the problem. > > Step outside of what you are trying to do and consider that the sendmsg > command itself > is designed to send a 1 way message to the channel, the reply is only to > confirm that it was sent not the reply from > the application you are executing, because executing an app is not the only > thing you can do. > > if you don't like async behaviour you could always send a blocking > instruction like the read or play_and_get_digits app to collect your info. > > > If anything, it might be ok to put this in the "break" app at the end > > switch_channel_wait_for_flag(channel, CF_BROADCAST, SWITCH_FALSE, 2000, > NULL); > > > On Tue, Mar 16, 2010 at 6:41 AM, Peter Olsson < > peter.olsson at visionutveckling.se> wrote: > > I agree, that is a possibility. However, when sending a ?SendMsg? with > application ?break?, and receive ?+OK? as it?s reply, you kind of expect > that it was received correctly, and will be handled in the event queue > properly. > > > > I have a created a small patch that (probably) will fix this in FS, without > breaking anything else. I just need to test it first ? if everything seems > ok I will add a jira for it, with the patch attached. > > > > /Peter > > > > *Fr?n:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *F?r *Anthony Minessale > *Skickat:* den 15 mars 2010 17:21 > > > *Till:* freeswitch-users at lists.freeswitch.org > *?mne:* Re: [Freeswitch-users] ESL and application "break" (to stop file > playback) - timing issues. > > > > you could also wait for the execute_complete of the file you were playing > > On Mon, Mar 15, 2010 at 9:40 AM, Peter Olsson < > peter.olsson at visionutveckling.se> wrote: > > Thanks for the reply. > > > > Yes, I thought of this. > > > > But that still shouldn?t solve the issue? It will only tell that the > CF_BREAK flag was set on the channel, not that the current playback detected > the flag in the loop (which I guess is done in a different thread), or is > this event sent once the playback really did stop? > > > > /Peter > > > > *Fr?n:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *F?r *Anthony Minessale > *Skickat:* den 15 mars 2010 16:31 > *Till:* freeswitch-users at lists.freeswitch.org > *?mne:* Re: [Freeswitch-users] ESL and application "break" (to stop file > playback) - timing issues. > > > > you could wait for the execute_complete event for your break command. > > On Mon, Mar 15, 2010 at 3:20 AM, Peter Olsson < > peter.olsson at visionutveckling.se> wrote: > > I?m not sure if this belongs in Jira, or if it?s possible to do it another > way ? so I try the list first :) > > > > I?m using ESL to do some IVR functions. Basically I play some sound files, > wait for DTMF, and then do something, like record a message, transfer the > call to a mobile phone etc. Quite basic and simple. > > > > I?ve noticed one problem with this, and it?s when I want to stop playback > using command ?break?. In 99% of the time everything works as expected, but > sometimes I get this problem ? and the problem is that the current file > doesn?t stop playing. And I think I know why this is happening. > > > > Lets say I first send playback(tone_stream://%(1500, 3500, 440.0, > 0.0);loops=100) to the channel. This will play a ring-tone (swedish) and > loop through it 100 times.. When I want to stop this tone I send the break > command, and directly after this a new playback command. Maybe 1 time in 100 > tries the tone_stream doesn?t stop playing. I think this is becuase how > break works. From what I understand from the source it just sets the > CF_BREAK flag on the channel, and then the playback application will detect > this and stop the playback. However, when I send a new playback command > immediately after break it will reset the CF_BREAK-flag again, to make sure > it won?t cause any problems for the new playback. So if the original > playback (tone_stream) didn?t check the flag before it was reset, it won?t > known that it was supposed to stop playing. > > > > I guess I could wait 50ms before sending the new playback message, but I > can really never be sure that it was handled properly. > > > > Is there any other way around this? How about ?break all?, will it > make any difference in this case? Or should this just be treated as a timing > bug, and filed to Jira? Any help on this would be greatly appreciated. > > > > These are the messages I?m sending; > > > > SendMsg > > call-command: execute > > execute-app-name: playback > > execute-app-arg: tone_stream://%(1500, 3500, 440.0, 0.0);loops=100 > > > > When I don?t want this to play anymore I send a break; > > > > SendMsg > > call-command: execute > > execute-app-name: break > > > > And immediately after this I want to play another file; > > > > SendMsg > > call-command: execute > > execute-app-name: playback > > execute-app-arg: file/to/play.wav > > > > > > Regards, > > > > Peter Olsson > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > !DSPAM:4b9f8f4132931389420256! > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100316/ac3d28a7/attachment-0001.html From peter.olsson at visionutveckling.se Tue Mar 16 08:00:14 2010 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Tue, 16 Mar 2010 16:00:14 +0100 Subject: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. In-Reply-To: <191c3a031003160733j5c5640f4u7bb51c7a2f744966@mail.gmail.com> References: <549CFEF87AEDE841A38E9D15EAB4C04C5577434BCE@cooper> <191c3a031003150831p42041ceeu5e1b12bbee1d9b1c@mail.gmail.com> <549CFEF87AEDE841A38E9D15EAB4C04C5577434DE9@cooper> <191c3a031003150921wf2560cdj74a91b36dc70eb71@mail.gmail.com> <549CFEF87AEDE841A38E9D15EAB4C04C5577435072@cooper> <191c3a031003160654g2126c97cnd658d80638849437@mail.gmail.com> <549CFEF87AEDE841A38E9D15EAB4C04C557743513F@cooper> <191c3a031003160733j5c5640f4u7bb51c7a2f744966@mail.gmail.com> Message-ID: <549CFEF87AEDE841A38E9D15EAB4C04C5577435208@cooper> Yes, I noticed that - thanks again :) What exactly would that line do, I dont know how the CF_BROADCAST flag works.. What exacly would it wait for? Just one more question about my patch - what I'm trying to do is to make sure that CF_BREAK flag is handled in switch_ivr_play_file() (and others calling switch_ivr_parse_all_events() in the loop), even when the event queue holds more than one event (first event "break", and next one "playback", which will reset CF_BREAK flag again). As it works right now CF_BREAK will not be handled in the first playback loop, if the queue holds a break event and then a new playback - is that really the way it should be? Sorry for all questions, I just want know more, and understand the FS code a bite more... /Peter Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Anthony Minessale Skickat: den 16 mars 2010 15:34 Till: freeswitch-users at lists.freeswitch.org ?mne: Re: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. my last email had a code suggestion On Tue, Mar 16, 2010 at 9:13 AM, Peter Olsson > wrote: Anthony, thanks for further information! My goal is not to wait for the break to be executed, I just want to make sure it will be handled properly - and actually break the channel that is playing. So nothing wrong with the async behaviour itself - I like it the way it is. I've been digging into the FS code for a couple of hours, and I think the problem occurs when I'm "fast" enough to add the break command, and then a new playback command in the event queue (and they both exist there). Then in the main loop of switch_ivr_play_file(), after CF_BREAK flag is checked, switch_ivr_parse_all_events() will be called. If both events exist in the queue, the CF_BREAK will first be set, then on the next event it will be reset again, and the new playback will begin. But it will never break the original playback. Since I havn't digging too deep in the code, I'm not 100% sure of this :) I was hoping you could help out with your expertice. My current patch looks something like this - do you think it's possible this causes other problems? By the way - sorry for getting this technical in the users-list, I guess this belongs more to the dev-list... Index: src/switch_ivr.c =================================================================== --- src/switch_ivr.c (revision 17000) +++ src/switch_ivr.c (working copy) @@ -660,12 +660,16 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_all_events(switch_core_session_t *session) { int x = 0; + switch_channel_t *channel = switch_core_session_get_channel(session); - switch_ivr_parse_all_messages(session); - while (switch_ivr_parse_next_event(session) == SWITCH_STATUS_SUCCESS) + while (switch_ivr_parse_next_event(session) == SWITCH_STATUS_SUCCESS) { x++; + if (switch_channel_test_flag(channel, CF_BREAK)) { + break; + } + } if (x) { switch_ivr_sleep(session, 0, SWITCH_TRUE, NULL); /Peter Olsson Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Anthony Minessale Skickat: den 16 mars 2010 14:55 Till: freeswitch-users at lists.freeswitch.org ?mne: Re: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. These events sent via sendmsg are designed to be asynchronous. artificial waiting may be adding to the problem. Step outside of what you are trying to do and consider that the sendmsg command itself is designed to send a 1 way message to the channel, the reply is only to confirm that it was sent not the reply from the application you are executing, because executing an app is not the only thing you can do. if you don't like async behaviour you could always send a blocking instruction like the read or play_and_get_digits app to collect your info. If anything, it might be ok to put this in the "break" app at the end switch_channel_wait_for_flag(channel, CF_BROADCAST, SWITCH_FALSE, 2000, NULL); On Tue, Mar 16, 2010 at 6:41 AM, Peter Olsson > wrote: I agree, that is a possibility. However, when sending a "SendMsg" with application "break", and receive "+OK" as it's reply, you kind of expect that it was received correctly, and will be handled in the event queue properly. I have a created a small patch that (probably) will fix this in FS, without breaking anything else. I just need to test it first - if everything seems ok I will add a jira for it, with the patch attached. /Peter Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Anthony Minessale Skickat: den 15 mars 2010 17:21 Till: freeswitch-users at lists.freeswitch.org ?mne: Re: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. you could also wait for the execute_complete of the file you were playing On Mon, Mar 15, 2010 at 9:40 AM, Peter Olsson > wrote: Thanks for the reply. Yes, I thought of this. But that still shouldn't solve the issue? It will only tell that the CF_BREAK flag was set on the channel, not that the current playback detected the flag in the loop (which I guess is done in a different thread), or is this event sent once the playback really did stop? /Peter Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Anthony Minessale Skickat: den 15 mars 2010 16:31 Till: freeswitch-users at lists.freeswitch.org ?mne: Re: [Freeswitch-users] ESL and application "break" (to stop file playback) - timing issues. you could wait for the execute_complete event for your break command. On Mon, Mar 15, 2010 at 3:20 AM, Peter Olsson > wrote: I'm not sure if this belongs in Jira, or if it's possible to do it another way - so I try the list first :) I'm using ESL to do some IVR functions. Basically I play some sound files, wait for DTMF, and then do something, like record a message, transfer the call to a mobile phone etc. Quite basic and simple. I've noticed one problem with this, and it's when I want to stop playback using command "break". In 99% of the time everything works as expected, but sometimes I get this problem - and the problem is that the current file doesn't stop playing. And I think I know why this is happening. Lets say I first send playback(tone_stream://%(1500, 3500, 440.0, 0.0);loops=100) to the channel. This will play a ring-tone (swedish) and loop through it 100 times.. When I want to stop this tone I send the break command, and directly after this a new playback command. Maybe 1 time in 100 tries the tone_stream doesn't stop playing. I think this is becuase how break works. From what I understand from the source it just sets the CF_BREAK flag on the channel, and then the playback application will detect this and stop the playback. However, when I send a new playback command immediately after break it will reset the CF_BREAK-flag again, to make sure it won't cause any problems for the new playback. So if the original playback (tone_stream) didn't check the flag before it was reset, it won't known that it was supposed to stop playing. I guess I could wait 50ms before sending the new playback message, but I can really never be sure that it was handled properly. Is there any other way around this? How about "break all", will it make any difference in this case? Or should this just be treated as a timing bug, and filed to Jira? Any help on this would be greatly appreciated. These are the messages I'm sending; SendMsg call-command: execute execute-app-name: playback execute-app-arg: tone_stream://%(1500, 3500, 440.0, 0.0);loops=100 When I don't want this to play anymore I send a break; SendMsg call-command: execute execute-app-name: break And immediately after this I want to play another file; SendMsg call-command: execute execute-app-name: playback execute-app-arg: file/to/play.wav Regards, Peter Olsson _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 !DSPAM:4b9f989a32932811920704! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/e665a324/attachment-0001.html From jbrucehopkins at gmail.com Tue Mar 16 08:05:54 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Tue, 16 Mar 2010 15:05:54 +0000 Subject: [Freeswitch-users] Speex transcoding question In-Reply-To: References: <5B407202-CFA6-4203-B39A-A0BE43A5B6B4@freeswitch.org> Message-ID: ... and here are two more Wireshark traces showing the successfull call scenario, where phone A is configured to use only Sppex (rather than using Alaw and requiring Freeswitch to transcode). thanks again Bruce On 16 March 2010 14:41, Bruce Hopkins wrote: > Sure. I put the Freeswitch log in pastebin. here are two Wireshark > captures in the condition where the call fails- run on two PC's running > Eyebeam clients. Phone A initiates the call with only PCMA enabled. Phone > B has only Speex enabled. > > Thanks for taking the time to look at these. > Bruce > > > On 16 March 2010 13:53, Brian West wrote: > >> Can you collect some logs and traces to show us this? >> >> /b >> >> On Mar 16, 2010, at 6:26 AM, Bruce Hopkins wrote: >> >> > OK - sorry to make such a meal of this. >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/a2666623/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: phone A (successfull call - Speex).pcap Type: application/octet-stream Size: 88579 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/a2666623/attachment-0002.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: phone B (successfull call).pcap Type: application/octet-stream Size: 58501 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/a2666623/attachment-0003.obj From ivdreg at gmail.com Tue Mar 16 08:20:58 2010 From: ivdreg at gmail.com (ivdreg ivdreg) Date: Tue, 16 Mar 2010 17:20:58 +0200 Subject: [Freeswitch-users] Mod_limit questions Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/90240369/attachment.html From tculjaga at gmail.com Tue Mar 16 08:38:05 2010 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Tue, 16 Mar 2010 16:38:05 +0100 Subject: [Freeswitch-users] Load balancing solution using pure FreeSWITCH In-Reply-To: References: <5fe6fa8f1003160613o4b54df83g5da2ce7b3fd4b3e7@mail.gmail.com> Message-ID: <65d96fc81003160838p272fca54hcdec8c9fb9860856@mail.gmail.com> On Tue, Mar 16, 2010 at 2:31 PM, Vitalii Colosov wrote: > Tihomir, > Could you please add more details to the following? > > "So, i'd suggest to bring up a LAN_HA and have a floating > address between your routing servers.... of course the you should be using > ODBC in the core to have registrations on both servers." > > Do you have any links that describe how to implement this kind of fail > over? > > This is the topic for you: http://www.ultramonkey.org/3/topologies/ and this is what i already have implemented: http://www.ultramonkey.org/3/topologies/ha-eg.html > I thought about configuring 2 DNS servers on 2 Routing servers, so if one > will go down, traffic will be addressed to another, but at the moment I > don't have enough knowledge how to implement this. > > don't like the idea as you are introducing one more point of failure :) > Thanks, > vIT > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/aeb7dc41/attachment.html From tculjaga at gmail.com Tue Mar 16 08:38:47 2010 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Tue, 16 Mar 2010 16:38:47 +0100 Subject: [Freeswitch-users] Load balancing solution using pure FreeSWITCH In-Reply-To: References: <65d96fc81003160607g5d77c8b3s52fb5a018aa82bdb@mail.gmail.com> Message-ID: <65d96fc81003160838p2cc2575et86de60faedbc3415@mail.gmail.com> On Tue, Mar 16, 2010 at 2:19 PM, Vitalii Colosov wrote: > Hi Tihomir, > What do you mean by "took from Mera"? > If someone else already implemented this, could you please provide me a > link? > > > > read the file attached :) T. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/7be2a487/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: MVTS-based clusters.pdf Type: application/pdf Size: 207828 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/7be2a487/attachment-0001.pdf From anthony.minessale at gmail.com Tue Mar 16 08:48:20 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 16 Mar 2010 10:48:20 -0500 Subject: [Freeswitch-users] call info display In-Reply-To: <7A4674AD-A840-4506-A36F-DB8E822C0E72@ukgb.net> References: <7A4674AD-A840-4506-A36F-DB8E822C0E72@ukgb.net> Message-ID: <191c3a031003160848y3a238fadsdcd4ae654dacc1d6@mail.gmail.com> depending on the phone FreeSWITCH will update the display any time a call is bridged. it works on polycom,snom and aastra and I am not sure if there are more. On Tue, Mar 16, 2010 at 5:50 AM, Ken Gillett wrote: > Sorry to ask what are perhaps very basic questions, but could someone > please enlighten me on FreeSwitch's capabilities with regard to information > for display on the recipient's extension. > > When a call is received, the extension really needs to display information > about the origin and the intended recipient of the call. Normally for an > incoming external call, the former is supplied by the 'incoming CLI' (often > linked to locally stored name) and the latter probably by associating a name > with each incoming line, so in this way the recipient can see at a glance > who called whom (or what). > > Am I right in thinking that within SIP there is the provision to send > information about the calling party (origin), so the called party > (recipient) doesn't have to rely on CLI and matching numbers to locally > stored directories? > > So, how does FS handle all the above? > What does it pass to the recipient, for both external and internal calls? > Is this part of FS configuration? IOW, do you have programmatic access to > such information and can you specify exactly what is sent to an extension? > > > Ken G i l l e t t > > _/_/_/_/_/_/_/_/ > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100316/a970a70e/attachment.html From srinivas.ksvreddy at gmail.com Tue Mar 16 08:49:03 2010 From: srinivas.ksvreddy at gmail.com (srinivasula reddy) Date: Tue, 16 Mar 2010 21:19:03 +0530 Subject: [Freeswitch-users] freeswitch to cisco gateway In-Reply-To: References: Message-ID: we started customizing Freeswitch1.0.2 2yrs back, so now we are unable to use new versions. srinivas On Mon, Mar 15, 2010 at 9:06 PM, srinivasula reddy < srinivas.ksvreddy at gmail.com> wrote: > Hi, > > i am using freeswitch1.0.2, farwarding call from freeswitch to cisco > like just farwading the call. > sofia/internal/${destination_number}@ciscogatewayip > / > > i do not using any gateway here, just farwarding call to router, is this > correct way of doing? any idea > > -- > Srinivasula Reddy K > -- Srinivasula Reddy K -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/503c44ac/attachment.html From vetali100 at gmail.com Tue Mar 16 08:51:19 2010 From: vetali100 at gmail.com (Vitalii Colosov) Date: Tue, 16 Mar 2010 17:51:19 +0200 Subject: [Freeswitch-users] Load balancing solution using pure FreeSWITCH In-Reply-To: <65d96fc81003160838p272fca54hcdec8c9fb9860856@mail.gmail.com> References: <5fe6fa8f1003160613o4b54df83g5da2ce7b3fd4b3e7@mail.gmail.com> <65d96fc81003160838p272fca54hcdec8c9fb9860856@mail.gmail.com> Message-ID: Using it you still have one point of failure - only one router and it's on one internet line... What if one of these things goes down for a period? :-) I would prefer to have 2 separate servers on 2 different internet lines (better different providers even). Thanks, vIT 2010/3/16 Tihomir Culjaga > > > On Tue, Mar 16, 2010 at 2:31 PM, Vitalii Colosov wrote: > >> Tihomir, >> Could you please add more details to the following? >> >> "So, i'd suggest to bring up a LAN_HA and have a floating >> address between your routing servers.... of course the you should be using >> ODBC in the core to have registrations on both servers." >> >> Do you have any links that describe how to implement this kind of fail >> over? >> >> > This is the topic for you: > http://www.ultramonkey.org/3/topologies/ > and this is what i already have implemented: > http://www.ultramonkey.org/3/topologies/ha-eg.html > > > > >> I thought about configuring 2 DNS servers on 2 Routing servers, so if one >> will go down, traffic will be addressed to another, but at the moment I >> don't have enough knowledge how to implement this. >> >> > don't like the idea as you are introducing one more point of failure :) > > >> Thanks, >> vIT >> >> >> > > > > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/b0d0b39f/attachment.html From vetali100 at gmail.com Tue Mar 16 08:51:19 2010 From: vetali100 at gmail.com (Vitalii Colosov) Date: Tue, 16 Mar 2010 17:51:19 +0200 Subject: [Freeswitch-users] Load balancing solution using pure FreeSWITCH In-Reply-To: <65d96fc81003160838p272fca54hcdec8c9fb9860856@mail.gmail.com> References: <5fe6fa8f1003160613o4b54df83g5da2ce7b3fd4b3e7@mail.gmail.com> <65d96fc81003160838p272fca54hcdec8c9fb9860856@mail.gmail.com> Message-ID: Using it you still have one point of failure - only one router and it's on one internet line... What if one of these things goes down for a period? :-) I would prefer to have 2 separate servers on 2 different internet lines (better different providers even). Thanks, vIT 2010/3/16 Tihomir Culjaga > > > On Tue, Mar 16, 2010 at 2:31 PM, Vitalii Colosov wrote: > >> Tihomir, >> Could you please add more details to the following? >> >> "So, i'd suggest to bring up a LAN_HA and have a floating >> address between your routing servers.... of course the you should be using >> ODBC in the core to have registrations on both servers." >> >> Do you have any links that describe how to implement this kind of fail >> over? >> >> > This is the topic for you: > http://www.ultramonkey.org/3/topologies/ > and this is what i already have implemented: > http://www.ultramonkey.org/3/topologies/ha-eg.html > > > > >> I thought about configuring 2 DNS servers on 2 Routing servers, so if one >> will go down, traffic will be addressed to another, but at the moment I >> don't have enough knowledge how to implement this. >> >> > don't like the idea as you are introducing one more point of failure :) > > >> Thanks, >> vIT >> >> >> > > > > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/b0d0b39f/attachment-0001.html From infos at madovsky.org Tue Mar 16 09:00:05 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 16 Mar 2010 12:00:05 -0400 Subject: [Freeswitch-users] freeswitch to cisco gateway References: Message-ID: so share your customized version to the community and maybe we ll be glad to help you.... this is the principle of open source ----- Original Message ----- From: srinivasula reddy To: freeswitch-users Sent: Tuesday, March 16, 2010 11:49 AM Subject: Re: [Freeswitch-users] freeswitch to cisco gateway we started customizing Freeswitch1.0.2 2yrs back, so now we are unable to use new versions. srinivas On Mon, Mar 15, 2010 at 9:06 PM, srinivasula reddy wrote: Hi, i am using freeswitch1.0.2, farwarding call from freeswitch to cisco like just farwading the call. i do not using any gateway here, just farwarding call to router, is this correct way of doing? any idea -- Srinivasula Reddy K -- Srinivasula Reddy K ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/217ae225/attachment-0001.html From msc at freeswitch.org Tue Mar 16 09:01:36 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 16 Mar 2010 09:01:36 -0700 Subject: [Freeswitch-users] Set/Export channel variable [SOLVED] In-Reply-To: <4295808702047090347@unknownmsgid> References: <8259813661645760166@unknownmsgid> <87f2f3b91003151128g656519bcq3d79516e5309effc@mail.gmail.com> <4295808702047090347@unknownmsgid> Message-ID: <87f2f3b91003160901x282ab10x6891be46462401d2@mail.gmail.com> On Mon, Mar 15, 2010 at 11:21 PM, Ahmed Ajmal wrote: > So it seems that the FS console by default only displays the ?a? leg vars > which is why I couldn?t see it (and it makes sense too since gateway is on > the b leg side). I have the ESL script now display both the inbound/outbound > after which I can see the sip_gateway_name var. > Good catch! -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/aa3a8032/attachment.html From msc at freeswitch.org Tue Mar 16 08:59:58 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 16 Mar 2010 08:59:58 -0700 Subject: [Freeswitch-users] freeswitch to cisco gateway In-Reply-To: References: Message-ID: <87f2f3b91003160859q4cb7d79asac327aa5b0019423@mail.gmail.com> On Tue, Mar 16, 2010 at 8:49 AM, srinivasula reddy < srinivas.ksvreddy at gmail.com> wrote: > we started customizing Freeswitch1.0.2 2yrs back, so now we are unable to > use new versions. > > Bummer. Unfortunately you are in a precarious situation because no one here has used 1.0.2 for more than a year and the devs are not exactly fond of that particular revision. The good news is that FS is very modular, so unless you've been messing around with the core or mod_sofia you might be able to update to 1.0.5 and reapply your customization. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/f5fa7772/attachment.html From brian at freeswitch.org Tue Mar 16 08:59:53 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 16 Mar 2010 10:59:53 -0500 Subject: [Freeswitch-users] freeswitch to cisco gateway In-Reply-To: References: Message-ID: At any time did you happen to think ... "I should join the project and help out."? /b On Mar 16, 2010, at 10:49 AM, srinivasula reddy wrote: > we started customizing Freeswitch1.0.2 2yrs back, so now we are unable to use new versions. > > srinivas From msc at freeswitch.org Tue Mar 16 09:04:14 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 16 Mar 2010 09:04:14 -0700 Subject: [Freeswitch-users] answering call in irly_media mode In-Reply-To: <4B9F3A97.4030609@gmail.com> References: <4B9F3A97.4030609@gmail.com> Message-ID: <87f2f3b91003160904q59aa4cd3u884b85e3d3ec312f@mail.gmail.com> On Tue, Mar 16, 2010 at 1:00 AM, Meftah Tayeb wrote: > hi all > i want to setup a custom ringback tone for inbound (not outbound calls) > is in irly_media mode but i still heare the normal US ringback. > where is my dialplan extension: > http://pastebin.freeswitch.org/12452 > thanks > > Check out the ringback variable: http://wiki.freeswitch.org/wiki/Channel_Variables#ringback -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/b3b64f0c/attachment.html From rupa at rupa.com Tue Mar 16 08:58:21 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Tue, 16 Mar 2010 10:58:21 -0500 Subject: [Freeswitch-users] Mod_limit questions In-Reply-To: References: Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/8a7a68ef/attachment.html From brian at freeswitch.org Tue Mar 16 09:09:25 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 16 Mar 2010 11:09:25 -0500 Subject: [Freeswitch-users] freeswitch to cisco gateway In-Reply-To: <87f2f3b91003160859q4cb7d79asac327aa5b0019423@mail.gmail.com> References: <87f2f3b91003160859q4cb7d79asac327aa5b0019423@mail.gmail.com> Message-ID: 1.0.2 was used for exactly two weeks before 1.0.3 came out.. 1.0.2 has a boat load of bugs. /b On Mar 16, 2010, at 10:59 AM, Michael Collins wrote: > Bummer. Unfortunately you are in a precarious situation because no one here has used 1.0.2 for more than a year and the devs are not exactly fond of that particular revision. The good news is that FS is very modular, so unless you've been messing around with the core or mod_sofia you might be able to update to 1.0.5 and reapply your customization. > -MC From ken at ukgb.net Tue Mar 16 09:23:51 2010 From: ken at ukgb.net (Ken Gillett) Date: Tue, 16 Mar 2010 16:23:51 +0000 Subject: [Freeswitch-users] call info display In-Reply-To: <191c3a031003160848y3a238fadsdcd4ae654dacc1d6@mail.gmail.com> References: <7A4674AD-A840-4506-A36F-DB8E822C0E72@ukgb.net> <191c3a031003160848y3a238fadsdcd4ae654dacc1d6@mail.gmail.com> Message-ID: <3B6C614E-0F72-40CB-AA54-31932347233B@ukgb.net> Thanks, but could I ask for more specifics? Exactly what info is sent and is it sent as part of the SIP info, i.e. so any SIP device ought to display it correctly? Are there any docs I can read that will explain in detail about the information that is sent (i.e. call info, not SIP protocol stuff) and how to configureFS to send exactly what is required? On 16 Mar 2010, at 15:48, Anthony Minessale wrote: > depending on the phone FreeSWITCH will update the display any time a call is bridged. > > it works on polycom,snom and aastra and I am not sure if there are more. > > > On Tue, Mar 16, 2010 at 5:50 AM, Ken Gillett wrote: >> Sorry to ask what are perhaps very basic questions, but could someone please enlighten me on FreeSwitch's capabilities with regard to information for display on the recipient's extension. >> >> When a call is received, the extension really needs to display information about the origin and the intended recipient of the call. Normally for an incoming external call, the former is supplied by the 'incoming CLI' (often linked to locally stored name) and the latter probably by associating a name with each incoming line, so in this way the recipient can see at a glance who called whom (or what). >> >> Am I right in thinking that within SIP there is the provision to send information about the calling party (origin), so the called party (recipient) doesn't have to rely on CLI and matching numbers to locally stored directories? >> >> So, how does FS handle all the above? >> What does it pass to the recipient, for both external and internal calls? >> Is this part of FS configuration? IOW, do you have programmatic access to such information and can you specify exactly what is sent to an extension? > Ken G i l l e t t _/_/_/_/_/_/_/_/ From vetali100 at gmail.com Tue Mar 16 09:28:52 2010 From: vetali100 at gmail.com (Vitalii Colosov) Date: Tue, 16 Mar 2010 18:28:52 +0200 Subject: [Freeswitch-users] Load balancing solution using pure FreeSWITCH In-Reply-To: <65d96fc81003160838p2cc2575et86de60faedbc3415@mail.gmail.com> References: <65d96fc81003160607g5d77c8b3s52fb5a018aa82bdb@mail.gmail.com> <65d96fc81003160838p2cc2575et86de60faedbc3415@mail.gmail.com> Message-ID: I have read the document and except that it describes one signalling server and three media servers with routing to less busiest server it has nothing else related to solution I wrote for FreeSWITCH. Basically topology and high level part will be repeated in any solutions, because this is obvious for everyone. The same topology as described in this document and by me will be created using any routing server (OpenSIPS or whatever) and will come to the mind of most people that need to implement load balancing. Regards, vIT 2010/3/16 Tihomir Culjaga > > > On Tue, Mar 16, 2010 at 2:19 PM, Vitalii Colosov wrote: > >> Hi Tihomir, >> What do you mean by "took from Mera"? >> If someone else already implemented this, could you please provide me a >> link? >> >> >> >> > read the file attached :) > > > T. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/6bb32761/attachment-0001.html From infos at madovsky.org Tue Mar 16 09:34:36 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 16 Mar 2010 12:34:36 -0400 Subject: [Freeswitch-users] modules update Message-ID: <499711A1E12745C2BE847A42033CB725@MOBILEE1705> Hi there, do I need to "make install" separatly modules (like distributor) everytime I upgrade from trunk (make current) ? Thanks Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/32fda4ca/attachment.html From testeador01 at gmail.com Tue Mar 16 09:39:34 2010 From: testeador01 at gmail.com (Milena) Date: Tue, 16 Mar 2010 11:39:34 -0500 Subject: [Freeswitch-users] modules update Message-ID: Hello, if you edit modules.conf (in the source folder) and uncomment every module that you want to build, you will not need to make install every module, make current is enough. :) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/80d80bd2/attachment.html From brian at freeswitch.org Tue Mar 16 09:41:28 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 16 Mar 2010 11:41:28 -0500 Subject: [Freeswitch-users] modules update In-Reply-To: <499711A1E12745C2BE847A42033CB725@MOBILEE1705> References: <499711A1E12745C2BE847A42033CB725@MOBILEE1705> Message-ID: <1BBBD2D5-577E-401D-9560-96DA87CDA34A@freeswitch.org> Make sure modules.conf has the module in it and type "make current" it will rebuild everything and update you to the latest SVN. /b On Mar 16, 2010, at 11:34 AM, Madovsky wrote: > Hi there, > > do I need to "make install" separatly modules (like distributor) > everytime I upgrade from trunk (make current) ? > > Thanks > > Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/ca89626a/attachment.html From rupa at rupa.com Tue Mar 16 09:43:14 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Tue, 16 Mar 2010 11:43:14 -0500 Subject: [Freeswitch-users] modules update In-Reply-To: <499711A1E12745C2BE847A42033CB725@MOBILEE1705> References: <499711A1E12745C2BE847A42033CB725@MOBILEE1705> Message-ID: make current is enough if your modules.conf has the modules you are interested uncommented. On Tue, Mar 16, 2010 at 11:34 AM, Madovsky wrote: > Hi there, > > do I need to "make install" separatly modules (like distributor) > everytime I upgrade from trunk (make current) ? > > Thanks > > Franck > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/ea69c4f3/attachment.html From infos at madovsky.org Tue Mar 16 09:48:37 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 16 Mar 2010 12:48:37 -0400 Subject: [Freeswitch-users] modules update References: Message-ID: <99357C2C0F0A4E1AA93718008B708241@MOBILEE1705> Ok I was not unsure since on wiki (for distributor module) it says "make mod_distributor" and "make mod_distributor-install" to install it properly. thanks ! ----- Original Message ----- From: Milena To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 16, 2010 12:39 PM Subject: Re: [Freeswitch-users] modules update Hello, if you edit modules.conf (in the source folder) and uncomment every module that you want to build, you will not need to make install every module, make current is enough. :) ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/cc6f3277/attachment.html From tculjaga at gmail.com Tue Mar 16 09:58:51 2010 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Tue, 16 Mar 2010 17:58:51 +0100 Subject: [Freeswitch-users] Load balancing solution using pure FreeSWITCH In-Reply-To: References: <5fe6fa8f1003160613o4b54df83g5da2ce7b3fd4b3e7@mail.gmail.com> <65d96fc81003160838p272fca54hcdec8c9fb9860856@mail.gmail.com> Message-ID: <65d96fc81003160958n274d7a18r4b952dcf451d9202@mail.gmail.com> On Tue, Mar 16, 2010 at 4:51 PM, Vitalii Colosov wrote: > Using it you still have one point of failure - only one router and it's on > one internet line... > > What if one of these things goes down for a period? :-) > > well, thats something out of our reach ... we are taking care about the application and services that are working on top.... well the network is a totally different topic and it has to be addressed with care. > I would prefer to have 2 separate servers on 2 different internet lines > (better different providers even). > > right ... with BGP/MPLS in between as well ... as i said it is a different topic :) > Thanks, > vIT > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/c7a23c81/attachment.html From tculjaga at gmail.com Tue Mar 16 10:00:56 2010 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Tue, 16 Mar 2010 18:00:56 +0100 Subject: [Freeswitch-users] Load balancing solution using pure FreeSWITCH In-Reply-To: References: <65d96fc81003160607g5d77c8b3s52fb5a018aa82bdb@mail.gmail.com> <65d96fc81003160838p2cc2575et86de60faedbc3415@mail.gmail.com> Message-ID: <65d96fc81003161000g29703556je24c88cace064e2a@mail.gmail.com> On Tue, Mar 16, 2010 at 5:28 PM, Vitalii Colosov wrote: > I have read the document and except that it describes one signalling server > and three media servers with routing to less busiest server it has nothing > else related to solution I wrote for FreeSWITCH. > Basically topology and high level part will be repeated in any solutions, > because this is obvious for everyone. > The same topology as described in this document and by me will be created > using any routing server (OpenSIPS or whatever) and will come to the mind of > most people that need to implement load balancing. > > > Regards, > vIT > > > it is just the topology that is the same ... RS + MS, after that you are on your own... that's what i meant. T. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/6689b98c/attachment.html From anthony.minessale at gmail.com Tue Mar 16 10:11:56 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 16 Mar 2010 12:11:56 -0500 Subject: [Freeswitch-users] call info display In-Reply-To: <3B6C614E-0F72-40CB-AA54-31932347233B@ukgb.net> References: <7A4674AD-A840-4506-A36F-DB8E822C0E72@ukgb.net> <191c3a031003160848y3a238fadsdcd4ae654dacc1d6@mail.gmail.com> <3B6C614E-0F72-40CB-AA54-31932347233B@ukgb.net> Message-ID: <191c3a031003161011n52e40f72w6824b95e3c66ad36@mail.gmail.com> as i said it is phone specific. The callee id and caleeid number is sent on polycom and astra via sip UPDATE on snom and FS->FS via INFO There is no configuration necessary, its the default behavior. On Tue, Mar 16, 2010 at 11:23 AM, Ken Gillett wrote: > Thanks, but could I ask for more specifics? Exactly what info is sent and > is it sent as part of the SIP info, i.e. so any SIP device ought to display > it correctly? Are there any docs I can read that will explain in detail > about the information that is sent (i.e. call info, not SIP protocol stuff) > and how to configureFS to send exactly what is required? > > > On 16 Mar 2010, at 15:48, Anthony Minessale wrote: > > > depending on the phone FreeSWITCH will update the display any time a call > is bridged. > > > > it works on polycom,snom and aastra and I am not sure if there are more. > > > > > > On Tue, Mar 16, 2010 at 5:50 AM, Ken Gillett wrote: > >> Sorry to ask what are perhaps very basic questions, but could someone > please enlighten me on FreeSwitch's capabilities with regard to information > for display on the recipient's extension. > >> > >> When a call is received, the extension really needs to display > information about the origin and the intended recipient of the call. > Normally for an incoming external call, the former is supplied by the > 'incoming CLI' (often linked to locally stored name) and the latter probably > by associating a name with each incoming line, so in this way the recipient > can see at a glance who called whom (or what). > >> > >> Am I right in thinking that within SIP there is the provision to send > information about the calling party (origin), so the called party > (recipient) doesn't have to rely on CLI and matching numbers to locally > stored directories? > >> > >> So, how does FS handle all the above? > >> What does it pass to the recipient, for both external and internal > calls? > >> Is this part of FS configuration? IOW, do you have programmatic access > to such information and can you specify exactly what is sent to an > extension? > > > > > Ken G i l l e t t > > _/_/_/_/_/_/_/_/ > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100316/0c71e194/attachment-0001.html From william.suffill at gmail.com Tue Mar 16 11:29:32 2010 From: william.suffill at gmail.com (William Suffill) Date: Tue, 16 Mar 2010 14:29:32 -0400 Subject: [Freeswitch-users] Fscomm unable to detect devices In-Reply-To: <201003141811.58645.robert.dyck@shaw.ca> References: <201003141811.58645.robert.dyck@shaw.ca> Message-ID: <6b65470d1003161129v792acf73g7c14e995af8c230b@mail.gmail.com> FSComm interfaces with sound devices via portaudio at this point. If portaudio can't use your devices correctly that would cause it not to work in any portaudio application including FSComm. What version of Fedora? I'm sure this is fixable but really depends more on the underlying system more than code in FSComm. -- W -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/e9551033/attachment.html From msc at freeswitch.org Tue Mar 16 11:32:17 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 16 Mar 2010 11:32:17 -0700 Subject: [Freeswitch-users] modules update In-Reply-To: <99357C2C0F0A4E1AA93718008B708241@MOBILEE1705> References: <99357C2C0F0A4E1AA93718008B708241@MOBILEE1705> Message-ID: <87f2f3b91003161132y7f377c82jed099fd4d93aa0d8@mail.gmail.com> On Tue, Mar 16, 2010 at 9:48 AM, Madovsky wrote: > Ok I was not unsure since on wiki (for distributor module) > it says "make mod_distributor" and "make mod_distributor-install" > to install it properly. > > thanks ! > You can do "make mod_-install" for any module. It's handy if you, for example, just did a make current and realized that you hadn't built mod_distributor. You can edit modules.conf but you don't have to run through a whole make current again... -MC > ----- Original Message ----- > *From:* Milena > *To:* freeswitch-users at lists.freeswitch.org > *Sent:* Tuesday, March 16, 2010 12:39 PM > *Subject:* Re: [Freeswitch-users] modules update > > Hello, > > if you edit modules.conf (in the source folder) and uncomment every module > that you want to build, you will not need to make install every module, make > current is enough. > > :) > > ------------------------------ > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20100316/1928cf8e/attachment.html From ken at ukgb.net Tue Mar 16 11:52:34 2010 From: ken at ukgb.net (Ken Gillett) Date: Tue, 16 Mar 2010 18:52:34 +0000 Subject: [Freeswitch-users] call info display In-Reply-To: <191c3a031003161011n52e40f72w6824b95e3c66ad36@mail.gmail.com> References: <7A4674AD-A840-4506-A36F-DB8E822C0E72@ukgb.net> <191c3a031003160848y3a238fadsdcd4ae654dacc1d6@mail.gmail.com> <3B6C614E-0F72-40CB-AA54-31932347233B@ukgb.net> <191c3a031003161011n52e40f72w6824b95e3c66ad36@mail.gmail.com> Message-ID: <94C53276-3AC9-4AA2-8C50-3EFDBAADA0F2@ukgb.net> Previously I had a company with a call centre, in which we used a Meridian Option 11 (hardware telephone switch) on an ISDN 30 trunk with a range of DDI numbers. Each client was provided with one of those DDI numbers on which their customers would call us, so it was vital the operator knew which client's customer was calling. Within the configuration of the Option 11 I named each incoming DDI with the respective client's (Company) name and then that name was sent to the extension, along with the incoming CLI, so each operator knew which client's number had been called (and hence how to respond) and also who was calling, either their number, or name if it could be matched in an address directory (although cannot now remember if that was done by the switch itself or the extension phone). Nothing strange about any of that, but I'm trying to relate those same requirements to the capabilities of FS. My assumption has been that FS would be able to match anything traditional telephone switches could manage, but I now need some confirmation of this. So, are the callee ID and number the incoming line name and number respectively and it's those that FS sends to the extension for display? Where does this data come from? Surely naming the incoming lines must be part of the configuration. Can I name them to whatever I want? Is the incoming CLI number sent directly to the extension (where it's up to the extension what it then displays)? Or Does FS do any matching to a name in a directory first and then send the matched name to the extension? Sorry to keep asking - I'm sure this is very obvious to those who know, but I'm still trying to learn all about FS and what it can and can't do. On 16 Mar 2010, at 17:11, Anthony Minessale wrote: > as i said it is phone specific. > > The callee id and caleeid number is sent > > on polycom and astra via sip UPDATE > on snom and FS->FS via INFO > > > There is no configuration necessary, its the default behavior. > > > On Tue, Mar 16, 2010 at 11:23 AM, Ken Gillett wrote: > Thanks, but could I ask for more specifics? Exactly what info is sent and is it sent as part of the SIP info, i.e. so any SIP device ought to display it correctly? Are there any docs I can read that will explain in detail about the information that is sent (i.e. call info, not SIP protocol stuff) and how to configureFS to send exactly what is required? > > > On 16 Mar 2010, at 15:48, Anthony Minessale wrote: > > > depending on the phone FreeSWITCH will update the display any time a call is bridged. > > > > it works on polycom,snom and aastra and I am not sure if there are more. > > > > > > On Tue, Mar 16, 2010 at 5:50 AM, Ken Gillett wrote: > >> Sorry to ask what are perhaps very basic questions, but could someone please enlighten me on FreeSwitch's capabilities with regard to information for display on the recipient's extension. > >> > >> When a call is received, the extension really needs to display information about the origin and the intended recipient of the call. Normally for an incoming external call, the former is supplied by the 'incoming CLI' (often linked to locally stored name) and the latter probably by associating a name with each incoming line, so in this way the recipient can see at a glance who called whom (or what). > >> > >> Am I right in thinking that within SIP there is the provision to send information about the calling party (origin), so the called party (recipient) doesn't have to rely on CLI and matching numbers to locally stored directories? > >> > >> So, how does FS handle all the above? > >> What does it pass to the recipient, for both external and internal calls? > >> Is this part of FS configuration? IOW, do you have programmatic access to such information and can you specify exactly what is sent to an extension? > > Ken G i l l e t t _/_/_/_/_/_/_/_/ From ivdreg at gmail.com Tue Mar 16 11:58:17 2010 From: ivdreg at gmail.com (ivdreg ivdreg) Date: Tue, 16 Mar 2010 20:58:17 +0200 Subject: [Freeswitch-users] Mod_limit questions In-Reply-To: References: Message-ID: Thanks Rupa, This was good clarification. I want to use mod_limit via 4 servers but because traffic is equally balanced between them I will use limit_hash and calculate how many calls every server will serve. One more question ? Is it necessary limit to transfer to limit_exceeded or there is a way to set directly disconnect cause like in limit_hash ? Cheers 2010/3/16 Rupa Schomaker > 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/20100316/f2441863/attachment.html From troy at tlainvestments.com Tue Mar 16 12:10:58 2010 From: troy at tlainvestments.com (Troy Anderson) Date: Tue, 16 Mar 2010 12:10:58 -0700 Subject: [Freeswitch-users] mod_cdr_csv Message-ID: What triggers mod_cdr_csv to log a call? I'm not sure if what I'm experiencing is due to my mistake or otherwise, but here's the situation. Incoming call (via PSTN or a VoIP provider) -> Extension 105 and answered 105 transfers to 115, 115 answers, 105 completes transfer The call progresses and is 115 finally hangs up. The Master.csv only gets one line added to it - the 105 to 115 call. Nothing about the incoming caller. If I knew what triggered the log entry, I could try to track the issue down in my dial plan. Thanks! -Troy From frank at carmickle.com Tue Mar 16 12:12:13 2010 From: frank at carmickle.com (Frank Carmickle) Date: Tue, 16 Mar 2010 15:12:13 -0400 Subject: [Freeswitch-users] call info display In-Reply-To: <94C53276-3AC9-4AA2-8C50-3EFDBAADA0F2@ukgb.net> References: <7A4674AD-A840-4506-A36F-DB8E822C0E72@ukgb.net> <191c3a031003160848y3a238fadsdcd4ae654dacc1d6@mail.gmail.com> <3B6C614E-0F72-40CB-AA54-31932347233B@ukgb.net> <191c3a031003161011n52e40f72w6824b95e3c66ad36@mail.gmail.com> <94C53276-3AC9-4AA2-8C50-3EFDBAADA0F2@ukgb.net> Message-ID: <20100316191212.GD21534@base.carmickle.com> Hello On Tue, Mar 16, Ken Gillett wrote: > Previously I had a company with a call centre, in which we used a Meridian Option 11 (hardware telephone switch) on an ISDN 30 trunk with a range of DDI numbers. Each client was provided with one of those DDI numbers on which their customers would call us, so it was vital the operator knew which client's customer was calling. Within the configuration of the Option 11 I named each incoming DDI with the respective client's (Company) name and then that name was sent to the extension, along with the incoming CLI, so each operator knew which client's number had been called (and hence how to respond) and also who was calling, either their number, or name if it could be matched in an address directory (although cannot now remember if that was done by the switch itself or the extension phone). > > Nothing strange about any of that, but I'm trying to relate those same requirements to the capabilities of FS. My assumption has been that FS would be able to match anything traditional telephone switches could manage, but I now need some confirmation of this. > > So, are the callee ID and number the incoming line name and number respectively and it's those that FS sends to the extension for display? > > Where does this data come from? Surely naming the incoming lines must be part of the configuration. > > Can I name them to whatever I want? > > Is the incoming CLI number sent directly to the extension (where it's up to the extension what it then displays)? > Or > Does FS do any matching to a name in a directory first and then send the matched name to the extension? > > Sorry to keep asking - I'm sure this is very obvious to those who know, but I'm still trying to learn all about FS and what it can and can't do. Most anything you want to do can be done. You really need to set up a lab and get your hands dirty to find out what each scenario requires. This is the only way you can really learn the ins and outs of FS. --FC From anthony.minessale at gmail.com Tue Mar 16 12:16:46 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 16 Mar 2010 14:16:46 -0500 Subject: [Freeswitch-users] call info display In-Reply-To: <94C53276-3AC9-4AA2-8C50-3EFDBAADA0F2@ukgb.net> References: <7A4674AD-A840-4506-A36F-DB8E822C0E72@ukgb.net> <191c3a031003160848y3a238fadsdcd4ae654dacc1d6@mail.gmail.com> <3B6C614E-0F72-40CB-AA54-31932347233B@ukgb.net> <191c3a031003161011n52e40f72w6824b95e3c66ad36@mail.gmail.com> <94C53276-3AC9-4AA2-8C50-3EFDBAADA0F2@ukgb.net> Message-ID: <191c3a031003161216m582eba60o58b1ab56999d589@mail.gmail.com> Its automatically determined based on the info in the SIP traffic from the 2 respective ends of the call. It's also configurable to be overridden from the dialplan. On Tue, Mar 16, 2010 at 1:52 PM, Ken Gillett wrote: > Previously I had a company with a call centre, in which we used a Meridian > Option 11 (hardware telephone switch) on an ISDN 30 trunk with a range of > DDI numbers. Each client was provided with one of those DDI numbers on which > their customers would call us, so it was vital the operator knew which > client's customer was calling. Within the configuration of the Option 11 I > named each incoming DDI with the respective client's (Company) name and then > that name was sent to the extension, along with the incoming CLI, so each > operator knew which client's number had been called (and hence how to > respond) and also who was calling, either their number, or name if it could > be matched in an address directory (although cannot now remember if that was > done by the switch itself or the extension phone). > > Nothing strange about any of that, but I'm trying to relate those same > requirements to the capabilities of FS. My assumption has been that FS would > be able to match anything traditional telephone switches could manage, but I > now need some confirmation of this. > > So, are the callee ID and number the incoming line name and number > respectively and it's those that FS sends to the extension for display? > > Where does this data come from? Surely naming the incoming lines must be > part of the configuration. > > Can I name them to whatever I want? > > Is the incoming CLI number sent directly to the extension (where it's up to > the extension what it then displays)? > Or > Does FS do any matching to a name in a directory first and then send the > matched name to the extension? > > Sorry to keep asking - I'm sure this is very obvious to those who know, but > I'm still trying to learn all about FS and what it can and can't do. > > > On 16 Mar 2010, at 17:11, Anthony Minessale wrote: > > > as i said it is phone specific. > > > > The callee id and caleeid number is sent > > > > on polycom and astra via sip UPDATE > > on snom and FS->FS via INFO > > > > > > There is no configuration necessary, its the default behavior. > > > > > > On Tue, Mar 16, 2010 at 11:23 AM, Ken Gillett wrote: > > Thanks, but could I ask for more specifics? Exactly what info is sent and > is it sent as part of the SIP info, i.e. so any SIP device ought to display > it correctly? Are there any docs I can read that will explain in detail > about the information that is sent (i.e. call info, not SIP protocol stuff) > and how to configureFS to send exactly what is required? > > > > > > On 16 Mar 2010, at 15:48, Anthony Minessale wrote: > > > > > depending on the phone FreeSWITCH will update the display any time a > call is bridged. > > > > > > it works on polycom,snom and aastra and I am not sure if there are > more. > > > > > > > > > On Tue, Mar 16, 2010 at 5:50 AM, Ken Gillett wrote: > > >> Sorry to ask what are perhaps very basic questions, but could someone > please enlighten me on FreeSwitch's capabilities with regard to information > for display on the recipient's extension. > > >> > > >> When a call is received, the extension really needs to display > information about the origin and the intended recipient of the call. > Normally for an incoming external call, the former is supplied by the > 'incoming CLI' (often linked to locally stored name) and the latter probably > by associating a name with each incoming line, so in this way the recipient > can see at a glance who called whom (or what). > > >> > > >> Am I right in thinking that within SIP there is the provision to send > information about the calling party (origin), so the called party > (recipient) doesn't have to rely on CLI and matching numbers to locally > stored directories? > > >> > > >> So, how does FS handle all the above? > > >> What does it pass to the recipient, for both external and internal > calls? > > >> Is this part of FS configuration? IOW, do you have programmatic access > to such information and can you specify exactly what is sent to an > extension? > > > > > > > Ken G i l l e t t > > _/_/_/_/_/_/_/_/ > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100316/aaac296e/attachment.html From infos at madovsky.org Tue Mar 16 12:18:10 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 16 Mar 2010 15:18:10 -0400 Subject: [Freeswitch-users] voicemail options Message-ID: I noticed that sendmail makes a segfault when FS is trying to send email and sendmail has some emails locked in folder queue.... Regards Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/0ed56113/attachment.html From anthony.minessale at gmail.com Tue Mar 16 12:29:31 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 16 Mar 2010 14:29:31 -0500 Subject: [Freeswitch-users] voicemail options In-Reply-To: References: Message-ID: <191c3a031003161229p638c3d92g5da15435a9727853@mail.gmail.com> are you running FS as root or a regular user? maybe there is a permission or resource limitation problem preventing it from getting the larger stack space necessary? On Tue, Mar 16, 2010 at 2:18 PM, Madovsky wrote: > I noticed that sendmail makes a segfault when FS is trying to send email > and sendmail has some emails locked in folder queue.... > > Regards > > Franck > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100316/0a8b96b2/attachment.html From robert.dyck at shaw.ca Tue Mar 16 12:49:21 2010 From: robert.dyck at shaw.ca (Rob Dyck) Date: Tue, 16 Mar 2010 12:49:21 -0700 Subject: [Freeswitch-users] Fscomm unable to detect devices In-Reply-To: <6b65470d1003161129v792acf73g7c14e995af8c230b@mail.gmail.com> References: <201003141811.58645.robert.dyck@shaw.ca> <6b65470d1003161129v792acf73g7c14e995af8c230b@mail.gmail.com> Message-ID: <201003161249.22448.robert.dyck@shaw.ca> F11, KDE4.4.1, pulseaudio Is portaudio another sound server? RD On Tuesday 16 March 2010 11:29:32 am William Suffill wrote: > FSComm interfaces with sound devices via portaudio at this point. If > portaudio can't use your devices correctly that would cause it not to work > in any portaudio application including FSComm. > > What version of Fedora? I'm sure this is fixable but really depends more on > the underlying system more than code in FSComm. > > > -- W From rupa at rupa.com Tue Mar 16 12:41:17 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Tue, 16 Mar 2010 14:41:17 -0500 Subject: [Freeswitch-users] Mod_limit questions In-Reply-To: References: Message-ID: limit and limit_hash should work the same with regards to disconnect cause. If you see a difference, let me know. On Tue, Mar 16, 2010 at 1:58 PM, ivdreg ivdreg wrote: > Thanks Rupa, > > This was good clarification. I want to use mod_limit via 4 servers but > because traffic is equally balanced between them I will use limit_hash and > calculate how many calls every server will serve. > > One more question ? Is it necessary limit to transfer to limit_exceeded or > there is a way to set directly disconnect cause like in limit_hash ? > > Cheers > > 2010/3/16 Rupa Schomaker > > 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 >> >> > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/8e78a18e/attachment-0001.html From devel at thom.fr.eu.org Tue Mar 16 12:59:25 2010 From: devel at thom.fr.eu.org (devel at thom.fr.eu.org) Date: Tue, 16 Mar 2010 20:59:25 +0100 Subject: [Freeswitch-users] voicemail options In-Reply-To: <191c3a031003161229p638c3d92g5da15435a9727853@mail.gmail.com> References: <191c3a031003161229p638c3d92g5da15435a9727853@mail.gmail.com> Message-ID: <006c01cac543$2e079510$8a16bf30$@fr.eu.org> Are you running debian, I have the same problem on debian x64 (already mentioned here http://lists.freeswitch.org/pipermail/freeswitch-users/2010-January/024733.h tml) and cannot fix it. I don?t know if it?s a priviledge problem, as I got the same results running FS with or without ?u. Fran?ois De : freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] De la part de Anthony Minessale Envoy? : mardi 16 mars 2010 20:30 ? : freeswitch-users at lists.freeswitch.org Objet : Re: [Freeswitch-users] voicemail options are you running FS as root or a regular user? maybe there is a permission or resource limitation problem preventing it from getting the larger stack space necessary? On Tue, Mar 16, 2010 at 2:18 PM, Madovsky wrote: I noticed that sendmail makes a segfault when FS is trying to send email and sendmail has some emails locked in folder queue.... Regards Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 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/20100316/7e410eb0/attachment.html From freeswitch.org at todandlorna.com Tue Mar 16 12:59:46 2010 From: freeswitch.org at todandlorna.com (Tod Hansmann) Date: Tue, 16 Mar 2010 13:59:46 -0600 Subject: [Freeswitch-users] mod_cdr_csv In-Reply-To: References: Message-ID: <4B9FE332.7000809@todandlorna.com> The way I understand it, it gets triggered by the a leg hanging up, same as xml_cdr. I would imagine the channel changes, and if you were comparing the xml_cdr of the same call, you would see the original call as well. You might also have some luck with looking at the b leg cdr, if you have that turned on. That's the extent of my guesswork. -Tod Hansmann On 3/16/2010 1:10 PM, Troy Anderson wrote: > What triggers mod_cdr_csv to log a call? > > I'm not sure if what I'm experiencing is due to my mistake or otherwise, but here's the situation. > Incoming call (via PSTN or a VoIP provider) -> Extension 105 and answered > 105 transfers to 115, 115 answers, 105 completes transfer > The call progresses and is 115 finally hangs up. > > The Master.csv only gets one line added to it - the 105 to 115 call. Nothing about the incoming caller. > > If I knew what triggered the log entry, I could try to track the issue down in my dial plan. > > Thanks! > -Troy > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 infos at madovsky.org Tue Mar 16 13:18:14 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 16 Mar 2010 16:18:14 -0400 Subject: [Freeswitch-users] voicemail options References: <191c3a031003161229p638c3d92g5da15435a9727853@mail.gmail.com> <006c01cac543$2e079510$8a16bf30$@fr.eu.org> Message-ID: <2549F4D1FBA54CEA9EAA7B0B370B6AB6@MOBILEE1705> Hi, no I'm on Fedora 10 64bits. I'm going to check the source to find a way Regards ----- Original Message ----- From: devel at thom.fr.eu.org To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 16, 2010 3:59 PM Subject: Re: [Freeswitch-users] voicemail options Are you running debian, I have the same problem on debian x64 (already mentioned here http://lists.freeswitch.org/pipermail/freeswitch-users/2010-January/024733.html) and cannot fix it. I don't know if it's a priviledge problem, as I got the same results running FS with or without -u. Fran?ois De : freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] De la part de Anthony Minessale Envoy? : mardi 16 mars 2010 20:30 ? : freeswitch-users at lists.freeswitch.org Objet : Re: [Freeswitch-users] voicemail options are you running FS as root or a regular user? maybe there is a permission or resource limitation problem preventing it from getting the larger stack space necessary? On Tue, Mar 16, 2010 at 2:18 PM, Madovsky wrote: I noticed that sendmail makes a segfault when FS is trying to send email and sendmail has some emails locked in folder queue.... Regards Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/bef724e9/attachment.html From ahmed.ajmal at gmail.com Mon Mar 15 12:31:34 2010 From: ahmed.ajmal at gmail.com (Ahmed Bhaila) Date: Tue, 16 Mar 2010 00:31:34 +0500 Subject: [Freeswitch-users] Fwd: Set/Export channel variable In-Reply-To: <9d22cc171003151228p405bfef3v70662dfc2cdc5914@mail.gmail.com> References: <9d22cc171003151228p405bfef3v70662dfc2cdc5914@mail.gmail.com> Message-ID: <9d22cc171003151231k209f47aodb09114431505496@mail.gmail.com> I am looking at the FS Console and I have a ESL listener socket that is hooked for HANGUP_COMPLETE event. - ahmed On Mon, Mar 15, 2010 at 6:50 AM, Ahmed Ajmal >wrote: >* Hi *>* *>* *>* *>* I have now configured the gateways as suggested below but I am not able to *>* see the sip_gateway_name variable when the call hangup event is complete. I *>* am on Freeswitch 1.0.5. *>* *>* *>* *Where are you looking to find the variable? -MC From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Brian West Sent: Wednesday, March 10, 2010 7:08 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Set/Export channel variable We already set you a variable called sip_gateway_name when a call is placed out a gateway. You're also doing this wrong you should NEVER EVER do @$ipgwX as that data is in the gateway. You should simply do sofia/gateway/gwname/number /b On Mar 10, 2010, at 8:01 AM, Ahmed Ajmal wrote: Hi I am trying to set a channel variable on the bridge application using this: The application runs fine, what I now need to do is set/export the 'gw' channel variable for CDR so that I know which gateway was dialed. I have tried using set and export application but that doesn't work. Please help. Thanks Ahmed -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/e93641b1/attachment-0001.html From pavera at gmail.com Mon Mar 15 23:59:38 2010 From: pavera at gmail.com (Tom Christensen) Date: Tue, 16 Mar 2010 00:59:38 -0600 Subject: [Freeswitch-users] Call parking question/best practice advice Message-ID: <82dae1c01003152359g5da168cbqf37a6326fe73b785@mail.gmail.com> Hello, Pretty new, but so far very happy with freeswitch! The setup and config is really nice, straightforward, and I appreciate the design of the system. I've worked with Asterisk pretty regularly for the last 4-5 years, and am really looking for something more stable, and I think I've found it here! One issue I've run into, and I'm not sure if its just that my use case is abnormal, hence the email. I've worked with PBX systems for a number of years (11 now...), and in all of the systems I've worked with, call parking was kind of a "roaming" feature. By this I mean, you think party X (the intended recipient of the call) is in the building, but they are not at their desk. So, you park the call, and then page, or by some other means attempt to locate party X and tell them "get to the nearest phone and pick up 5901". If you can't locate party X or you can't find them in time, the call should time out back to the parking party (receptionist) to be handled appropriately (message taken, sent to voicemail, transferred to party X's boss) This scenario requires a few things: 1) the receptionist/person who actually receives the call needs to be able to put the call in a specific place (extension) that doesn't change 2) Party X (the intended recipient) needs to be able to access that specific place (extension) from any phone inside the company 3) Order must be preserved (IE, the mod_fifo call park in freeswitch is inadequate, because if the receptionist parks 2 people on 5900, one for party X and one for party Y, in that order, but party Y gets to a phone first, they will be connected to party X's caller) 4) The receptionist has to be protected from or provided with sufficient information to avoid connecting 2 customers with each other (IE the valet_park in freeswitch is inadequate, because if she parks a caller for X on 6001, then parks a caller for Y on 6002, then a caller for Z calls in, how can she know if 6001 is free yet? valet_park doesn't support BLA/SLA so what can she do? What if she just forgets and sends that caller to 6001? Then the 2 customers are bridged together and thats a big no-no) Also, I haven't seen a way to make valet_park timeout? But maybe I'm wrong there... The closest I can get to implementing the above scenario is by using multiple mod_fifo queues (one for each parking spot), and SLA/BLA on the receptionist phone to "notify" her that someone is already parked in a certain queue. Unfortunately, there is no enforcement of this policy by the system, and if she fat fingers her transfer, she will double up a queue, creating the problem indicated in 3 above. The other shortcoming of this setup is that without a large phone (IE, with 10-15 SLA/BLA slots) it becomes impossible to appropriately handle call park. If the receptionist is away from her desk and attempts to answer a call, she can't tell which parking spots are free at all on a regular 2 line phone. Also, regular users are prohibited from using call park as they cannot know which slots are free (the need for this arises often in certain industries, such as law, client is speaking with attorney, attorney finishes and says "let me connect you with my assistant to schedule an appointment and handle x, y, and z for you.", paralegal is not at desk, atty needs to park call and page his assistant, maybe they are in the copy room, or the library doing research...) The asterisk parking lot seems to solve this problem quite elegantly (although the stability issues of asterisk undermine it). It is simple to use (receptionist and everyone else only needs to remember 1 extension to park any call), The callers/parking spots are maintained by the system to prevent double parking, and each caller sits at a specific extension until they are picked up or time out. So, the question boils down to how do people using freeswitch view/use call park? Is there a "better" roaming feature that I just don't know about? If it is just something that hasn't been implemented/thought about this way yet, any idea what it would take to get a call parking feature that satisfies these requirements into freeswitch? Thanks for your time, sorry for the long email, hopefully it explains well enough what I'm trying to accomplish. -Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/dc63536b/attachment-0001.html From jbrucehopkins at gmail.com Tue Mar 16 07:41:48 2010 From: jbrucehopkins at gmail.com (Bruce Hopkins) Date: Tue, 16 Mar 2010 14:41:48 +0000 Subject: [Freeswitch-users] Speex transcoding question In-Reply-To: <5B407202-CFA6-4203-B39A-A0BE43A5B6B4@freeswitch.org> References: <5B407202-CFA6-4203-B39A-A0BE43A5B6B4@freeswitch.org> Message-ID: Sure. I put the Freeswitch log in pastebin. here are two Wireshark captures in the condition where the call fails- run on two PC's running Eyebeam clients. Phone A initiates the call with only PCMA enabled. Phone B has only Speex enabled. Thanks for taking the time to look at these. Bruce On 16 March 2010 13:53, Brian West wrote: > Can you collect some logs and traces to show us this? > > /b > > On Mar 16, 2010, at 6:26 AM, Bruce Hopkins wrote: > > > OK - sorry to make such a meal of this. > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/a705594e/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: phone A (PCMA).pcap Type: application/octet-stream Size: 243317 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/a705594e/attachment-0002.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: phone B (speex 8000).pcap Type: application/octet-stream Size: 8318 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/a705594e/attachment-0003.obj From delorenzodesign at gmail.com Tue Mar 16 11:06:46 2010 From: delorenzodesign at gmail.com (Michael De Lorenzo) Date: Tue, 16 Mar 2010 14:06:46 -0400 Subject: [Freeswitch-users] Lua - playAndGetDigits Message-ID: <5c9dcbfb1003161106u55771b2lcc525a85b8c7968c@mail.gmail.com> I'm having some trouble getting consistent results with playAndGetDigits, sometimes the digits are record and other times they're not. It seemed to have something to do with how quickly the digits were pressed, but now that no longer seems to be the case. I'm trying to have users press a confirmation code, in this case "1111" although I'd like to make it accept "1" or "11" or "111" or "1111" if possible. Can anyone point me in the right direction? session = freeswitch.Session("{ignore_early_media=true}sofia/gateway/" .. provider .. "/1" .. number_to_call); while(session:ready()) do session:answer(); session:setInputCallback("onInput","true"); --playbackMessage(check_message); digits = session:playAndGetDigits(4, 4, 1, 5000, "", get_digits_message, "", "[1]"); freeswitch.consoleLog("info", digits .. "\n"); freeswitch.consoleLog("info", "Did this check out? " .. (check_message == true and "yes" or "no" .. "\n")); -- we got what we're looking for, so we can end this if(check_success) then freeswitch.consoleLog("info", "A positive response was received from this check.\n"); break; else -- not a positive response -- if we reached our max attempts, we're finished move on if(attempts == max_attempts) then freeswitch.consoleLog("info", "We've reached our maximum attempts for this number.\n"); break; end end end -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/8dc1d1fc/attachment-0001.html From pavera at gmail.com Tue Mar 16 11:06:49 2010 From: pavera at gmail.com (Tom Christensen) Date: Tue, 16 Mar 2010 12:06:49 -0600 Subject: [Freeswitch-users] Call parking strategy/best practice in freeswitch? Message-ID: <82dae1c01003161106n9f3766cga56623d8729331f6@mail.gmail.com> Hello, Pretty new, but so far very happy with freeswitch! The setup and config is really nice, straightforward, and I appreciate the design of the system. I've worked with Asterisk pretty regularly for the last 4-5 years, and am really looking for something more stable, and I think I've found it here! One issue I've run into, and I'm not sure if its just that my use case is abnormal, hence the email. I've worked with PBX systems for a number of years (11 now...), and in all of the systems I've worked with, call parking was kind of a "roaming" feature. By this I mean, you think party X (the intended recipient of the call) is in the building, but they are not at their desk. So, you park the call, and then page, or by some other means attempt to locate party X and tell them "get to the nearest phone and pick up 5901". If you can't locate party X or you can't find them in time, the call should time out back to the parking party (receptionist) to be handled appropriately (message taken, sent to voicemail, transferred to party X's boss) This scenario requires a few things: 1) the receptionist/person who actually receives the call needs to be able to put the call in a specific place (extension) that doesn't change 2) Party X (the intended recipient) needs to be able to access that specific place (extension) from any phone inside the company 3) Order must be preserved (IE, the mod_fifo call park in freeswitch is inadequate, because if the receptionist parks 2 people on 5900, one for party X and one for party Y, in that order, but party Y gets to a phone first, they will be connected to party X's caller) 4) The receptionist has to be protected from or provided with sufficient information to avoid connecting 2 customers with each other (IE the valet_park in freeswitch is inadequate, because if she parks a caller for X on 6001, then parks a caller for Y on 6002, then a caller for Z calls in, how can she know if 6001 is free yet? valet_park doesn't support BLA/SLA so what can she do? What if she just forgets and sends that caller to 6001? Then the 2 customers are bridged together and thats a big no-no) Also, I haven't seen a way to make valet_park timeout? But maybe I'm wrong there... The closest I can get to implementing the above scenario is by using multiple mod_fifo queues (one for each parking spot), and SLA/BLA on the receptionist phone to "notify" her that someone is already parked in a certain queue. Unfortunately, there is no enforcement of this policy by the system, and if she fat fingers her transfer, she will double up a queue, creating the problem indicated in 3 above. The other shortcoming of this setup is that without a large phone (IE, with 10-15 SLA/BLA slots) it becomes impossible to appropriately handle call park. If the receptionist is away from her desk and attempts to answer a call, she can't tell which parking spots are free at all on a regular 2 line phone. Also, regular users are prohibited from using call park as they cannot know which slots are free (the need for this arises often in certain industries, such as law, client is speaking with attorney, attorney finishes and says "let me connect you with my assistant to schedule an appointment and handle x, y, and z for you.", paralegal is not at desk, atty needs to park call and page his assistant, maybe they are in the copy room, or the library doing research...) The asterisk parking lot seems to solve this problem quite elegantly (although the stability issues of asterisk undermine it). It is simple to use (receptionist and everyone else only needs to remember 1 extension to park any call), The callers/parking spots are maintained by the system to prevent double parking, and each caller sits at a specific extension until they are picked up or time out. So, the question boils down to how do people using freeswitch view/use call park? Is there a "better" roaming feature that I just don't know about? If it is just something that hasn't been implemented/thought about this way yet, any idea what it would take to get a call parking feature that satisfies these requirements into freeswitch? Thanks for your time, sorry for the long email, hopefully it explains well enough what I'm trying to accomplish. -Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/27a4fa9c/attachment-0001.html From delorenzodesign at gmail.com Tue Mar 16 12:08:56 2010 From: delorenzodesign at gmail.com (Michael De Lorenzo) Date: Tue, 16 Mar 2010 15:08:56 -0400 Subject: [Freeswitch-users] Lua - playAndGetDigits In-Reply-To: <5c9dcbfb1003161106u55771b2lcc525a85b8c7968c@mail.gmail.com> References: <5c9dcbfb1003161106u55771b2lcc525a85b8c7968c@mail.gmail.com> Message-ID: <5c9dcbfb1003161208n12ae669fw77a498d9517152d8@mail.gmail.com> > > I'm having some trouble getting consistent results with playAndGetDigits, > sometimes the digits are record and other times they're not. It seemed to > have something to do with how quickly the digits were pressed, but now that > no longer seems to be the case. > > I'm trying to have users press a confirmation code, in this case "1111" > although I'd like to make it accept "1" or "11" or "111" or "1111" if > possible. > > Can anyone point me in the right direction? > > > session = freeswitch.Session("{ignore_early_media=true}sofia/gateway/" > .. provider .. "/1" .. number_to_call); > > while(session:ready()) do > session:answer(); > session:setInputCallback("onInput","true"); > > --playbackMessage(check_message); > digits = session:playAndGetDigits(4, 4, 1, 5000, "", > get_digits_message, "", "[1]"); > freeswitch.consoleLog("info", digits .. "\n"); > freeswitch.consoleLog("info", "Did this check out? " .. > (check_message == true and "yes" or "no" .. "\n")); > > -- we got what we're looking for, so we can end this > if(check_success) then > freeswitch.consoleLog("info", "A positive response was received > from this check.\n"); > break; > else > -- not a positive response > -- if we reached our max attempts, we're finished move on > if(attempts == max_attempts) then > freeswitch.consoleLog("info", "We've reached our maximum > attempts for this number.\n"); > break; > end > end > end > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/9af4e364/attachment-0001.html From delorenzodesign at gmail.com Tue Mar 16 13:21:13 2010 From: delorenzodesign at gmail.com (Michael De Lorenzo) Date: Tue, 16 Mar 2010 16:21:13 -0400 Subject: [Freeswitch-users] Lua playAndGetDigits Message-ID: <5c9dcbfb1003161321q494ab3a0o5f90278281332e06@mail.gmail.com> I'm having some trouble getting consistent results with playAndGetDigits, sometimes the digits are record and other times they're not. It seemed to have something to do with how quickly the digits were pressed, but now that no longer seems to be the case. I'm trying to have users press a confirmation code, in this case "1111" although I'd like to make it accept "1" or "11" or "111" or "1111" if possible. Can anyone point me in the right direction? session = freeswitch.Session("{ignore_early_media=true}sofia/gateway/" .. provider .. "/1" .. number_to_call); while(session:ready()) do session:answer(); session:setInputCallback("onInput","true"); --playbackMessage(check_message); digits = session:playAndGetDigits(4, 4, 1, 5000, "", get_digits_message, "", "[1]"); freeswitch.consoleLog("info", digits .. "\n"); freeswitch.consoleLog("info", "Did this check out? " .. (check_message == true and "yes" or "no" .. "\n")); -- we got what we're looking for, so we can end this if(check_success) then freeswitch.consoleLog("info", "A positive response was received from this check.\n"); break; else -- not a positive response -- if we reached our max attempts, we're finished move on if(attempts == max_attempts) then freeswitch.consoleLog("info", "We've reached our maximum attempts for this number.\n"); break; end end end -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/94d00823/attachment-0001.html From brian at freeswitch.org Tue Mar 16 13:26:03 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 16 Mar 2010 15:26:03 -0500 Subject: [Freeswitch-users] mod_cdr_csv In-Reply-To: <4B9FE332.7000809@todandlorna.com> References: <4B9FE332.7000809@todandlorna.com> Message-ID: <5D7CE6D6-E059-4DEE-921A-ACBBB7C6AF2C@freeswitch.org> By default its only logging A legs. See config file and change to /b On Mar 16, 2010, at 2:59 PM, Tod Hansmann wrote: > The way I understand it, it gets triggered by the a leg hanging up, same > as xml_cdr. I would imagine the channel changes, and if you were > comparing the xml_cdr of the same call, you would see the original call > as well. You might also have some luck with looking at the b leg cdr, > if you have that turned on. > > That's the extent of my guesswork. > > -Tod Hansmann From william.suffill at gmail.com Tue Mar 16 13:27:10 2010 From: william.suffill at gmail.com (William Suffill) Date: Tue, 16 Mar 2010 16:27:10 -0400 Subject: [Freeswitch-users] Fscomm unable to detect devices In-Reply-To: <201003161249.22448.robert.dyck@shaw.ca> References: <201003141811.58645.robert.dyck@shaw.ca> <6b65470d1003161129v792acf73g7c14e995af8c230b@mail.gmail.com> <201003161249.22448.robert.dyck@shaw.ca> Message-ID: <6b65470d1003161327t463ff0e9j96dc2373f3cc49ac@mail.gmail.com> PortAudio is a free, cross platform, open-source, audio I/O library. It lets you write simple audio programs in 'C' that will compile and run on many platforms including *Windows, Macintosh (8,9,X), Unix (OSS), SGI, and BeOS*. PortAudio is intended to promote the exchange of audio synthesis software between developers on different platforms. PortAudio provides a very simple API for recording and/or playing sound using a simple callback function. Example programs are included that synthesize sine waves and pink noise, perform fuzz distortion on a guitar, list available audio devices, etc. http://www.portaudio.com/ http://wiki.freeswitch.org/wiki/Mod_portaudio Technically it is possible to get portaudio based applications to work with pulseaudio but it seems to be an area of some difficulties now that pulseaudio is used by default by newer distros. I've had this same issue on my system w/ pulseaudio since it wants to control all the sound devices itself. Killing pulseaudio should release the devices and partaudio should detect them in that case. Not a long term fix I know but still yet to spend enough time to discover the best alternative. https://tango.0pointer.de/pipermail/pulseaudio-discuss/2009-January/003037.html seems to indicate that it has been an area of confusion for some time. -- W -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/f490f4d0/attachment.html From infos at madovsky.org Tue Mar 16 13:35:15 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 16 Mar 2010 16:35:15 -0400 Subject: [Freeswitch-users] voicemail options References: <191c3a031003161229p638c3d92g5da15435a9727853@mail.gmail.com> <006c01cac543$2e079510$8a16bf30$@fr.eu.org> Message-ID: ok, I tried 50 times to leave a message, it worked only one time. It seems that sendmail needs to be free to send the email.... ----- Original Message ----- From: devel at thom.fr.eu.org To: freeswitch-users at lists.freeswitch.org Sent: Tuesday, March 16, 2010 3:59 PM Subject: Re: [Freeswitch-users] voicemail options Are you running debian, I have the same problem on debian x64 (already mentioned here http://lists.freeswitch.org/pipermail/freeswitch-users/2010-January/024733.html) and cannot fix it. I don't know if it's a priviledge problem, as I got the same results running FS with or without -u. Fran?ois De : freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] De la part de Anthony Minessale Envoy? : mardi 16 mars 2010 20:30 ? : freeswitch-users at lists.freeswitch.org Objet : Re: [Freeswitch-users] voicemail options are you running FS as root or a regular user? maybe there is a permission or resource limitation problem preventing it from getting the larger stack space necessary? On Tue, Mar 16, 2010 at 2:18 PM, Madovsky wrote: I noticed that sendmail makes a segfault when FS is trying to send email and sendmail has some emails locked in folder queue.... Regards Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/6179ba65/attachment.html From infos at madovsky.org Tue Mar 16 13:42:19 2010 From: infos at madovsky.org (Madovsky) Date: Tue, 16 Mar 2010 16:42:19 -0400 Subject: [Freeswitch-users] ivr call and secret keycode Message-ID: Hi all, is anyone already worked on an ivr that make a call so the callee needs to enter a keycode to validate a form filled before on a website for example ? Thanks Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/91216506/attachment.html From troy at tlainvestments.com Tue Mar 16 13:59:58 2010 From: troy at tlainvestments.com (Troy Anderson) Date: Tue, 16 Mar 2010 13:59:58 -0700 Subject: [Freeswitch-users] mod_cdr_csv In-Reply-To: <5D7CE6D6-E059-4DEE-921A-ACBBB7C6AF2C@freeswitch.org> References: <4B9FE332.7000809@todandlorna.com> <5D7CE6D6-E059-4DEE-921A-ACBBB7C6AF2C@freeswitch.org> Message-ID: <86AAB240-4227-4F85-8F2E-910C36685833@tlainvestments.com> Thanks, guys! Setting the legs param to "ab" brought in lots more cdr data, including the LOSE_RACE legs. I'm still a bit confused, though - can you explain what is considered a-leg vs. b-leg in this context? I would have thought the call from outside into the system would constitute an a-leg. Thanks! Troy On Mar 16, 2010, at 1:26 PM, Brian West wrote: > By default its only logging A legs. See config file and change to > > /b > > > > On Mar 16, 2010, at 2:59 PM, Tod Hansmann wrote: > >> The way I understand it, it gets triggered by the a leg hanging up, same >> as xml_cdr. I would imagine the channel changes, and if you were >> comparing the xml_cdr of the same call, you would see the original call >> as well. You might also have some luck with looking at the b leg cdr, >> if you have that turned on. >> >> That's the extent of my guesswork. >> >> -Tod Hansmann > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Tue Mar 16 14:00:12 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 16 Mar 2010 14:00:12 -0700 Subject: [Freeswitch-users] Lua playAndGetDigits In-Reply-To: <5c9dcbfb1003161321q494ab3a0o5f90278281332e06@mail.gmail.com> References: <5c9dcbfb1003161321q494ab3a0o5f90278281332e06@mail.gmail.com> Message-ID: <87f2f3b91003161400j2afaed55sc74a42aa49926bd5@mail.gmail.com> On Tue, Mar 16, 2010 at 1:21 PM, Michael De Lorenzo < delorenzodesign at gmail.com> wrote: > I'm having some trouble getting consistent results with playAndGetDigits, > sometimes the digits are record and other times they're not. It seemed to > have something to do with how quickly the digits were pressed, but now that > no longer seems to be the case. > > I'm trying to have users press a confirmation code, in this case "1111" > although I'd like to make it accept "1" or "11" or "111" or "1111" if > possible. > > Can anyone point me in the right direction? > > > session = freeswitch.Session("{ignore_early_media=true}sofia/gateway/" > .. provider .. "/1" .. number_to_call); > > while(session:ready()) do > session:answer(); > session:setInputCallback("onInput","true"); > > --playbackMessage(check_message); > digits = session:playAndGetDigits(4, 4, 1, 5000, "", > get_digits_message, "", "[1]"); > You are specifying a minimum of four and a maximum of four digits. Also, your regex will match any string that has a digit 1 in it, which may or may not be what you are looking for. Lastly, you haven't specified a terminator key (like "#") but you are giving the user only one try and waiting 5000ms for the entry. Try something like this: digits = session:playAndGetDigits(1, 4, 1, 5000, "#", get_digits_message, "", "\\d+"); Let us know if that works. Oh, one other thing: you might want to add an invalid message because playAndGetDigits will handle invalid input for you. -MC P.S. - This topic is covered in greater detail in Chapter 7 of the upcoming FreeSWITCH book. ;) > freeswitch.consoleLog("info", digits .. "\n"); > freeswitch.consoleLog("info", "Did this check out? " .. > (check_message == true and "yes" or "no" .. "\n")); > > -- we got what we're looking for, so we can end this > if(check_success) then > freeswitch.consoleLog("info", "A positive response was received > from this check.\n"); > break; > else > -- not a positive response > -- if we reached our max attempts, we're finished move on > if(attempts == max_attempts) then > freeswitch.consoleLog("info", "We've reached our maximum > attempts for this number.\n"); > break; > end > end > end > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/06aaa35a/attachment-0001.html From robert.dyck at shaw.ca Tue Mar 16 14:11:40 2010 From: robert.dyck at shaw.ca (Rob Dyck) Date: Tue, 16 Mar 2010 14:11:40 -0700 Subject: [Freeswitch-users] Fscomm unable to detect devices In-Reply-To: <6b65470d1003161327t463ff0e9j96dc2373f3cc49ac@mail.gmail.com> References: <201003141811.58645.robert.dyck@shaw.ca> <201003161249.22448.robert.dyck@shaw.ca> <6b65470d1003161327t463ff0e9j96dc2373f3cc49ac@mail.gmail.com> Message-ID: <201003161411.43845.robert.dyck@shaw.ca> Killing pulse audio didn't help. Is it possible to get debugging info from fscomm? From msc at freeswitch.org Tue Mar 16 14:14:17 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 16 Mar 2010 14:14:17 -0700 Subject: [Freeswitch-users] Call parking question/best practice advice In-Reply-To: <82dae1c01003152359g5da168cbqf37a6326fe73b785@mail.gmail.com> References: <82dae1c01003152359g5da168cbqf37a6326fe73b785@mail.gmail.com> Message-ID: <87f2f3b91003161414q670618e5ia26090784cf9cc94@mail.gmail.com> On Mon, Mar 15, 2010 at 11:59 PM, Tom Christensen wrote: > Hello, > Pretty new, but so far very happy with freeswitch! The setup and config is > really nice, straightforward, and I appreciate the design of the system. > I've worked with Asterisk pretty regularly for the last 4-5 years, and am > really looking for something more stable, and I think I've found it here! > > One issue I've run into, and I'm not sure if its just that my use case is > abnormal, hence the email. > > I've worked with PBX systems for a number of years (11 now...), and in all > of the systems I've worked with, call parking was kind of a "roaming" > feature. By this I mean, you think party X (the intended recipient of the > call) is in the building, but they are not at their desk. So, you park the > call, and then page, or by some other means attempt to locate party X and > tell them "get to the nearest phone and pick up 5901". If you can't locate > party X or you can't find them in time, the call should time out back to the > parking party (receptionist) to be handled appropriately (message taken, > sent to voicemail, transferred to party X's boss) > > This scenario requires a few things: > 1) the receptionist/person who actually receives the call needs to be able > to put the call in a specific place (extension) that doesn't change > 2) Party X (the intended recipient) needs to be able to access that > specific place (extension) from any phone inside the company > 3) Order must be preserved (IE, the mod_fifo call park in freeswitch is > inadequate, because if the receptionist parks 2 people on 5900, one for > party X and one for party Y, in that order, but party Y gets to a phone > first, they will be connected to party X's caller) > 4) The receptionist has to be protected from or provided with sufficient > information to avoid connecting 2 customers with each other (IE the > valet_park in freeswitch is inadequate, because if she parks a caller for X > on 6001, then parks a caller for Y on 6002, then a caller for Z calls in, > how can she know if 6001 is free yet? valet_park doesn't support BLA/SLA so > what can she do? What if she just forgets and sends that caller to 6001? > Then the 2 customers are bridged together and thats a big no-no) Also, I > haven't seen a way to make valet_park timeout? But maybe I'm wrong > there... > > The closest I can get to implementing the above scenario is by using > multiple mod_fifo queues (one for each parking spot), and SLA/BLA on the > receptionist phone to "notify" her that someone is already parked in a > certain queue. Unfortunately, there is no enforcement of this policy by the > system, and if she fat fingers her transfer, she will double up a queue, > creating the problem indicated in 3 above. The other shortcoming of this > setup is that without a large phone (IE, with 10-15 SLA/BLA slots) it > becomes impossible to appropriately handle call park. If the receptionist > is away from her desk and attempts to answer a call, she can't tell which > parking spots are free at all on a regular 2 line phone. Also, regular > users are prohibited from using call park as they cannot know which slots > are free (the need for this arises often in certain industries, such as law, > client is speaking with attorney, attorney finishes and says "let me connect > you with my assistant to schedule an appointment and handle x, y, and z for > you.", paralegal is not at desk, atty needs to park call and page his > assistant, maybe they are in the copy room, or the library doing > research...) > > The asterisk parking lot seems to solve this problem quite elegantly > (although the stability issues of asterisk undermine it). It is simple to > use (receptionist and everyone else only needs to remember 1 extension to > park any call), The callers/parking spots are maintained by the system to > prevent double parking, and each caller sits at a specific extension until > they are picked up or time out. > > So, the question boils down to how do people using freeswitch view/use call > park? Is there a "better" roaming feature that I just don't know about? If > it is just something that hasn't been implemented/thought about this way > yet, any idea what it would take to get a call parking feature that > satisfies these requirements into freeswitch? > > Thanks for your time, sorry for the long email, hopefully it explains well > enough what I'm trying to accomplish. > > -Tom > Tom, First of all, welcome to FreeSWITCH - the future of telephony! :P Secondly, thank you for actually looking at the documentation before asking your question. You've got yourself quite the little conundrum. Many of us use park in a more limited role, or we rely on the receptionist not to do silly things like sending one external caller to the slot of another external caller. We all agree that's a bad idea, unless it is done deliberately to connect two external parties. It sounds to me like this particular situation needs an operator panel app where the receptionist can have a pretty web page showing what calls are parked where. To my knowledge, this does not yet exist in FreeSWITCH. The good news is that FS provides all the requisite building blocks to create such an application using the event socket. How do you feel about doing a little development? :) -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/adbe3e3b/attachment.html From msc at freeswitch.org Tue Mar 16 14:19:33 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 16 Mar 2010 14:19:33 -0700 Subject: [Freeswitch-users] intercept in fifo queue In-Reply-To: References: Message-ID: <87f2f3b91003161419q5d4fb8dbr754bad70238ffdea@mail.gmail.com> On Mon, Mar 15, 2010 at 1:21 PM, Vladimir Elizarov wrote: > Hello. > > How can I intercept a fifo? I tried to use the example of intecept > default dialplan, but in no fifo dialed_extension. > Are you trying to intercept the call that is ringing at a FIFO agent's phone? -MC > > > > > > data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/> > data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/> > data="called_party_callgroup=${user_data(${dialed_extension}@ > ${domain_name} > var callgroup)}"/> > data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/> > > data="ivr/ivrvoice/razgovor-mozhet-byt-zapisan.wav"/> > data="ivr/ivr-hold_connect_call.wav"/> > > > > > > > lag="20">{fifo_caller_exit_key=9,fifo_consumer_exit_key=9}user/100@ > $${domain} > > > -- > Best regards, Vladimir Elizarov > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/68bf728f/attachment.html From brian at freeswitch.org Tue Mar 16 14:10:00 2010 From: brian at freeswitch.org (Brian West) Date: Tue, 16 Mar 2010 16:10:00 -0500 Subject: [Freeswitch-users] mod_cdr_csv In-Reply-To: <86AAB240-4227-4F85-8F2E-910C36685833@tlainvestments.com> References: <4B9FE332.7000809@todandlorna.com> <5D7CE6D6-E059-4DEE-921A-ACBBB7C6AF2C@freeswitch.org> <86AAB240-4227-4F85-8F2E-910C36685833@tlainvestments.com> Message-ID: <3F3E6446-7E6B-4CBD-9BA0-D85323033B76@freeswitch.org> A is ingress to the switch.. B is egress from the switch... remember each bridged call consists of two legs. But their are cases that can blur those lines. /b On Mar 16, 2010, at 3:59 PM, Troy Anderson wrote: > Thanks, guys! Setting the legs param to "ab" brought in lots more cdr data, including the LOSE_RACE legs. I'm still a bit confused, though - can you explain what is considered a-leg vs. b-leg in this context? I would have thought the call from outside into the system would constitute an a-leg. > > Thanks! > Troy From william.suffill at gmail.com Tue Mar 16 14:36:28 2010 From: william.suffill at gmail.com (William Suffill) Date: Tue, 16 Mar 2010 17:36:28 -0400 Subject: [Freeswitch-users] Fscomm unable to detect devices In-Reply-To: <201003161411.43845.robert.dyck@shaw.ca> References: <201003141811.58645.robert.dyck@shaw.ca> <201003161249.22448.robert.dyck@shaw.ca> <6b65470d1003161327t463ff0e9j96dc2373f3cc49ac@mail.gmail.com> <201003161411.43845.robert.dyck@shaw.ca> Message-ID: <6b65470d1003161436m1e7d4914r811fca9d70ffb73d@mail.gmail.com> With FSComm running you can use fs_cli to try pa list. If u can't list the devices that would be the problem. I'm going to try to dig into this further on 1 of my desktops w/ pulseaudio. -- W -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/94bec177/attachment.html From msc at freeswitch.org Tue Mar 16 16:06:49 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 16 Mar 2010 16:06:49 -0700 Subject: [Freeswitch-users] mod_cdr_csv In-Reply-To: <3F3E6446-7E6B-4CBD-9BA0-D85323033B76@freeswitch.org> References: <4B9FE332.7000809@todandlorna.com> <5D7CE6D6-E059-4DEE-921A-ACBBB7C6AF2C@freeswitch.org> <86AAB240-4227-4F85-8F2E-910C36685833@tlainvestments.com> <3F3E6446-7E6B-4CBD-9BA0-D85323033B76@freeswitch.org> Message-ID: <87f2f3b91003161606s1c1a3996t65a9ddbbd464e010@mail.gmail.com> On Tue, Mar 16, 2010 at 2:10 PM, Brian West wrote: > A is ingress to the switch.. B is egress from the switch... remember each > bridged call consists of two legs. But their are cases that can blur those > lines. > > FYI, this is a good piece of information. I added it explicitly to the call legs wiki page that we just started: http://wiki.freeswitch.org/wiki/Call_Legs If anyone else has something to add by all means do so. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/ba23ff15/attachment-0001.html From jmesquita at freeswitch.org Tue Mar 16 16:13:26 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Tue, 16 Mar 2010 20:13:26 -0300 Subject: [Freeswitch-users] Fscomm unable to detect devices In-Reply-To: <6b65470d1003161436m1e7d4914r811fca9d70ffb73d@mail.gmail.com> References: <201003141811.58645.robert.dyck@shaw.ca> <201003161249.22448.robert.dyck@shaw.ca> <6b65470d1003161327t463ff0e9j96dc2373f3cc49ac@mail.gmail.com> <201003161411.43845.robert.dyck@shaw.ca> <6b65470d1003161436m1e7d4914r811fca9d70ffb73d@mail.gmail.com> Message-ID: Thanks for the help W! Jo?o Mesquita On Tue, Mar 16, 2010 at 6:36 PM, William Suffill wrote: > With FSComm running you can use fs_cli to try pa list. If u can't list the > devices that would be the problem. I'm going to try to dig into this further > on 1 of my desktops w/ pulseaudio. > > -- W > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/253fc651/attachment.html From lloyd.aloysius at gmail.com Tue Mar 16 16:55:56 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Tue, 16 Mar 2010 19:55:56 -0400 Subject: [Freeswitch-users] MWI Question Message-ID: <8a19bf2e1003161655n1a6be912jbca20bef5c82a6e9@mail.gmail.com> Hi All, I delete all the voice mails in the voice mail folder for a particular extension. But the phone[AASTRA 9133i] MWI keep on blinking and and display showing the no of messages. How can I fix this issue. Thanks Lloyd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/4aeb8c31/attachment.html From delorenzodesign at gmail.com Tue Mar 16 17:23:27 2010 From: delorenzodesign at gmail.com (Michael De Lorenzo) Date: Tue, 16 Mar 2010 20:23:27 -0400 Subject: [Freeswitch-users] Lua playAndGetDigits In-Reply-To: <87f2f3b91003161400j2afaed55sc74a42aa49926bd5@mail.gmail.com> References: <5c9dcbfb1003161321q494ab3a0o5f90278281332e06@mail.gmail.com> <87f2f3b91003161400j2afaed55sc74a42aa49926bd5@mail.gmail.com> Message-ID: <5c9dcbfb1003161723m1bcd39d7tf29738aa8b96f19a@mail.gmail.com> So I tried Michael's suggestion of: digits = session:playAndGetDigits(1, 4, 1, 5000, "#", get_digits_message, "", "\\d+"); but it still didn't detect that I had pressed any keys. What would cause this? Is there someplace I can check to see if anything at all is being detected? On Tue, Mar 16, 2010 at 5:00 PM, Michael Collins wrote: > > > On Tue, Mar 16, 2010 at 1:21 PM, Michael De Lorenzo < > delorenzodesign at gmail.com> wrote: > >> I'm having some trouble getting consistent results with playAndGetDigits, >> sometimes the digits are record and other times they're not. It seemed to >> have something to do with how quickly the digits were pressed, but now that >> no longer seems to be the case. >> >> I'm trying to have users press a confirmation code, in this case "1111" >> although I'd like to make it accept "1" or "11" or "111" or "1111" if >> possible. >> >> Can anyone point me in the right direction? >> >> >> session = freeswitch.Session("{ignore_early_media=true}sofia/gateway/" >> .. provider .. "/1" .. number_to_call); >> >> while(session:ready()) do >> session:answer(); >> session:setInputCallback("onInput","true"); >> >> --playbackMessage(check_message); >> digits = session:playAndGetDigits(4, 4, 1, 5000, "", >> get_digits_message, "", "[1]"); >> > > You are specifying a minimum of four and a maximum of four digits. Also, > your regex will match any string that has a digit 1 in it, which may or may > not be what you are looking for. Lastly, you haven't specified a terminator > key (like "#") but you are giving the user only one try and waiting 5000ms > for the entry. Try something like this: > > digits = session:playAndGetDigits(1, 4, 1, 5000, "#", get_digits_message, > "", "\\d+"); > > Let us know if that works. Oh, one other thing: you might want to add an > invalid message because playAndGetDigits will handle invalid input for you. > -MC > > P.S. - This topic is covered in greater detail in Chapter 7 of the upcoming > FreeSWITCH book. ;) > > > >> freeswitch.consoleLog("info", digits .. "\n"); >> freeswitch.consoleLog("info", "Did this check out? " .. >> (check_message == true and "yes" or "no" .. "\n")); >> >> -- we got what we're looking for, so we can end this >> if(check_success) then >> freeswitch.consoleLog("info", "A positive response was received >> from this check.\n"); >> break; >> else >> -- not a positive response >> -- if we reached our max attempts, we're finished move on >> if(attempts == max_attempts) then >> freeswitch.consoleLog("info", "We've reached our maximum >> attempts for this number.\n"); >> break; >> end >> end >> end >> >> > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/1f7053c4/attachment.html From lloyd.aloysius at gmail.com Tue Mar 16 17:37:38 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Tue, 16 Mar 2010 20:37:38 -0400 Subject: [Freeswitch-users] Lua playAndGetDigits In-Reply-To: <5c9dcbfb1003161723m1bcd39d7tf29738aa8b96f19a@mail.gmail.com> References: <5c9dcbfb1003161321q494ab3a0o5f90278281332e06@mail.gmail.com> <87f2f3b91003161400j2afaed55sc74a42aa49926bd5@mail.gmail.com> <5c9dcbfb1003161723m1bcd39d7tf29738aa8b96f19a@mail.gmail.com> Message-ID: <8a19bf2e1003161737r39c9fe03k11192ab4aa8f86a9@mail.gmail.com> set the console log level to 7. Then you can see the DTMF values in console log , while you are pressing the keys. Lloyd On Tue, Mar 16, 2010 at 8:23 PM, Michael De Lorenzo < delorenzodesign at gmail.com> wrote: > So I tried Michael's suggestion of: > > digits = session:playAndGetDigits(1, 4, 1, 5000, "#", get_digits_message, > "", "\\d+"); > > but it still didn't detect that I had pressed any keys. What would cause > this? Is there someplace I can check to see if anything at all is being > detected? > > > On Tue, Mar 16, 2010 at 5:00 PM, Michael Collins wrote: > >> >> >> On Tue, Mar 16, 2010 at 1:21 PM, Michael De Lorenzo < >> delorenzodesign at gmail.com> wrote: >> >>> I'm having some trouble getting consistent results with playAndGetDigits, >>> sometimes the digits are record and other times they're not. It seemed to >>> have something to do with how quickly the digits were pressed, but now that >>> no longer seems to be the case. >>> >>> I'm trying to have users press a confirmation code, in this case "1111" >>> although I'd like to make it accept "1" or "11" or "111" or "1111" if >>> possible. >>> >>> Can anyone point me in the right direction? >>> >>> >>> session = >>> freeswitch.Session("{ignore_early_media=true}sofia/gateway/" .. provider .. >>> "/1" .. number_to_call); >>> >>> while(session:ready()) do >>> session:answer(); >>> session:setInputCallback("onInput","true"); >>> >>> --playbackMessage(check_message); >>> digits = session:playAndGetDigits(4, 4, 1, 5000, "", >>> get_digits_message, "", "[1]"); >>> >> >> You are specifying a minimum of four and a maximum of four digits. Also, >> your regex will match any string that has a digit 1 in it, which may or may >> not be what you are looking for. Lastly, you haven't specified a terminator >> key (like "#") but you are giving the user only one try and waiting 5000ms >> for the entry. Try something like this: >> >> digits = session:playAndGetDigits(1, 4, 1, 5000, "#", get_digits_message, >> "", "\\d+"); >> >> Let us know if that works. Oh, one other thing: you might want to add an >> invalid message because playAndGetDigits will handle invalid input for you. >> -MC >> >> P.S. - This topic is covered in greater detail in Chapter 7 of the >> upcoming FreeSWITCH book. ;) >> >> >> >>> freeswitch.consoleLog("info", digits .. "\n"); >>> freeswitch.consoleLog("info", "Did this check out? " .. >>> (check_message == true and "yes" or "no" .. "\n")); >>> >>> -- we got what we're looking for, so we can end this >>> if(check_success) then >>> freeswitch.consoleLog("info", "A positive response was received >>> from this check.\n"); >>> break; >>> else >>> -- not a positive response >>> -- if we reached our max attempts, we're finished move on >>> if(attempts == max_attempts) then >>> freeswitch.consoleLog("info", "We've reached our maximum >>> attempts for this number.\n"); >>> break; >>> end >>> end >>> end >>> >>> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100316/abc46e2e/attachment-0001.html From lloyd.aloysius at gmail.com Tue Mar 16 17:43:31 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Tue, 16 Mar 2010 20:43:31 -0400 Subject: [Freeswitch-users] Call parking question/best practice advice In-Reply-To: <87f2f3b91003161414q670618e5ia26090784cf9cc94@mail.gmail.com> References: <82dae1c01003152359g5da168cbqf37a6326fe73b785@mail.gmail.com> <87f2f3b91003161414q670618e5ia26090784cf9cc94@mail.gmail.com> Message-ID: <8a19bf2e1003161743s1c12a965l82a0a516012663a@mail.gmail.com> when a user parked to a slot how to handle the park time out. Is there any way to transfer to the call back to a receptionist. Thanks Lloyd On Tue, Mar 16, 2010 at 5:14 PM, Michael Collins wrote: > > > On Mon, Mar 15, 2010 at 11:59 PM, Tom Christensen wrote: > >> Hello, >> Pretty new, but so far very happy with freeswitch! The setup and config >> is really nice, straightforward, and I appreciate the design of the system. >> I've worked with Asterisk pretty regularly for the last 4-5 years, and am >> really looking for something more stable, and I think I've found it here! >> >> One issue I've run into, and I'm not sure if its just that my use case is >> abnormal, hence the email. >> >> I've worked with PBX systems for a number of years (11 now...), and in all >> of the systems I've worked with, call parking was kind of a "roaming" >> feature. By this I mean, you think party X (the intended recipient of the >> call) is in the building, but they are not at their desk. So, you park the >> call, and then page, or by some other means attempt to locate party X and >> tell them "get to the nearest phone and pick up 5901". If you can't locate >> party X or you can't find them in time, the call should time out back to the >> parking party (receptionist) to be handled appropriately (message taken, >> sent to voicemail, transferred to party X's boss) >> >> This scenario requires a few things: >> 1) the receptionist/person who actually receives the call needs to be able >> to put the call in a specific place (extension) that doesn't change >> 2) Party X (the intended recipient) needs to be able to access that >> specific place (extension) from any phone inside the company >> 3) Order must be preserved (IE, the mod_fifo call park in freeswitch is >> inadequate, because if the receptionist parks 2 people on 5900, one for >> party X and one for party Y, in that order, but party Y gets to a phone >> first, they will be connected to party X's caller) >> 4) The receptionist has to be protected from or provided with sufficient >> information to avoid connecting 2 customers with each other (IE the >> valet_park in freeswitch is inadequate, because if she parks a caller for X >> on 6001, then parks a caller for Y on 6002, then a caller for Z calls in, >> how can she know if 6001 is free yet? valet_park doesn't support BLA/SLA so >> what can she do? What if she just forgets and sends that caller to 6001? >> Then the 2 customers are bridged together and thats a big no-no) Also, I >> haven't seen a way to make valet_park timeout? But maybe I'm wrong >> there... >> >> The closest I can get to implementing the above scenario is by using >> multiple mod_fifo queues (one for each parking spot), and SLA/BLA on the >> receptionist phone to "notify" her that someone is already parked in a >> certain queue. Unfortunately, there is no enforcement of this policy by the >> system, and if she fat fingers her transfer, she will double up a queue, >> creating the problem indicated in 3 above. The other shortcoming of this >> setup is that without a large phone (IE, with 10-15 SLA/BLA slots) it >> becomes impossible to appropriately handle call park. If the receptionist >> is away from her desk and attempts to answer a call, she can't tell which >> parking spots are free at all on a regular 2 line phone. Also, regular >> users are prohibited from using call park as they cannot know which slots >> are free (the need for this arises often in certain industries, such as law, >> client is speaking with attorney, attorney finishes and says "let me connect >> you with my assistant to schedule an appointment and handle x, y, and z for >> you.", paralegal is not at desk, atty needs to park call and page his >> assistant, maybe they are in the copy room, or the library doing >> research...) >> >> The asterisk parking lot seems to solve this problem quite elegantly >> (although the stability issues of asterisk undermine it). It is simple to >> use (receptionist and everyone else only needs to remember 1 extension to >> park any call), The callers/parking spots are maintained by the system to >> prevent double parking, and each caller sits at a specific extension until >> they are picked up or time out. >> >> So, the question boils down to how do people using freeswitch view/use >> call park? Is there a "better" roaming feature that I just don't know >> about? If it is just something that hasn't been implemented/thought about >> this way yet, any idea what it would take to get a call parking feature that >> satisfies these requirements into freeswitch? >> >> Thanks for your time, sorry for the long email, hopefully it explains well >> enough what I'm trying to accomplish. >> >> -Tom >> > > Tom, > > First of all, welcome to FreeSWITCH - the future of telephony! :P Secondly, > thank you for actually looking at the documentation before asking your > question. > > You've got yourself quite the little conundrum. Many of us use park in a > more limited role, or we rely on the receptionist not to do silly things > like sending one external caller to the slot of another external caller. We > all agree that's a bad idea, unless it is done deliberately to connect two > external parties. It sounds to me like this particular situation needs an > operator panel app where the receptionist can have a pretty web page showing > what calls are parked where. To my knowledge, this does not yet exist in > FreeSWITCH. The good news is that FS provides all the requisite building > blocks to create such an application using the event socket. How do you feel > about doing a little development? :) > > -MC > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/90a38507/attachment.html From delorenzodesign at gmail.com Tue Mar 16 17:51:38 2010 From: delorenzodesign at gmail.com (Michael De Lorenzo) Date: Tue, 16 Mar 2010 20:51:38 -0400 Subject: [Freeswitch-users] Lua playAndGetDigits In-Reply-To: <8a19bf2e1003161737r39c9fe03k11192ab4aa8f86a9@mail.gmail.com> References: <5c9dcbfb1003161321q494ab3a0o5f90278281332e06@mail.gmail.com> <87f2f3b91003161400j2afaed55sc74a42aa49926bd5@mail.gmail.com> <5c9dcbfb1003161723m1bcd39d7tf29738aa8b96f19a@mail.gmail.com> <8a19bf2e1003161737r39c9fe03k11192ab4aa8f86a9@mail.gmail.com> Message-ID: <5c9dcbfb1003161751q4a2e63e5p6320b436180587af@mail.gmail.com> Ok, I updated the console log level, and there are no DTMF values being detected: 4268 -> 74.51.38.156 port 15150 codec: 0 ms: 20 2010-03-16 20:49:06.534030 [DEBUG] switch_rtp.c:1181 Starting timer [soft] 160 bytes per 20ms 2010-03-16 20:49:06.535030 [NOTICE] sofia_glue.c:3128 Pre-Answer sofia/external/19736327407! 2010-03-16 20:49:13.762610 [DEBUG] sofia.c:4139 Channel sofia/external/19736327407 entering state [completing][200] 2010-03-16 20:49:13.762610 [DEBUG] sofia.c:4150 Remote SDP: v=0 o=root 21648 21649 IN IP4 74.51.38.156 s=session c=IN IP4 74.51.38.156 t=0 0 m=audio 15150 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 2010-03-16 20:49:13.762610 [DEBUG] sofia.c:4139 Channel sofia/external/19736327407 entering state [ready][200] 2010-03-16 20:49:13.763613 [NOTICE] sofia.c:4663 Channel [sofia/external/19736327407] has been answered 2010-03-16 20:49:13.763613 [DEBUG] switch_ivr_originate.c:3107 Originate Resulted in Success: [sofia/external/19736327407] 2010-03-16 20:49:13.763613 [DEBUG] switch_cpp.cpp:497 (sofia/external/19736327407) State Change CS_CONSUME_MEDIA -> CS_SOFT_EXECUTE 2010-03-16 20:49:13.763613 [DEBUG] switch_core_session.c:1018 Send signal sofia/external/19736327407 [BREAK] 2010-03-16 20:49:13.764618 [DEBUG] switch_ivr_play_say.c:1178 Codec Activated L16 at 8000hz 1 channels 20ms 2010-03-16 20:49:13.764618 [DEBUG] switch_core_state_machine.c:314 (sofia/external/19736327407) Running State Change CS_SOFT_EXECUTE 2010-03-16 20:49:13.764618 [DEBUG] switch_core_state_machine.c:354 (sofia/external/19736327407) State SOFT_EXECUTE 2010-03-16 20:49:13.764618 [DEBUG] mod_sofia.c:510 SOFIA SOFT_EXECUTE 2010-03-16 20:49:13.764618 [DEBUG] switch_core_state_machine.c:200 sofia/external/19736327407 Standard SOFT_EXECUTE 2010-03-16 20:49:13.764618 [DEBUG] switch_core_state_machine.c:354 (sofia/external/19736327407) State SOFT_EXECUTE going to sleep 2010-03-16 20:49:13.794735 [DEBUG] switch_rtp.c:2055 Correct ip/port confirmed. 2010-03-16 20:49:25.055402 [DEBUG] switch_ivr_play_say.c:1470 done playing file 2010-03-16 20:49:30.074803 [INFO] switch_cpp.cpp:1142 Digits received during call from playAndGetDigits: 2010-03-16 20:49:30.074803 [INFO] switch_cpp.cpp:1142 Did this check out? no On Tue, Mar 16, 2010 at 8:37 PM, Aloysius Lloyd wrote: > set the console log level to 7. Then you can see the DTMF values in console > log , while you are pressing the keys. > > Lloyd > > > On Tue, Mar 16, 2010 at 8:23 PM, Michael De Lorenzo < > delorenzodesign at gmail.com> wrote: > >> So I tried Michael's suggestion of: >> >> digits = session:playAndGetDigits(1, 4, 1, 5000, "#", get_digits_message, >> "", "\\d+"); >> >> but it still didn't detect that I had pressed any keys. What would cause >> this? Is there someplace I can check to see if anything at all is being >> detected? >> >> >> On Tue, Mar 16, 2010 at 5:00 PM, Michael Collins wrote: >> >>> >>> >>> On Tue, Mar 16, 2010 at 1:21 PM, Michael De Lorenzo < >>> delorenzodesign at gmail.com> wrote: >>> >>>> I'm having some trouble getting consistent results with >>>> playAndGetDigits, sometimes the digits are record and other times they're >>>> not. It seemed to have something to do with how quickly the digits were >>>> pressed, but now that no longer seems to be the case. >>>> >>>> I'm trying to have users press a confirmation code, in this case "1111" >>>> although I'd like to make it accept "1" or "11" or "111" or "1111" if >>>> possible. >>>> >>>> Can anyone point me in the right direction? >>>> >>>> >>>> session = >>>> freeswitch.Session("{ignore_early_media=true}sofia/gateway/" .. provider .. >>>> "/1" .. number_to_call); >>>> >>>> while(session:ready()) do >>>> session:answer(); >>>> session:setInputCallback("onInput","true"); >>>> >>>> --playbackMessage(check_message); >>>> digits = session:playAndGetDigits(4, 4, 1, 5000, "", >>>> get_digits_message, "", "[1]"); >>>> >>> >>> You are specifying a minimum of four and a maximum of four digits. Also, >>> your regex will match any string that has a digit 1 in it, which may or may >>> not be what you are looking for. Lastly, you haven't specified a terminator >>> key (like "#") but you are giving the user only one try and waiting 5000ms >>> for the entry. Try something like this: >>> >>> digits = session:playAndGetDigits(1, 4, 1, 5000, "#", get_digits_message, >>> "", "\\d+"); >>> >>> Let us know if that works. Oh, one other thing: you might want to add an >>> invalid message because playAndGetDigits will handle invalid input for you. >>> -MC >>> >>> P.S. - This topic is covered in greater detail in Chapter 7 of the >>> upcoming FreeSWITCH book. ;) >>> >>> >>> >>>> freeswitch.consoleLog("info", digits .. "\n"); >>>> freeswitch.consoleLog("info", "Did this check out? " .. >>>> (check_message == true and "yes" or "no" .. "\n")); >>>> >>>> -- we got what we're looking for, so we can end this >>>> if(check_success) then >>>> freeswitch.consoleLog("info", "A positive response was >>>> received from this check.\n"); >>>> break; >>>> else >>>> -- not a positive response >>>> -- if we reached our max attempts, we're finished move on >>>> if(attempts == max_attempts) then >>>> freeswitch.consoleLog("info", "We've reached our maximum >>>> attempts for this number.\n"); >>>> break; >>>> end >>>> end >>>> end >>>> >>>> >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> >> > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/00146d7e/attachment-0001.html From lloyd.aloysius at gmail.com Tue Mar 16 18:07:15 2010 From: lloyd.aloysius at gmail.com (Aloysius Lloyd) Date: Tue, 16 Mar 2010 21:07:15 -0400 Subject: [Freeswitch-users] Lua playAndGetDigits In-Reply-To: <5c9dcbfb1003161751q4a2e63e5p6320b436180587af@mail.gmail.com> References: <5c9dcbfb1003161321q494ab3a0o5f90278281332e06@mail.gmail.com> <87f2f3b91003161400j2afaed55sc74a42aa49926bd5@mail.gmail.com> <5c9dcbfb1003161723m1bcd39d7tf29738aa8b96f19a@mail.gmail.com> <8a19bf2e1003161737r39c9fe03k11192ab4aa8f86a9@mail.gmail.com> <5c9dcbfb1003161751q4a2e63e5p6320b436180587af@mail.gmail.com> Message-ID: <8a19bf2e1003161807m4930cee2o1efdcde244d03c3b@mail.gmail.com> here is the test script I used session:answer(); digits = session:playAndGetDigits(1, 4, 1, 5000, "#", "enter-digits.wav", "", "\\d+"); Here is the console log 2010-03-17 01:04:50.374761 [DEBUG] switch_ivr_play_say.c:1444 done playing file *2010-03-17 01:04:50.874736 [DEBUG] switch_rtp.c:2417 RTP RECV DTMF 1:800* *2010-03-17 01:04:51.104725 [DEBUG] switch_rtp.c:2417 RTP RECV DTMF 2:640* *2010-03-17 01:04:51.414710 [DEBUG] switch_rtp.c:2417 RTP RECV DTMF 3:800* *2010-03-17 01:04:51.774692 [DEBUG] switch_rtp.c:2417 RTP RECV DTMF 4:640* 2010-03-17 01:04:51.774692 [DEBUG] switch_ivr_play_say.c:1737 Test Regex [1234][\d+] You may have some issue with the provider. Check using a local extension. On Tue, Mar 16, 2010 at 8:51 PM, Michael De Lorenzo < delorenzodesign at gmail.com> wrote: > Ok, I updated the console log level, and there are no DTMF values being > detected: > > 4268 -> 74.51.38.156 port 15150 codec: 0 ms: 20 > 2010-03-16 20:49:06.534030 [DEBUG] switch_rtp.c:1181 Starting timer [soft] > 160 bytes per 20ms > 2010-03-16 20:49:06.535030 [NOTICE] sofia_glue.c:3128 Pre-Answer > sofia/external/19736327407! > 2010-03-16 20:49:13.762610 [DEBUG] sofia.c:4139 Channel > sofia/external/19736327407 entering state [completing][200] > 2010-03-16 20:49:13.762610 [DEBUG] sofia.c:4150 Remote SDP: > v=0 > o=root 21648 21649 IN IP4 74.51.38.156 > s=session > c=IN IP4 74.51.38.156 > t=0 0 > m=audio 15150 RTP/AVP 0 101 > a=rtpmap:0 PCMU/8000 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=silenceSupp:off - - - - > a=ptime:20 > > 2010-03-16 20:49:13.762610 [DEBUG] sofia.c:4139 Channel > sofia/external/19736327407 entering state [ready][200] > 2010-03-16 20:49:13.763613 [NOTICE] sofia.c:4663 Channel > [sofia/external/19736327407] has been answered > 2010-03-16 20:49:13.763613 [DEBUG] switch_ivr_originate.c:3107 Originate > Resulted in Success: [sofia/external/19736327407] > 2010-03-16 20:49:13.763613 [DEBUG] switch_cpp.cpp:497 > (sofia/external/19736327407) State Change CS_CONSUME_MEDIA -> > CS_SOFT_EXECUTE > 2010-03-16 20:49:13.763613 [DEBUG] switch_core_session.c:1018 Send signal > sofia/external/19736327407 [BREAK] > 2010-03-16 20:49:13.764618 [DEBUG] switch_ivr_play_say.c:1178 Codec > Activated L16 at 8000hz 1 channels 20ms > 2010-03-16 20:49:13.764618 [DEBUG] switch_core_state_machine.c:314 > (sofia/external/19736327407) Running State Change CS_SOFT_EXECUTE > 2010-03-16 20:49:13.764618 [DEBUG] switch_core_state_machine.c:354 > (sofia/external/19736327407) State SOFT_EXECUTE > 2010-03-16 20:49:13.764618 [DEBUG] mod_sofia.c:510 SOFIA SOFT_EXECUTE > 2010-03-16 20:49:13.764618 [DEBUG] switch_core_state_machine.c:200 > sofia/external/19736327407 Standard SOFT_EXECUTE > 2010-03-16 20:49:13.764618 [DEBUG] switch_core_state_machine.c:354 > (sofia/external/19736327407) State SOFT_EXECUTE going to sleep > 2010-03-16 20:49:13.794735 [DEBUG] switch_rtp.c:2055 Correct ip/port > confirmed. > 2010-03-16 20:49:25.055402 [DEBUG] switch_ivr_play_say.c:1470 done playing > file > 2010-03-16 20:49:30.074803 [INFO] switch_cpp.cpp:1142 Digits received > during call from playAndGetDigits: > 2010-03-16 20:49:30.074803 [INFO] switch_cpp.cpp:1142 Did this check out? > no > > > On Tue, Mar 16, 2010 at 8:37 PM, Aloysius Lloyd wrote: > >> set the console log level to 7. Then you can see the DTMF values in >> console log , while you are pressing the keys. >> >> Lloyd >> >> >> On Tue, Mar 16, 2010 at 8:23 PM, Michael De Lorenzo < >> delorenzodesign at gmail.com> wrote: >> >>> So I tried Michael's suggestion of: >>> >>> digits = session:playAndGetDigits(1, 4, 1, 5000, "#", get_digits_message, >>> "", "\\d+"); >>> >>> but it still didn't detect that I had pressed any keys. What would cause >>> this? Is there someplace I can check to see if anything at all is being >>> detected? >>> >>> >>> On Tue, Mar 16, 2010 at 5:00 PM, Michael Collins wrote: >>> >>>> >>>> >>>> On Tue, Mar 16, 2010 at 1:21 PM, Michael De Lorenzo < >>>> delorenzodesign at gmail.com> wrote: >>>> >>>>> I'm having some trouble getting consistent results with >>>>> playAndGetDigits, sometimes the digits are record and other times they're >>>>> not. It seemed to have something to do with how quickly the digits were >>>>> pressed, but now that no longer seems to be the case. >>>>> >>>>> I'm trying to have users press a confirmation code, in this case "1111" >>>>> although I'd like to make it accept "1" or "11" or "111" or "1111" if >>>>> possible. >>>>> >>>>> Can anyone point me in the right direction? >>>>> >>>>> >>>>> session = >>>>> freeswitch.Session("{ignore_early_media=true}sofia/gateway/" .. provider .. >>>>> "/1" .. number_to_call); >>>>> >>>>> while(session:ready()) do >>>>> session:answer(); >>>>> session:setInputCallback("onInput","true"); >>>>> >>>>> --playbackMessage(check_message); >>>>> digits = session:playAndGetDigits(4, 4, 1, 5000, "", >>>>> get_digits_message, "", "[1]"); >>>>> >>>> >>>> You are specifying a minimum of four and a maximum of four digits. Also, >>>> your regex will match any string that has a digit 1 in it, which may or may >>>> not be what you are looking for. Lastly, you haven't specified a terminator >>>> key (like "#") but you are giving the user only one try and waiting 5000ms >>>> for the entry. Try something like this: >>>> >>>> digits = session:playAndGetDigits(1, 4, 1, 5000, "#", >>>> get_digits_message, "", "\\d+"); >>>> >>>> Let us know if that works. Oh, one other thing: you might want to add an >>>> invalid message because playAndGetDigits will handle invalid input for you. >>>> -MC >>>> >>>> P.S. - This topic is covered in greater detail in Chapter 7 of the >>>> upcoming FreeSWITCH book. ;) >>>> >>>> >>>> >>>>> freeswitch.consoleLog("info", digits .. "\n"); >>>>> freeswitch.consoleLog("info", "Did this check out? " .. >>>>> (check_message == true and "yes" or "no" .. "\n")); >>>>> >>>>> -- we got what we're looking for, so we can end this >>>>> if(check_success) then >>>>> freeswitch.consoleLog("info", "A positive response was >>>>> received from this check.\n"); >>>>> break; >>>>> else >>>>> -- not a positive response >>>>> -- if we reached our max attempts, we're finished move on >>>>> if(attempts == max_attempts) then >>>>> freeswitch.consoleLog("info", "We've reached our maximum >>>>> attempts for this number.\n"); >>>>> break; >>>>> end >>>>> end >>>>> end >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>> >>> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20100316/874eaf6f/attachment.html From rupa at rupa.com Tue Mar 16 18:08:32 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Tue, 16 Mar 2010 20:08:32 -0500 Subject: [Freeswitch-users] MWI Question In-Reply-To: <8a19bf2e1003161655n1a6be912jbca20bef5c82a6e9@mail.gmail.com> References: <8a19bf2e1003161655n1a6be912jbca20bef5c82a6e9@mail.gmail.com> Message-ID: Next time use vm_delete rather than removing the files. This may still work for you. "vm_delete id at domain" should work in your case. If it doesn't, connect to the voicemail database and issue: delete from voicemail_msgs where username='id' and domain='domain'; On Tue, Mar 16, 2010 at 6:55 PM, Aloysius Lloyd wrote: > Hi All, > > I delete all the voice mails in the voice mail folder for a particular > extension. > > But the phone[AASTRA 9133i] MWI keep on blinking and and display showing > the no of messages. > > How can I fix this issue. > > Thanks > Lloyd > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/ca97dc16/attachment.html From rupa at rupa.com Tue Mar 16 18:10:29 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Tue, 16 Mar 2010 20:10:29 -0500 Subject: [Freeswitch-users] Call parking question/best practice advice In-Reply-To: <8a19bf2e1003161743s1c12a965l82a0a516012663a@mail.gmail.com> References: <82dae1c01003152359g5da168cbqf37a6326fe73b785@mail.gmail.com> <87f2f3b91003161414q670618e5ia26090784cf9cc94@mail.gmail.com> <8a19bf2e1003161743s1c12a965l82a0a516012663a@mail.gmail.com> Message-ID: I would think you could use: sched_transfer,Schedule a transfer in the future,[+]