From craig at stevenson.com Mon Jun 1 02:33:28 2015 From: craig at stevenson.com (Craig Stevenson) Date: Sun, 31 May 2015 15:33:28 -0700 Subject: [Freeswitch-users] Anyone running FS 1.6 + Video in Google Cloud (or AWS)? Message-ID: Has anyone brought up FS 1.6 + video on a Google Cloud instance? Any tips or tricks that I need to know? Alternatively, what about instances on the AWS EC2 cloud? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150531/6309cac8/attachment.html From jyoti_prakash at outlook.com Mon Jun 1 14:01:24 2015 From: jyoti_prakash at outlook.com (Jyoti Prakash) Date: Mon, 1 Jun 2015 10:01:24 +0000 Subject: [Freeswitch-users] Need help with lua called from dial plan - How to delimit arguments? In-Reply-To: References: <556A1BC2.2030101@k4gvo.com>, Message-ID: why not access it as global variable like session:getVariable("caller_id_name"); and pass it to some variable or you can take help from following snippet of code from function randomize() api = freeswitch.API(); seed = tonumber(api:execute("global_getvar", "randomseed")); if seed == 12345678 or seed == "" or seed == nil then seed = os.time(); end math.randomseed(seed); seed = math.random(1,999999) api:execute("global_setvar", "randomseed=" .. seed)end I have taken it from https://wiki.freeswitch.org/wiki/Fakecall_responder > Date: Sun, 31 May 2015 00:41:06 +0200 > From: dragic.dusan at gmail.com > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] Need help with lua called from dial plan - How to delimit arguments? > > Use single quotes (but Giovanni's suggestion is the way to go). > > On 30 May 2015 at 22:21, Jim Lynch wrote: > > I have a line in my dialplan that looks like this: > > > > > > However when the program is executed and the caller_id_name has a space > > in it, the number gets lost. > > I can't figure out a way to add delimiters that get passed to the > > shell. None of these work: > > > > > \"${caller_id_number}\"" /> > > or > > > > or > > > \"\"${caller_id_number}\"\"" /> > > > > None of those work. The quotes are all stripped off when running this test > > > > lua file: > > tmp_file = "/tmp/cidtest.txt"; > > local file = assert(io.open(tmp_file, "a")); > > local m_name=argv[1]; > > local m_number=argv[2]; > > file:write("j cid is ",m_name," number is ",m_number,"\n"); > > > > Any suggestions? > > > > Thanks, > > Jim. > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > Du?an Dragi? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150601/7d89906d/attachment.html From andrew at cassidywebservices.co.uk Mon Jun 1 14:23:27 2015 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Mon, 1 Jun 2015 11:23:27 +0100 Subject: [Freeswitch-users] Configure IPKALL DID number to FreeSWITCH In-Reply-To: References: Message-ID: The profile the calls are coming in to requires authentication. You either need to create an ACL with entries for IPKALL or use a profile that doesn't require authentication. By default, the external profile doesn't which listens on port 5080. You could try setting the endpoint address in IPKALL to sip:1001 at 59.99.250.70 Kind regards, On 31 May 2015 at 19:43, Mitchelle Johnson wrote: > HI, > > I am trying to configure a DID number assigned by IPKALL which is a > washington state phone number. The details are given below. > > DID number=2532432058 > > When I try to call i get line as busy on my phone. > > The dialplan is pasted below. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I have also enclosed the log in the following pastebin link. The link is : > http://pastebin.com/U70HUMHw > > Please help. > > Thanks, > Mitchelle > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director *T *03300 100 960 *F *03300 100 961 *E *andrew at cassidywebservices.co.uk *W *www.cassidywebservices.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150601/fd14f350/attachment-0001.html From giggsey at gmail.com Mon Jun 1 15:39:20 2015 From: giggsey at gmail.com (Joshua Gigg) Date: Mon, 1 Jun 2015 12:39:20 +0100 Subject: [Freeswitch-users] Originate + Bridge Timeouts Message-ID: Hi, I'm trying to find some documentation on the various timeouts when using originate and bridge. Note: I don't use gateways in my application, rather targeting them directly. What I want to be able to control for each: 1. Time before receiving any SIP message back from my Invite. 2. No Answer Timeout - the amount of time before I get the 200 Ok. I want to be able control them when using both bridge + originate, regardless of early media (For originate, I disable early media, when bridging, I allow it). I've seen originate_timeout, which seems to help with point 1, but when bridging, it gets ignored as soon as I get early media. I've seen call_timeout, but other posts on the mailing list suggest it isn't used anywhere. -- Joshua Gigg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150601/7570ec49/attachment.html From gmaruzz at gmail.com Mon Jun 1 15:50:51 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 1 Jun 2015 13:50:51 +0200 Subject: [Freeswitch-users] Originate + Bridge Timeouts In-Reply-To: References: Message-ID: Use ignore_early_media=true (or similar option) to have the timeout apply to 200ok sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 On Jun 1, 2015 1:40 PM, "Joshua Gigg" wrote: > Hi, > > I'm trying to find some documentation on the various timeouts when using > originate and bridge. > > Note: I don't use gateways in my application, rather targeting them > directly. > > What I want to be able to control for each: > > > 1. Time before receiving any SIP message back from my Invite. > 2. No Answer Timeout - the amount of time before I get the 200 Ok. > > I want to be able control them when using both bridge + originate, > regardless of early media (For originate, I disable early media, when > bridging, I allow it). > > I've seen originate_timeout, which seems to help with point 1, but when > bridging, it gets ignored as soon as I get early media. I've seen > call_timeout, but other posts on the mailing list suggest it isn't used > anywhere. > > -- > Joshua Gigg > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150601/de466adb/attachment.html From eravelo at dexem.com Mon Jun 1 15:04:50 2015 From: eravelo at dexem.com (eravelo) Date: Mon, 1 Jun 2015 04:04:50 -0700 (MST) Subject: [Freeswitch-users] Rayo with mod_httapi does not handle invalid cache file Message-ID: <1433156690027-7596166.post@n2.nabble.com> Hello all,With mod_httapi, sometimes an audio file fetched from an URL cannot be played, because for whatever reason, the file is said to "contain data in an unknown format". The problem is that mod_rayo raises an error and the call fails, rather than trying to re-fetch the file. Is this a bug in the way FreeSWITCH handles he audio file cache (mod_httapi) ? Version: 1.4.15 Here is the FreeSWITCH log snippet: -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Rayo-with-mod-httapi-does-not-handle-invalid-cache-file-tp7596166.html Sent from the freeswitch-users mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150601/2e5c28db/attachment.html From anthony.minessale at gmail.com Mon Jun 1 18:36:10 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 1 Jun 2015 09:36:10 -0500 Subject: [Freeswitch-users] Anyone running FS 1.6 + Video in Google Cloud (or AWS)? In-Reply-To: References: Message-ID: All virtual usage of FS is at your own risk. The only real advice is you MUST use dedicated instances and there still is no guarentee. On Sunday, May 31, 2015, Craig Stevenson wrote: > Has anyone brought up FS 1.6 + video on a Google Cloud instance? Any tips > or tricks that I need to know? > > Alternatively, what about instances on the AWS EC2 cloud? > > > > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150601/9a9f3a31/attachment.html From anthony.minessale at gmail.com Mon Jun 1 18:38:00 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 1 Jun 2015 09:38:00 -0500 Subject: [Freeswitch-users] DTLS ICE and WebRTC using Freeswitch 1.6 In-Reply-To: References: <19ACF7D4-9617-4FC9-81CF-D704BDBA4768@gmail.com> Message-ID: Ice must negotiate, then dtls. The ice is not encrypted. On Sunday, May 31, 2015, Michael Jerris wrote: > Typically this happens when the traffic isn't making it back to FreeSWITCH. > > On Sunday, May 31, 2015, Jon Lederman > wrote: > >> Hi, >> >> We are having trouble getting WebRTC working with 1.6. I have tracked >> the problem down to the do_dtls function in switch_rtp.c (shown partially >> below). Two things we have noticed: >> >> 1) It appears that ice.ready and ice.ready are always 0. >> 2) DTLS negotiation never completes the handshake. >> >> Does ice have to be operative in order for dtls negotiation to proceed or >> the other way around? What should I look for, which may prevent the ice >> setup and/or dtls handshake. >> We are running on google cloud. Are there networking/NAT issues running >> on cloud servers that might interfere with either ICE or DTLS? >> >> Thanks in advance. >> >> -Jon >> >> >> static int do_dtls(switch_rtp_t *rtp_session, switch_dtls_t *dtls) >> { >> int r = 0, ret = 0, len; >> switch_size_t bytes; >> unsigned char buf[4096] = ""; >> int ready = rtp_session->ice.ice_user ? (rtp_session->ice.rready >> && rtp_session->ice.ready) : 1; >> >> >> >> if (!dtls->bytes && !ready) { >> >> //switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), >> SWITCH_LOG_ALERT, "Ice not ready"); >> return 0; >> } >> >> ? >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150601/3fe560b0/attachment.html From dm at dwide.com Mon Jun 1 19:02:30 2015 From: dm at dwide.com (Dmitry Mordovin) Date: Mon, 01 Jun 2015 19:02:30 +0400 Subject: [Freeswitch-users] Disconnect release source Message-ID: <556C7406.1040702@dwide.com> Hello! Can't find solution how to detect and add to xml-cdr field with disconnect source information (calling, called, internal and etc) Anybody knows? From cmrienzo at gmail.com Mon Jun 1 19:04:41 2015 From: cmrienzo at gmail.com (Christopher Rienzo) Date: Mon, 1 Jun 2015 11:04:41 -0400 Subject: [Freeswitch-users] Rayo with mod_httapi does not handle invalid cache file In-Reply-To: <1433156690027-7596166.post@n2.nabble.com> References: <1433156690027-7596166.post@n2.nabble.com> Message-ID: Can't your call controller handle the Output component's error? If you want to retry, do it there. On Mon, Jun 1, 2015 at 7:04 AM, eravelo wrote: > Hello all, With mod_httapi, sometimes an audio file fetched from an URL > cannot be played, because for whatever reason, the file is said to "contain > data in an unknown format". The problem is that mod_rayo raises an error > and the call fails, rather than trying to re-fetch the file. > Is this a bug in the way FreeSWITCH handles he audio file cache > (mod_httapi) ? > Version: 1.4.15 > Here is the FreeSWITCH log snippet: > > 2015-05-28 17:30:36.431962 [DEBUG] mod_ssml.c:812 Open: > > 2015-05-28 17:30:36.431962 [DEBUG] mod_ssml.c:738 Skipping empty tts > 2015-05-28 17:30:36.431962 [DEBUG] mod_ssml.c:597 Adding