From t.mahe at b-and-c.net Tue Dec 1 02:24:25 2015 From: t.mahe at b-and-c.net (=?UTF-8?Q?Tristan_Mah=c3=a9?=) Date: Mon, 30 Nov 2015 15:24:25 -0800 Subject: [Freeswitch-users] bridge problem In-Reply-To: References: Message-ID: <565CDAA9.1000102@b-and-c.net> Maybe a per leg execute_on_ring or api_on_* ? ie data=[api_on_...=bla]firsturi,[api_on_...=blb]seconduri... On 11/28/2015 09:19 AM, huseyin kalyoncu wrote: > i think *loopback* will do the job > > > instead of > > > sorry for the noise > > huseyin > > > On Sat, Nov 28, 2015 at 6:08 PM, huseyin kalyoncu > wrote: > > Hello > > Lets say i have a multiple bridge line like this: > > data="sofia/some_interface/some_uri1,sofia/some_interface/some_uri2,sofia/some_interface/some_uri3"/> > > or a single bridge: > > > > Is there any way to execute different dialplan code for each > bridge string > before directing call to endpoint? > > i tried to set force_transfer_context for even single bridge > string like in given example on this page: > > https://wiki.freeswitch.org/wiki/Force_transfer_context_example > > But it did not worked. It did not transfer call to given context > as expected. > Instead, it executed bridge line directly. > > I can use transfer instead of bridge but it only works for single > extension not for multiple extensions. > > Is there any way to achieve this? > > Thanks, > > Huseyin > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151130/073544b3/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151130/073544b3/attachment-0001.bin From telishisheer at gmail.com Tue Dec 1 08:19:56 2015 From: telishisheer at gmail.com (Shisheer Teli) Date: Tue, 1 Dec 2015 10:49:56 +0530 Subject: [Freeswitch-users] Is LDAP authentication support in freeswitch 1.6.X release. Message-ID: Dear Team, Is LDAP authentication (MD5) supports in freeswitch 1.6.X ? Last time I was tested on freeswitch 1.4.X, and below are the observations. I am able to bind with any alise on ldap server except userPassword (MD5) alise. when i bind password with userPassword , authentication fails. I done some following testing Test 1: when i set openldap userPassword in md5 , in freeswitch cli i saw hash password and authentication failed. Test 2: when i set openldap userPassword in plain text, in freeswitch cli i can see plain text password and authentication success. Authentication works with plain text but not for encrypted password. Configuration file: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/5c47f83e/attachment.html From hkalyoncu at gmail.com Tue Dec 1 10:55:16 2015 From: hkalyoncu at gmail.com (huseyin kalyoncu) Date: Tue, 1 Dec 2015 09:55:16 +0200 Subject: [Freeswitch-users] bridge problem In-Reply-To: <565CDAA9.1000102@b-and-c.net> References: <565CDAA9.1000102@b-and-c.net> Message-ID: Hello Tristan i checked them. but loopback is the better choice for us. thanks for your reply huseyin On Tue, Dec 1, 2015 at 1:24 AM, Tristan Mah? wrote: > Maybe a per leg execute_on_ring or api_on_* ? > > ie data=[api_on_...=bla]firsturi,[api_on_...=blb]seconduri... > > > On 11/28/2015 09:19 AM, huseyin kalyoncu wrote: > > i think *loopback* will do the job > > > instead of > > > sorry for the noise > > huseyin > > > On Sat, Nov 28, 2015 at 6:08 PM, huseyin kalyoncu < > hkalyoncu at gmail.com> wrote: > >> Hello >> >> Lets say i have a multiple bridge line like this: >> >> > data="sofia/some_interface/some_uri1,sofia/some_interface/some_uri2,sofia/some_interface/some_uri3"/> >> >> or a single bridge: >> >> >> >> Is there any way to execute different dialplan code for each bridge string >> before directing call to endpoint? >> >> i tried to set force_transfer_context for even single bridge string like >> in given example on this page: >> >> https://wiki.freeswitch.org/wiki/Force_transfer_context_example >> >> But it did not worked. It did not transfer call to given context as >> expected. >> Instead, it executed bridge line directly. >> >> I can use transfer instead of bridge but it only works for single >> extension not for multiple extensions. >> >> Is there any way to achieve this? >> >> Thanks, >> >> Huseyin >> > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/caef6b39/attachment.html From s.safarov at gmail.com Tue Dec 1 13:07:46 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 1 Dec 2015 13:07:46 +0300 Subject: [Freeswitch-users] bridge problem In-Reply-To: References: <565CDAA9.1000102@b-and-c.net> Message-ID: You can use lua script for generate dialstring example To execute transfer from directory please use my PR https://freeswitch.org/jira/browse/FS-8209 On Tue, Dec 1, 2015 at 10:55 AM, huseyin kalyoncu wrote: > Hello Tristan > > i checked them. but loopback is the better choice for us. > thanks for your reply > > huseyin > > On Tue, Dec 1, 2015 at 1:24 AM, Tristan Mah? wrote: > >> Maybe a per leg execute_on_ring or api_on_* ? >> >> ie data=[api_on_...=bla]firsturi,[api_on_...=blb]seconduri... >> >> >> On 11/28/2015 09:19 AM, huseyin kalyoncu wrote: >> >> i think *loopback* will do the job >> >> >> instead of >> >> >> sorry for the noise >> >> huseyin >> >> >> On Sat, Nov 28, 2015 at 6:08 PM, huseyin kalyoncu < >> hkalyoncu at gmail.com> wrote: >> >>> Hello >>> >>> Lets say i have a multiple bridge line like this: >>> >>> >> data="sofia/some_interface/some_uri1,sofia/some_interface/some_uri2,sofia/some_interface/some_uri3"/> >>> >>> or a single bridge: >>> >>> >>> >>> Is there any way to execute different dialplan code for each bridge >>> string >>> before directing call to endpoint? >>> >>> i tried to set force_transfer_context for even single bridge string >>> like in given example on this page: >>> >>> https://wiki.freeswitch.org/wiki/Force_transfer_context_example >>> >>> But it did not worked. It did not transfer call to given context as >>> expected. >>> Instead, it executed bridge line directly. >>> >>> I can use transfer instead of bridge but it only works for single >>> extension not for multiple extensions. >>> >>> Is there any way to achieve this? >>> >>> Thanks, >>> >>> Huseyin >>> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/9720f006/attachment-0001.html From telishisheer at gmail.com Tue Dec 1 15:17:17 2015 From: telishisheer at gmail.com (Shisheer Teli) Date: Tue, 1 Dec 2015 17:47:17 +0530 Subject: [Freeswitch-users] Concurrent call in freeswitch Message-ID: Dear Team, How many concurrent call FreeSWITCH will handle? -- Regards, Shisheer T -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/803f4ab6/attachment.html From idokan at gmail.com Tue Dec 1 15:25:14 2015 From: idokan at gmail.com (ik) Date: Tue, 1 Dec 2015 14:25:14 +0200 Subject: [Freeswitch-users] Concurrent call in freeswitch In-Reply-To: References: Message-ID: That depends on so many levels, that without knowing exactly what you require, will be impossible to answer. For example bandwidth for VoIP is a factor, IO speed, memory, cpu, other processes, how and what you do with your settings, and more. If you'll create a PoC with what you require it to have, then you'll be better in understanding what you are capable of having. That btw true for every type of system, and not just FS. On Tue, Dec 1, 2015 at 2:17 PM, Shisheer Teli wrote: > Dear Team, > > How many concurrent call FreeSWITCH will handle? > > -- > Regards, > Shisheer T > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/f1ef4308/attachment.html From miha at softnet.si Tue Dec 1 15:33:38 2015 From: miha at softnet.si (Miha) Date: Tue, 1 Dec 2015 13:33:38 +0100 Subject: [Freeswitch-users] Concurrent call in freeswitch In-Reply-To: References: Message-ID: <565D93A2.5070804@softnet.si> Hi, I suggest you do a little research on google ;) But id depends on: - your server - your config . . . . br miha On 01/12/2015 13:17, Shisheer Teli wrote: > Dear Team, > > How many concurrent call FreeSWITCH will handle? > > -- > Regards, > Shisheer T > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/5a1b490f/attachment.html From lte at lte-net.de Tue Dec 1 15:40:27 2015 From: lte at lte-net.de (Fred Schulz) Date: Tue, 1 Dec 2015 12:40:27 +0000 Subject: [Freeswitch-users] [!!Mass Mail]Re: Concurrent call in freeswitch In-Reply-To: References: , Message-ID: <1448973622891.58461@lte-net.de> Please take a look at: https://freeswitch.org/confluence/display/FREESWITCH/Performance+Testing+and+Configurations? As ik sais it depends much on your hardware but more on the network capabilities... ________________________________ Von: freeswitch-users-bounces at lists.freeswitch.org im Auftrag von ik Gesendet: Dienstag, 1. Dezember 2015 13:25 An: FreeSWITCH Users Help Betreff: [!!Mass Mail]Re: [Freeswitch-users] Concurrent call in freeswitch That depends on so many levels, that without knowing exactly what you require, will be impossible to answer. For example bandwidth for VoIP is a factor, IO speed, memory, cpu, other processes, how and what you do with your settings, and more. If you'll create a PoC with what you require it to have, then you'll be better in understanding what you are capable of having. That btw true for every type of system, and not just FS. On Tue, Dec 1, 2015 at 2:17 PM, Shisheer Teli > wrote: Dear Team, How many concurrent call FreeSWITCH will handle? -- Regards, Shisheer T _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/d11d0a6b/attachment.html From dave at dchorton.com Tue Dec 1 16:14:22 2015 From: dave at dchorton.com (Dave Horton) Date: Tue, 1 Dec 2015 08:14:22 -0500 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer Message-ID: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> I?ve developed a nodejs-based freeswitch load balancer that may be of interest to those who prefer Javascript to configuration file-driven routing. Even better if you are a nodejs developer familiar with expressjs or connect, then you may find the nuts of it to be very simple: app.invite( function(req, res) { ... req.proxy({ remainInDialog: false, handleRedirects: true, provisionalTimeout: '1s', destination: targets }, function(err) { if( err ) { console.error('Error proxying request: ', err) ; } }) ; }) ; Details here: http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ From vipkilla at gmail.com Tue Dec 1 16:20:42 2015 From: vipkilla at gmail.com (Vik Killa) Date: Tue, 1 Dec 2015 08:20:42 -0500 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> Message-ID: Hi, I see this is described as a SIP Proxy but you are using the sofia SIP stack. Is this technically a B2BUA or a Proxy? Thanks, /V On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton wrote: > I?ve developed a nodejs-based freeswitch load balancer that may be of > interest to those who prefer Javascript to configuration file-driven > routing. Even better if you are a nodejs developer familiar with expressjs > or connect, then you may find the nuts of it to be very simple: > > > app.invite( function(req, res) { > ... > req.proxy({ > remainInDialog: false, > handleRedirects: true, > provisionalTimeout: '1s', > destination: targets > }, function(err) { > if( err ) { > console.error('Error proxying request: ', err) ; > } > }) ; > }) ; > > > Details here: > > http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/823fe3ea/attachment-0001.html From dave at dchorton.com Tue Dec 1 16:32:29 2015 From: dave at dchorton.com (Dave Horton) Date: Tue, 1 Dec 2015 08:32:29 -0500 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> Message-ID: <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> It is a proxy. I am using the sofia sip stack (specifically nta) which is capable of any type of sip processing, but this application uses it as a SIP proxy. On Dec 1, 2015, at 8:20 AM, Vik Killa > wrote: Hi, I see this is described as a SIP Proxy but you are using the sofia SIP stack. Is this technically a B2BUA or a Proxy? Thanks, /V On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton > wrote: I?ve developed a nodejs-based freeswitch load balancer that may be of interest to those who prefer Javascript to configuration file-driven routing. Even better if you are a nodejs developer familiar with expressjs or connect, then you may find the nuts of it to be very simple: app.invite( function(req, res) { ... req.proxy({ remainInDialog: false, handleRedirects: true, provisionalTimeout: '1s', destination: targets }, function(err) { if( err ) { console.error('Error proxying request: ', err) ; } }) ; }) ; Details here: http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/0a7a42c4/attachment.html From regis.freeswitch.org at tornad.net Tue Dec 1 17:14:29 2015 From: regis.freeswitch.org at tornad.net (Regis M) Date: Tue, 1 Dec 2015 15:14:29 +0100 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> Message-ID: Hi Dave, Does your proxy could act as a stateless proxy or not ? I'm looking for a stateless proxy, I had ever test your solution but haven't find the answer to this question during my test. Thanks Regards, 2015-12-01 14:32 GMT+01:00 Dave Horton : > It is a proxy. I am using the sofia sip stack (specifically nta) which is > capable of any type of sip processing, but this application uses it as a > SIP proxy. > > > On Dec 1, 2015, at 8:20 AM, Vik Killa wrote: > > Hi, > I see this is described as a SIP Proxy but you are using the sofia SIP > stack. > Is this technically a B2BUA or a Proxy? > Thanks, > /V > > On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton wrote: > >> I?ve developed a nodejs-based freeswitch load balancer that may be of >> interest to those who prefer Javascript to configuration file-driven >> routing. Even better if you are a nodejs developer familiar with expressjs >> or connect, then you may find the nuts of it to be very simple: >> >> >> app.invite( function(req, res) { >> ... >> req.proxy({ >> remainInDialog: false, >> handleRedirects: true, >> provisionalTimeout: '1s', >> destination: targets >> }, function(err) { >> if( err ) { >> console.error('Error proxying request: ', err) ; >> } >> }) ; >> }) ; >> >> >> Details here: >> >> http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/701114c6/attachment.html From dave at dchorton.com Tue Dec 1 17:36:00 2015 From: dave at dchorton.com (Dave Horton) Date: Tue, 1 Dec 2015 09:36:00 -0500 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> Message-ID: When people talk about stateful or stateless there can be different interpretations, so I will try to be specific: Call stateful (or stateless): meaning whether the proxy remains in the dialog after a successful INVITE transaction (e.g. to receive subsequent BYE message, in order to do accounting etc). With this proxy, you have a choice of whether to be call stateful or not (depends on setting of the ?remainInDialog? property to the req.proxy method) Stateless proxy: an entity that does not maintain transaction state of client or server SIP transactions, simply forwards request. This proxy is _not_ a stateless proxy, because it needs to maintain transaction state in order to do things like handle temporary failures from one freeswitch and then land the call on another. Dave On Dec 1, 2015, at 9:14 AM, Regis M wrote: Hi Dave, Does your proxy could act as a stateless proxy or not ? I'm looking for a stateless proxy, I had ever test your solution but haven't find the answer to this question during my test. Thanks Regards, 2015-12-01 14:32 GMT+01:00 Dave Horton >: It is a proxy. I am using the sofia sip stack (specifically nta) which is capable of any type of sip processing, but this application uses it as a SIP proxy. On Dec 1, 2015, at 8:20 AM, Vik Killa > wrote: Hi, I see this is described as a SIP Proxy but you are using the sofia SIP stack. Is this technically a B2BUA or a Proxy? Thanks, /V On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton > wrote: I?ve developed a nodejs-based freeswitch load balancer that may be of interest to those who prefer Javascript to configuration file-driven routing. Even better if you are a nodejs developer familiar with expressjs or connect, then you may find the nuts of it to be very simple: app.invite( function(req, res) { ... req.proxy({ remainInDialog: false, handleRedirects: true, provisionalTimeout: '1s', destination: targets }, function(err) { if( err ) { console.error('Error proxying request: ', err) ; } }) ; }) ; Details here: http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/1b73f985/attachment-0001.html From regis.freeswitch.org at tornad.net Tue Dec 1 17:52:12 2015 From: regis.freeswitch.org at tornad.net (Regis M) Date: Tue, 1 Dec 2015 15:52:12 +0100 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> Message-ID: What I need is to have a frontal proxy with same config available on 2 differents IPs. Both of them send request to the same Freeswitch based on config rules. Then, if I change the config and reload both proxy, I could use another Freeswitch without informing customers. The running calls could be lose. IP failover with no proxy and 1 freeswitch is not an option for me.. The proxy need to act as nginx for web... He choose destination based on request rules.. So for me I thnik I need a Stateless proxy. But I'm not interested by the call failover potential... But Your first definition sounds good for me.. Regards, 2015-12-01 15:36 GMT+01:00 Dave Horton : > When people talk about stateful or stateless there can be different > interpretations, so I will try to be specific: > > Call stateful (or stateless): meaning whether the proxy remains in the > dialog after a successful INVITE transaction (e.g. to receive subsequent > BYE message, in order to do accounting etc). With this proxy, you have a > choice of whether to be call stateful or not (depends on setting of the > ?remainInDialog? property to the req.proxy method) > > Stateless proxy: an entity that does not maintain transaction state of > client or server SIP transactions, simply forwards request. This proxy is > _not_ a stateless proxy, because it needs to maintain transaction state in > order to do things like handle temporary failures from one freeswitch and > then land the call on another. > > Dave > > On Dec 1, 2015, at 9:14 AM, Regis M > wrote: > > Hi Dave, > > Does your proxy could act as a stateless proxy or not ? > I'm looking for a stateless proxy, I had ever test your solution but > haven't find the answer to this question during my test. > > Thanks > > Regards, > > > 2015-12-01 14:32 GMT+01:00 Dave Horton : > >> It is a proxy. I am using the sofia sip stack (specifically nta) which >> is capable of any type of sip processing, but this application uses it as a >> SIP proxy. >> >> >> On Dec 1, 2015, at 8:20 AM, Vik Killa wrote: >> >> Hi, >> I see this is described as a SIP Proxy but you are using the sofia SIP >> stack. >> Is this technically a B2BUA or a Proxy? >> Thanks, >> /V >> >> On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton wrote: >> >>> I?ve developed a nodejs-based freeswitch load balancer that may be of >>> interest to those who prefer Javascript to configuration file-driven >>> routing. Even better if you are a nodejs developer familiar with expressjs >>> or connect, then you may find the nuts of it to be very simple: >>> >>> >>> app.invite( function(req, res) { >>> ... >>> req.proxy({ >>> remainInDialog: false, >>> handleRedirects: true, >>> provisionalTimeout: '1s', >>> destination: targets >>> }, function(err) { >>> if( err ) { >>> console.error('Error proxying request: ', err) ; >>> } >>> }) ; >>> }) ; >>> >>> >>> Details here: >>> >>> http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/ca0129ac/attachment.html From vipkilla at gmail.com Tue Dec 1 17:59:09 2015 From: vipkilla at gmail.com (Vik Killa) Date: Tue, 1 Dec 2015 09:59:09 -0500 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> Message-ID: Can it act like a SIP registrar like kamailio or opensips? On Tue, Dec 1, 2015 at 9:52 AM, Regis M wrote: > What I need is to have a frontal proxy with same config available on 2 > differents IPs. > > Both of them send request to the same Freeswitch based on config rules. > > Then, if I change the config and reload both proxy, I could use another > Freeswitch without informing customers. > > The running calls could be lose. > > IP failover with no proxy and 1 freeswitch is not an option for me.. > > The proxy need to act as nginx for web... He choose destination based on > request rules.. > > > So for me I thnik I need a Stateless proxy. But I'm not interested by the > call failover potential... > But Your first definition sounds good for me.. > > Regards, > > > 2015-12-01 15:36 GMT+01:00 Dave Horton : > >> When people talk about stateful or stateless there can be different >> interpretations, so I will try to be specific: >> >> Call stateful (or stateless): meaning whether the proxy remains in the >> dialog after a successful INVITE transaction (e.g. to receive subsequent >> BYE message, in order to do accounting etc). With this proxy, you have a >> choice of whether to be call stateful or not (depends on setting of the >> ?remainInDialog? property to the req.proxy method) >> >> Stateless proxy: an entity that does not maintain transaction state of >> client or server SIP transactions, simply forwards request. This proxy is >> _not_ a stateless proxy, because it needs to maintain transaction state in >> order to do things like handle temporary failures from one freeswitch and >> then land the call on another. >> >> Dave >> >> On Dec 1, 2015, at 9:14 AM, Regis M >> wrote: >> >> Hi Dave, >> >> Does your proxy could act as a stateless proxy or not ? >> I'm looking for a stateless proxy, I had ever test your solution but >> haven't find the answer to this question during my test. >> >> Thanks >> >> Regards, >> >> >> 2015-12-01 14:32 GMT+01:00 Dave Horton : >> >>> It is a proxy. I am using the sofia sip stack (specifically nta) which >>> is capable of any type of sip processing, but this application uses it as a >>> SIP proxy. >>> >>> >>> On Dec 1, 2015, at 8:20 AM, Vik Killa wrote: >>> >>> Hi, >>> I see this is described as a SIP Proxy but you are using the sofia SIP >>> stack. >>> Is this technically a B2BUA or a Proxy? >>> Thanks, >>> /V >>> >>> On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton wrote: >>> >>>> I?ve developed a nodejs-based freeswitch load balancer that may be of >>>> interest to those who prefer Javascript to configuration file-driven >>>> routing. Even better if you are a nodejs developer familiar with expressjs >>>> or connect, then you may find the nuts of it to be very simple: >>>> >>>> >>>> app.invite( function(req, res) { >>>> ... >>>> req.proxy({ >>>> remainInDialog: false, >>>> handleRedirects: true, >>>> provisionalTimeout: '1s', >>>> destination: targets >>>> }, function(err) { >>>> if( err ) { >>>> console.error('Error proxying request: ', err) ; >>>> } >>>> }) ; >>>> }) ; >>>> >>>> >>>> Details here: >>>> >>>> http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ >>>> >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/ae6c6b29/attachment-0001.html From dave at dchorton.com Tue Dec 1 18:02:47 2015 From: dave at dchorton.com (Dave Horton) Date: Tue, 1 Dec 2015 10:02:47 -0500 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> Message-ID: <54DB2968-59A1-4BC5-8967-8502A75255C6@dchorton.com> I?m not sure I completely understand your desired setup ? when you say ?same config available on two different IPs?, are you talking about having two freeswitch servers available as potential targets on two different IPs? Or the proxy running on a multi-homed host that has two different IPs? (Or two instances of the proxy running on different IPs but with the same config?) In any case, to be a load-balancing proxy really means that you need to be at least transaction stateful ? so I don?t think you are actually looking for a stateless proxy. To the extent you want to modify the proxy to change destinations at any time (i.e. to switch new calls to a different freeswitch without informing customers), this proxy will let you do that. You simply would update the configuration file to add your new freeswitch server IP address and associated information, and (if desired) remove the old one. You do not need to restart anything either ? changes like that to the config file are automatically noticed and taken into affect immediately. Dave On Dec 1, 2015, at 9:52 AM, Regis M wrote: What I need is to have a frontal proxy with same config available on 2 differents IPs. Both of them send request to the same Freeswitch based on config rules. Then, if I change the config and reload both proxy, I could use another Freeswitch without informing customers. The running calls could be lose. IP failover with no proxy and 1 freeswitch is not an option for me.. The proxy need to act as nginx for web... He choose destination based on request rules.. So for me I thnik I need a Stateless proxy. But I'm not interested by the call failover potential... But Your first definition sounds good for me.. Regards, 2015-12-01 15:36 GMT+01:00 Dave Horton >: When people talk about stateful or stateless there can be different interpretations, so I will try to be specific: Call stateful (or stateless): meaning whether the proxy remains in the dialog after a successful INVITE transaction (e.g. to receive subsequent BYE message, in order to do accounting etc). With this proxy, you have a choice of whether to be call stateful or not (depends on setting of the ?remainInDialog? property to the req.proxy method) Stateless proxy: an entity that does not maintain transaction state of client or server SIP transactions, simply forwards request. This proxy is _not_ a stateless proxy, because it needs to maintain transaction state in order to do things like handle temporary failures from one freeswitch and then land the call on another. Dave On Dec 1, 2015, at 9:14 AM, Regis M > wrote: Hi Dave, Does your proxy could act as a stateless proxy or not ? I'm looking for a stateless proxy, I had ever test your solution but haven't find the answer to this question during my test. Thanks Regards, 2015-12-01 14:32 GMT+01:00 Dave Horton >: It is a proxy. I am using the sofia sip stack (specifically nta) which is capable of any type of sip processing, but this application uses it as a SIP proxy. On Dec 1, 2015, at 8:20 AM, Vik Killa > wrote: Hi, I see this is described as a SIP Proxy but you are using the sofia SIP stack. Is this technically a B2BUA or a Proxy? Thanks, /V On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton > wrote: I?ve developed a nodejs-based freeswitch load balancer that may be of interest to those who prefer Javascript to configuration file-driven routing. Even better if you are a nodejs developer familiar with expressjs or connect, then you may find the nuts of it to be very simple: app.invite( function(req, res) { ... req.proxy({ remainInDialog: false, handleRedirects: true, provisionalTimeout: '1s', destination: targets }, function(err) { if( err ) { console.error('Error proxying request: ', err) ; } }) ; }) ; Details here: http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/4c4ea3d7/attachment.html From dave at dchorton.com Tue Dec 1 18:06:43 2015 From: dave at dchorton.com (Dave Horton) Date: Tue, 1 Dec 2015 10:06:43 -0500 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> Message-ID: <81483EAC-0672-4E6D-80FD-C328F4D06026@dchorton.com> Out of the box - no. It can distribute registrar messages to your freeswitch servers (like INVITEs), but does not do any user lookup. However, feel free to modify the application to your own needs. If you are a nodejs developer, you will be comfortable adding in a database lookup to the database of your choice, and you will be happy that a specific database schema/user model is not forced on you - use any database, any schema, any means of authentication that you prefer. Dave On Dec 1, 2015, at 9:59 AM, Vik Killa wrote: Can it act like a SIP registrar like kamailio or opensips? On Tue, Dec 1, 2015 at 9:52 AM, Regis M > wrote: What I need is to have a frontal proxy with same config available on 2 differents IPs. Both of them send request to the same Freeswitch based on config rules. Then, if I change the config and reload both proxy, I could use another Freeswitch without informing customers. The running calls could be lose. IP failover with no proxy and 1 freeswitch is not an option for me.. The proxy need to act as nginx for web... He choose destination based on request rules.. So for me I thnik I need a Stateless proxy. But I'm not interested by the call failover potential... But Your first definition sounds good for me.. Regards, 2015-12-01 15:36 GMT+01:00 Dave Horton >: When people talk about stateful or stateless there can be different interpretations, so I will try to be specific: Call stateful (or stateless): meaning whether the proxy remains in the dialog after a successful INVITE transaction (e.g. to receive subsequent BYE message, in order to do accounting etc). With this proxy, you have a choice of whether to be call stateful or not (depends on setting of the ?remainInDialog? property to the req.proxy method) Stateless proxy: an entity that does not maintain transaction state of client or server SIP transactions, simply forwards request. This proxy is _not_ a stateless proxy, because it needs to maintain transaction state in order to do things like handle temporary failures from one freeswitch and then land the call on another. Dave On Dec 1, 2015, at 9:14 AM, Regis M > wrote: Hi Dave, Does your proxy could act as a stateless proxy or not ? I'm looking for a stateless proxy, I had ever test your solution but haven't find the answer to this question during my test. Thanks Regards, 2015-12-01 14:32 GMT+01:00 Dave Horton >: It is a proxy. I am using the sofia sip stack (specifically nta) which is capable of any type of sip processing, but this application uses it as a SIP proxy. On Dec 1, 2015, at 8:20 AM, Vik Killa > wrote: Hi, I see this is described as a SIP Proxy but you are using the sofia SIP stack. Is this technically a B2BUA or a Proxy? Thanks, /V On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton > wrote: I?ve developed a nodejs-based freeswitch load balancer that may be of interest to those who prefer Javascript to configuration file-driven routing. Even better if you are a nodejs developer familiar with expressjs or connect, then you may find the nuts of it to be very simple: app.invite( function(req, res) { ... req.proxy({ remainInDialog: false, handleRedirects: true, provisionalTimeout: '1s', destination: targets }, function(err) { if( err ) { console.error('Error proxying request: ', err) ; } }) ; }) ; Details here: http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/a4cf2f9e/attachment-0001.html From norm at appointmentworks.net Tue Dec 1 18:17:38 2015 From: norm at appointmentworks.net (Norman Boccone) Date: Tue, 01 Dec 2015 07:17:38 -0800 Subject: [Freeswitch-users] busy signal sent but invalid message playing Message-ID: <1515e1ed92b.c3a3f3e370025.5201962552862228271@appointmentworks.net> I am using freeswitch 1.4.26 with twilio sip trunking. I am using limit to limit the number of sessions: <action application="limit" data="hash orgCount org 10 !USER_BUSY" /> freeswitch seems to handle it properly and sends busy code back to twilio. Twilio logs show the call as busy. However, the message the user hears is invalid number. Is this a twilio issue or am I supposed to be handling things differently? Thanks in advance, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/04f67e3c/attachment.html From shabbirabbasi92 at gmail.com Tue Dec 1 18:26:43 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Tue, 1 Dec 2015 20:26:43 +0500 Subject: [Freeswitch-users] hangupcause:success ? if call not answer mod_gsmopen Message-ID: IN JAVASCRIPT when we try to dialout via session.execute("bridge", "gsmopen/gsm01/123456789"); if call is answered or not or busy endpoint_disposition = get_Variable("endpoint_disposition"); originate_disposition = get_Variable("originate_disposition"); console_log( "info"," originate_disposition : "+ originate_disposition +" "); console_log( "info"," Dial Status : "+ endpoint_disposition +" "); Result is always only "SUCCESS" ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/6b0fd826/attachment.html From gmaruzz at gmail.com Tue Dec 1 18:37:24 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 1 Dec 2015 16:37:24 +0100 Subject: [Freeswitch-users] hangupcause:success ? if call not answer mod_gsmopen In-Reply-To: References: Message-ID: please add a jira issue for this one. http://jira.freeswitch.org On Tue, Dec 1, 2015 at 4:26 PM, Shabbir abbasi wrote: > IN JAVASCRIPT when we try to dialout via session.execute("bridge", > "gsmopen/gsm01/123456789"); > if call is answered or not or busy > endpoint_disposition = get_Variable("endpoint_disposition"); > originate_disposition = get_Variable("originate_disposition"); > console_log( "info"," originate_disposition : "+ > originate_disposition +" "); > console_log( "info"," Dial Status : "+ endpoint_disposition > +" "); > > Result is always only "SUCCESS" ? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/7b139df9/attachment.html From avi at avimarcus.net Tue Dec 1 18:47:32 2015 From: avi at avimarcus.net (Avi Marcus) Date: Tue, 1 Dec 2015 15:47:32 +0000 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: <54DB2968-59A1-4BC5-8967-8502A75255C6@dchorton.com> References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> <54DB2968-59A1-4BC5-8967-8502A75255C6@dchorton.com> Message-ID: <000001515e3a3888-97ca88c7-5c0a-4c48-94b4-4be8f7e4f827-000000@email.amazonses.com> I think what Regis M wants to know -- and I'm curious -- is how to configure like so: Set up your load balancer on two different machine, with a floating IP. When requests come in, it forwards them to the list of FS servers. The point of the statelessness is that if the floating IP is switched at *any *moment, you don't lose *any *calls since it's "stateless" and the SIP Dialog contains all the necessary information. I'd really like to check this out since I am "all-in" to node.js and kamailio seems rather obscure to me. -Avi Marcus On Tue, Dec 1, 2015 at 5:02 PM, Dave Horton wrote: > I?m not sure I completely understand your desired setup ? when you say > ?same config available on two different IPs?, are you talking about having > two freeswitch servers available as potential targets on two different > IPs? Or the proxy running on a multi-homed host that has two different > IPs? (Or two instances of the proxy running on different IPs but with the > same config?) > > In any case, to be a load-balancing proxy really means that you need to be > at least transaction stateful ? so I don?t think you are actually looking > for a stateless proxy. > > To the extent you want to modify the proxy to change destinations at any > time (i.e. to switch new calls to a different freeswitch without informing > customers), this proxy will let you do that. You simply would update the > configuration file to add your new freeswitch server IP address and > associated information, and (if desired) remove the old one. You do not > need to restart anything either ? changes like that to the config file are > automatically noticed and taken into affect immediately. > > Dave > > On Dec 1, 2015, at 9:52 AM, Regis M > wrote: > > What I need is to have a frontal proxy with same config available on 2 > differents IPs. > > Both of them send request to the same Freeswitch based on config rules. > > Then, if I change the config and reload both proxy, I could use another > Freeswitch without informing customers. > > The running calls could be lose. > > IP failover with no proxy and 1 freeswitch is not an option for me.. > > The proxy need to act as nginx for web... He choose destination based on > request rules.. > > > So for me I thnik I need a Stateless proxy. But I'm not interested by the > call failover potential... > But Your first definition sounds good for me.. > > Regards, > > > 2015-12-01 15:36 GMT+01:00 Dave Horton : > >> When people talk about stateful or stateless there can be different >> interpretations, so I will try to be specific: >> >> Call stateful (or stateless): meaning whether the proxy remains in the >> dialog after a successful INVITE transaction (e.g. to receive subsequent >> BYE message, in order to do accounting etc). With this proxy, you have a >> choice of whether to be call stateful or not (depends on setting of the >> ?remainInDialog? property to the req.proxy method) >> >> Stateless proxy: an entity that does not maintain transaction state of >> client or server SIP transactions, simply forwards request. This proxy is >> _not_ a stateless proxy, because it needs to maintain transaction state in >> order to do things like handle temporary failures from one freeswitch and >> then land the call on another. >> >> Dave >> >> On Dec 1, 2015, at 9:14 AM, Regis M >> wrote: >> >> Hi Dave, >> >> Does your proxy could act as a stateless proxy or not ? >> I'm looking for a stateless proxy, I had ever test your solution but >> haven't find the answer to this question during my test. >> >> Thanks >> >> Regards, >> >> >> 2015-12-01 14:32 GMT+01:00 Dave Horton : >> >>> It is a proxy. I am using the sofia sip stack (specifically nta) which >>> is capable of any type of sip processing, but this application uses it as a >>> SIP proxy. >>> >>> >>> On Dec 1, 2015, at 8:20 AM, Vik Killa wrote: >>> >>> Hi, >>> I see this is described as a SIP Proxy but you are using the sofia SIP >>> stack. >>> Is this technically a B2BUA or a Proxy? >>> Thanks, >>> /V >>> >>> On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton wrote: >>> >>>> I?ve developed a nodejs-based freeswitch load balancer that may be of >>>> interest to those who prefer Javascript to configuration file-driven >>>> routing. Even better if you are a nodejs developer familiar with expressjs >>>> or connect, then you may find the nuts of it to be very simple: >>>> >>>> >>>> app.invite( function(req, res) { >>>> ... >>>> req.proxy({ >>>> remainInDialog: false, >>>> handleRedirects: true, >>>> provisionalTimeout: '1s', >>>> destination: targets >>>> }, function(err) { >>>> if( err ) { >>>> console.error('Error proxying request: ', err) ; >>>> } >>>> }) ; >>>> }) ; >>>> >>>> >>>> Details here: >>>> >>>> http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ >>>> >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/5788e43d/attachment-0001.html From mgg at giagnocavo.net Tue Dec 1 18:49:31 2015 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Tue, 1 Dec 2015 15:49:31 +0000 Subject: [Freeswitch-users] [!!Mass Mail]Re: Concurrent call in freeswitch In-Reply-To: <1448973622891.58461@lte-net.de> References: , <1448973622891.58461@lte-net.de> Message-ID: TLDR; if FS is slow enough to cause financial strain, you need a new business model. For a single number (and a few others have told me similar numbers), using dual socket Xeon 5400 systems (stock Dell whatevers), no tuning, using xml_cdr and xml_curl (for dialplan), we seemed to top out at around 500-1000 calls/sec, no media (on FS 1.2). I have personally seen a Q6600 running Windows inside Hyper-V do 500 sessions/sec on pre-1.2 (no media). One tip: Run separate FS processes on their own IP; usually one FS process per couple of cores. There?s a few hotspots (event headers) that could be reworked with a bit of time (read: money) if you need faster signaling. For RTP, I don?t really know but people seem happy. And if RTP was a bottleneck, again, with some money you could get a kernel-bypass usermode RTP stack and attain happiness. Maybe. But all the caveats listed below still apply. Generally FreeSWITCH is ?fast enough? and servers are so cheap ($400 or so?) you can always toss another one in the mix so it doesn?t seem to bother most people in production unless you?re obsessed with perf for some reason. -Michael From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Fred Schulz Sent: Tuesday, 1 December, 2015 6:40 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] [!!Mass Mail]Re: Concurrent call in freeswitch Please take a look at: https://freeswitch.org/confluence/display/FREESWITCH/Performance+Testing+and+Configurations? As ik sais it depends much on your hardware but more on the network capabilities... ________________________________ Von: freeswitch-users-bounces at lists.freeswitch.org > im Auftrag von ik > Gesendet: Dienstag, 1. Dezember 2015 13:25 An: FreeSWITCH Users Help Betreff: [!!Mass Mail]Re: [Freeswitch-users] Concurrent call in freeswitch That depends on so many levels, that without knowing exactly what you require, will be impossible to answer. For example bandwidth for VoIP is a factor, IO speed, memory, cpu, other processes, how and what you do with your settings, and more. If you'll create a PoC with what you require it to have, then you'll be better in understanding what you are capable of having. That btw true for every type of system, and not just FS. On Tue, Dec 1, 2015 at 2:17 PM, Shisheer Teli > wrote: Dear Team, How many concurrent call FreeSWITCH will handle? -- Regards, Shisheer T _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/929d542e/attachment.html From dave at dchorton.com Tue Dec 1 18:58:40 2015 From: dave at dchorton.com (Dave Horton) Date: Tue, 1 Dec 2015 10:58:40 -0500 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: <000001515e3a3888-97ca88c7-5c0a-4c48-94b4-4be8f7e4f827-000000@email.amazonses.com> References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> <54DB2968-59A1-4BC5-8967-8502A75255C6@dchorton.com> <000001515e3a3888-97ca88c7-5c0a-4c48-94b4-4be8f7e4f827-000000@email.amazonses.com> Message-ID: Ah, ok. Thanks for the clarification. I don?t have a perfect solution matching that at the moment, since the SIP proxy is transaction stateful and that transaction state will be lost at the point of failover for a transaction in progress at that moment. However, the impact on transactions in progress may be minimal, because incoming responses back from freeswitch _will_ be properly routed back to the sender (based on the Via header). What you would lose for those transactions in flight would be the crankback to try a different freeswitch server if you got a failure response from one. Depending on your requirements, that may be ok. (For the ?perfect? solution I would need to modify the underlying sip server to offload transaction state into redis or something like that so full transaction state would be available on failover, which is an idea I?ve been toying with). Of course, running the proxy on two servers with a floating IP is simple, I use keepalived for that and could share my config if that is useful. I also modify the sysctl params to allow the offline node to bind to a non-local IP so that both SIP servers (online and offline) are running all of the time and there is no delay on startup/failover as the SIP stack is already running and ready for traffic. Dave On Dec 1, 2015, at 10:47 AM, Avi Marcus wrote: I think what Regis M wants to know -- and I'm curious -- is how to configure like so: Set up your load balancer on two different machine, with a floating IP. When requests come in, it forwards them to the list of FS servers. The point of the statelessness is that if the floating IP is switched at any moment, you don't lose any calls since it's "stateless" and the SIP Dialog contains all the necessary information. I'd really like to check this out since I am "all-in" to node.js and kamailio seems rather obscure to me. -Avi Marcus On Tue, Dec 1, 2015 at 5:02 PM, Dave Horton > wrote: I?m not sure I completely understand your desired setup ? when you say ?same config available on two different IPs?, are you talking about having two freeswitch servers available as potential targets on two different IPs? Or the proxy running on a multi-homed host that has two different IPs? (Or two instances of the proxy running on different IPs but with the same config?) In any case, to be a load-balancing proxy really means that you need to be at least transaction stateful ? so I don?t think you are actually looking for a stateless proxy. To the extent you want to modify the proxy to change destinations at any time (i.e. to switch new calls to a different freeswitch without informing customers), this proxy will let you do that. You simply would update the configuration file to add your new freeswitch server IP address and associated information, and (if desired) remove the old one. You do not need to restart anything either ? changes like that to the config file are automatically noticed and taken into affect immediately. Dave On Dec 1, 2015, at 9:52 AM, Regis M > wrote: What I need is to have a frontal proxy with same config available on 2 differents IPs. Both of them send request to the same Freeswitch based on config rules. Then, if I change the config and reload both proxy, I could use another Freeswitch without informing customers. The running calls could be lose. IP failover with no proxy and 1 freeswitch is not an option for me.. The proxy need to act as nginx for web... He choose destination based on request rules.. So for me I thnik I need a Stateless proxy. But I'm not interested by the call failover potential... But Your first definition sounds good for me.. Regards, 2015-12-01 15:36 GMT+01:00 Dave Horton >: When people talk about stateful or stateless there can be different interpretations, so I will try to be specific: Call stateful (or stateless): meaning whether the proxy remains in the dialog after a successful INVITE transaction (e.g. to receive subsequent BYE message, in order to do accounting etc). With this proxy, you have a choice of whether to be call stateful or not (depends on setting of the ?remainInDialog? property to the req.proxy method) Stateless proxy: an entity that does not maintain transaction state of client or server SIP transactions, simply forwards request. This proxy is _not_ a stateless proxy, because it needs to maintain transaction state in order to do things like handle temporary failures from one freeswitch and then land the call on another. Dave On Dec 1, 2015, at 9:14 AM, Regis M > wrote: Hi Dave, Does your proxy could act as a stateless proxy or not ? I'm looking for a stateless proxy, I had ever test your solution but haven't find the answer to this question during my test. Thanks Regards, 2015-12-01 14:32 GMT+01:00 Dave Horton >: It is a proxy. I am using the sofia sip stack (specifically nta) which is capable of any type of sip processing, but this application uses it as a SIP proxy. On Dec 1, 2015, at 8:20 AM, Vik Killa > wrote: Hi, I see this is described as a SIP Proxy but you are using the sofia SIP stack. Is this technically a B2BUA or a Proxy? Thanks, /V On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton > wrote: I?ve developed a nodejs-based freeswitch load balancer that may be of interest to those who prefer Javascript to configuration file-driven routing. Even better if you are a nodejs developer familiar with expressjs or connect, then you may find the nuts of it to be very simple: app.invite( function(req, res) { ... req.proxy({ remainInDialog: false, handleRedirects: true, provisionalTimeout: '1s', destination: targets }, function(err) { if( err ) { console.error('Error proxying request: ', err) ; } }) ; }) ; Details here: http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/41d38900/attachment-0001.html From regis.freeswitch.org at tornad.net Tue Dec 1 19:02:06 2015 From: regis.freeswitch.org at tornad.net (Regis M) Date: Tue, 1 Dec 2015 17:02:06 +0100 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: <000001515e3a3888-97ca88c7-5c0a-4c48-94b4-4be8f7e4f827-000000@email.amazonses.com> References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> <54DB2968-59A1-4BC5-8967-8502A75255C6@dchorton.com> <000001515e3a3888-97ca88c7-5c0a-4c48-94b4-4be8f7e4f827-000000@email.amazonses.com> Message-ID: Thanks Marcus, it's that, and more clear :) Instead, there's no need for Floating IP. I want to configure with round robin DNS. So request can hit proxy1(ip1) or proxy2 (ip2) , the requests are proxyed to the same Freeswitch... >I'd really like to check this out since I am "all-in" to node.js and kamailio seems rather obscure to me. +1 Regards, 2015-12-01 16:47 GMT+01:00 Avi Marcus : > I think what Regis M wants to know -- and I'm curious -- is how to > configure like so: > > Set up your load balancer on two different machine, with a floating IP. > When requests come in, it forwards them to the list of FS servers. > > The point of the statelessness is that if the floating IP is switched at *any > *moment, you don't lose *any *calls since it's "stateless" and the SIP > Dialog contains all the necessary information. > > I'd really like to check this out since I am "all-in" to node.js and > kamailio seems rather obscure to me. > > > -Avi Marcus > > On Tue, Dec 1, 2015 at 5:02 PM, Dave Horton wrote: > >> I?m not sure I completely understand your desired setup ? when you say >> ?same config available on two different IPs?, are you talking about having >> two freeswitch servers available as potential targets on two different >> IPs? Or the proxy running on a multi-homed host that has two different >> IPs? (Or two instances of the proxy running on different IPs but with the >> same config?) >> >> In any case, to be a load-balancing proxy really means that you need to >> be at least transaction stateful ? so I don?t think you are actually >> looking for a stateless proxy. >> >> To the extent you want to modify the proxy to change destinations at any >> time (i.e. to switch new calls to a different freeswitch without informing >> customers), this proxy will let you do that. You simply would update the >> configuration file to add your new freeswitch server IP address and >> associated information, and (if desired) remove the old one. You do not >> need to restart anything either ? changes like that to the config file are >> automatically noticed and taken into affect immediately. >> >> Dave >> >> On Dec 1, 2015, at 9:52 AM, Regis M >> wrote: >> >> What I need is to have a frontal proxy with same config available on 2 >> differents IPs. >> >> Both of them send request to the same Freeswitch based on config rules. >> >> Then, if I change the config and reload both proxy, I could use another >> Freeswitch without informing customers. >> >> The running calls could be lose. >> >> IP failover with no proxy and 1 freeswitch is not an option for me.. >> >> The proxy need to act as nginx for web... He choose destination based on >> request rules.. >> >> >> So for me I thnik I need a Stateless proxy. But I'm not interested by >> the call failover potential... >> But Your first definition sounds good for me.. >> >> Regards, >> >> >> 2015-12-01 15:36 GMT+01:00 Dave Horton : >> >>> When people talk about stateful or stateless there can be different >>> interpretations, so I will try to be specific: >>> >>> Call stateful (or stateless): meaning whether the proxy remains in the >>> dialog after a successful INVITE transaction (e.g. to receive subsequent >>> BYE message, in order to do accounting etc). With this proxy, you have a >>> choice of whether to be call stateful or not (depends on setting of the >>> ?remainInDialog? property to the req.proxy method) >>> >>> Stateless proxy: an entity that does not maintain transaction state of >>> client or server SIP transactions, simply forwards request. This proxy is >>> _not_ a stateless proxy, because it needs to maintain transaction state in >>> order to do things like handle temporary failures from one freeswitch and >>> then land the call on another. >>> >>> Dave >>> >>> On Dec 1, 2015, at 9:14 AM, Regis M >>> wrote: >>> >>> Hi Dave, >>> >>> Does your proxy could act as a stateless proxy or not ? >>> I'm looking for a stateless proxy, I had ever test your solution but >>> haven't find the answer to this question during my test. >>> >>> Thanks >>> >>> Regards, >>> >>> >>> 2015-12-01 14:32 GMT+01:00 Dave Horton : >>> >>>> It is a proxy. I am using the sofia sip stack (specifically nta) which >>>> is capable of any type of sip processing, but this application uses it as a >>>> SIP proxy. >>>> >>>> >>>> On Dec 1, 2015, at 8:20 AM, Vik Killa wrote: >>>> >>>> Hi, >>>> I see this is described as a SIP Proxy but you are using the sofia SIP >>>> stack. >>>> Is this technically a B2BUA or a Proxy? >>>> Thanks, >>>> /V >>>> >>>> On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton wrote: >>>> >>>>> I?ve developed a nodejs-based freeswitch load balancer that may be of >>>>> interest to those who prefer Javascript to configuration file-driven >>>>> routing. Even better if you are a nodejs developer familiar with expressjs >>>>> or connect, then you may find the nuts of it to be very simple: >>>>> >>>>> >>>>> app.invite( function(req, res) { >>>>> ... >>>>> req.proxy({ >>>>> remainInDialog: false, >>>>> handleRedirects: true, >>>>> provisionalTimeout: '1s', >>>>> destination: targets >>>>> }, function(err) { >>>>> if( err ) { >>>>> console.error('Error proxying request: ', err) ; >>>>> } >>>>> }) ; >>>>> }) ; >>>>> >>>>> >>>>> Details here: >>>>> >>>>> http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/194481f0/attachment-0001.html From dave at dchorton.com Tue Dec 1 19:25:01 2015 From: dave at dchorton.com (Dave Horton) Date: Tue, 1 Dec 2015 11:25:01 -0500 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> <54DB2968-59A1-4BC5-8967-8502A75255C6@dchorton.com> <000001515e3a3888-97ca88c7-5c0a-4c48-94b4-4be8f7e4f827-000000@email.amazonses.com> Message-ID: I realized I may not have been quite clear on something in my answer.. The sip proxy is transaction stateful, but not dialog-stateful. So, for instance, if you configured the proxy to remain in the dialog (i.e., you wanted to receive BYE messages, etc during the dialog), there will be no impact to calls of a failure mid-call (after dialog established) since requests will be routed based on Record-Route header and responses will be routed based on Via header. The only impact, and it is minimal, is what I stated before: a new INVITE in flight transaction will work, but with loss of the ?crankback? feature if the freeswitch selected returns a failure and you would have preferred to then generate a new INVITE (from the proxy) to an alternative freeswitch. On Dec 1, 2015, at 10:58 AM, Dave Horton wrote: Ah, ok. Thanks for the clarification. I don?t have a perfect solution matching that at the moment, since the SIP proxy is transaction stateful and that transaction state will be lost at the point of failover for a transaction in progress at that moment. However, the impact on transactions in progress may be minimal, because incoming responses back from freeswitch _will_ be properly routed back to the sender (based on the Via header). What you would lose for those transactions in flight would be the crankback to try a different freeswitch server if you got a failure response from one. Depending on your requirements, that may be ok. (For the ?perfect? solution I would need to modify the underlying sip server to offload transaction state into redis or something like that so full transaction state would be available on failover, which is an idea I?ve been toying with). Of course, running the proxy on two servers with a floating IP is simple, I use keepalived for that and could share my config if that is useful. I also modify the sysctl params to allow the offline node to bind to a non-local IP so that both SIP servers (online and offline) are running all of the time and there is no delay on startup/failover as the SIP stack is already running and ready for traffic. Dave On Dec 1, 2015, at 10:47 AM, Avi Marcus > wrote: I think what Regis M wants to know -- and I'm curious -- is how to configure like so: Set up your load balancer on two different machine, with a floating IP. When requests come in, it forwards them to the list of FS servers. The point of the statelessness is that if the floating IP is switched at any moment, you don't lose any calls since it's "stateless" and the SIP Dialog contains all the necessary information. I'd really like to check this out since I am "all-in" to node.js and kamailio seems rather obscure to me. -Avi Marcus On Tue, Dec 1, 2015 at 5:02 PM, Dave Horton > wrote: I?m not sure I completely understand your desired setup ? when you say ?same config available on two different IPs?, are you talking about having two freeswitch servers available as potential targets on two different IPs? Or the proxy running on a multi-homed host that has two different IPs? (Or two instances of the proxy running on different IPs but with the same config?) In any case, to be a load-balancing proxy really means that you need to be at least transaction stateful ? so I don?t think you are actually looking for a stateless proxy. To the extent you want to modify the proxy to change destinations at any time (i.e. to switch new calls to a different freeswitch without informing customers), this proxy will let you do that. You simply would update the configuration file to add your new freeswitch server IP address and associated information, and (if desired) remove the old one. You do not need to restart anything either ? changes like that to the config file are automatically noticed and taken into affect immediately. Dave On Dec 1, 2015, at 9:52 AM, Regis M > wrote: What I need is to have a frontal proxy with same config available on 2 differents IPs. Both of them send request to the same Freeswitch based on config rules. Then, if I change the config and reload both proxy, I could use another Freeswitch without informing customers. The running calls could be lose. IP failover with no proxy and 1 freeswitch is not an option for me.. The proxy need to act as nginx for web... He choose destination based on request rules.. So for me I thnik I need a Stateless proxy. But I'm not interested by the call failover potential... But Your first definition sounds good for me.. Regards, 2015-12-01 15:36 GMT+01:00 Dave Horton >: When people talk about stateful or stateless there can be different interpretations, so I will try to be specific: Call stateful (or stateless): meaning whether the proxy remains in the dialog after a successful INVITE transaction (e.g. to receive subsequent BYE message, in order to do accounting etc). With this proxy, you have a choice of whether to be call stateful or not (depends on setting of the ?remainInDialog? property to the req.proxy method) Stateless proxy: an entity that does not maintain transaction state of client or server SIP transactions, simply forwards request. This proxy is _not_ a stateless proxy, because it needs to maintain transaction state in order to do things like handle temporary failures from one freeswitch and then land the call on another. Dave On Dec 1, 2015, at 9:14 AM, Regis M > wrote: Hi Dave, Does your proxy could act as a stateless proxy or not ? I'm looking for a stateless proxy, I had ever test your solution but haven't find the answer to this question during my test. Thanks Regards, 2015-12-01 14:32 GMT+01:00 Dave Horton >: It is a proxy. I am using the sofia sip stack (specifically nta) which is capable of any type of sip processing, but this application uses it as a SIP proxy. On Dec 1, 2015, at 8:20 AM, Vik Killa > wrote: Hi, I see this is described as a SIP Proxy but you are using the sofia SIP stack. Is this technically a B2BUA or a Proxy? Thanks, /V On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton > wrote: I?ve developed a nodejs-based freeswitch load balancer that may be of interest to those who prefer Javascript to configuration file-driven routing. Even better if you are a nodejs developer familiar with expressjs or connect, then you may find the nuts of it to be very simple: app.invite( function(req, res) { ... req.proxy({ remainInDialog: false, handleRedirects: true, provisionalTimeout: '1s', destination: targets }, function(err) { if( err ) { console.error('Error proxying request: ', err) ; } }) ; }) ; Details here: http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/2bf59ff8/attachment-0001.html From steveayre at gmail.com Tue Dec 1 20:45:36 2015 From: steveayre at gmail.com (Steven Ayre) Date: Tue, 1 Dec 2015 17:45:36 +0000 Subject: [Freeswitch-users] FreeSWITCH version 1.4.x end of life - recommendation please In-Reply-To: References: <875F45BD-F2C9-4E63-ADEC-669F54C61D06@jerris.com> Message-ID: > > Matching what we use is only relevant for 2 cases. > 1) If you want the video functionality to work. most of the media and > codec libs are not packages everywhere and they need to be very recent > versions. Most of what we can do right now in video was not possible 8 > months ago. Luis, if you're finding dependancy problems there's a good chance you don't need all of the modules and can avoid quite a few of the dependancy problems by compiling from source and omitting those modules from the build. See the modules.conf file (see example build/modules.conf.in - edit and drop it in the same directory as bootstrap.sh named as modules.conf before running bootstrap and configure). If you can't omit it then you're using the library and if you can't build it against your system version then there's a fair chance your system version is too old to support the feature you're wanting to use, since generally speaking interfaces don't change too much unless features are changing. On 20 November 2015 at 22:42, Anthony Minessale wrote: > > > On Thu, Nov 19, 2015 at 5:46 PM, Luis Daniel Lucio Quiroz < > luis.daniel.lucio at gmail.com> wrote: > >> You totally got me wrong. >> >> I was trying to conciliate between the two parts. As someone reclaim the >> current state of systems. I won't try it again. >> >> And answering your statement. What is your parameter to establish a >> distribution is still the same? I was able to build fs16 under centos6. It >> is still centos6, it was no easy. My productions servers have been running >> without issues. >> > > You can backpedal if you want but you made a reference to the project > being killed for trying to find a stable ongoing platform in Debian among > 1000 chaotic distro choices despite the fact that we also still work on a > best effort to support every platform. Naturally when you make statements > to cause a whole group of people to think they are wrong for not agreeing > with you, they will get annoyed. You still don't see our point or you > would not continue to argue. Its like we are having a party and you come > over to our house and we have some potato chips out with french onion dip > and you tell us our party is a dud because we don't have dill dip. You > wan't some dill dip, bring some dill dip.....We'll bring the chips. > > > >> As far as I remember, the only core lib I updated was alsa, because a >> module looking for a especific function. All others were new rpm's or >> updates and They were not part of core (like glib, dbus, udev just to name >> examples). Note I am talking about using RPM all time, I don't use >> tarballs as I agree with you that doing that breaks any distribution soul. >> >> I disagree when you imply that you must match versions you use. If that >> would be true, many other big projects would not work. When back porting, >> You just must match what you need. >> >> > > Matching what we use is only relevant for 2 cases. > > 1) If you want the video functionality to work. most of the media and > codec libs are not packages everywhere and they need to be very recent > versions. Most of what we can do right now in video was not possible 8 > months ago. > > 2) You need help. If a bug ends up related to system lib related issues > and it is using a version we are unfamiliar with, then we have to stop > there. > > > > >> I agree this is a problem of any 5+ years support distribution; we just >> have to live with it. >> >> Said this. I think the main topic of discussion was lost. >> > > The main topic is, if you want CentOS to work, help the people who are > working on it to get it working. We supply the build servers and keep an > eye on it but we need people who actually care about it to work on doing it > right and doing it in a way that will allow things to work on ALL > PLATFORMS. Many build patches for one OS are not sufficient because they > break the builds on other platforms. > Its just like code, you need to write code that works in all paths, not > just the one you happen to care about. Keep that in mind and help out and > you will have working RPMs. It has nothing to do with what we prefer or > not. > > > > >> Le 19 nov. 2015 5:32 PM, "Anthony Minessale" >> a ?crit : >> >>> >>> >>> On Thursday, November 19, 2015, Luis Daniel Lucio Quiroz < >>> luis.daniel.lucio at gmail.com> wrote: >>> >>>> I think this is a big misunderstanding >>>> >>>> Brian is right by saying the hard work is done. >>>> >>>> But the position the FreeSWITCH project has taken about pushing Debian >>>> is a killer for the project. >>>> >>>> It is very common that the favor becomes obligation. Specially for >>>> those who doesn't understand the open source thinking. But no one can push >>>> any one to do things. >>>> >>> >>> I do not appreciate the FUD. You clearly take for granted the burden >>> of managing a project. Try to be more considerate. >>> >>> If you know how to compile code, you can check out git master and go >>> find the tarballs of every dependancy and build, install or make packages >>> of it and it will work. >>> Our packages are a luxury designed to be used by community members who >>> do not wish to take on the task themselves. If you do not like them, don't >>> use them. >>> >>> If you want to make CentOS work the same as Debian, you simply have to >>> manually update all the depends to match the exact versions we use and deal >>> with the cascading dependency yourself. >>> Once you are done, it will not be CentOS anymore because of all the >>> modifications. The are behind on libraries because the longer time moves >>> on the harder it is to update all the packages on the distro. >>> We only have resources for one permutation of this nightmare and with >>> Debian we only have to deal with 2% of the problems CentOS currently has. >>> If CentOS finally decides to catch up, you will have an easier time >>> getting things to work but that time is not now. >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>> Le 19 nov. 2015 12:21 PM, "Brian West" a ?crit : >>>> >>>>> You're highlighting why we have an open source community, its where >>>>> the community steps up, helps figure this out and contributes the solution >>>>> to the problem for all to benefit from, Its the least anyone could do thats >>>>> running FreeSWITCH as the hardest part is already done for you for free! :) >>>>> >>>>> /b >>>>> >>>>> >>>>> On Thu, Nov 19, 2015 at 5:41 AM, Olgierd Ziolko >>>> > wrote: >>>>> >>>>>> Hi* >>>>>> >>>>>> But when it's cross-checked against inventory or network drawings >>>>>> he's going to be busted (and put in much worse position). >>>>>> >>>>>> Personally I find CentOS 7 waaaaaay too edgy for corporate >>>>>> requirements - we (as in my company) are running servers on specific OS >>>>>> version (inc. 6.5, but not 7), custom subset of software, sometimes with >>>>>> custom patches, customised (a whole lot) kernel, so I just can't afford >>>>>> throwing it all out the window just for the sake of using most recent >>>>>> packaged version (and when we're at packages: Debian's packaging is >>>>>> horrendous, how can't such simply systemd service file problem unresolved >>>>>> for months?). >>>>>> >>>>>> So I'm very on the Andrew's (the first) side. >>>>>> >>>>>> * hello everyone, I'm kind of fresh FreeSWITCH user and I'll try my >>>>>> best to contribute to the community (because I've already got so much). >>>>>> Thank you all. >>>>>> >>>>>> On 19 November 2015 at 10:29, Andrew Cassidy < >>>>>> andrew at cassidywebservices.co.uk> wrote: >>>>>> >>>>>>> You can pass PCI-DSS with proper firewall rules. For example, if you >>>>>>> FS server only needs to accept calls from certain IP addresses, firewalling >>>>>>> it out will pass the automated tests easily. >>>>>>> >>>>>>> I know it's not ideal, but I've managed to make unpatched Windows >>>>>>> 2003 servers pass the automated tests just by hiding them behind a proxy. >>>>>>> >>>>>>> I'm not condoning this practise, just timelines on that particular >>>>>>> project required that they pass until we could upgrade them to Windows >>>>>>> 2012. It bought us the time we needed >>>>>>> >>>>>>> On 19 November 2015 at 08:21, Andrew Keil >>>>>>> wrote: >>>>>>> >>>>>>>> Thanks for your feedback. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>>>>>>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael >>>>>>>> Jerris >>>>>>>> *Sent:* Thursday, 19 November 2015 11:12 AM >>>>>>>> *To:* FreeSWITCH Users Help >>>>>>>> *Subject:* Re: [Freeswitch-users] FreeSWITCH version 1.4.x end of >>>>>>>> life - recommendation please >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Nov 18, 2015, at 6:49 PM, Andrew Keil >>>>>>>> wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> To FreeSWITCH users, >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> In order for my client to plan for FreeSWITCH version 1.4.x end of >>>>>>>> life, I have a few questions that I hope the FreeSWITCH team can help >>>>>>>> answer: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> 1) Since the FreeSWITCH version 1.4.x branch is going end of >>>>>>>> life in early 2016, then obviously I need my client to migrate to the >>>>>>>> FreeSWITCH version 1.6.x branch ASAP. Is there a definite date when the >>>>>>>> FreeSWITCH version 1.4.x branch is going end of life? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> We don't have a specific date set, we will provide as many critical >>>>>>>> and security fixes as we can for it for a while. That being said, we are >>>>>>>> already at the point where significant portions of fixes are not possible >>>>>>>> to back-port due to significant changes in the code between 1.4 and 1.6. >>>>>>>> This continues to get worse over time. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> 2) Regarding the FreeSWITCH version 1.6.x branch: >>>>>>>> >>>>>>>> a. Can this run on CentOS 6.x (ie. the latest release of >>>>>>>> CentOS 6)? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> We have made minimal effort to try to package dependencies for it, >>>>>>>> and it was abandoned as it was determined to be too much work. Its >>>>>>>> probably possible, but expect to: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> 1. Not have any support for video features. >>>>>>>> >>>>>>>> 2. Spend significant time working on packaging your own >>>>>>>> dependencies and testing. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> i. >>>>>>>> I understand that CentOS 7 is recommended, however upgrading >>>>>>>> the OS is a much bigger task than simply upgrading FreeSWITCH. Especially >>>>>>>> since my client is also PCI compliant to enable credit card processing, >>>>>>>> which requires rigorous Operating System lockdown. Currently my client >>>>>>>> will not be using the video features inside FreeSWITCH (ie. initially only >>>>>>>> using the feature set inside the FreeSWITCH version 1.4.x branch). >>>>>>>> >>>>>>>> ii. >>>>>>>> Is there anything I should be aware of when trying to get >>>>>>>> FreeSWITCH version 1.6.x branch working on CentOS 6? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> We have done zero testing on it. You will have to do all the >>>>>>>> dependency packaging back-porting for the deps you need and do testing and >>>>>>>> let us know. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> I appreciate any feedback that you are able to provide to make this >>>>>>>> process as painless as possible. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> *Andrew Cassidy BSc (Hons) MBCS SSCA* >>>>>>> Managing Director >>>>>>> >>>>>>> >>>>>>> *T *03300 100 960 *F *03300 100 961 >>>>>>> *E *andrew at cassidywebservices.co.uk >>>>>>> *W *www.cassidywebservices.co.uk >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> >>>>> Got Bugs? Report them here ! | Reddit: >>>>> /r/freeswitch >>>>> >>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/842acff4/attachment-0001.html From krice at freeswitch.org Tue Dec 1 21:10:33 2015 From: krice at freeswitch.org (Ken Rice) Date: Tue, 01 Dec 2015 18:10:33 +0000 Subject: [Freeswitch-users] =?utf-8?q?FreeSWITCH_Week_in_Review_=28Master_?= =?utf-8?q?Branch=29_November_21st_=E2=80=93_November_28th?= Message-ID: <565de2995dc10_41c5b3b334160d4@resque-worker.12.mail> New Post on freeswitch.org from Kathleen King check it out at http://ift.tt/1OugR8B FreeSWITCH Week in Review (Master Branch) November 21st ? November 28th This week we had a few?features including: allowing building with OpenSSL without EC support, a video quality parameter to allow for conference configuration for verto, and some improvements to conference layouts for verto as well.?If you haven?t already, it is highly recommended that you upgrade to the newest 1.6 release as soon as possible to avoid the vulnerability from last week. Join us?Wednesdays at 12:00 CT for some more FreeSWITCH fun! This week we have James Tagg! And head over to freeswitch.com to learn more about FreeSWITCH support. New features that were added: FS-8568?[core] Allow building using system OpenSSL without EC support FS-8293 [verto][mod_conference] Make sanity level based on 1080p?and added a video-quality param to make video quality in a conference configurable FS-8264 [verto_communicator][verto]? Adapted the layout select to new response, added a separated menu in members list to set its reservation id, and added all the reservation IDs in the return of ?list-videoLayouts? command FS-8433 [mod_sofia] Allow hangup cause to be set inside redirect data Improvements in build system, cross platform support, and packaging: FS-8592 [Windows] Fixed some simple compiler errors FS-8578 [mod_verto] Fixed build error for missing __bswap_64 on osx FS-8152 [Debian] Make sure to package the image directories too FS-8576 [Debian] Fixed a package upgrade issue related to the fonts being installed in multiple packages The following bugs were squashed: FS-8569 [mod_conference] Fixed undefined symbol conference_cdr_test_mflag FS-8574 [mod_conference] Fixed a read write lock issue FS-8566 [core] Fixed calls failing when put on hold in bypass media mode with inbound late negotiation set to false FS-8573 [core] Fixed one way audio after resuming from hold in bypass media mode FS-8575 [core] Fixed DTMF not being passed from a to b during rfc 2833 events FS-8582 [mod_httapi] Fixed a crashed caused by null URL being passed ? The FreeSWITCH 1.4 branch had a couple of?bug fixes back ported?as well as the release of 1.4.26. And again, keep in mind that 1.4 is quickly moving toward end of life and won?t be supported any longer except for high level security issues. New features that were added: FS-8547 [core] Add error log into stats to log when quality impacting events begin and end The following bugs were squashed: FS-8537 [mod_lua] Fixed a segfault caused by passing nil to various lua functions -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/db6fe65a/attachment.html From covici at ccs.covici.com Tue Dec 1 22:22:56 2015 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Tue, 01 Dec 2015 14:22:56 -0500 Subject: [Freeswitch-users] libtool on DEbian Jessie and fs Message-ID: <18014.1448997776@ccs.covici.com> Hi. I did a git clone of fs on a Debian Jessie and there seems to be no libtool command. The bootstrap.sh wants that, so how do I get past this one? Thanks. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com From anthony.minessale at gmail.com Tue Dec 1 22:28:53 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 1 Dec 2015 13:28:53 -0600 Subject: [Freeswitch-users] libtool on DEbian Jessie and fs In-Reply-To: <18014.1448997776@ccs.covici.com> References: <18014.1448997776@ccs.covici.com> Message-ID: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video Ignore the title its not just for video its for jessie in general. Add all the depends per that document and you can checkout and build or use the packages. On Tue, Dec 1, 2015 at 1:22 PM, wrote: > Hi. I did a git clone of fs on a Debian Jessie and there seems to be no > libtool command. The bootstrap.sh wants that, so how do I get past this > one? > > Thanks. > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > covici at ccs.covici.com > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- 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/20151201/0ce54851/attachment.html From llribeiro90 at gmail.com Tue Dec 1 22:41:51 2015 From: llribeiro90 at gmail.com (Leonardo Lima Ribeiro) Date: Tue, 1 Dec 2015 17:41:51 -0200 Subject: [Freeswitch-users] Static Noise Message-ID: <375F3F7E-5373-41E3-B8CC-A5ABB7AF787D@gmail.com> Hi all, Sometimes I'm getting static noises when I use the originate command. Actually I don't have two legs in my call. It's a lua script that create a session to the leg A and Play sounds, send DTMFs etc. to interact with this leg A. The problem is that some session files (I?m using record_session) has a lot of static noise. I?ve googled about it and I found that it could happens for network issues, but I think it?s not the problem because I did some network tests, packages losses tests, ping etc. and my network seems to be fine. Anyone knows how to avoid this? Is there any configuration that I can change for reduce this problem, like changing the quality ratio of the audios maybe? Thank you all! From jungleboogie0 at gmail.com Tue Dec 1 22:46:53 2015 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Tue, 1 Dec 2015 11:46:53 -0800 Subject: [Freeswitch-users] libtool on DEbian Jessie and fs In-Reply-To: <18014.1448997776@ccs.covici.com> References: <18014.1448997776@ccs.covici.com> Message-ID: On 1 December 2015 at 11:22, wrote: > Hi. I did a git clone of fs on a Debian Jessie and there seems to be no > libtool command. The bootstrap.sh wants that, so how do I get past this > one? Here's manual build of Debian 7 with its necessary dependencies: https://freeswitch.org/confluence/display/FREESWITCH/Debian+7#Debian7-ManualBuild Unfortunately this page doesn't show the actual dependencies, only ways to install a package with the necessary dependencies: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video There's this page but it doesn't list libtool: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+Dependencies > > Thanks. > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > covici at ccs.covici.com > -- ------- inum: 883510009027723 sip: jungleboogie at sip2sip.info xmpp: jungle-boogie at jit.si From brian at freeswitch.org Tue Dec 1 23:49:19 2015 From: brian at freeswitch.org (Brian West) Date: Tue, 1 Dec 2015 15:49:19 -0500 Subject: [Freeswitch-users] libtool on DEbian Jessie and fs In-Reply-To: <18014.1448997776@ccs.covici.com> References: <18014.1448997776@ccs.covici.com> Message-ID: I think in Debian 8 its libtool-bin as a package name, and I'm sure thats outlined somewhere on confluence. On Tue, Dec 1, 2015 at 2:22 PM, wrote: > Hi. I did a git clone of fs on a Debian Jessie and there seems to be no > libtool command. The bootstrap.sh wants that, so how do I get past this > one? > > Thanks. > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > covici at ccs.covici.com > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/2743baa1/attachment-0001.html From anthony.minessale at gmail.com Tue Dec 1 23:54:57 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 1 Dec 2015 14:54:57 -0600 Subject: [Freeswitch-users] Predifined vid-logo-img In-Reply-To: References: Message-ID: video_logo_path channel variable or global variable On Mon, Nov 30, 2015 at 1:49 PM, Victor Medina wrote: > Hi guys! > > ?Is there any way to predifine vid-logo-img for all users joining a > conference? I can perefectly to it using the console, but would like it to > be predifined as default to every user joining a conference. > > Thanks as usual!? > > -- > > > > V?ctor E. Medina M. > Platform Architect / Chief Infrastructure > +58424 291 4561 > BB #79A8AFA2 > @VMCibersys > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- 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/20151201/c8fd2347/attachment.html From covici at ccs.covici.com Tue Dec 1 23:59:23 2015 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Tue, 01 Dec 2015 15:59:23 -0500 Subject: [Freeswitch-users] libtool on DEbian Jessie and fs In-Reply-To: References: <18014.1448997776@ccs.covici.com> Message-ID: <20867.1449003563@ccs.covici.com> OK, that's probably it, on confluence they don't say what they are, they just say get all the dependencies, which I can do, and see if that works. Thanks. Brian West wrote: > I think in Debian 8 its libtool-bin as a package name, and I'm sure thats > outlined somewhere on confluence. > > On Tue, Dec 1, 2015 at 2:22 PM, wrote: > > > Hi. I did a git clone of fs on a Debian Jessie and there seems to be no > > libtool command. The bootstrap.sh wants that, so how do I get past this > > one? > > > > Thanks. > > > > -- > > Your life is like a penny. You're going to lose it. The question is: > > How do > > you spend it? > > > > John Covici > > covici at ccs.covici.com > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > ---------------------------------------------------- > Alternatives: > > ---------------------------------------------------- > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com From nishadmusthafa at gmail.com Tue Dec 1 15:27:05 2015 From: nishadmusthafa at gmail.com (Nishad Musthafa) Date: Tue, 01 Dec 2015 12:27:05 +0000 Subject: [Freeswitch-users] Concurrent call in freeswitch In-Reply-To: References: Message-ID: I think this should throw some light on the topic. https://wiki.freeswitch.org/wiki/Performance_testing_and_configurations#Concurrent_calls On Tue, Dec 1, 2015 at 5:48 PM Shisheer Teli wrote: > Dear Team, > > How many concurrent call FreeSWITCH will handle? > > -- > Regards, > Shisheer T > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/ecc3cae4/attachment-0001.html From guoqiuping81112 at 163.com Tue Dec 1 16:51:54 2015 From: guoqiuping81112 at 163.com (=?gb2312?B?ufnH78a9?=) Date: Tue, 1 Dec 2015 21:51:54 +0800 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> Message-ID: if I want to install the proxy, I need to install sofia lib first? but why can not find the lib in your repo? > ? 2015?12?1????9:32?Dave Horton ??? > > It is a proxy. I am using the sofia sip stack (specifically nta) which is capable of any type of sip processing, but this application uses it as a SIP proxy. > > > On Dec 1, 2015, at 8:20 AM, Vik Killa > wrote: > > Hi, > I see this is described as a SIP Proxy but you are using the sofia SIP stack. > Is this technically a B2BUA or a Proxy? > Thanks, > /V > > On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton > wrote: > I?ve developed a nodejs-based freeswitch load balancer that may be of interest to those who prefer Javascript to configuration file-driven routing. Even better if you are a nodejs developer familiar with expressjs or connect, then you may find the nuts of it to be very simple: > > > app.invite( function(req, res) { > ... > req.proxy({ > remainInDialog: false, > handleRedirects: true, > provisionalTimeout: '1s', > destination: targets > }, function(err) { > if( err ) { > console.error('Error proxying request: ', err) ; > } > }) ; > }) ; > > > Details here: > > http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/91f33c2f/attachment-0001.html From luis.daniel.lucio at gmail.com Wed Dec 2 01:49:15 2015 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Tue, 1 Dec 2015 17:49:15 -0500 Subject: [Freeswitch-users] FreeSWITCH version 1.4.x end of life - recommendation please In-Reply-To: References: <875F45BD-F2C9-4E63-ADEC-669F54C61D06@jerris.com> Message-ID: Steven, I didn't say anything about dep problems. I was trying to tell complaining people that no one can be forced to do things (because demanding support on centos). Anyway, I have all solved with video. Luis Daniel Lucio Quiroz CISSP, CISM, CISA Linux, VoIP and much more fun www.okay.com.mx Need LCR? Check out LCR for FusionPBX with FreeSWITCH Need Billing? Check out Billing for FusionPBX with FreeSWITCH 2015-12-01 12:45 GMT-05:00 Steven Ayre : > Matching what we use is only relevant for 2 cases. >> 1) If you want the video functionality to work. most of the media and >> codec libs are not packages everywhere and they need to be very recent >> versions. Most of what we can do right now in video was not possible 8 >> months ago. > > > Luis, if you're finding dependancy problems there's a good chance you > don't need all of the modules and can avoid quite a few of the dependancy > problems by compiling from source and omitting those modules from the build. > > See the modules.conf file (see example build/modules.conf.in - edit and > drop it in the same directory as bootstrap.sh named as modules.conf before > running bootstrap and configure). > > If you can't omit it then you're using the library and if you can't build > it against your system version then there's a fair chance your system > version is too old to support the feature you're wanting to use, since > generally speaking interfaces don't change too much unless features are > changing. > > On 20 November 2015 at 22:42, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> >> >> On Thu, Nov 19, 2015 at 5:46 PM, Luis Daniel Lucio Quiroz < >> luis.daniel.lucio at gmail.com> wrote: >> >>> You totally got me wrong. >>> >>> I was trying to conciliate between the two parts. As someone reclaim the >>> current state of systems. I won't try it again. >>> >>> And answering your statement. What is your parameter to establish a >>> distribution is still the same? I was able to build fs16 under centos6. It >>> is still centos6, it was no easy. My productions servers have been running >>> without issues. >>> >> >> You can backpedal if you want but you made a reference to the project >> being killed for trying to find a stable ongoing platform in Debian among >> 1000 chaotic distro choices despite the fact that we also still work on a >> best effort to support every platform. Naturally when you make statements >> to cause a whole group of people to think they are wrong for not agreeing >> with you, they will get annoyed. You still don't see our point or you >> would not continue to argue. Its like we are having a party and you come >> over to our house and we have some potato chips out with french onion dip >> and you tell us our party is a dud because we don't have dill dip. You >> wan't some dill dip, bring some dill dip.....We'll bring the chips. >> >> >> >>> As far as I remember, the only core lib I updated was alsa, because a >>> module looking for a especific function. All others were new rpm's or >>> updates and They were not part of core (like glib, dbus, udev just to name >>> examples). Note I am talking about using RPM all time, I don't use >>> tarballs as I agree with you that doing that breaks any distribution soul. >>> >>> I disagree when you imply that you must match versions you use. If that >>> would be true, many other big projects would not work. When back porting, >>> You just must match what you need. >>> >>> >> >> Matching what we use is only relevant for 2 cases. >> >> 1) If you want the video functionality to work. most of the media and >> codec libs are not packages everywhere and they need to be very recent >> versions. Most of what we can do right now in video was not possible 8 >> months ago. >> >> 2) You need help. If a bug ends up related to system lib related issues >> and it is using a version we are unfamiliar with, then we have to stop >> there. >> >> >> >> >>> I agree this is a problem of any 5+ years support distribution; we just >>> have to live with it. >>> >>> Said this. I think the main topic of discussion was lost. >>> >> >> The main topic is, if you want CentOS to work, help the people who are >> working on it to get it working. We supply the build servers and keep an >> eye on it but we need people who actually care about it to work on doing it >> right and doing it in a way that will allow things to work on ALL >> PLATFORMS. Many build patches for one OS are not sufficient because they >> break the builds on other platforms. >> Its just like code, you need to write code that works in all paths, not >> just the one you happen to care about. Keep that in mind and help out and >> you will have working RPMs. It has nothing to do with what we prefer or >> not. >> >> >> >> >>> Le 19 nov. 2015 5:32 PM, "Anthony Minessale" < >>> anthony.minessale at gmail.com> a ?crit : >>> >>>> >>>> >>>> On Thursday, November 19, 2015, Luis Daniel Lucio Quiroz < >>>> luis.daniel.lucio at gmail.com> wrote: >>>> >>>>> I think this is a big misunderstanding >>>>> >>>>> Brian is right by saying the hard work is done. >>>>> >>>>> But the position the FreeSWITCH project has taken about pushing Debian >>>>> is a killer for the project. >>>>> >>>>> It is very common that the favor becomes obligation. Specially for >>>>> those who doesn't understand the open source thinking. But no one can push >>>>> any one to do things. >>>>> >>>> >>>> I do not appreciate the FUD. You clearly take for granted the burden >>>> of managing a project. Try to be more considerate. >>>> >>>> If you know how to compile code, you can check out git master and go >>>> find the tarballs of every dependancy and build, install or make packages >>>> of it and it will work. >>>> Our packages are a luxury designed to be used by community members who >>>> do not wish to take on the task themselves. If you do not like them, don't >>>> use them. >>>> >>>> If you want to make CentOS work the same as Debian, you simply have to >>>> manually update all the depends to match the exact versions we use and deal >>>> with the cascading dependency yourself. >>>> Once you are done, it will not be CentOS anymore because of all the >>>> modifications. The are behind on libraries because the longer time moves >>>> on the harder it is to update all the packages on the distro. >>>> We only have resources for one permutation of this nightmare and with >>>> Debian we only have to deal with 2% of the problems CentOS currently has. >>>> If CentOS finally decides to catch up, you will have an easier time >>>> getting things to work but that time is not now. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>>> Le 19 nov. 2015 12:21 PM, "Brian West" a >>>>> ?crit : >>>>> >>>>>> You're highlighting why we have an open source community, its where >>>>>> the community steps up, helps figure this out and contributes the solution >>>>>> to the problem for all to benefit from, Its the least anyone could do thats >>>>>> running FreeSWITCH as the hardest part is already done for you for free! :) >>>>>> >>>>>> /b >>>>>> >>>>>> >>>>>> On Thu, Nov 19, 2015 at 5:41 AM, Olgierd Ziolko < >>>>>> lists.fs-users at uce.pw> wrote: >>>>>> >>>>>>> Hi* >>>>>>> >>>>>>> But when it's cross-checked against inventory or network drawings >>>>>>> he's going to be busted (and put in much worse position). >>>>>>> >>>>>>> Personally I find CentOS 7 waaaaaay too edgy for corporate >>>>>>> requirements - we (as in my company) are running servers on specific OS >>>>>>> version (inc. 6.5, but not 7), custom subset of software, sometimes with >>>>>>> custom patches, customised (a whole lot) kernel, so I just can't afford >>>>>>> throwing it all out the window just for the sake of using most recent >>>>>>> packaged version (and when we're at packages: Debian's packaging is >>>>>>> horrendous, how can't such simply systemd service file problem unresolved >>>>>>> for months?). >>>>>>> >>>>>>> So I'm very on the Andrew's (the first) side. >>>>>>> >>>>>>> * hello everyone, I'm kind of fresh FreeSWITCH user and I'll try my >>>>>>> best to contribute to the community (because I've already got so much). >>>>>>> Thank you all. >>>>>>> >>>>>>> On 19 November 2015 at 10:29, Andrew Cassidy < >>>>>>> andrew at cassidywebservices.co.uk> wrote: >>>>>>> >>>>>>>> You can pass PCI-DSS with proper firewall rules. For example, if >>>>>>>> you FS server only needs to accept calls from certain IP addresses, >>>>>>>> firewalling it out will pass the automated tests easily. >>>>>>>> >>>>>>>> I know it's not ideal, but I've managed to make unpatched Windows >>>>>>>> 2003 servers pass the automated tests just by hiding them behind a proxy. >>>>>>>> >>>>>>>> I'm not condoning this practise, just timelines on that particular >>>>>>>> project required that they pass until we could upgrade them to Windows >>>>>>>> 2012. It bought us the time we needed >>>>>>>> >>>>>>>> On 19 November 2015 at 08:21, Andrew Keil >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Thanks for your feedback. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>>>>>>>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael >>>>>>>>> Jerris >>>>>>>>> *Sent:* Thursday, 19 November 2015 11:12 AM >>>>>>>>> *To:* FreeSWITCH Users Help >>>>>>>> > >>>>>>>>> *Subject:* Re: [Freeswitch-users] FreeSWITCH version 1.4.x end of >>>>>>>>> life - recommendation please >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Nov 18, 2015, at 6:49 PM, Andrew Keil >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> To FreeSWITCH users, >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> In order for my client to plan for FreeSWITCH version 1.4.x end of >>>>>>>>> life, I have a few questions that I hope the FreeSWITCH team can help >>>>>>>>> answer: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 1) Since the FreeSWITCH version 1.4.x branch is going end of >>>>>>>>> life in early 2016, then obviously I need my client to migrate to the >>>>>>>>> FreeSWITCH version 1.6.x branch ASAP. Is there a definite date when the >>>>>>>>> FreeSWITCH version 1.4.x branch is going end of life? >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> We don't have a specific date set, we will provide as many >>>>>>>>> critical and security fixes as we can for it for a while. That being said, >>>>>>>>> we are already at the point where significant portions of fixes are not >>>>>>>>> possible to back-port due to significant changes in the code between 1.4 >>>>>>>>> and 1.6. This continues to get worse over time. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 2) Regarding the FreeSWITCH version 1.6.x branch: >>>>>>>>> >>>>>>>>> a. Can this run on CentOS 6.x (ie. the latest release of >>>>>>>>> CentOS 6)? >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> We have made minimal effort to try to package dependencies for it, >>>>>>>>> and it was abandoned as it was determined to be too much work. Its >>>>>>>>> probably possible, but expect to: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 1. Not have any support for video features. >>>>>>>>> >>>>>>>>> 2. Spend significant time working on packaging your own >>>>>>>>> dependencies and testing. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> i. >>>>>>>>> I understand that CentOS 7 is recommended, however >>>>>>>>> upgrading the OS is a much bigger task than simply upgrading FreeSWITCH. >>>>>>>>> Especially since my client is also PCI compliant to enable credit card >>>>>>>>> processing, which requires rigorous Operating System lockdown. Currently >>>>>>>>> my client will not be using the video features inside FreeSWITCH (ie. >>>>>>>>> initially only using the feature set inside the FreeSWITCH version 1.4.x >>>>>>>>> branch). >>>>>>>>> >>>>>>>>> ii. >>>>>>>>> Is there anything I should be aware of when trying to get >>>>>>>>> FreeSWITCH version 1.6.x branch working on CentOS 6? >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> We have done zero testing on it. You will have to do all the >>>>>>>>> dependency packaging back-porting for the deps you need and do testing and >>>>>>>>> let us know. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> I appreciate any feedback that you are able to provide to make >>>>>>>>> this process as painless as possible. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> *Andrew Cassidy BSc (Hons) MBCS SSCA* >>>>>>>> Managing Director >>>>>>>> >>>>>>>> >>>>>>>> *T *03300 100 960 *F *03300 100 961 >>>>>>>> *E *andrew at cassidywebservices.co.uk >>>>>>>> *W *www.cassidywebservices.co.uk >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Brian West* >>>>>> brian at freeswitch.org >>>>>> >>>>>> >>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>> http://www.freeswitchbook.com >>>>>> http://www.freeswitchcookbook.com >>>>>> >>>>>> Got Bugs? Report them here ! | Reddit: >>>>>> /r/freeswitch >>>>>> >>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >> >> ? http://freeswitch.org/ ? http://cluecon.com/ ? >> http://twitter.com/FreeSWITCH >> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/034ad0ba/attachment-0001.html From dave at dchorton.com Wed Dec 2 02:08:38 2015 From: dave at dchorton.com (Dave Horton) Date: Tue, 1 Dec 2015 18:08:38 -0500 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> Message-ID: Yes, it requires a (separate) server process that incorporates sofia to be running. There is actually a note on the site about that with a link (entitled ?prerequisites?), but for simplicity here is the link to that project (also fully open source): https://github.com/davehorton/drachtio-server You?ll find build instructions in the readme, but open an issue (on github) for me if you have any troubles. Dave On Dec 1, 2015, at 8:51 AM, ??? wrote: if I want to install the proxy, I need to install sofia lib first? but why can not find the lib in your repo? > ? 2015?12?1????9:32?Dave Horton > ??? > > It is a proxy. I am using the sofia sip stack (specifically nta) which is capable of any type of sip processing, but this application uses it as a SIP proxy. > > > On Dec 1, 2015, at 8:20 AM, Vik Killa > wrote: > > Hi, > I see this is described as a SIP Proxy but you are using the sofia SIP stack. > Is this technically a B2BUA or a Proxy? > Thanks, > /V > > On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton > wrote: > I?ve developed a nodejs-based freeswitch load balancer that may be of interest to those who prefer Javascript to configuration file-driven routing. Even better if you are a nodejs developer familiar with expressjs or connect, then you may find the nuts of it to be very simple: > > > app.invite( function(req, res) { > ... > req.proxy({ > remainInDialog: false, > handleRedirects: true, > provisionalTimeout: '1s', > destination: targets > }, function(err) { > if( err ) { > console.error('Error proxying request: ', err) ; > } > }) ; > }) ; > > > Details here: > > http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/49f33bdd/attachment.html From anthony.minessale at gmail.com Wed Dec 2 04:42:12 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 1 Dec 2015 19:42:12 -0600 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> Message-ID: Dave, Would you like to do a presentation via video on cluecon weekly? Just provide some availability on wednesdays over the next 8 to 10 weeks. On Tuesday, December 1, 2015, Dave Horton wrote: > Yes, it requires a (separate) server process that incorporates sofia to be > running. There is actually a note on the site about that with a link > (entitled ?prerequisites?), but for simplicity here is the link to that > project (also fully open source): > https://github.com/davehorton/drachtio-server > > You?ll find build instructions in the readme, but open an issue (on > github) for me if you have any troubles. > > Dave > On Dec 1, 2015, at 8:51 AM, ??? > wrote: > > if I want to install the proxy, I need to install sofia lib first? > but why can not find the lib in your repo? > > > ? 2015?12?1????9:32?Dave Horton > ??? > > It is a proxy. I am using the sofia sip stack (specifically nta) which is > capable of any type of sip processing, but this application uses it as a > SIP proxy. > > > On Dec 1, 2015, at 8:20 AM, Vik Killa > wrote: > > Hi, > I see this is described as a SIP Proxy but you are using the sofia SIP > stack. > Is this technically a B2BUA or a Proxy? > Thanks, > /V > > On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton > wrote: > >> I?ve developed a nodejs-based freeswitch load balancer that may be of >> interest to those who prefer Javascript to configuration file-driven >> routing. Even better if you are a nodejs developer familiar with expressjs >> or connect, then you may find the nuts of it to be very simple: >> >> >> app.invite( function(req, res) { >> ... >> req.proxy({ >> remainInDialog: false, >> handleRedirects: true, >> provisionalTimeout: '1s', >> destination: targets >> }, function(err) { >> if( err ) { >> console.error('Error proxying request: ', err) ; >> } >> }) ; >> }) ; >> >> >> Details here: >> >> http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > 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/20151201/ef60bd43/attachment-0001.html From dave at dchorton.com Wed Dec 2 04:48:06 2015 From: dave at dchorton.com (Dave Horton) Date: Tue, 1 Dec 2015 20:48:06 -0500 Subject: [Freeswitch-users] (yet another?) freeswitch load balancer In-Reply-To: References: <819107A2-2CF0-48B7-BBFD-7E13F5C33F4F@dchorton.com> <6B7E267E-89FD-4884-A687-860B88818240@dchorton.com> Message-ID: <2FC48F92-DC39-43F9-AAFC-D0EAFF664B4A@dchorton.com> Sure, would love to do that. I can be fairly available most weeks on Wednesday - other than 12/23 and 12/30 you could pencil me in for any slot that is open. Thanks! Dave On Dec 1, 2015, at 8:42 PM, Anthony Minessale wrote: Dave, Would you like to do a presentation via video on cluecon weekly? Just provide some availability on wednesdays over the next 8 to 10 weeks. On Tuesday, December 1, 2015, Dave Horton > wrote: Yes, it requires a (separate) server process that incorporates sofia to be running. There is actually a note on the site about that with a link (entitled ?prerequisites?), but for simplicity here is the link to that project (also fully open source): https://github.com/davehorton/drachtio-server You?ll find build instructions in the readme, but open an issue (on github) for me if you have any troubles. Dave On Dec 1, 2015, at 8:51 AM, ??? > wrote: if I want to install the proxy, I need to install sofia lib first? but why can not find the lib in your repo? > ? 2015?12?1????9:32?Dave Horton > ??? > > It is a proxy. I am using the sofia sip stack (specifically nta) which is capable of any type of sip processing, but this application uses it as a SIP proxy. > > > On Dec 1, 2015, at 8:20 AM, Vik Killa > wrote: > > Hi, > I see this is described as a SIP Proxy but you are using the sofia SIP stack. > Is this technically a B2BUA or a Proxy? > Thanks, > /V > > On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton > wrote: > I?ve developed a nodejs-based freeswitch load balancer that may be of interest to those who prefer Javascript to configuration file-driven routing. Even better if you are a nodejs developer familiar with expressjs or connect, then you may find the nuts of it to be very simple: > > > app.invite( function(req, res) { > ... > req.proxy({ > remainInDialog: false, > handleRedirects: true, > provisionalTimeout: '1s', > destination: targets > }, function(err) { > if( err ) { > console.error('Error proxying request: ', err) ; > } > }) ; > }) ; > > > Details here: > > http://davehorton.github.io/drachtio-fs-load-balancing-proxy/ > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? http://freeswitch.org/g+ ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151201/f974a242/attachment.html From andrew.keil at visytel.com Wed Dec 2 07:29:21 2015 From: andrew.keil at visytel.com (Andrew Keil) Date: Wed, 2 Dec 2015 04:29:21 +0000 Subject: [Freeswitch-users] Re- FreeSWITCH 1.6.5 Lua version (can it be upgraded)? Message-ID: To FreeSWITCH users, I just noticed that since upgrading to FreeSWITCH 1.6.5 (on CentOS 6.7 or CentOS 7) that the Lua version is 5.1.4 (since when running yum install lua-devel the version installed is 5.1.4). Also when I type: lua -v {it returns 5.1.4} In order to try to upgrade Lua inside FreeSWITCH to version 5.2.4 I followed this procedure: First I uninstalled lua-devel by typing: yum -y remove lua-devel Then I then installed off lua.org a later version (in this case 5.2.4, even though they are up to 5.3.2 now): 1) cd /usr/local/src 2) curl -R -O http://www.lua.org/ftp/lua-5.2.4.tar.gz 3) cd lua-5.2.4 4) make linux test 5) make linux install 6) Tested by typing: lua -v (to check the version number) - All OK now reports 5.2.4 correctly Next I followed the instructions below from (7) to (13) {first I made sure the freeswitch directory was removed by typing rm -rf freeswitch from the /usr/local/src directory} Unfortunately, I received this error message from the FreeSWITCH make command: making all mod_lua make[4]: Entering directory `/usr/local/src/freeswitch/src/mod/languages/mod_lua' CXXLD mod_lua.la /usr/bin/ld: /usr/local/lib/liblua.a(lapi.o): relocation R_X86_64_32 against `luaO_nilobject_' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/liblua.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[4]: *** [mod_lua.la] Error 1 make[4]: Leaving directory `/usr/local/src/freeswitch/src/mod/languages/mod_lua' make[3]: *** [mod_lua-all] Error 1 make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/freeswitch/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/freeswitch' make: *** [all] Error 2 I found this was fixed by re-installing lua-devel via: yum -y install lua-devel However now when I continue on and complete the make && make install then start FreeSWITCH I get this error: 2015-12-02 15:19:22.341356 [CRIT] switch_loadable_module.c:1520 Error Loading module /usr/local/freeswitch/mod/mod_lua.so **/usr/local/freeswitch/mod/mod_lua.so: undefined symbol: lua_callk** I assume this issue is now related to the fact that lua-devel is version 5.1.4 and the installed system wide Lua is 5.2.4. Can anyone assist me in upgrading Lua to run Lua version 5.2.x within FreeSWITCH 1.6.5? Please note the procedure below works fine and runs Lua at version 5.1.4. FreeSWITCH 1.6.5 on CentOS 6.7 setup instructions: ======================================================== 1) Make sure yum update is run and CentOS is up-to-date 2) {optional} Inside Terminal window select Edit Profile Preferences and select "Use custom default terminal size" and make it 160 x 60. Close terminal and re-open for the change to take effect. 3) yum -y install epel-release 4) yum -y install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel sqlite-devel libcurl-devel libxml2-devel libidn-devel 4.1) These should be already installed and up-to-date 5) yum -y install e2fsprogs-devel pcre-devel speex-devel ldns-devel libedit-devel libyuv-devel opus-devel libvpx-devel unbound-devel libuuid-devel lua-devel libsndfile-devel 5.1) These should install successfully 6) Note: No packages for: libvpx2*, libdb4* (so mod_vpx & mod_fsv will not be supported) 7) cd /usr/local/src 8) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git 9) cd /usr/local/src/freeswitch 10) ./bootstrap.sh 11) vi modules.conf 11.1) comment out (ie. place '#' infront): mod_fsv mod_vpx Save and close ( :wq!) 12) ./configure 13) make 14) make install 15) make cd-sounds-install 16) make cd-moh-install 17) cd /usr/local/freeswitch/conf 18) vi vars.xml 18.1) change: { !! set it to something different !! } Save and close ( :wq!) 19) cd /usr/local/freeswitch/conf/autoload_configs 20) vi modules.conf.xml 20.1) comment out (ie. place '' at the end): mod_fsv mod_vpx Save and close ( :wq!) 21) cd /usr/local/freeswitch/bin 22) ./freeswitch -nonat -nonatmap 23) ... to exit from the FreeSWITCH console Kind Regards, Andrew Keil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151202/3e8996ed/attachment-0001.html From mike at jerris.com Wed Dec 2 08:11:03 2015 From: mike at jerris.com (Michael Jerris) Date: Wed, 2 Dec 2015 00:11:03 -0500 Subject: [Freeswitch-users] Re- FreeSWITCH 1.6.5 Lua version (can it be upgraded)? In-Reply-To: References: Message-ID: I would check how the rpm is doing the build. Looks like an fpic issue, Installing the dev package against a different version manually installed is a recipie for causing all kinds of issues that are a pain to fix. If you are using packages at all, don't mix it. On Tuesday, December 1, 2015, Andrew Keil wrote: > To FreeSWITCH users, > > > > I just noticed that since upgrading to FreeSWITCH 1.6.5 (on CentOS 6.7 or > CentOS 7) that the Lua version is 5.1.4 (since when running yum install > lua-devel the version installed is 5.1.4). > > Also when I type: lua -v {it returns 5.1.4} > > > > In order to try to upgrade Lua inside FreeSWITCH to version 5.2.4 I > followed this procedure: > > > > First I uninstalled lua-devel by typing: yum -y remove lua-devel > > > > Then I then installed off lua.org a later version (in this case 5.2.4, > even though they are up to 5.3.2 now): > > > > 1) cd /usr/local/src > > 2) curl -R -O http://www.lua.org/ftp/lua-5.2.4.tar.gz > > 3) cd lua-5.2.4 > > 4) make linux test > > 5) make linux install > > 6) Tested by typing: lua -v (to check the version number) ? All OK > now reports 5.2.4 correctly > > > > Next I followed the instructions below from (7) to (13) {first I made sure > the freeswitch directory was removed by typing rm -rf freeswitch from the > /usr/local/src directory} > > > > Unfortunately, I received this error message from the FreeSWITCH make > command: > > > > making all mod_lua > > make[4]: Entering directory > `/usr/local/src/freeswitch/src/mod/languages/mod_lua' > > CXXLD mod_lua.la > > /usr/bin/ld: /usr/local/lib/liblua.a(lapi.o): relocation R_X86_64_32 > against `luaO_nilobject_' can not be used when making a shared object; > recompile with -fPIC > > /usr/local/lib/liblua.a: could not read symbols: Bad value > > collect2: ld returned 1 exit status > > make[4]: *** [mod_lua.la] Error 1 > > make[4]: Leaving directory > `/usr/local/src/freeswitch/src/mod/languages/mod_lua' > > make[3]: *** [mod_lua-all] Error 1 > > make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod' > > make[2]: *** [all-recursive] Error 1 > > make[2]: Leaving directory `/usr/local/src/freeswitch/src' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/usr/local/src/freeswitch' > > make: *** [all] Error 2 > > > > I found this was fixed by re-installing lua-devel via: yum ?y install > lua-devel > > > > However now when I continue on and complete the make && make install then > start FreeSWITCH I get this error: > > > > 2015-12-02 15:19:22.341356 [CRIT] switch_loadable_module.c:1520 Error > Loading module /usr/local/freeswitch/mod/mod_lua.so > > **/usr/local/freeswitch/mod/mod_lua.so: undefined symbol: lua_callk** > > > > I assume this issue is now related to the fact that lua-devel is version > 5.1.4 and the installed system wide Lua is 5.2.4. > > > > Can anyone assist me in upgrading Lua to run Lua version 5.2.x within > FreeSWITCH 1.6.5? > > > > Please note the procedure below works fine and runs Lua at version 5.1.4. > > > > FreeSWITCH 1.6.5 on CentOS 6.7 setup instructions: > > ======================================================== > > > > 1) Make sure yum update is run and CentOS is up-to-date > > > > 2) {optional} Inside Terminal window select Edit Profile Preferences and > select "Use custom default terminal size" and make it 160 x 60. Close > terminal and re-open for the change to take effect. > > > > 3) yum -y install epel-release > > > > 4) yum -y install git gcc-c++ autoconf automake libtool wget python > ncurses-devel zlib-devel libjpeg-devel openssl-devel sqlite-devel > libcurl-devel libxml2-devel libidn-devel > > 4.1) These should be already installed and up-to-date > > > > 5) yum -y install e2fsprogs-devel pcre-devel speex-devel ldns-devel > libedit-devel libyuv-devel opus-devel libvpx-devel unbound-devel > libuuid-devel lua-devel libsndfile-devel > > 5.1) These should install successfully > > > > 6) Note: No packages for: libvpx2*, libdb4* (so mod_vpx & mod_fsv will not > be supported) > > > > 7) cd /usr/local/src > > > > 8) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git > > > > 9) cd /usr/local/src/freeswitch > > > > 10) ./bootstrap.sh > > > > 11) vi modules.conf > > 11.1) comment out (ie. place '#' infront): > > mod_fsv > > mod_vpx > > Save and close ( :wq!) > > > > 12) ./configure > > > > 13) make > > > > 14) make install > > > > 15) make cd-sounds-install > > > > 16) make cd-moh-install > > > > 17) cd /usr/local/freeswitch/conf > > > > 18) vi vars.xml > > 18.1) change: { > !! set it to something different !! } > > Save and close ( :wq!) > > > > 19) cd /usr/local/freeswitch/conf/autoload_configs > > > > 20) vi modules.conf.xml > > 20.1) comment out (ie. place '' at the end): > > mod_fsv > > mod_vpx > > Save and close ( :wq!) > > > > 21) cd /usr/local/freeswitch/bin > > > > 22) ./freeswitch -nonat -nonatmap > > > > 23) ... to exit from the FreeSWITCH console > > > > Kind Regards, > > > > Andrew Keil > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151202/f95ecbd1/attachment.html From andrew.keil at visytel.com Wed Dec 2 08:27:45 2015 From: andrew.keil at visytel.com (Andrew Keil) Date: Wed, 2 Dec 2015 05:27:45 +0000 Subject: [Freeswitch-users] Re- FreeSWITCH 1.6.5 Lua version (can it be upgraded)? In-Reply-To: References: Message-ID: Michael, Thanks for your quick response. I am not using an rpm for the FreeSWITCH 1.6.5 install (see my setup instructions ?FreeSWITCH 1.6.5 on CentOS 6.7 setup instructions? below). However, I am using yum install for lua-devel (which I know is the old version 5.1.4). I agree it does look like an fpic issue and I am trying to solve that now, however after 3 hours of experimenting I thought I would ask here to see if anyone has managed to get Lua running on FreeSWITCH 1.6.5 with a version 5.2.x or later. I will let you know how I get on. It seemed simpler when Lua was inside FreeSWITCH, instead of using the system version. However, once I find out how to fix it I will respond to this thread. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Wednesday, 2 December 2015 4:11 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Re- FreeSWITCH 1.6.5 Lua version (can it be upgraded)? I would check how the rpm is doing the build. Looks like an fpic issue, Installing the dev package against a different version manually installed is a recipie for causing all kinds of issues that are a pain to fix. If you are using packages at all, don't mix it. On Tuesday, December 1, 2015, Andrew Keil > wrote: To FreeSWITCH users, I just noticed that since upgrading to FreeSWITCH 1.6.5 (on CentOS 6.7 or CentOS 7) that the Lua version is 5.1.4 (since when running yum install lua-devel the version installed is 5.1.4). Also when I type: lua -v {it returns 5.1.4} In order to try to upgrade Lua inside FreeSWITCH to version 5.2.4 I followed this procedure: First I uninstalled lua-devel by typing: yum -y remove lua-devel Then I then installed off lua.org a later version (in this case 5.2.4, even though they are up to 5.3.2 now): 1) cd /usr/local/src 2) curl -R -O http://www.lua.org/ftp/lua-5.2.4.tar.gz 3) cd lua-5.2.4 4) make linux test 5) make linux install 6) Tested by typing: lua -v (to check the version number) ? All OK now reports 5.2.4 correctly Next I followed the instructions below from (7) to (13) {first I made sure the freeswitch directory was removed by typing rm -rf freeswitch from the /usr/local/src directory} Unfortunately, I received this error message from the FreeSWITCH make command: making all mod_lua make[4]: Entering directory `/usr/local/src/freeswitch/src/mod/languages/mod_lua' CXXLD mod_lua.la /usr/bin/ld: /usr/local/lib/liblua.a(lapi.o): relocation R_X86_64_32 against `luaO_nilobject_' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/liblua.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[4]: *** [mod_lua.la] Error 1 make[4]: Leaving directory `/usr/local/src/freeswitch/src/mod/languages/mod_lua' make[3]: *** [mod_lua-all] Error 1 make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/freeswitch/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/freeswitch' make: *** [all] Error 2 I found this was fixed by re-installing lua-devel via: yum ?y install lua-devel However now when I continue on and complete the make && make install then start FreeSWITCH I get this error: 2015-12-02 15:19:22.341356 [CRIT] switch_loadable_module.c:1520 Error Loading module /usr/local/freeswitch/mod/mod_lua.so **/usr/local/freeswitch/mod/mod_lua.so: undefined symbol: lua_callk** I assume this issue is now related to the fact that lua-devel is version 5.1.4 and the installed system wide Lua is 5.2.4. Can anyone assist me in upgrading Lua to run Lua version 5.2.x within FreeSWITCH 1.6.5? Please note the procedure below works fine and runs Lua at version 5.1.4. FreeSWITCH 1.6.5 on CentOS 6.7 setup instructions: ======================================================== 1) Make sure yum update is run and CentOS is up-to-date 2) {optional} Inside Terminal window select Edit Profile Preferences and select "Use custom default terminal size" and make it 160 x 60. Close terminal and re-open for the change to take effect. 3) yum -y install epel-release 4) yum -y install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel sqlite-devel libcurl-devel libxml2-devel libidn-devel 4.1) These should be already installed and up-to-date 5) yum -y install e2fsprogs-devel pcre-devel speex-devel ldns-devel libedit-devel libyuv-devel opus-devel libvpx-devel unbound-devel libuuid-devel lua-devel libsndfile-devel 5.1) These should install successfully 6) Note: No packages for: libvpx2*, libdb4* (so mod_vpx & mod_fsv will not be supported) 7) cd /usr/local/src 8) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git 9) cd /usr/local/src/freeswitch 10) ./bootstrap.sh 11) vi modules.conf 11.1) comment out (ie. place '#' infront): mod_fsv mod_vpx Save and close ( :wq!) 12) ./configure 13) make 14) make install 15) make cd-sounds-install 16) make cd-moh-install 17) cd /usr/local/freeswitch/conf 18) vi vars.xml 18.1) change: { !! set it to something different !! } Save and close ( :wq!) 19) cd /usr/local/freeswitch/conf/autoload_configs 20) vi modules.conf.xml 20.1) comment out (ie. place '' at the end): mod_fsv mod_vpx Save and close ( :wq!) 21) cd /usr/local/freeswitch/bin 22) ./freeswitch -nonat -nonatmap 23) ... to exit from the FreeSWITCH console Kind Regards, Andrew Keil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151202/fda3ae06/attachment-0001.html From luis.daniel.lucio at gmail.com Wed Dec 2 08:40:35 2015 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Wed, 2 Dec 2015 00:40:35 -0500 Subject: [Freeswitch-users] Re- FreeSWITCH 1.6.5 Lua version (can it be upgraded)? In-Reply-To: References: Message-ID: Don't upgrade to LUA5.2, you are going to break the Centos6. Freeswitch can and uses system lua, that gives you many advantages, like using luarocks and other lua modules. Some lua modules are not source, but binary; the binary lua-modules are linked against lua5.1 (because the RPM system). I have not found any LUA script not compatible on Lua5.1 that runs on Freeswitch. And if you are going to install any 'compiled' lua script, you need to stick with lua version (like the binary modules). Luis Daniel Lucio Quiroz CISSP, CISM, CISA Linux, VoIP and much more fun www.okay.com.mx Need LCR? Check out LCR for FusionPBX with FreeSWITCH Need Billing? Check out Billing for FusionPBX with FreeSWITCH 2015-12-02 0:11 GMT-05:00 Michael Jerris : > I would check how the rpm is doing the build. Looks like an fpic issue, > Installing the dev package against a different version manually installed > is a recipie for causing all kinds of issues that are a pain to fix. If > you are using packages at all, don't mix it. > > > On Tuesday, December 1, 2015, Andrew Keil wrote: > >> To FreeSWITCH users, >> >> >> >> I just noticed that since upgrading to FreeSWITCH 1.6.5 (on CentOS 6.7 or >> CentOS 7) that the Lua version is 5.1.4 (since when running yum install >> lua-devel the version installed is 5.1.4). >> >> Also when I type: lua -v {it returns 5.1.4} >> >> >> >> In order to try to upgrade Lua inside FreeSWITCH to version 5.2.4 I >> followed this procedure: >> >> >> >> First I uninstalled lua-devel by typing: yum -y remove lua-devel >> >> >> >> Then I then installed off lua.org a later version (in this case 5.2.4, >> even though they are up to 5.3.2 now): >> >> >> >> 1) cd /usr/local/src >> >> 2) curl -R -O http://www.lua.org/ftp/lua-5.2.4.tar.gz >> >> 3) cd lua-5.2.4 >> >> 4) make linux test >> >> 5) make linux install >> >> 6) Tested by typing: lua -v (to check the version number) ? All OK >> now reports 5.2.4 correctly >> >> >> >> Next I followed the instructions below from (7) to (13) {first I made >> sure the freeswitch directory was removed by typing rm -rf freeswitch from >> the /usr/local/src directory} >> >> >> >> Unfortunately, I received this error message from the FreeSWITCH make >> command: >> >> >> >> making all mod_lua >> >> make[4]: Entering directory >> `/usr/local/src/freeswitch/src/mod/languages/mod_lua' >> >> CXXLD mod_lua.la >> >> /usr/bin/ld: /usr/local/lib/liblua.a(lapi.o): relocation R_X86_64_32 >> against `luaO_nilobject_' can not be used when making a shared object; >> recompile with -fPIC >> >> /usr/local/lib/liblua.a: could not read symbols: Bad value >> >> collect2: ld returned 1 exit status >> >> make[4]: *** [mod_lua.la] Error 1 >> >> make[4]: Leaving directory >> `/usr/local/src/freeswitch/src/mod/languages/mod_lua' >> >> make[3]: *** [mod_lua-all] Error 1 >> >> make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod' >> >> make[2]: *** [all-recursive] Error 1 >> >> make[2]: Leaving directory `/usr/local/src/freeswitch/src' >> >> make[1]: *** [all-recursive] Error 1 >> >> make[1]: Leaving directory `/usr/local/src/freeswitch' >> >> make: *** [all] Error 2 >> >> >> >> I found this was fixed by re-installing lua-devel via: yum ?y install >> lua-devel >> >> >> >> However now when I continue on and complete the make && make install then >> start FreeSWITCH I get this error: >> >> >> >> 2015-12-02 15:19:22.341356 [CRIT] switch_loadable_module.c:1520 Error >> Loading module /usr/local/freeswitch/mod/mod_lua.so >> >> **/usr/local/freeswitch/mod/mod_lua.so: undefined symbol: lua_callk** >> >> >> >> I assume this issue is now related to the fact that lua-devel is version >> 5.1.4 and the installed system wide Lua is 5.2.4. >> >> >> >> Can anyone assist me in upgrading Lua to run Lua version 5.2.x within >> FreeSWITCH 1.6.5? >> >> >> >> Please note the procedure below works fine and runs Lua at version 5.1.4. >> >> >> >> FreeSWITCH 1.6.5 on CentOS 6.7 setup instructions: >> >> ======================================================== >> >> >> >> 1) Make sure yum update is run and CentOS is up-to-date >> >> >> >> 2) {optional} Inside Terminal window select Edit Profile Preferences and >> select "Use custom default terminal size" and make it 160 x 60. Close >> terminal and re-open for the change to take effect. >> >> >> >> 3) yum -y install epel-release >> >> >> >> 4) yum -y install git gcc-c++ autoconf automake libtool wget python >> ncurses-devel zlib-devel libjpeg-devel openssl-devel sqlite-devel >> libcurl-devel libxml2-devel libidn-devel >> >> 4.1) These should be already installed and up-to-date >> >> >> >> 5) yum -y install e2fsprogs-devel pcre-devel speex-devel ldns-devel >> libedit-devel libyuv-devel opus-devel libvpx-devel unbound-devel >> libuuid-devel lua-devel libsndfile-devel >> >> 5.1) These should install successfully >> >> >> >> 6) Note: No packages for: libvpx2*, libdb4* (so mod_vpx & mod_fsv will >> not be supported) >> >> >> >> 7) cd /usr/local/src >> >> >> >> 8) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git >> >> >> >> 9) cd /usr/local/src/freeswitch >> >> >> >> 10) ./bootstrap.sh >> >> >> >> 11) vi modules.conf >> >> 11.1) comment out (ie. place '#' infront): >> >> mod_fsv >> >> mod_vpx >> >> Save and close ( :wq!) >> >> >> >> 12) ./configure >> >> >> >> 13) make >> >> >> >> 14) make install >> >> >> >> 15) make cd-sounds-install >> >> >> >> 16) make cd-moh-install >> >> >> >> 17) cd /usr/local/freeswitch/conf >> >> >> >> 18) vi vars.xml >> >> 18.1) change: { >> !! set it to something different !! } >> >> Save and close ( :wq!) >> >> >> >> 19) cd /usr/local/freeswitch/conf/autoload_configs >> >> >> >> 20) vi modules.conf.xml >> >> 20.1) comment out (ie. place '' at the end): >> >> mod_fsv >> >> mod_vpx >> >> Save and close ( :wq!) >> >> >> >> 21) cd /usr/local/freeswitch/bin >> >> >> >> 22) ./freeswitch -nonat -nonatmap >> >> >> >> 23) ... to exit from the FreeSWITCH console >> >> >> >> Kind Regards, >> >> >> >> Andrew Keil >> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151202/9f6ca623/attachment.html From andrew.keil at visytel.com Wed Dec 2 08:50:05 2015 From: andrew.keil at visytel.com (Andrew Keil) Date: Wed, 2 Dec 2015 05:50:05 +0000 Subject: [Freeswitch-users] Re- FreeSWITCH 1.6.5 Lua version (can it be upgraded)? In-Reply-To: References: Message-ID: Luis, This seems a strange answer to say that I would break CentOS 6. Especially when earlier versions of the FreeSWITCH 1.4 branch did not use the system version of Lua and compiled their own version of Lua and ran Lua version 5.2 on CentOS 6. I actually need some Lua features that are inside Lua 5.2 and later, hence the need to make this work. Obviously I will run tests to make sure nothing breaks during this process. Andrew From: Luis Daniel Lucio Quiroz [mailto:luis.daniel.lucio at gmail.com] Sent: Wednesday, 2 December 2015 4:41 PM To: FreeSWITCH Users Help ; Andrew Keil Subject: Re: [Freeswitch-users] Re- FreeSWITCH 1.6.5 Lua version (can it be upgraded)? Don't upgrade to LUA5.2, you are going to break the Centos6. Freeswitch can and uses system lua, that gives you many advantages, like using luarocks and other lua modules. Some lua modules are not source, but binary; the binary lua-modules are linked against lua5.1 (because the RPM system). I have not found any LUA script not compatible on Lua5.1 that runs on Freeswitch. And if you are going to install any 'compiled' lua script, you need to stick with lua version (like the binary modules). Luis Daniel Lucio Quiroz CISSP, CISM, CISA Linux, VoIP and much more fun www.okay.com.mx Need LCR? Check out LCR for FusionPBX with FreeSWITCH Need Billing? Check out Billing for FusionPBX with FreeSWITCH 2015-12-02 0:11 GMT-05:00 Michael Jerris >: I would check how the rpm is doing the build. Looks like an fpic issue, Installing the dev package against a different version manually installed is a recipie for causing all kinds of issues that are a pain to fix. If you are using packages at all, don't mix it. On Tuesday, December 1, 2015, Andrew Keil > wrote: To FreeSWITCH users, I just noticed that since upgrading to FreeSWITCH 1.6.5 (on CentOS 6.7 or CentOS 7) that the Lua version is 5.1.4 (since when running yum install lua-devel the version installed is 5.1.4). Also when I type: lua -v {it returns 5.1.4} In order to try to upgrade Lua inside FreeSWITCH to version 5.2.4 I followed this procedure: First I uninstalled lua-devel by typing: yum -y remove lua-devel Then I then installed off lua.org a later version (in this case 5.2.4, even though they are up to 5.3.2 now): 1) cd /usr/local/src 2) curl -R -O http://www.lua.org/ftp/lua-5.2.4.tar.gz 3) cd lua-5.2.4 4) make linux test 5) make linux install 6) Tested by typing: lua -v (to check the version number) ? All OK now reports 5.2.4 correctly Next I followed the instructions below from (7) to (13) {first I made sure the freeswitch directory was removed by typing rm -rf freeswitch from the /usr/local/src directory} Unfortunately, I received this error message from the FreeSWITCH make command: making all mod_lua make[4]: Entering directory `/usr/local/src/freeswitch/src/mod/languages/mod_lua' CXXLD mod_lua.la /usr/bin/ld: /usr/local/lib/liblua.a(lapi.o): relocation R_X86_64_32 against `luaO_nilobject_' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/liblua.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[4]: *** [mod_lua.la] Error 1 make[4]: Leaving directory `/usr/local/src/freeswitch/src/mod/languages/mod_lua' make[3]: *** [mod_lua-all] Error 1 make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/freeswitch/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/freeswitch' make: *** [all] Error 2 I found this was fixed by re-installing lua-devel via: yum ?y install lua-devel However now when I continue on and complete the make && make install then start FreeSWITCH I get this error: 2015-12-02 15:19:22.341356 [CRIT] switch_loadable_module.c:1520 Error Loading module /usr/local/freeswitch/mod/mod_lua.so **/usr/local/freeswitch/mod/mod_lua.so: undefined symbol: lua_callk** I assume this issue is now related to the fact that lua-devel is version 5.1.4 and the installed system wide Lua is 5.2.4. Can anyone assist me in upgrading Lua to run Lua version 5.2.x within FreeSWITCH 1.6.5? Please note the procedure below works fine and runs Lua at version 5.1.4. FreeSWITCH 1.6.5 on CentOS 6.7 setup instructions: ======================================================== 1) Make sure yum update is run and CentOS is up-to-date 2) {optional} Inside Terminal window select Edit Profile Preferences and select "Use custom default terminal size" and make it 160 x 60. Close terminal and re-open for the change to take effect. 3) yum -y install epel-release 4) yum -y install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel sqlite-devel libcurl-devel libxml2-devel libidn-devel 4.1) These should be already installed and up-to-date 5) yum -y install e2fsprogs-devel pcre-devel speex-devel ldns-devel libedit-devel libyuv-devel opus-devel libvpx-devel unbound-devel libuuid-devel lua-devel libsndfile-devel 5.1) These should install successfully 6) Note: No packages for: libvpx2*, libdb4* (so mod_vpx & mod_fsv will not be supported) 7) cd /usr/local/src 8) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git 9) cd /usr/local/src/freeswitch 10) ./bootstrap.sh 11) vi modules.conf 11.1) comment out (ie. place '#' infront): mod_fsv mod_vpx Save and close ( :wq!) 12) ./configure 13) make 14) make install 15) make cd-sounds-install 16) make cd-moh-install 17) cd /usr/local/freeswitch/conf 18) vi vars.xml 18.1) change: { !! set it to something different !! } Save and close ( :wq!) 19) cd /usr/local/freeswitch/conf/autoload_configs 20) vi modules.conf.xml 20.1) comment out (ie. place '' at the end): mod_fsv mod_vpx Save and close ( :wq!) 21) cd /usr/local/freeswitch/bin 22) ./freeswitch -nonat -nonatmap 23) ... to exit from the FreeSWITCH console Kind Regards, Andrew Keil _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151202/d71f8af1/attachment-0001.html From andrew.keil at visytel.com Wed Dec 2 12:29:32 2015 From: andrew.keil at visytel.com (Andrew Keil) Date: Wed, 2 Dec 2015 09:29:32 +0000 Subject: [Freeswitch-users] How to get later versions of Lua to run on FreeSWITCH 1.6.5 running on CentOS 6 or CentOS 7 Message-ID: To all, After much testing I have managed to get Lua 5.3.2 (the latest Lua version, however this will work with all the Lua 5.2.x versions) to run inside FreeSWITCH 1.6.5 on CentOS 6.7 (however the same should work inside CentOS 7). Here is what I have done. Please make any comments and improvements to this procedure. *** One part I am not happy with is that I have to manually copy the liblua.so from /usr/local/lib to /usr/local/freeswitch/lib (see point 22 below). For some reason FreeSWITCH does not find the shared library inside /usr/local/lib. Maybe there is a setting for this I can change as the other option is to put liblua.so inside /usr/lib64 where "yum install lua-devel" puts the liblua.so for Lua version 5.1.4, however I do not like this concept. *** Please note: Currently mod_fsv and mod_vpx (both are relating to FreeSWITCH video features) are not supported inside these instructions, however if you are wanting to move off 1.4.x (since this is going end-of-life in 2016 at some stage) then this could at least be a very good first step, especially if upgrading to Centos 7 is not possible based on your current environment setup. This is based on a fresh installation of CentOS 6.7 (CentOS-6.7-x86_64-bin-DVD1.iso). In my case I ran a default setup selecting Software Development Workstation. Logged in as root user. 1) Make sure yum update is run and CentOS is up-to-date 2) {optional} Inside Terminal window select Edit Profile Preferences and select "Use custom default terminal size" and make it 160 x 60. Close terminal and re-open for the change to take effect. 3) yum -y install epel-release 4) yum -y install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel sqlite-devel libcurl-devel libxml2-devel libidn-devel 4.1) These should be already installed and up-to-date 5) yum -y install e2fsprogs-devel pcre-devel speex-devel ldns-devel libedit-devel libyuv-devel opus-devel libvpx-devel unbound-devel libuuid-devel libsndfile-devel 5.1) These should install successfully 5.2) Originally I also installed lua-devel, so if this has already been installed then remove it by: yum -y remove lua-devel 6) Note: No packages for: libvpx2*, libdb4* (so mod_vpx & mod_fsv will not be supported) 7) Setup Lua 5.3.2 here (obviously you can select your own version): 7.1) cd /usr/local/src 7.2) curl -R -O http://www.lua.org/ftp/lua-5.3.2.tar.gz 7.3) tar zxf lua-5.3.2.tar.gz 7.4) cd /usr/local/src/lua-5.3.2 7.5) vi Makefile Change: TO_LIB= liblua.a To be: TO_LIB= liblua.a liblua.so Save and close ( :wq!) 7.6) cd /usr/local/src/lua-5.3.2/src 7.7) vi Makefile Change: CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS) To be: CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS) -fPIC Add under: LUA_A= liblua.a The line: LUA_SO= liblua.so Change: ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) To be: ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO) Add under: $(LUAC_T): $(LUAC_O) $(LUA_A) $(CC) -o $@ $(LDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS) The lines: $(LUA_SO): $(CORE_O) $(LIB_O) $(CC) -o $@ -shared $? Save and close ( :wq!) 7.8) make linux test 7.9) make linux install 8) cd /usr/local/src 9) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git 10) cd /usr/local/src/freeswitch 11) ./bootstrap.sh 12) vi modules.conf 12.1) comment out (ie. place '#' infront): mod_fsv mod_vpx Save and close ( :wq!) 13) ./configure 14) make 15) make install 16) make cd-sounds-install 17) make cd-moh-install 18) cd /usr/local/freeswitch/conf 19) vi vars.xml 19.1) change: { !! set it to something different !! } Save and close ( :wq!) 20) cd /usr/local/freeswitch/conf/autoload_configs 21) vi modules.conf.xml 21.1) comment out (ie. place '' at the end): mod_fsv mod_vpx Save and close ( :wq!) 22) cp /usr/local/lib/liblua.so /usr/local/freeswitch/lib/. 23) cd /usr/local/freeswitch/bin 24) ./freeswitch -nonat -nonatmap 25) ... to exit from the FreeSWITCH console -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151202/01aaf646/attachment.html From victor.medina at cibersys.com Wed Dec 2 15:03:17 2015 From: victor.medina at cibersys.com (Victor Medina) Date: Wed, 2 Dec 2015 07:33:17 -0430 Subject: [Freeswitch-users] Predifined vid-logo-img In-Reply-To: References: Message-ID: Anthony, as always, thanks! 2015-12-01 16:24 GMT-04:30 Anthony Minessale : > video_logo_path channel variable or global variable > > > > On Mon, Nov 30, 2015 at 1:49 PM, Victor Medina > wrote: > >> Hi guys! >> >> ?Is there any way to predifine vid-logo-img for all users joining a >> conference? I can perefectly to it using the console, but would like it to >> be predifined as default to every user joining a conference. >> >> Thanks as usual!? >> >> -- >> >> >> >> V?ctor E. Medina M. >> Platform Architect / Chief Infrastructure >> +58424 291 4561 >> BB #79A8AFA2 >> @VMCibersys >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- V?ctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151202/390c2fde/attachment-0001.html From ssinyagin at gmail.com Wed Dec 2 15:33:13 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Wed, 2 Dec 2015 13:33:13 +0100 Subject: [Freeswitch-users] Predifined vid-logo-img In-Reply-To: References: Message-ID: added to my TODO list for variables documentation On Tue, Dec 1, 2015 at 9:54 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > video_logo_path channel variable or global variable > > > > On Mon, Nov 30, 2015 at 1:49 PM, Victor Medina > wrote: > >> Hi guys! >> >> ?Is there any way to predifine vid-logo-img for all users joining a >> conference? I can perefectly to it using the console, but would like it to >> be predifined as default to every user joining a conference. >> >> Thanks as usual!? >> >> -- >> >> >> >> V?ctor E. Medina M. >> Platform Architect / Chief Infrastructure >> +58424 291 4561 >> BB #79A8AFA2 >> @VMCibersys >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151202/131700b1/attachment.html From victor.medina at cibersys.com Wed Dec 2 15:56:29 2015 From: victor.medina at cibersys.com (Victor Medina) Date: Wed, 2 Dec 2015 08:26:29 -0430 Subject: [Freeswitch-users] Predifined vid-logo-img In-Reply-To: References: Message-ID: =) I was going to say just that! 2015-12-02 8:03 GMT-04:30 Stanislav Sinyagin : > added to my TODO list for variables documentation > > On Tue, Dec 1, 2015 at 9:54 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> video_logo_path channel variable or global variable >> >> >> >> On Mon, Nov 30, 2015 at 1:49 PM, Victor Medina < >> victor.medina at cibersys.com> wrote: >> >>> Hi guys! >>> >>> ?Is there any way to predifine vid-logo-img for all users joining a >>> conference? I can perefectly to it using the console, but would like it to >>> be predifined as default to every user joining a conference. >>> >>> Thanks as usual!? >>> >>> -- >>> >>> >>> >>> V?ctor E. Medina M. >>> Platform Architect / Chief Infrastructure >>> +58424 291 4561 >>> BB #79A8AFA2 >>> @VMCibersys >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >> >> ? http://freeswitch.org/ ? http://cluecon.com/ ? >> http://twitter.com/FreeSWITCH >> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- V?ctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151202/d1ceb297/attachment.html From victor.medina at cibersys.com Wed Dec 2 15:58:05 2015 From: victor.medina at cibersys.com (Victor Medina) Date: Wed, 2 Dec 2015 08:28:05 -0430 Subject: [Freeswitch-users] Predifined vid-logo-img In-Reply-To: References: Message-ID: Just saying... Is there anyway, to add a logo to the whole canvas?, on the upper left corner? =) 2015-12-02 8:26 GMT-04:30 Victor Medina : > =) I was going to say just that! > > 2015-12-02 8:03 GMT-04:30 Stanislav Sinyagin : > >> added to my TODO list for variables documentation >> >> On Tue, Dec 1, 2015 at 9:54 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> video_logo_path channel variable or global variable >>> >>> >>> >>> On Mon, Nov 30, 2015 at 1:49 PM, Victor Medina < >>> victor.medina at cibersys.com> wrote: >>> >>>> Hi guys! >>>> >>>> ?Is there any way to predifine vid-logo-img for all users joining a >>>> conference? I can perefectly to it using the console, but would like it to >>>> be predifined as default to every user joining a conference. >>>> >>>> Thanks as usual!? >>>> >>>> -- >>>> >>>> >>>> >>>> V?ctor E. Medina M. >>>> Platform Architect / Chief Infrastructure >>>> +58424 291 4561 >>>> BB #79A8AFA2 >>>> @VMCibersys >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>> >>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>> http://twitter.com/FreeSWITCH >>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>> * >>> >>> ClueCon Weekly Development Call >>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>> >>> https://www.youtube.com/watch?v=9XXgW34t40s >>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > > > V?ctor E. Medina M. > Platform Architect / Chief Infrastructure > +58424 291 4561 > BB #79A8AFA2 > @VMCibersys > > -- V?ctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151202/dd04fc4e/attachment-0001.html From luis.daniel.lucio at gmail.com Wed Dec 2 16:53:47 2015 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Wed, 2 Dec 2015 08:53:47 -0500 Subject: [Freeswitch-users] Re- FreeSWITCH 1.6.5 Lua version (can it be upgraded)? In-Reply-To: References: Message-ID: Then don't compile it that way. You should back port the srpm and maybe luarocks as well. Note that this discussion has nothing to do with FreeSWITCH, it is pure sysadmin work. Le 2 d?c. 2015 12:50 AM, "Andrew Keil" a ?crit : > Luis, > > > > This seems a strange answer to say that I would break CentOS 6. > Especially when earlier versions of the FreeSWITCH 1.4 branch did not use > the system version of Lua and compiled their own version of Lua and ran Lua > version 5.2 on CentOS 6. > > > > I actually need some Lua features that are inside Lua 5.2 and later, hence > the need to make this work. > > > > Obviously I will run tests to make sure nothing breaks during this process. > > > > Andrew > > > > *From:* Luis Daniel Lucio Quiroz [mailto:luis.daniel.lucio at gmail.com] > *Sent:* Wednesday, 2 December 2015 4:41 PM > *To:* FreeSWITCH Users Help ; > Andrew Keil > *Subject:* Re: [Freeswitch-users] Re- FreeSWITCH 1.6.5 Lua version (can > it be upgraded)? > > > > Don't upgrade to LUA5.2, you are going to break the Centos6. Freeswitch > can and uses system lua, that gives you many advantages, like using > luarocks and other lua modules. Some lua modules are not source, but > binary; the binary lua-modules are linked against lua5.1 (because the RPM > system). > > > > I have not found any LUA script not compatible on Lua5.1 that runs on > Freeswitch. And if you are going to install any 'compiled' lua script, you > need to stick with lua version (like the binary modules). > > > Luis Daniel Lucio Quiroz > CISSP, CISM, CISA > Linux, VoIP and much more fun > www.okay.com.mx > > Need LCR? Check out LCR for FusionPBX with FreeSWITCH > Need Billing? Check out Billing for FusionPBX with FreeSWITCH > > > > 2015-12-02 0:11 GMT-05:00 Michael Jerris : > > I would check how the rpm is doing the build. Looks like an fpic issue, > Installing the dev package against a different version manually installed > is a recipie for causing all kinds of issues that are a pain to fix. If > you are using packages at all, don't mix it. > > > > On Tuesday, December 1, 2015, Andrew Keil wrote: > > To FreeSWITCH users, > > > > I just noticed that since upgrading to FreeSWITCH 1.6.5 (on CentOS 6.7 or > CentOS 7) that the Lua version is 5.1.4 (since when running yum install > lua-devel the version installed is 5.1.4). > > Also when I type: lua -v {it returns 5.1.4} > > > > In order to try to upgrade Lua inside FreeSWITCH to version 5.2.4 I > followed this procedure: > > > > First I uninstalled lua-devel by typing: yum -y remove lua-devel > > > > Then I then installed off lua.org a later version (in this case 5.2.4, > even though they are up to 5.3.2 now): > > > > 1) cd /usr/local/src > > 2) curl -R -O http://www.lua.org/ftp/lua-5.2.4.tar.gz > > 3) cd lua-5.2.4 > > 4) make linux test > > 5) make linux install > > 6) Tested by typing: lua -v (to check the version number) ? All OK > now reports 5.2.4 correctly > > > > Next I followed the instructions below from (7) to (13) {first I made sure > the freeswitch directory was removed by typing rm -rf freeswitch from the > /usr/local/src directory} > > > > Unfortunately, I received this error message from the FreeSWITCH make > command: > > > > making all mod_lua > > make[4]: Entering directory > `/usr/local/src/freeswitch/src/mod/languages/mod_lua' > > CXXLD mod_lua.la > > /usr/bin/ld: /usr/local/lib/liblua.a(lapi.o): relocation R_X86_64_32 > against `luaO_nilobject_' can not be used when making a shared object; > recompile with -fPIC > > /usr/local/lib/liblua.a: could not read symbols: Bad value > > collect2: ld returned 1 exit status > > make[4]: *** [mod_lua.la] Error 1 > > make[4]: Leaving directory > `/usr/local/src/freeswitch/src/mod/languages/mod_lua' > > make[3]: *** [mod_lua-all] Error 1 > > make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod' > > make[2]: *** [all-recursive] Error 1 > > make[2]: Leaving directory `/usr/local/src/freeswitch/src' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/usr/local/src/freeswitch' > > make: *** [all] Error 2 > > > > I found this was fixed by re-installing lua-devel via: yum ?y install > lua-devel > > > > However now when I continue on and complete the make && make install then > start FreeSWITCH I get this error: > > > > 2015-12-02 15:19:22.341356 [CRIT] switch_loadable_module.c:1520 Error > Loading module /usr/local/freeswitch/mod/mod_lua.so > > **/usr/local/freeswitch/mod/mod_lua.so: undefined symbol: lua_callk** > > > > I assume this issue is now related to the fact that lua-devel is version > 5.1.4 and the installed system wide Lua is 5.2.4. > > > > Can anyone assist me in upgrading Lua to run Lua version 5.2.x within > FreeSWITCH 1.6.5? > > > > Please note the procedure below works fine and runs Lua at version 5.1.4. > > > > FreeSWITCH 1.6.5 on CentOS 6.7 setup instructions: > > ======================================================== > > > > 1) Make sure yum update is run and CentOS is up-to-date > > > > 2) {optional} Inside Terminal window select Edit Profile Preferences and > select "Use custom default terminal size" and make it 160 x 60. Close > terminal and re-open for the change to take effect. > > > > 3) yum -y install epel-release > > > > 4) yum -y install git gcc-c++ autoconf automake libtool wget python > ncurses-devel zlib-devel libjpeg-devel openssl-devel sqlite-devel > libcurl-devel libxml2-devel libidn-devel > > 4.1) These should be already installed and up-to-date > > > > 5) yum -y install e2fsprogs-devel pcre-devel speex-devel ldns-devel > libedit-devel libyuv-devel opus-devel libvpx-devel unbound-devel > libuuid-devel lua-devel libsndfile-devel > > 5.1) These should install successfully > > > > 6) Note: No packages for: libvpx2*, libdb4* (so mod_vpx & mod_fsv will not > be supported) > > > > 7) cd /usr/local/src > > > > 8) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git > > > > 9) cd /usr/local/src/freeswitch > > > > 10) ./bootstrap.sh > > > > 11) vi modules.conf > > 11.1) comment out (ie. place '#' infront): > > mod_fsv > > mod_vpx > > Save and close ( :wq!) > > > > 12) ./configure > > > > 13) make > > > > 14) make install > > > > 15) make cd-sounds-install > > > > 16) make cd-moh-install > > > > 17) cd /usr/local/freeswitch/conf > > > > 18) vi vars.xml > > 18.1) change: { > !! set it to something different !! } > > Save and close ( :wq!) > > > > 19) cd /usr/local/freeswitch/conf/autoload_configs > > > > 20) vi modules.conf.xml > > 20.1) comment out (ie. place '' at the end): > > mod_fsv > > mod_vpx > > Save and close ( :wq!) > > > > 21) cd /usr/local/freeswitch/bin > > > > 22) ./freeswitch -nonat -nonatmap > > > > 23) ... to exit from the FreeSWITCH console > > > > Kind Regards, > > > > Andrew Keil > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151202/ea0846b5/attachment.html From mitch.capper at gmail.com Wed Dec 2 17:20:32 2015 From: mitch.capper at gmail.com (Mitch Capper) Date: Wed, 2 Dec 2015 06:20:32 -0800 Subject: [Freeswitch-users] FreeSWITCH version 1.4.x end of life - recommendation please In-Reply-To: References: <875F45BD-F2C9-4E63-ADEC-669F54C61D06@jerris.com> Message-ID: I would also like to mention that while FS is often recommended not to run virtualized, running FS in docker I believe has far less stigma against it (and should perform quite a bit better). This also makes it fairly easy to run FS on most based OS's with provided packages as you can have the full debian dependency set or similar inside the container while running whatever preferred OS outside of it. ~Mitch On Tue, Dec 1, 2015 at 2:49 PM, Luis Daniel Lucio Quiroz < luis.daniel.lucio at gmail.com> wrote: > Steven, I didn't say anything about dep problems. I was trying to tell > complaining people that no one can be forced to do things (because > demanding support on centos). Anyway, I have all solved with video. > > Luis Daniel Lucio Quiroz > CISSP, CISM, CISA > Linux, VoIP and much more fun > www.okay.com.mx > > Need LCR? Check out LCR for FusionPBX with FreeSWITCH > Need Billing? Check out Billing for FusionPBX with FreeSWITCH > > 2015-12-01 12:45 GMT-05:00 Steven Ayre : > >> Matching what we use is only relevant for 2 cases. >>> 1) If you want the video functionality to work. most of the media and >>> codec libs are not packages everywhere and they need to be very recent >>> versions. Most of what we can do right now in video was not possible 8 >>> months ago. >> >> >> Luis, if you're finding dependancy problems there's a good chance you >> don't need all of the modules and can avoid quite a few of the dependancy >> problems by compiling from source and omitting those modules from the build. >> >> See the modules.conf file (see example build/modules.conf.in - edit and >> drop it in the same directory as bootstrap.sh named as modules.conf before >> running bootstrap and configure). >> >> If you can't omit it then you're using the library and if you can't build >> it against your system version then there's a fair chance your system >> version is too old to support the feature you're wanting to use, since >> generally speaking interfaces don't change too much unless features are >> changing. >> >> On 20 November 2015 at 22:42, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> >>> >>> On Thu, Nov 19, 2015 at 5:46 PM, Luis Daniel Lucio Quiroz < >>> luis.daniel.lucio at gmail.com> wrote: >>> >>>> You totally got me wrong. >>>> >>>> I was trying to conciliate between the two parts. As someone reclaim >>>> the current state of systems. I won't try it again. >>>> >>>> And answering your statement. What is your parameter to establish a >>>> distribution is still the same? I was able to build fs16 under centos6. It >>>> is still centos6, it was no easy. My productions servers have been running >>>> without issues. >>>> >>> >>> You can backpedal if you want but you made a reference to the project >>> being killed for trying to find a stable ongoing platform in Debian among >>> 1000 chaotic distro choices despite the fact that we also still work on a >>> best effort to support every platform. Naturally when you make statements >>> to cause a whole group of people to think they are wrong for not agreeing >>> with you, they will get annoyed. You still don't see our point or you >>> would not continue to argue. Its like we are having a party and you come >>> over to our house and we have some potato chips out with french onion dip >>> and you tell us our party is a dud because we don't have dill dip. You >>> wan't some dill dip, bring some dill dip.....We'll bring the chips. >>> >>> >>> >>>> As far as I remember, the only core lib I updated was alsa, because a >>>> module looking for a especific function. All others were new rpm's or >>>> updates and They were not part of core (like glib, dbus, udev just to name >>>> examples). Note I am talking about using RPM all time, I don't use >>>> tarballs as I agree with you that doing that breaks any distribution soul. >>>> >>>> I disagree when you imply that you must match versions you use. If that >>>> would be true, many other big projects would not work. When back porting, >>>> You just must match what you need. >>>> >>>> >>> >>> Matching what we use is only relevant for 2 cases. >>> >>> 1) If you want the video functionality to work. most of the media and >>> codec libs are not packages everywhere and they need to be very recent >>> versions. Most of what we can do right now in video was not possible 8 >>> months ago. >>> >>> 2) You need help. If a bug ends up related to system lib related issues >>> and it is using a version we are unfamiliar with, then we have to stop >>> there. >>> >>> >>> >>> >>>> I agree this is a problem of any 5+ years support distribution; we just >>>> have to live with it. >>>> >>>> Said this. I think the main topic of discussion was lost. >>>> >>> >>> The main topic is, if you want CentOS to work, help the people who are >>> working on it to get it working. We supply the build servers and keep an >>> eye on it but we need people who actually care about it to work on doing it >>> right and doing it in a way that will allow things to work on ALL >>> PLATFORMS. Many build patches for one OS are not sufficient because they >>> break the builds on other platforms. >>> Its just like code, you need to write code that works in all paths, not >>> just the one you happen to care about. Keep that in mind and help out and >>> you will have working RPMs. It has nothing to do with what we prefer or >>> not. >>> >>> >>> >>> >>>> Le 19 nov. 2015 5:32 PM, "Anthony Minessale" < >>>> anthony.minessale at gmail.com> a ?crit : >>>> >>>>> >>>>> >>>>> On Thursday, November 19, 2015, Luis Daniel Lucio Quiroz < >>>>> luis.daniel.lucio at gmail.com> wrote: >>>>> >>>>>> I think this is a big misunderstanding >>>>>> >>>>>> Brian is right by saying the hard work is done. >>>>>> >>>>>> But the position the FreeSWITCH project has taken about pushing >>>>>> Debian is a killer for the project. >>>>>> >>>>>> It is very common that the favor becomes obligation. Specially for >>>>>> those who doesn't understand the open source thinking. But no one can push >>>>>> any one to do things. >>>>>> >>>>> >>>>> I do not appreciate the FUD. You clearly take for granted the burden >>>>> of managing a project. Try to be more considerate. >>>>> >>>>> If you know how to compile code, you can check out git master and go >>>>> find the tarballs of every dependancy and build, install or make packages >>>>> of it and it will work. >>>>> Our packages are a luxury designed to be used by community members who >>>>> do not wish to take on the task themselves. If you do not like them, don't >>>>> use them. >>>>> >>>>> If you want to make CentOS work the same as Debian, you simply have to >>>>> manually update all the depends to match the exact versions we use and deal >>>>> with the cascading dependency yourself. >>>>> Once you are done, it will not be CentOS anymore because of all the >>>>> modifications. The are behind on libraries because the longer time moves >>>>> on the harder it is to update all the packages on the distro. >>>>> We only have resources for one permutation of this nightmare and with >>>>> Debian we only have to deal with 2% of the problems CentOS currently has. >>>>> If CentOS finally decides to catch up, you will have an easier time >>>>> getting things to work but that time is not now. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>> Le 19 nov. 2015 12:21 PM, "Brian West" a >>>>>> ?crit : >>>>>> >>>>>>> You're highlighting why we have an open source community, its where >>>>>>> the community steps up, helps figure this out and contributes the solution >>>>>>> to the problem for all to benefit from, Its the least anyone could do thats >>>>>>> running FreeSWITCH as the hardest part is already done for you for free! :) >>>>>>> >>>>>>> /b >>>>>>> >>>>>>> >>>>>>> On Thu, Nov 19, 2015 at 5:41 AM, Olgierd Ziolko < >>>>>>> lists.fs-users at uce.pw> wrote: >>>>>>> >>>>>>>> Hi* >>>>>>>> >>>>>>>> But when it's cross-checked against inventory or network drawings >>>>>>>> he's going to be busted (and put in much worse position). >>>>>>>> >>>>>>>> Personally I find CentOS 7 waaaaaay too edgy for corporate >>>>>>>> requirements - we (as in my company) are running servers on specific OS >>>>>>>> version (inc. 6.5, but not 7), custom subset of software, sometimes with >>>>>>>> custom patches, customised (a whole lot) kernel, so I just can't afford >>>>>>>> throwing it all out the window just for the sake of using most recent >>>>>>>> packaged version (and when we're at packages: Debian's packaging is >>>>>>>> horrendous, how can't such simply systemd service file problem unresolved >>>>>>>> for months?). >>>>>>>> >>>>>>>> So I'm very on the Andrew's (the first) side. >>>>>>>> >>>>>>>> * hello everyone, I'm kind of fresh FreeSWITCH user and I'll try my >>>>>>>> best to contribute to the community (because I've already got so much). >>>>>>>> Thank you all. >>>>>>>> >>>>>>>> On 19 November 2015 at 10:29, Andrew Cassidy < >>>>>>>> andrew at cassidywebservices.co.uk> wrote: >>>>>>>> >>>>>>>>> You can pass PCI-DSS with proper firewall rules. For example, if >>>>>>>>> you FS server only needs to accept calls from certain IP addresses, >>>>>>>>> firewalling it out will pass the automated tests easily. >>>>>>>>> >>>>>>>>> I know it's not ideal, but I've managed to make unpatched Windows >>>>>>>>> 2003 servers pass the automated tests just by hiding them behind a proxy. >>>>>>>>> >>>>>>>>> I'm not condoning this practise, just timelines on that particular >>>>>>>>> project required that they pass until we could upgrade them to Windows >>>>>>>>> 2012. It bought us the time we needed >>>>>>>>> >>>>>>>>> On 19 November 2015 at 08:21, Andrew Keil >>>>>>>> > wrote: >>>>>>>>> >>>>>>>>>> Thanks for your feedback. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>>>>>>>>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael >>>>>>>>>> Jerris >>>>>>>>>> *Sent:* Thursday, 19 November 2015 11:12 AM >>>>>>>>>> *To:* FreeSWITCH Users Help < >>>>>>>>>> freeswitch-users at lists.freeswitch.org> >>>>>>>>>> *Subject:* Re: [Freeswitch-users] FreeSWITCH version 1.4.x end >>>>>>>>>> of life - recommendation please >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Nov 18, 2015, at 6:49 PM, Andrew Keil >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> To FreeSWITCH users, >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> In order for my client to plan for FreeSWITCH version 1.4.x end >>>>>>>>>> of life, I have a few questions that I hope the FreeSWITCH team can help >>>>>>>>>> answer: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> 1) Since the FreeSWITCH version 1.4.x branch is going end >>>>>>>>>> of life in early 2016, then obviously I need my client to migrate to the >>>>>>>>>> FreeSWITCH version 1.6.x branch ASAP. Is there a definite date when the >>>>>>>>>> FreeSWITCH version 1.4.x branch is going end of life? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> We don't have a specific date set, we will provide as many >>>>>>>>>> critical and security fixes as we can for it for a while. That being said, >>>>>>>>>> we are already at the point where significant portions of fixes are not >>>>>>>>>> possible to back-port due to significant changes in the code between 1.4 >>>>>>>>>> and 1.6. This continues to get worse over time. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> 2) Regarding the FreeSWITCH version 1.6.x branch: >>>>>>>>>> >>>>>>>>>> a. Can this run on CentOS 6.x (ie. the latest release of >>>>>>>>>> CentOS 6)? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> We have made minimal effort to try to package dependencies for >>>>>>>>>> it, and it was abandoned as it was determined to be too much work. Its >>>>>>>>>> probably possible, but expect to: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> 1. Not have any support for video features. >>>>>>>>>> >>>>>>>>>> 2. Spend significant time working on packaging your own >>>>>>>>>> dependencies and testing. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> i. >>>>>>>>>> I understand that CentOS 7 is recommended, however >>>>>>>>>> upgrading the OS is a much bigger task than simply upgrading FreeSWITCH. >>>>>>>>>> Especially since my client is also PCI compliant to enable credit card >>>>>>>>>> processing, which requires rigorous Operating System lockdown. Currently >>>>>>>>>> my client will not be using the video features inside FreeSWITCH (ie. >>>>>>>>>> initially only using the feature set inside the FreeSWITCH version 1.4.x >>>>>>>>>> branch). >>>>>>>>>> >>>>>>>>>> ii. >>>>>>>>>> Is there anything I should be aware of when trying to get >>>>>>>>>> FreeSWITCH version 1.6.x branch working on CentOS 6? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> We have done zero testing on it. You will have to do all the >>>>>>>>>> dependency packaging back-porting for the deps you need and do testing and >>>>>>>>>> let us know. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> I appreciate any feedback that you are able to provide to make >>>>>>>>>> this process as painless as possible. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> *Andrew Cassidy BSc (Hons) MBCS SSCA* >>>>>>>>> Managing Director >>>>>>>>> >>>>>>>>> >>>>>>>>> *T *03300 100 960 *F *03300 100 961 >>>>>>>>> *E *andrew at cassidywebservices.co.uk >>>>>>>>> *W *www.cassidywebservices.co.uk >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> *Brian West* >>>>>>> brian at freeswitch.org >>>>>>> >>>>>>> >>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>> http://www.freeswitchbook.com >>>>>>> http://www.freeswitchcookbook.com >>>>>>> >>>>>>> Got Bugs? Report them here ! | Reddit: >>>>>>> /r/freeswitch >>>>>>> >>>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>> >>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>> http://twitter.com/FreeSWITCH >>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>> * >>> >>> ClueCon Weekly Development Call >>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>> >>> https://www.youtube.com/watch?v=9XXgW34t40s >>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151202/e544f4fa/attachment-0001.html From mike at jerris.com Wed Dec 2 17:27:20 2015 From: mike at jerris.com (Michael Jerris) Date: Wed, 2 Dec 2015 09:27:20 -0500 Subject: [Freeswitch-users] FreeSWITCH version 1.4.x end of life - recommendation please In-Reply-To: References: <875F45BD-F2C9-4E63-ADEC-669F54C61D06@jerris.com> Message-ID: Totally agree Mitch. One note, one of the advantages of Debian 8 is the fairly new kernel, particularly old kernels on the host could still impact performance, as there have been significant improvements in a number of important functions that impact freeswitch in newer kernels. These issues probably only impact people running 2 major version back distros in a significant way. > On Dec 2, 2015, at 9:20 AM, Mitch Capper wrote: > > I would also like to mention that while FS is often recommended not to run virtualized, running FS in docker I believe has far less stigma against it (and should perform quite a bit better). This also makes it fairly easy to run FS on most based OS's with provided packages as you can have the full debian dependency set or similar inside the container while running whatever preferred OS outside of it. > > ~Mitch > > On Tue, Dec 1, 2015 at 2:49 PM, Luis Daniel Lucio Quiroz > wrote: > Steven, I didn't say anything about dep problems. I was trying to tell complaining people that no one can be forced to do things (because demanding support on centos). Anyway, I have all solved with video. > > Luis Daniel Lucio Quiroz > CISSP, CISM, CISA > Linux, VoIP and much more fun > www.okay.com.mx > > Need LCR? Check out LCR for FusionPBX with FreeSWITCH > Need Billing? Check out Billing for FusionPBX with FreeSWITCH > > 2015-12-01 12:45 GMT-05:00 Steven Ayre >: > Matching what we use is only relevant for 2 cases. > 1) If you want the video functionality to work. most of the media and codec libs are not packages everywhere and they need to be very recent versions. Most of what we can do right now in video was not possible 8 months ago. > > Luis, if you're finding dependancy problems there's a good chance you don't need all of the modules and can avoid quite a few of the dependancy problems by compiling from source and omitting those modules from the build. > > See the modules.conf file (see example build/modules.conf.in - edit and drop it in the same directory as bootstrap.sh named as modules.conf before running bootstrap and configure). > > If you can't omit it then you're using the library and if you can't build it against your system version then there's a fair chance your system version is too old to support the feature you're wanting to use, since generally speaking interfaces don't change too much unless features are changing. > > On 20 November 2015 at 22:42, Anthony Minessale > wrote: > > > On Thu, Nov 19, 2015 at 5:46 PM, Luis Daniel Lucio Quiroz > wrote: > You totally got me wrong. > > I was trying to conciliate between the two parts. As someone reclaim the current state of systems. I won't try it again. > > And answering your statement. What is your parameter to establish a distribution is still the same? I was able to build fs16 under centos6. It is still centos6, it was no easy. My productions servers have been running without issues. > > > You can backpedal if you want but you made a reference to the project being killed for trying to find a stable ongoing platform in Debian among 1000 chaotic distro choices despite the fact that we also still work on a best effort to support every platform. Naturally when you make statements to cause a whole group of people to think they are wrong for not agreeing with you, they will get annoyed. You still don't see our point or you would not continue to argue. Its like we are having a party and you come over to our house and we have some potato chips out with french onion dip and you tell us our party is a dud because we don't have dill dip. You wan't some dill dip, bring some dill dip.....We'll bring the chips. > > > As far as I remember, the only core lib I updated was alsa, because a module looking for a especific function. All others were new rpm's or updates and They were not part of core (like glib, dbus, udev just to name examples). Note I am talking about using RPM all time, I don't use tarballs as I agree with you that doing that breaks any distribution soul. > > I disagree when you imply that you must match versions you use. If that would be true, many other big projects would not work. When back porting, You just must match what you need. > > > > > Matching what we use is only relevant for 2 cases. > > 1) If you want the video functionality to work. most of the media and codec libs are not packages everywhere and they need to be very recent versions. Most of what we can do right now in video was not possible 8 months ago. > > 2) You need help. If a bug ends up related to system lib related issues and it is using a version we are unfamiliar with, then we have to stop there. > > > > I agree this is a problem of any 5+ years support distribution; we just have to live with it. > > Said this. I think the main topic of discussion was lost. > > > The main topic is, if you want CentOS to work, help the people who are working on it to get it working. We supply the build servers and keep an eye on it but we need people who actually care about it to work on doing it right and doing it in a way that will allow things to work on ALL PLATFORMS. Many build patches for one OS are not sufficient because they break the builds on other platforms. > Its just like code, you need to write code that works in all paths, not just the one you happen to care about. Keep that in mind and help out and you will have working RPMs. It has nothing to do with what we prefer or not. > > > > Le 19 nov. 2015 5:32 PM, "Anthony Minessale" > a ?crit : > > > On Thursday, November 19, 2015, Luis Daniel Lucio Quiroz > wrote: > I think this is a big misunderstanding > > Brian is right by saying the hard work is done. > > But the position the FreeSWITCH project has taken about pushing Debian is a killer for the project. > > It is very common that the favor becomes obligation. Specially for those who doesn't understand the open source thinking. But no one can push any one to do things. > > > I do not appreciate the FUD. You clearly take for granted the burden of managing a project. Try to be more considerate. > > If you know how to compile code, you can check out git master and go find the tarballs of every dependancy and build, install or make packages of it and it will work. > Our packages are a luxury designed to be used by community members who do not wish to take on the task themselves. If you do not like them, don't use them. > > If you want to make CentOS work the same as Debian, you simply have to manually update all the depends to match the exact versions we use and deal with the cascading dependency yourself. > Once you are done, it will not be CentOS anymore because of all the modifications. The are behind on libraries because the longer time moves on the harder it is to update all the packages on the distro. > We only have resources for one permutation of this nightmare and with Debian we only have to deal with 2% of the problems CentOS currently has. > If CentOS finally decides to catch up, you will have an easier time getting things to work but that time is not now. > > > > > > > > > Le 19 nov. 2015 12:21 PM, "Brian West" > a ?crit : > You're highlighting why we have an open source community, its where the community steps up, helps figure this out and contributes the solution to the problem for all to benefit from, Its the least anyone could do thats running FreeSWITCH as the hardest part is already done for you for free! :) > > /b > > > On Thu, Nov 19, 2015 at 5:41 AM, Olgierd Ziolko > wrote: > Hi* > > But when it's cross-checked against inventory or network drawings he's going to be busted (and put in much worse position). > > Personally I find CentOS 7 waaaaaay too edgy for corporate requirements - we (as in my company) are running servers on specific OS version (inc. 6.5, but not 7), custom subset of software, sometimes with custom patches, customised (a whole lot) kernel, so I just can't afford throwing it all out the window just for the sake of using most recent packaged version (and when we're at packages: Debian's packaging is horrendous, how can't such simply systemd service file problem unresolved for months?). > > So I'm very on the Andrew's (the first) side. > > * hello everyone, I'm kind of fresh FreeSWITCH user and I'll try my best to contribute to the community (because I've already got so much). Thank you all. > > On 19 November 2015 at 10:29, Andrew Cassidy > wrote: > You can pass PCI-DSS with proper firewall rules. For example, if you FS server only needs to accept calls from certain IP addresses, firewalling it out will pass the automated tests easily. > > I know it's not ideal, but I've managed to make unpatched Windows 2003 servers pass the automated tests just by hiding them behind a proxy. > > I'm not condoning this practise, just timelines on that particular project required that they pass until we could upgrade them to Windows 2012. It bought us the time we needed > > On 19 November 2015 at 08:21, Andrew Keil > wrote: > Thanks for your feedback. > > > > From: freeswitch-users-bounces at lists.freeswitch.org <> [mailto:freeswitch-users-bounces at lists.freeswitch.org <>] On Behalf Of Michael Jerris > Sent: Thursday, 19 November 2015 11:12 AM > To: FreeSWITCH Users Help > > Subject: Re: [Freeswitch-users] FreeSWITCH version 1.4.x end of life - recommendation please > > > > > > On Nov 18, 2015, at 6:49 PM, Andrew Keil > wrote: > > > > To FreeSWITCH users, > > > > In order for my client to plan for FreeSWITCH version 1.4.x end of life, I have a few questions that I hope the FreeSWITCH team can help answer: > > > > 1) Since the FreeSWITCH version 1.4.x branch is going end of life in early 2016, then obviously I need my client to migrate to the FreeSWITCH version 1.6.x branch ASAP. Is there a definite date when the FreeSWITCH version 1.4.x branch is going end of life? > > > > We don't have a specific date set, we will provide as many critical and security fixes as we can for it for a while. That being said, we are already at the point where significant portions of fixes are not possible to back-port due to significant changes in the code between 1.4 and 1.6. This continues to get worse over time. > > > > 2) Regarding the FreeSWITCH version 1.6.x branch: > > a. Can this run on CentOS 6.x (ie. the latest release of CentOS 6)? > > > > We have made minimal effort to try to package dependencies for it, and it was abandoned as it was determined to be too much work. Its probably possible, but expect to: > > > > 1. Not have any support for video features. > > 2. Spend significant time working on packaging your own dependencies and testing. > > > > > > > i. I understand that CentOS 7 is recommended, however upgrading the OS is a much bigger task than simply upgrading FreeSWITCH. Especially since my client is also PCI compliant to enable credit card processing, which requires rigorous Operating System lockdown. Currently my client will not be using the video features inside FreeSWITCH (ie. initially only using the feature set inside the FreeSWITCH version 1.4.x branch). > > ii. Is there anything I should be aware of when trying to get FreeSWITCH version 1.6.x branch working on CentOS 6? > > > > We have done zero testing on it. You will have to do all the dependency packaging back-porting for the deps you need and do testing and let us know. > > > > > > > I appreciate any feedback that you are able to provide to make this process as painless as possible. > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org <> > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org <> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Andrew Cassidy BSc (Hons) MBCS SSCA > Managing Director > > > T <> 03300 100 960 F <> 03300 100 961 > E <> andrew at cassidywebservices.co.uk <> > W <> www.cassidywebservices.co.uk > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org <> > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org <> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org <> > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org <> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Brian West > brian at freeswitch.org <> > > Twitter: @FreeSWITCH , @briankwest > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > Got Bugs? Report them here ! | Reddit: /r/freeswitch > T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) > iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org <> > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org <> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? http://freeswitch.org/g+ > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151202/63461748/attachment-0001.html From anthony.minessale at gmail.com Wed Dec 2 21:35:40 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 2 Dec 2015 12:35:40 -0600 Subject: [Freeswitch-users] Predifined vid-logo-img In-Reply-To: References: Message-ID: The only thing you can do is to modify a layout in conference_layouts.conf.xml and add bgimg="/path/to/som.png" To the layout tag. Works best when the png is the same size as the whole canvas. On Wed, Dec 2, 2015 at 6:58 AM, Victor Medina wrote: > Just saying... > > Is there anyway, to add a logo to the whole canvas?, on the upper left > corner? =) > > 2015-12-02 8:26 GMT-04:30 Victor Medina : > >> =) I was going to say just that! >> >> 2015-12-02 8:03 GMT-04:30 Stanislav Sinyagin : >> >>> added to my TODO list for variables documentation >>> >>> On Tue, Dec 1, 2015 at 9:54 PM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> video_logo_path channel variable or global variable >>>> >>>> >>>> >>>> On Mon, Nov 30, 2015 at 1:49 PM, Victor Medina < >>>> victor.medina at cibersys.com> wrote: >>>> >>>>> Hi guys! >>>>> >>>>> ?Is there any way to predifine vid-logo-img for all users joining a >>>>> conference? I can perefectly to it using the console, but would like it to >>>>> be predifined as default to every user joining a conference. >>>>> >>>>> Thanks as usual!? >>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> V?ctor E. Medina M. >>>>> Platform Architect / Chief Infrastructure >>>>> +58424 291 4561 >>>>> BB #79A8AFA2 >>>>> @VMCibersys >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>> >>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>> http://twitter.com/FreeSWITCH >>>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>>> * >>>> >>>> ClueCon Weekly Development Call >>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>> >>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> >> >> V?ctor E. Medina M. >> Platform Architect / Chief Infrastructure >> +58424 291 4561 >> BB #79A8AFA2 >> @VMCibersys >> >> > > > -- > > > > V?ctor E. Medina M. > Platform Architect / Chief Infrastructure > +58424 291 4561 > BB #79A8AFA2 > @VMCibersys > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- 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/20151202/9b0f3e37/attachment.html From s.safarov at gmail.com Wed Dec 2 22:29:55 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 2 Dec 2015 22:29:55 +0300 Subject: [Freeswitch-users] How to get later versions of Lua to run on FreeSWITCH 1.6.5 running on CentOS 6 or CentOS 7 In-Reply-To: References: Message-ID: To install latest version of package i recommend port package from fedora repo (for Lua package http://dl.fedoraproject.org/pub/fedora/linux/development/23/source/SRPMS/l/) To make rebuild please use mock utility mock -r epel-6-x86_64 --rebuild ./lua-5.3.0-4.fc23.src.rpm Then install other required dependences to build FS. If required make newest packages version from fedora repo. Instruction how to build most of dependences is located at https://freeswitch.org/confluence/display/FREESWITCH/Creating+RPM+repositary To make FS srpm execute commands git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git mv freeswitch freeswitch-1.7.0 mkdir -p ~/rpmbuild/SOURCES mkdir -p ~/rpmbuild/SPEC tar cjf ~/rpmbuild/SOURCES/freeswitch-1.7.0.tar.bz2 freeswitch-1.7.0 cp freeswitch-1.7.0/freeswitch.spec ~/rpmbuild/SPECS/ cd ~/rpmbuild/SOURCES wget http://ftp.nsysu.edu.tw/FreeBSD/ports/distfiles/freeswitch/libmemcached-0.32.tar.gz wget http://ftp.nsysu.edu.tw/FreeBSD/ports/distfiles/freeswitch/communicator_semi_6000_20080321.tar.gz wget http://sourceforge.net/projects/cmusphinx/files/sphinxbase/0.8/sphinxbase-0.8.tar.gz wget http://sourceforge.net/projects/cmusphinx/files/pocketsphinx/0.8/pocketsphinx-0.8.tar.gz wget https://github.com/mongodb/mongo-c-driver/releases/download/1.1.0/mongo-c-driver-1.1.0.tar.gz wget http://files.freeswitch.org/downloads/libs/v8-3.24.14.tar.bz2 rpmbuild -bs ~/rpmbuild/SPECS/freeswitch.spec mock -r epel-6-x86_64 --rebuild ~/rpmbuild/SRPMS/freeswitch-1.7.0-1.el7.centos.src.rpm Late will be long process. If error will arise write me directly. Sergey On Wed, Dec 2, 2015 at 12:29 PM, Andrew Keil wrote: > To all, > > > > After much testing I have managed to get Lua 5.3.2 (the latest Lua > version, however this will work with all the Lua 5.2.x versions) to run > inside FreeSWITCH 1.6.5 on CentOS 6.7 (however the same should work inside > CentOS 7). > > > > Here is what I have done. Please make any comments and improvements to > this procedure. > > > > *** One part I am not happy with is that I have to manually copy the > liblua.so from /usr/local/lib to /usr/local/freeswitch/lib (see point 22 > below). For some reason FreeSWITCH does not find the shared library inside > /usr/local/lib. Maybe there is a setting for this I can change as the > other option is to put liblua.so inside /usr/lib64 where ?yum install > lua-devel? puts the liblua.so for Lua version 5.1.4, however I do not like > this concept. *** > > > > Please note: Currently mod_fsv and mod_vpx (both are relating to > FreeSWITCH video features) are not supported inside these instructions, > however if you are wanting to move off 1.4.x (since this is going > end-of-life in 2016 at some stage) then this could at least be a very good > first step, especially if upgrading to Centos 7 is not possible based on > your current environment setup. > > > > This is based on a fresh installation of CentOS 6.7 ( > *CentOS-6.7-x86_64-bin-DVD1.iso*). In my case I ran a default setup > selecting *Software Development Workstation*. > > > > Logged in as *root* user. > > > > 1) Make sure yum update is run and CentOS is up-to-date > > > > 2) {optional} Inside Terminal window select Edit Profile Preferences and > select "Use custom default terminal size" and make it 160 x 60. Close > terminal and re-open for the change to take effect. > > > > 3) yum -y install epel-release > > > > 4) yum -y install git gcc-c++ autoconf automake libtool wget python > ncurses-devel zlib-devel libjpeg-devel openssl-devel sqlite-devel > libcurl-devel libxml2-devel libidn-devel > > 4.1) These should be already installed and up-to-date > > > > 5) yum -y install e2fsprogs-devel pcre-devel speex-devel ldns-devel > libedit-devel libyuv-devel opus-devel libvpx-devel unbound-devel > libuuid-devel libsndfile-devel > > 5.1) These should install successfully > > 5.2) Originally I also installed lua-devel, so if this has already been > installed then remove it by: yum -y remove lua-devel > > > > 6) Note: No packages for: libvpx2*, libdb4* (so mod_vpx & mod_fsv will not > be supported) > > > > 7) Setup Lua 5.3.2 here (obviously you can select your own version): > > 7.1) cd /usr/local/src > > 7.2) curl -R -O http://www.lua.org/ftp/lua-5.3.2.tar.gz > > 7.3) tar zxf lua-5.3.2.tar.gz > > 7.4) cd /usr/local/src/lua-5.3.2 > > 7.5) vi Makefile > > Change: TO_LIB= liblua.a > > To be: TO_LIB= liblua.a liblua.so > > Save and close ( :wq!) > > 7.6) cd /usr/local/src/lua-5.3.2/src > > 7.7) vi Makefile > > Change: CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 > $(SYSCFLAGS) $(MYCFLAGS) > > To be: CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 > $(SYSCFLAGS) $(MYCFLAGS) -fPIC > > Add under: LUA_A= liblua.a > > The line: LUA_SO= liblua.so > > Change: ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) > > To be: ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO) > > Add under: $(LUAC_T): $(LUAC_O) $(LUA_A) > > $(CC) -o $@ $(LDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS) > > The lines: $(LUA_SO): $(CORE_O) $(LIB_O) > > $(CC) -o $@ -shared $? > > Save and close ( :wq!) > > 7.8) make linux test > > 7.9) make linux install > > > > 8) cd /usr/local/src > > > > 9) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git > > > > 10) cd /usr/local/src/freeswitch > > > > 11) ./bootstrap.sh > > > > 12) vi modules.conf > > 12.1) comment out (ie. place '#' infront): > > mod_fsv > > mod_vpx > > Save and close ( :wq!) > > > > 13) ./configure > > > > 14) make > > > > 15) make install > > > > 16) make cd-sounds-install > > > > 17) make cd-moh-install > > > > 18) cd /usr/local/freeswitch/conf > > > > 19) vi vars.xml > > 19.1) change: { > !! set it to something different !! } > > Save and close ( :wq!) > > > > 20) cd /usr/local/freeswitch/conf/autoload_configs > > > > 21) vi modules.conf.xml > > 21.1) comment out (ie. place '' at the end): > > mod_fsv > > mod_vpx > > Save and close ( :wq!) > > > > 22) cp /usr/local/lib/liblua.so /usr/local/freeswitch/lib/. > > > > 23) cd /usr/local/freeswitch/bin > > > > 24) ./freeswitch -nonat -nonatmap > > > > 25) ... to exit from the FreeSWITCH console > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151202/dc54fb0f/attachment-0001.html From anthony.minessale at gmail.com Thu Dec 3 01:08:28 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 2 Dec 2015 16:08:28 -0600 Subject: [Freeswitch-users] How to get later versions of Lua to run on FreeSWITCH 1.6.5 running on CentOS 6 or CentOS 7 In-Reply-To: References: Message-ID: FS uses the system lib for lua so if you update it yourself you need to install it in the same place as the original one and make sure the pkgconfig is right etc and rerun the whole FS configure process. also setting LD_LIBRARY_PATH=/usr/local/lib before starting FS would do the same as moving the files to the FS lib dir. This is also nonstandard and not the best way to do it. On Wed, Dec 2, 2015 at 1:29 PM, Sergey Safarov wrote: > To install latest version of package i recommend port package from fedora > repo (for Lua package > http://dl.fedoraproject.org/pub/fedora/linux/development/23/source/SRPMS/l/ > ) > > To make rebuild please use mock utility > mock -r epel-6-x86_64 --rebuild ./lua-5.3.0-4.fc23.src.rpm > > Then install other required dependences to build FS. If required make > newest packages version from fedora repo. Instruction how to build most of > dependences is located at > https://freeswitch.org/confluence/display/FREESWITCH/Creating+RPM+repositary > > To make FS srpm execute commands > git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git > mv freeswitch freeswitch-1.7.0 > mkdir -p ~/rpmbuild/SOURCES > mkdir -p ~/rpmbuild/SPEC > tar cjf ~/rpmbuild/SOURCES/freeswitch-1.7.0.tar.bz2 freeswitch-1.7.0 > cp freeswitch-1.7.0/freeswitch.spec ~/rpmbuild/SPECS/ > cd ~/rpmbuild/SOURCES > wget > http://ftp.nsysu.edu.tw/FreeBSD/ports/distfiles/freeswitch/libmemcached-0.32.tar.gz > wget > http://ftp.nsysu.edu.tw/FreeBSD/ports/distfiles/freeswitch/communicator_semi_6000_20080321.tar.gz > wget > http://sourceforge.net/projects/cmusphinx/files/sphinxbase/0.8/sphinxbase-0.8.tar.gz > wget > http://sourceforge.net/projects/cmusphinx/files/pocketsphinx/0.8/pocketsphinx-0.8.tar.gz > wget > https://github.com/mongodb/mongo-c-driver/releases/download/1.1.0/mongo-c-driver-1.1.0.tar.gz > wget http://files.freeswitch.org/downloads/libs/v8-3.24.14.tar.bz2 > rpmbuild -bs ~/rpmbuild/SPECS/freeswitch.spec > mock -r epel-6-x86_64 --rebuild > ~/rpmbuild/SRPMS/freeswitch-1.7.0-1.el7.centos.src.rpm > > Late will be long process. If error will arise write me directly. > > Sergey > > > > > > > On Wed, Dec 2, 2015 at 12:29 PM, Andrew Keil > wrote: > >> To all, >> >> >> >> After much testing I have managed to get Lua 5.3.2 (the latest Lua >> version, however this will work with all the Lua 5.2.x versions) to run >> inside FreeSWITCH 1.6.5 on CentOS 6.7 (however the same should work inside >> CentOS 7). >> >> >> >> Here is what I have done. Please make any comments and improvements to >> this procedure. >> >> >> >> *** One part I am not happy with is that I have to manually copy the >> liblua.so from /usr/local/lib to /usr/local/freeswitch/lib (see point 22 >> below). For some reason FreeSWITCH does not find the shared library inside >> /usr/local/lib. Maybe there is a setting for this I can change as the >> other option is to put liblua.so inside /usr/lib64 where ?yum install >> lua-devel? puts the liblua.so for Lua version 5.1.4, however I do not like >> this concept. *** >> >> >> >> Please note: Currently mod_fsv and mod_vpx (both are relating to >> FreeSWITCH video features) are not supported inside these instructions, >> however if you are wanting to move off 1.4.x (since this is going >> end-of-life in 2016 at some stage) then this could at least be a very good >> first step, especially if upgrading to Centos 7 is not possible based on >> your current environment setup. >> >> >> >> This is based on a fresh installation of CentOS 6.7 ( >> *CentOS-6.7-x86_64-bin-DVD1.iso*). In my case I ran a default setup >> selecting *Software Development Workstation*. >> >> >> >> Logged in as *root* user. >> >> >> >> 1) Make sure yum update is run and CentOS is up-to-date >> >> >> >> 2) {optional} Inside Terminal window select Edit Profile Preferences and >> select "Use custom default terminal size" and make it 160 x 60. Close >> terminal and re-open for the change to take effect. >> >> >> >> 3) yum -y install epel-release >> >> >> >> 4) yum -y install git gcc-c++ autoconf automake libtool wget python >> ncurses-devel zlib-devel libjpeg-devel openssl-devel sqlite-devel >> libcurl-devel libxml2-devel libidn-devel >> >> 4.1) These should be already installed and up-to-date >> >> >> >> 5) yum -y install e2fsprogs-devel pcre-devel speex-devel ldns-devel >> libedit-devel libyuv-devel opus-devel libvpx-devel unbound-devel >> libuuid-devel libsndfile-devel >> >> 5.1) These should install successfully >> >> 5.2) Originally I also installed lua-devel, so if this has already been >> installed then remove it by: yum -y remove lua-devel >> >> >> >> 6) Note: No packages for: libvpx2*, libdb4* (so mod_vpx & mod_fsv will >> not be supported) >> >> >> >> 7) Setup Lua 5.3.2 here (obviously you can select your own version): >> >> 7.1) cd /usr/local/src >> >> 7.2) curl -R -O http://www.lua.org/ftp/lua-5.3.2.tar.gz >> >> 7.3) tar zxf lua-5.3.2.tar.gz >> >> 7.4) cd /usr/local/src/lua-5.3.2 >> >> 7.5) vi Makefile >> >> Change: TO_LIB= liblua.a >> >> To be: TO_LIB= liblua.a liblua.so >> >> Save and close ( :wq!) >> >> 7.6) cd /usr/local/src/lua-5.3.2/src >> >> 7.7) vi Makefile >> >> Change: CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 >> $(SYSCFLAGS) $(MYCFLAGS) >> >> To be: CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 >> $(SYSCFLAGS) $(MYCFLAGS) -fPIC >> >> Add under: LUA_A= liblua.a >> >> The line: LUA_SO= liblua.so >> >> Change: ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) >> >> To be: ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO) >> >> Add under: $(LUAC_T): $(LUAC_O) $(LUA_A) >> >> $(CC) -o $@ $(LDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS) >> >> The lines: $(LUA_SO): $(CORE_O) $(LIB_O) >> >> $(CC) -o $@ -shared $? >> >> Save and close ( :wq!) >> >> 7.8) make linux test >> >> 7.9) make linux install >> >> >> >> 8) cd /usr/local/src >> >> >> >> 9) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git >> >> >> >> 10) cd /usr/local/src/freeswitch >> >> >> >> 11) ./bootstrap.sh >> >> >> >> 12) vi modules.conf >> >> 12.1) comment out (ie. place '#' infront): >> >> mod_fsv >> >> mod_vpx >> >> Save and close ( :wq!) >> >> >> >> 13) ./configure >> >> >> >> 14) make >> >> >> >> 15) make install >> >> >> >> 16) make cd-sounds-install >> >> >> >> 17) make cd-moh-install >> >> >> >> 18) cd /usr/local/freeswitch/conf >> >> >> >> 19) vi vars.xml >> >> 19.1) change: { >> !! set it to something different !! } >> >> Save and close ( :wq!) >> >> >> >> 20) cd /usr/local/freeswitch/conf/autoload_configs >> >> >> >> 21) vi modules.conf.xml >> >> 21.1) comment out (ie. place '' at the end): >> >> mod_fsv >> >> mod_vpx >> >> Save and close ( :wq!) >> >> >> >> 22) cp /usr/local/lib/liblua.so /usr/local/freeswitch/lib/. >> >> >> >> 23) cd /usr/local/freeswitch/bin >> >> >> >> 24) ./freeswitch -nonat -nonatmap >> >> >> >> 25) ... to exit from the FreeSWITCH console >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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/20151202/b776eabe/attachment.html From andrew.keil at visytel.com Thu Dec 3 01:44:14 2015 From: andrew.keil at visytel.com (Andrew Keil) Date: Wed, 2 Dec 2015 22:44:14 +0000 Subject: [Freeswitch-users] How to get later versions of Lua to run on FreeSWITCH 1.6.5 running on CentOS 6 or CentOS 7 In-Reply-To: References: Message-ID: Thanks Anthony for your feedback. Makes sense. It seems to be working fine now with the latest version of Lua. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Thursday, 3 December 2015 9:08 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to get later versions of Lua to run on FreeSWITCH 1.6.5 running on CentOS 6 or CentOS 7 FS uses the system lib for lua so if you update it yourself you need to install it in the same place as the original one and make sure the pkgconfig is right etc and rerun the whole FS configure process. also setting LD_LIBRARY_PATH=/usr/local/lib before starting FS would do the same as moving the files to the FS lib dir. This is also nonstandard and not the best way to do it. On Wed, Dec 2, 2015 at 1:29 PM, Sergey Safarov > wrote: To install latest version of package i recommend port package from fedora repo (for Lua package http://dl.fedoraproject.org/pub/fedora/linux/development/23/source/SRPMS/l/) To make rebuild please use mock utility mock -r epel-6-x86_64 --rebuild ./lua-5.3.0-4.fc23.src.rpm Then install other required dependences to build FS. If required make newest packages version from fedora repo. Instruction how to build most of dependences is located at https://freeswitch.org/confluence/display/FREESWITCH/Creating+RPM+repositary To make FS srpm execute commands git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git mv freeswitch freeswitch-1.7.0 mkdir -p ~/rpmbuild/SOURCES mkdir -p ~/rpmbuild/SPEC tar cjf ~/rpmbuild/SOURCES/freeswitch-1.7.0.tar.bz2 freeswitch-1.7.0 cp freeswitch-1.7.0/freeswitch.spec ~/rpmbuild/SPECS/ cd ~/rpmbuild/SOURCES wget http://ftp.nsysu.edu.tw/FreeBSD/ports/distfiles/freeswitch/libmemcached-0.32.tar.gz wget http://ftp.nsysu.edu.tw/FreeBSD/ports/distfiles/freeswitch/communicator_semi_6000_20080321.tar.gz wget http://sourceforge.net/projects/cmusphinx/files/sphinxbase/0.8/sphinxbase-0.8.tar.gz wget http://sourceforge.net/projects/cmusphinx/files/pocketsphinx/0.8/pocketsphinx-0.8.tar.gz wget https://github.com/mongodb/mongo-c-driver/releases/download/1.1.0/mongo-c-driver-1.1.0.tar.gz wget http://files.freeswitch.org/downloads/libs/v8-3.24.14.tar.bz2 rpmbuild -bs ~/rpmbuild/SPECS/freeswitch.spec mock -r epel-6-x86_64 --rebuild ~/rpmbuild/SRPMS/freeswitch-1.7.0-1.el7.centos.src.rpm Late will be long process. If error will arise write me directly. Sergey On Wed, Dec 2, 2015 at 12:29 PM, Andrew Keil > wrote: To all, After much testing I have managed to get Lua 5.3.2 (the latest Lua version, however this will work with all the Lua 5.2.x versions) to run inside FreeSWITCH 1.6.5 on CentOS 6.7 (however the same should work inside CentOS 7). Here is what I have done. Please make any comments and improvements to this procedure. *** One part I am not happy with is that I have to manually copy the liblua.so from /usr/local/lib to /usr/local/freeswitch/lib (see point 22 below). For some reason FreeSWITCH does not find the shared library inside /usr/local/lib. Maybe there is a setting for this I can change as the other option is to put liblua.so inside /usr/lib64 where ?yum install lua-devel? puts the liblua.so for Lua version 5.1.4, however I do not like this concept. *** Please note: Currently mod_fsv and mod_vpx (both are relating to FreeSWITCH video features) are not supported inside these instructions, however if you are wanting to move off 1.4.x (since this is going end-of-life in 2016 at some stage) then this could at least be a very good first step, especially if upgrading to Centos 7 is not possible based on your current environment setup. This is based on a fresh installation of CentOS 6.7 (CentOS-6.7-x86_64-bin-DVD1.iso). In my case I ran a default setup selecting Software Development Workstation. Logged in as root user. 1) Make sure yum update is run and CentOS is up-to-date 2) {optional} Inside Terminal window select Edit Profile Preferences and select "Use custom default terminal size" and make it 160 x 60. Close terminal and re-open for the change to take effect. 3) yum -y install epel-release 4) yum -y install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel sqlite-devel libcurl-devel libxml2-devel libidn-devel 4.1) These should be already installed and up-to-date 5) yum -y install e2fsprogs-devel pcre-devel speex-devel ldns-devel libedit-devel libyuv-devel opus-devel libvpx-devel unbound-devel libuuid-devel libsndfile-devel 5.1) These should install successfully 5.2) Originally I also installed lua-devel, so if this has already been installed then remove it by: yum -y remove lua-devel 6) Note: No packages for: libvpx2*, libdb4* (so mod_vpx & mod_fsv will not be supported) 7) Setup Lua 5.3.2 here (obviously you can select your own version): 7.1) cd /usr/local/src 7.2) curl -R -O http://www.lua.org/ftp/lua-5.3.2.tar.gz 7.3) tar zxf lua-5.3.2.tar.gz 7.4) cd /usr/local/src/lua-5.3.2 7.5) vi Makefile Change: TO_LIB= liblua.a To be: TO_LIB= liblua.a liblua.so Save and close ( :wq!) 7.6) cd /usr/local/src/lua-5.3.2/src 7.7) vi Makefile Change: CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS) To be: CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS) -fPIC Add under: LUA_A= liblua.a The line: LUA_SO= liblua.so Change: ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) To be: ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO) Add under: $(LUAC_T): $(LUAC_O) $(LUA_A) $(CC) -o $@ $(LDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS) The lines: $(LUA_SO): $(CORE_O) $(LIB_O) $(CC) -o $@ -shared $? Save and close ( :wq!) 7.8) make linux test 7.9) make linux install 8) cd /usr/local/src 9) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git 10) cd /usr/local/src/freeswitch 11) ./bootstrap.sh 12) vi modules.conf 12.1) comment out (ie. place '#' infront): mod_fsv mod_vpx Save and close ( :wq!) 13) ./configure 14) make 15) make install 16) make cd-sounds-install 17) make cd-moh-install 18) cd /usr/local/freeswitch/conf 19) vi vars.xml 19.1) change: { !! set it to something different !! } Save and close ( :wq!) 20) cd /usr/local/freeswitch/conf/autoload_configs 21) vi modules.conf.xml 21.1) comment out (ie. place '' at the end): mod_fsv mod_vpx Save and close ( :wq!) 22) cp /usr/local/lib/liblua.so /usr/local/freeswitch/lib/. 23) cd /usr/local/freeswitch/bin 24) ./freeswitch -nonat -nonatmap 25) ... to exit from the FreeSWITCH console _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org 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/20151202/9340c85a/attachment-0001.html From john.nash778 at gmail.com Thu Dec 3 16:39:00 2015 From: john.nash778 at gmail.com (John Nash) Date: Thu, 3 Dec 2015 19:09:00 +0530 Subject: [Freeswitch-users] Late offer feature Message-ID: I need to run a test where Freeswitch sends Invite to B endpoint (Bridge command) with empty SDP and upon receiving 180 again sends an UPDATE or REINVITE with SDP. Is this feature available to test? My scenario is End point A sends Invite with SDP to Freeswitch and freeswitch sends to endpoint B in media bypass mode (Media does not pass through freeswitch) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151203/cdf68450/attachment.html From shabbirabbasi92 at gmail.com Thu Dec 3 16:57:36 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Thu, 3 Dec 2015 18:57:36 +0500 Subject: [Freeswitch-users] hangupcause:success ? if call not answer mod_gsmopen In-Reply-To: References: Message-ID: Dear Giovani; i have aded jira issue https://freeswitch.org/jira/browse/FS-8596 and also i have tried to fix this now i am able to get hangupcause via last_bridge_hangup_cause and bridge_hangup_cause thanks, On Tue, Dec 1, 2015 at 8:37 PM, Giovanni Maruzzelli wrote: > please add a jira issue for this one. > > http://jira.freeswitch.org > > > On Tue, Dec 1, 2015 at 4:26 PM, Shabbir abbasi > wrote: > >> IN JAVASCRIPT when we try to dialout via session.execute("bridge", >> "gsmopen/gsm01/123456789"); >> if call is answered or not or busy >> endpoint_disposition = get_Variable("endpoint_disposition"); >> originate_disposition = get_Variable("originate_disposition"); >> console_log( "info"," originate_disposition : "+ >> originate_disposition +" "); >> console_log( "info"," Dial Status : "+ endpoint_disposition >> +" "); >> >> Result is always only "SUCCESS" ? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151203/3354bff2/attachment.html From shabbirabbasi92 at gmail.com Thu Dec 3 16:59:10 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Thu, 3 Dec 2015 18:59:10 +0500 Subject: [Freeswitch-users] hangupcause:success ? if call not answer mod_gsmopen In-Reply-To: References: Message-ID: and also i have attached a patch of my diff to jira issue https://freeswitch.org/jira/browse/FS-8596 On Thu, Dec 3, 2015 at 6:57 PM, Shabbir abbasi wrote: > Dear Giovani; > i have aded jira issue https://freeswitch.org/jira/browse/FS-8596 > and also i have tried to fix this now i am able to get hangupcause via > last_bridge_hangup_cause and bridge_hangup_cause > thanks, > > On Tue, Dec 1, 2015 at 8:37 PM, Giovanni Maruzzelli > wrote: > >> please add a jira issue for this one. >> >> http://jira.freeswitch.org >> >> >> On Tue, Dec 1, 2015 at 4:26 PM, Shabbir abbasi > > wrote: >> >>> IN JAVASCRIPT when we try to dialout via session.execute("bridge", >>> "gsmopen/gsm01/123456789"); >>> if call is answered or not or busy >>> endpoint_disposition = get_Variable("endpoint_disposition"); >>> originate_disposition = get_Variable("originate_disposition"); >>> console_log( "info"," originate_disposition : "+ >>> originate_disposition +" "); >>> console_log( "info"," Dial Status : "+ >>> endpoint_disposition +" "); >>> >>> Result is always only "SUCCESS" ? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151203/656aef4b/attachment.html From gmaruzz at gmail.com Thu Dec 3 17:00:07 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 3 Dec 2015 15:00:07 +0100 Subject: [Freeswitch-users] hangupcause:success ? if call not answer mod_gsmopen In-Reply-To: References: Message-ID: Hello Shabbir, can you please add your solution to the jira ticket ? So it remains for others to use.... -giovanni On Thu, Dec 3, 2015 at 2:57 PM, Shabbir abbasi wrote: > Dear Giovani; > i have aded jira issue https://freeswitch.org/jira/browse/FS-8596 > and also i have tried to fix this now i am able to get hangupcause via > last_bridge_hangup_cause and bridge_hangup_cause > thanks, > > On Tue, Dec 1, 2015 at 8:37 PM, Giovanni Maruzzelli > wrote: > >> please add a jira issue for this one. >> >> http://jira.freeswitch.org >> >> >> On Tue, Dec 1, 2015 at 4:26 PM, Shabbir abbasi > > wrote: >> >>> IN JAVASCRIPT when we try to dialout via session.execute("bridge", >>> "gsmopen/gsm01/123456789"); >>> if call is answered or not or busy >>> endpoint_disposition = get_Variable("endpoint_disposition"); >>> originate_disposition = get_Variable("originate_disposition"); >>> console_log( "info"," originate_disposition : "+ >>> originate_disposition +" "); >>> console_log( "info"," Dial Status : "+ >>> endpoint_disposition +" "); >>> >>> Result is always only "SUCCESS" ? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151203/4803cf3f/attachment-0001.html From gmaruzz at gmail.com Thu Dec 3 17:00:40 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 3 Dec 2015 15:00:40 +0100 Subject: [Freeswitch-users] hangupcause:success ? if call not answer mod_gsmopen In-Reply-To: References: Message-ID: On Thu, Dec 3, 2015 at 2:59 PM, Shabbir abbasi wrote: > and also i have attached a patch of my diff to jira issue > https://freeswitch.org/jira/browse/FS-8596 > Thanks Shabir!! :)) > > On Thu, Dec 3, 2015 at 6:57 PM, Shabbir abbasi > wrote: > >> Dear Giovani; >> i have aded jira issue https://freeswitch.org/jira/browse/FS-8596 >> and also i have tried to fix this now i am able to get hangupcause via >> last_bridge_hangup_cause and bridge_hangup_cause >> thanks, >> >> On Tue, Dec 1, 2015 at 8:37 PM, Giovanni Maruzzelli >> wrote: >> >>> please add a jira issue for this one. >>> >>> http://jira.freeswitch.org >>> >>> >>> On Tue, Dec 1, 2015 at 4:26 PM, Shabbir abbasi < >>> shabbirabbasi92 at gmail.com> wrote: >>> >>>> IN JAVASCRIPT when we try to dialout via session.execute("bridge", >>>> "gsmopen/gsm01/123456789"); >>>> if call is answered or not or busy >>>> endpoint_disposition = get_Variable("endpoint_disposition"); >>>> originate_disposition = get_Variable("originate_disposition"); >>>> console_log( "info"," originate_disposition : "+ >>>> originate_disposition +" "); >>>> console_log( "info"," Dial Status : "+ >>>> endpoint_disposition +" "); >>>> >>>> Result is always only "SUCCESS" ? >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> Cell : +39-347-2665618 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151203/42713ef2/attachment.html From mitch.capper at gmail.com Thu Dec 3 17:34:04 2015 From: mitch.capper at gmail.com (Mitch Capper) Date: Thu, 3 Dec 2015 06:34:04 -0800 Subject: [Freeswitch-users] Getting INCOMPATIBLE_DESTINATION when FS could transcode, b_leg offer only contains a_leg codecs and not sure why Message-ID: I am not sure if I just don't understand the negotiation process correctly or something is wrong. Currently running 5ab62d81147 (2015-11-26). I am getting INCOMPATIBLE_DESTINATION which seems to be because FS is only offering the b leg the codec it settles on for the A leg (sounds very much as if inherit_codec is true or disable-transcoding is true however both are set to false). Making a simple outbound bridge through mod_sofia and the A leg only supports a codec B does not (SPEEX for example) and it ends up that is the only thing offered to the B leg. I do have inbound-codec-negotiation set to generous and inbound-late-negotiation set to true (for both profiles), but I would assume FS should still offer all the outbound-codec-prefs on the invite for the bridge, but instead it is only offering the a-leg codec. I would assume it should just transcode but instead it fails. fail: https://pastebin.freeswitch.org/24471 works: https://pastebin.freeswitch.org/24472 I am not sure what I am missing. ~mitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151203/c264d328/attachment.html From llribeiro90 at gmail.com Thu Dec 3 19:16:56 2015 From: llribeiro90 at gmail.com (Leonardo Lima Ribeiro) Date: Thu, 3 Dec 2015 14:16:56 -0200 Subject: [Freeswitch-users] Static Noise In-Reply-To: <375F3F7E-5373-41E3-B8CC-A5ABB7AF787D@gmail.com> References: <375F3F7E-5373-41E3-B8CC-A5ABB7AF787D@gmail.com> Message-ID: <7A438398-1ABE-4360-A195-55D3AF6F7378@gmail.com> Hey guys, any advice please? I?m still having this issue? Thank you all! > Em 01/12/2015, ?(s) 5:41 PM, Leonardo Lima Ribeiro escreveu: > > Hi all, > > Sometimes I'm getting static noises when I use the originate command. Actually I don't have two legs in my call. > > It's a lua script that create a session to the leg A and Play sounds, send DTMFs etc. to interact with this leg A. > > The problem is that some session files (I?m using record_session) has a lot of static noise. > > I?ve googled about it and I found that it could happens for network issues, but I think it?s not the problem because I did some network tests, packages losses tests, ping etc. and my network seems to be fine. > > Anyone knows how to avoid this? Is there any configuration that I can change for reduce this problem, like changing the quality ratio of the audios maybe? > > Thank you all! From s.safarov at gmail.com Thu Dec 3 19:43:14 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 03 Dec 2015 16:43:14 +0000 Subject: [Freeswitch-users] Static Noise In-Reply-To: <7A438398-1ABE-4360-A195-55D3AF6F7378@gmail.com> References: <375F3F7E-5373-41E3-B8CC-A5ABB7AF787D@gmail.com> <7A438398-1ABE-4360-A195-55D3AF6F7378@gmail.com> Message-ID: I has similar noise. On may case it related to random changes of timer field in RTP packet. As example I will send tomorrow one pcap file. Thiis has place on one FS server of three. One 1.7 and two 1.4 versions. I am planning upgrade server with issue to 1.7 version. On Thu, Dec 3, 2015, 19:12 Leonardo Lima Ribeiro wrote: > Hey guys, any advice please? I?m still having this issue? > > Thank you all! > > > Em 01/12/2015, ?(s) 5:41 PM, Leonardo Lima Ribeiro < > llribeiro90 at gmail.com> escreveu: > > > > Hi all, > > > > Sometimes I'm getting static noises when I use the originate command. > Actually I don't have two legs in my call. > > > > It's a lua script that create a session to the leg A and Play sounds, > send DTMFs etc. to interact with this leg A. > > > > The problem is that some session files (I?m using record_session) has a > lot of static noise. > > > > I?ve googled about it and I found that it could happens for network > issues, but I think it?s not the problem because I did some network tests, > packages losses tests, ping etc. and my network seems to be fine. > > > > Anyone knows how to avoid this? Is there any configuration that I can > change for reduce this problem, like changing the quality ratio of the > audios maybe? > > > > Thank you all! > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151203/78e8479f/attachment.html From d.mordovin at dwide.com Thu Dec 3 22:26:42 2015 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Thu, 03 Dec 2015 23:26:42 +0400 Subject: [Freeswitch-users] How to calculate Hardware System Requirements (VM) Message-ID: <56609772.3050209@dwide.com> Hi All! Dear guys, I need one server to handle 200 concurent calls with codec transcoding. Please point me, how to calculate the system requirements for VM? RAM, CPU GHz, cores May need network optimization? VMDq or SR-IOV BR, Dmitry From mgg at giagnocavo.net Thu Dec 3 22:38:15 2015 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Thu, 3 Dec 2015 19:38:15 +0000 Subject: [Freeswitch-users] How to calculate Hardware System Requirements (VM) In-Reply-To: <56609772.3050209@dwide.com> References: <56609772.3050209@dwide.com> Message-ID: Measure and measure. After that, measure again. There's a lot of variables. The FS wiki has some guides on perf testing. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Dmitry Mordovin Sent: Thursday, 3 December, 2015 13:27 To: FreeSWITCH Users Help Subject: [Freeswitch-users] How to calculate Hardware System Requirements (VM) Hi All! Dear guys, I need one server to handle 200 concurent calls with codec transcoding. Please point me, how to calculate the system requirements for VM? RAM, CPU GHz, cores May need network optimization? VMDq or SR-IOV BR, Dmitry _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From krice at freeswitch.org Thu Dec 3 22:38:50 2015 From: krice at freeswitch.org (Ken Rice) Date: Thu, 3 Dec 2015 13:38:50 -0600 Subject: [Freeswitch-users] How to calculate Hardware System Requirements (VM) In-Reply-To: <56609772.3050209@dwide.com> References: <56609772.3050209@dwide.com> Message-ID: <013f01d12e02$3c8e5c30$b5ab1490$@freeswitch.org> As a policy the FS team does not estimate hardware requirements for various things. The problem is changing 1 thing in your config can have vastly different impacts on your performance. You'll need to build your config as you need it and then do some testing to see what sort of resources are needed. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Dmitry Mordovin Sent: Thursday, December 3, 2015 1:27 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] How to calculate Hardware System Requirements (VM) Hi All! Dear guys, I need one server to handle 200 concurent calls with codec transcoding. Please point me, how to calculate the system requirements for VM? RAM, CPU GHz, cores May need network optimization? VMDq or SR-IOV BR, Dmitry _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From mitch.capper at gmail.com Thu Dec 3 23:18:00 2015 From: mitch.capper at gmail.com (Mitch Capper) Date: Thu, 3 Dec 2015 12:18:00 -0800 Subject: [Freeswitch-users] Getting INCOMPATIBLE_DESTINATION when FS could transcode, b_leg offer only contains a_leg codecs and not sure why In-Reply-To: References: Message-ID: This was solved in irc thanks:) ~mitch On Thu, Dec 3, 2015 at 6:34 AM, Mitch Capper wrote: > I am not sure if I just don't understand the negotiation process correctly > or something is wrong. Currently running 5ab62d81147 (2015-11-26). I am > getting INCOMPATIBLE_DESTINATION which seems to be because FS is only > offering the b leg the codec it settles on for the A leg (sounds very much > as if inherit_codec is true or disable-transcoding is true however both are > set to false). > > Making a simple outbound bridge through mod_sofia and the A leg only > supports a codec B does not (SPEEX for example) and it ends up that is the > only thing offered to the B leg. > > I do have inbound-codec-negotiation set to generous and > inbound-late-negotiation set to true (for both profiles), but I would > assume FS should still offer all the outbound-codec-prefs on the invite for > the bridge, but instead it is only offering the a-leg codec. > > I would assume it should just transcode but instead it fails. > > fail: https://pastebin.freeswitch.org/24471 works: > https://pastebin.freeswitch.org/24472 > > I am not sure what I am missing. > > ~mitch > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151203/7e521a6a/attachment.html From rtreleaven at bunnykick.ca Thu Dec 3 23:31:16 2015 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Thu, 3 Dec 2015 15:31:16 -0500 Subject: [Freeswitch-users] Getting INCOMPATIBLE_DESTINATION when FS could transcode, b_leg offer only contains a_leg codecs and not sure why In-Reply-To: References: Message-ID: Please share the solution. On Thu, Dec 3, 2015 at 3:18 PM, Mitch Capper wrote: > This was solved in irc thanks:) > > ~mitch > > On Thu, Dec 3, 2015 at 6:34 AM, Mitch Capper > wrote: > >> I am not sure if I just don't understand the negotiation process >> correctly or something is wrong. Currently running 5ab62d81147 >> (2015-11-26). I am getting INCOMPATIBLE_DESTINATION which seems to be >> because FS is only offering the b leg the codec it settles on for the A leg >> (sounds very much as if inherit_codec is true or disable-transcoding is >> true however both are set to false). >> >> Making a simple outbound bridge through mod_sofia and the A leg only >> supports a codec B does not (SPEEX for example) and it ends up that is the >> only thing offered to the B leg. >> >> I do have inbound-codec-negotiation set to generous and >> inbound-late-negotiation set to true (for both profiles), but I would >> assume FS should still offer all the outbound-codec-prefs on the invite for >> the bridge, but instead it is only offering the a-leg codec. >> >> I would assume it should just transcode but instead it fails. >> >> fail: https://pastebin.freeswitch.org/24471 works: >> https://pastebin.freeswitch.org/24472 >> >> I am not sure what I am missing. >> >> ~mitch >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151203/f18f9bd0/attachment.html From ssinyagin at gmail.com Fri Dec 4 00:33:03 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 3 Dec 2015 22:33:03 +0100 Subject: [Freeswitch-users] How to calculate Hardware System Requirements (VM) In-Reply-To: <56609772.3050209@dwide.com> References: <56609772.3050209@dwide.com> Message-ID: An important factor is calls per second rate, and how complex the dialplan processing is. This may significantly influence the hardware selection criteria. Also different codecs give different complexity, with Opus having the hardest CPU impact. See some examples of my tests here: https://txlab.wordpress.com/2015/04/10/testing-freeswitch-performance-on-scaleway-c1/ On 3 Dec 2015 20:27, "Dmitry Mordovin" wrote: > Hi All! > > Dear guys, I need one server to handle 200 concurent calls with codec > transcoding. > > Please point me, how to calculate the system requirements for VM? > > RAM, CPU GHz, cores > > May need network optimization? VMDq or SR-IOV > > BR, Dmitry > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151203/65f2de56/attachment.html From victor.medina at cibersys.com Fri Dec 4 01:46:44 2015 From: victor.medina at cibersys.com (Victor Medina) Date: Thu, 3 Dec 2015 18:16:44 -0430 Subject: [Freeswitch-users] Predifined vid-logo-img In-Reply-To: References: Message-ID: ?Thanks! Last before closing this thread, any way to support a logo ONLY on floor? On Dec 2, 2015 2:07 PM, "Anthony Minessale" wrote: > The only thing you can do is to modify a layout in > conference_layouts.conf.xml and add > > bgimg="/path/to/som.png" > > > To the layout tag. > > > Works best when the png is the same size as the whole canvas. > > > > > > On Wed, Dec 2, 2015 at 6:58 AM, Victor Medina > wrote: > >> Just saying... >> >> Is there anyway, to add a logo to the whole canvas?, on the upper left >> corner? =) >> >> 2015-12-02 8:26 GMT-04:30 Victor Medina : >> >>> =) I was going to say just that! >>> >>> 2015-12-02 8:03 GMT-04:30 Stanislav Sinyagin : >>> >>>> added to my TODO list for variables documentation >>>> >>>> On Tue, Dec 1, 2015 at 9:54 PM, Anthony Minessale < >>>> anthony.minessale at gmail.com> wrote: >>>> >>>>> video_logo_path channel variable or global variable >>>>> >>>>> >>>>> >>>>> On Mon, Nov 30, 2015 at 1:49 PM, Victor Medina < >>>>> victor.medina at cibersys.com> wrote: >>>>> >>>>>> Hi guys! >>>>>> >>>>>> ?Is there any way to predifine vid-logo-img for all users joining a >>>>>> conference? I can perefectly to it using the console, but would like it to >>>>>> be predifined as default to every user joining a conference. >>>>>> >>>>>> Thanks as usual!? >>>>>> >>>>>> -- >>>>>> >>>>>> >>>>>> >>>>>> V?ctor E. Medina M. >>>>>> Platform Architect / Chief Infrastructure >>>>>> +58424 291 4561 >>>>>> BB #79A8AFA2 >>>>>> @VMCibersys >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>> >>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>> http://twitter.com/FreeSWITCH >>>>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>>>> * >>>>> >>>>> ClueCon Weekly Development Call >>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>> >>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> >>> >>> V?ctor E. Medina M. >>> Platform Architect / Chief Infrastructure >>> +58424 291 4561 >>> BB #79A8AFA2 >>> @VMCibersys >>> >>> >> >> >> -- >> >> >> >> V?ctor E. Medina M. >> Platform Architect / Chief Infrastructure >> +58424 291 4561 >> BB #79A8AFA2 >> @VMCibersys >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151203/74562daf/attachment-0001.html From anthony.minessale at gmail.com Fri Dec 4 01:57:11 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 3 Dec 2015 16:57:11 -0600 Subject: [Freeswitch-users] Predifined vid-logo-img In-Reply-To: References: Message-ID: No, there is not. On Thu, Dec 3, 2015 at 4:46 PM, Victor Medina wrote: > ?Thanks! > Last before closing this thread, any way to support a logo ONLY on floor? > > On Dec 2, 2015 2:07 PM, "Anthony Minessale" > wrote: > >> The only thing you can do is to modify a layout in >> conference_layouts.conf.xml and add >> >> bgimg="/path/to/som.png" >> >> >> To the layout tag. >> >> >> Works best when the png is the same size as the whole canvas. >> >> >> >> >> >> On Wed, Dec 2, 2015 at 6:58 AM, Victor Medina > > wrote: >> >>> Just saying... >>> >>> Is there anyway, to add a logo to the whole canvas?, on the upper left >>> corner? =) >>> >>> 2015-12-02 8:26 GMT-04:30 Victor Medina : >>> >>>> =) I was going to say just that! >>>> >>>> 2015-12-02 8:03 GMT-04:30 Stanislav Sinyagin : >>>> >>>>> added to my TODO list for variables documentation >>>>> >>>>> On Tue, Dec 1, 2015 at 9:54 PM, Anthony Minessale < >>>>> anthony.minessale at gmail.com> wrote: >>>>> >>>>>> video_logo_path channel variable or global variable >>>>>> >>>>>> >>>>>> >>>>>> On Mon, Nov 30, 2015 at 1:49 PM, Victor Medina < >>>>>> victor.medina at cibersys.com> wrote: >>>>>> >>>>>>> Hi guys! >>>>>>> >>>>>>> ?Is there any way to predifine vid-logo-img for all users joining a >>>>>>> conference? I can perefectly to it using the console, but would like it to >>>>>>> be predifined as default to every user joining a conference. >>>>>>> >>>>>>> Thanks as usual!? >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> >>>>>>> >>>>>>> V?ctor E. Medina M. >>>>>>> Platform Architect / Chief Infrastructure >>>>>>> +58424 291 4561 >>>>>>> BB #79A8AFA2 >>>>>>> @VMCibersys >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>>> >>>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>>> http://twitter.com/FreeSWITCH >>>>>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>>>>> * >>>>>> >>>>>> ClueCon Weekly Development Call >>>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>>> >>>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> >>>> >>>> V?ctor E. Medina M. >>>> Platform Architect / Chief Infrastructure >>>> +58424 291 4561 >>>> BB #79A8AFA2 >>>> @VMCibersys >>>> >>>> >>> >>> >>> -- >>> >>> >>> >>> V?ctor E. Medina M. >>> Platform Architect / Chief Infrastructure >>> +58424 291 4561 >>> BB #79A8AFA2 >>> @VMCibersys >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >> >> ? http://freeswitch.org/ ? http://cluecon.com/ ? >> http://twitter.com/FreeSWITCH >> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151203/2723b011/attachment.html From o_emiliano at yahoo.it Fri Dec 4 14:46:29 2015 From: o_emiliano at yahoo.it (Emiliano o.) Date: Fri, 4 Dec 2015 11:46:29 +0000 (UTC) Subject: [Freeswitch-users] Freeswitch as MCU for HD1080P some help about HW configuration References: <374291728.25157851.1449229589606.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <374291728.25157851.1449229589606.JavaMail.yahoo@mail.yahoo.com> Hello, thank you for all the help provided in the past days.I have finally managed to assembly all togheder very well, i can join a conference with different client and do correct trascoding via libav or other librariesSomeone have experience about HD conference?With my hardware, the process is very slow, even only with 2 call i can't see other side video correctly (drops in fps, low quality and loss of frames) and the cpu running high. All is done in a intranet 100M, so there isn't a cap in the bitrate or other similar problem.I include my machine configuration, i need a more powerful HW only for bridge 2 call in trascoding? Architecture:????????? x86_64 CPU op-mode(s):??????? 32-bit, 64-bit Byte Order:??????????? Little Endian CPU(s):??????????????? 8 On-line CPU(s) list:?? 0-7 Thread(s) per core:??? 2 Core(s) per socket:??? 4 Socket(s):???????????? 1 NUMA node(s):????????? 1 Vendor ID:???????????? GenuineIntel CPU family:??????????? 6 Model:???????????????? 58 Model name:??????????? Intel(R) Xeon(R) CPU E3-1270 V2 @ 3.50GHz Stepping:????????????? 9 CPU MHz:?????????????? 1600.292 CPU max MHz:?????????? 3900.0000 CPU min MHz:?????????? 1600.0000 BogoMIPS:????????????? 6984.13 Virtualization:??????? VT-x L1d cache:???????????? 32K L1i cache:???????????? 32K L2 cache:????????????? 256K L3 cache:????????????? 8192K NUMA node0 CPU(s):???? 0-7 Thanks for allEmiliano Olivier -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151204/5294ca61/attachment-0001.html From shaun.stokes at itec-support.co.uk Fri Dec 4 15:19:12 2015 From: shaun.stokes at itec-support.co.uk (Shaun Stokes) Date: Fri, 4 Dec 2015 12:19:12 +0000 Subject: [Freeswitch-users] How to calculate Hardware System Requirements (VM) In-Reply-To: <56609772.3050209@dwide.com> References: <56609772.3050209@dwide.com> Message-ID: <6FD2F8B5BB72834E9939AEDF9FB802A9018724ABFC@mbx-01.sysconfig.co.uk> Hi Dmitry, Dialplans and other features will make a considerable difference, dialplans in particular are can be very IO intensive which may be more of problem for some hyper-visors. We're currently processing on average 50 concurrent calls (peak 15 calls per second) with no dialplans on a Hyper-V VM using 4 cores (Xeon E5310 or equivalent), the system has an average CPU utilization of 5%. Previously the same VM but with 8 cores was being used as a hosted PBX with roughly 1000 endpoints, dialplans of various sizes, G711A only codec, but the same amount of call traffic and there were significant CPU spikes which caused missing or broken audio. We moved the hosted PBX services to a physical server of the same spec which resolved the CPU spikes and has an average CPU utilization of 50%, we still use the VM for processing call routing but our SIP profiles are attached to LUA scripts for faster call processing (not using dialplans). 8GB of RAM should be more than enough for most deployments. Postgres SQL has always worked well for running FreeSWITCH in our environment but this has been optimized. A physical server will always perform better, but if you must virtualize you should try to use a hyper-visor which others can recommend, performance will vary depending on your environment. We've tested with Amazon EC2 Compute and performance is significantly better than Hyper-V, but for environment a physical server is still the better option. Information here might help: https://freeswitch.org/confluence/display/FREESWITCH/Virtualization Thanks, Shaun -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Dmitry Mordovin Sent: 03 December 2015 19:27 To: FreeSWITCH Users Help Subject: [Freeswitch-users] How to calculate Hardware System Requirements (VM) Hi All! Dear guys, I need one server to handle 200 concurent calls with codec transcoding. Please point me, how to calculate the system requirements for VM? RAM, CPU GHz, cores May need network optimization? VMDq or SR-IOV BR, Dmitry _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ From victor.medina at cibersys.com Fri Dec 4 16:30:00 2015 From: victor.medina at cibersys.com (Victor Medina) Date: Fri, 4 Dec 2015 09:00:00 -0430 Subject: [Freeswitch-users] Predifined vid-logo-img In-Reply-To: References: Message-ID: OK! For everything: thanks you! you are very kind. 2015-12-03 18:27 GMT-04:30 Anthony Minessale : > No, there is not. > > On Thu, Dec 3, 2015 at 4:46 PM, Victor Medina > wrote: > >> ?Thanks! >> Last before closing this thread, any way to support a logo ONLY on floor? >> >> On Dec 2, 2015 2:07 PM, "Anthony Minessale" >> wrote: >> >>> The only thing you can do is to modify a layout in >>> conference_layouts.conf.xml and add >>> >>> bgimg="/path/to/som.png" >>> >>> >>> To the layout tag. >>> >>> >>> Works best when the png is the same size as the whole canvas. >>> >>> >>> >>> >>> >>> On Wed, Dec 2, 2015 at 6:58 AM, Victor Medina < >>> victor.medina at cibersys.com> wrote: >>> >>>> Just saying... >>>> >>>> Is there anyway, to add a logo to the whole canvas?, on the upper left >>>> corner? =) >>>> >>>> 2015-12-02 8:26 GMT-04:30 Victor Medina : >>>> >>>>> =) I was going to say just that! >>>>> >>>>> 2015-12-02 8:03 GMT-04:30 Stanislav Sinyagin : >>>>> >>>>>> added to my TODO list for variables documentation >>>>>> >>>>>> On Tue, Dec 1, 2015 at 9:54 PM, Anthony Minessale < >>>>>> anthony.minessale at gmail.com> wrote: >>>>>> >>>>>>> video_logo_path channel variable or global variable >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Mon, Nov 30, 2015 at 1:49 PM, Victor Medina < >>>>>>> victor.medina at cibersys.com> wrote: >>>>>>> >>>>>>>> Hi guys! >>>>>>>> >>>>>>>> ?Is there any way to predifine vid-logo-img for all users joining >>>>>>>> a conference? I can perefectly to it using the console, but would like it >>>>>>>> to be predifined as default to every user joining a conference. >>>>>>>> >>>>>>>> Thanks as usual!? >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> V?ctor E. Medina M. >>>>>>>> Platform Architect / Chief Infrastructure >>>>>>>> +58424 291 4561 >>>>>>>> BB #79A8AFA2 >>>>>>>> @VMCibersys >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>>>> >>>>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>>>> http://twitter.com/FreeSWITCH >>>>>>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>>>>>> * >>>>>>> >>>>>>> ClueCon Weekly Development Call >>>>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>>>> >>>>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> V?ctor E. Medina M. >>>>> Platform Architect / Chief Infrastructure >>>>> +58424 291 4561 >>>>> BB #79A8AFA2 >>>>> @VMCibersys >>>>> >>>>> >>>> >>>> >>>> -- >>>> >>>> >>>> >>>> V?ctor E. Medina M. >>>> Platform Architect / Chief Infrastructure >>>> +58424 291 4561 >>>> BB #79A8AFA2 >>>> @VMCibersys >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>> >>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>> http://twitter.com/FreeSWITCH >>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>> * >>> >>> ClueCon Weekly Development Call >>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>> >>> https://www.youtube.com/watch?v=9XXgW34t40s >>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- V?ctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151204/5916c41a/attachment-0001.html From mitch.capper at gmail.com Fri Dec 4 19:01:10 2015 From: mitch.capper at gmail.com (Mitch Capper) Date: Fri, 4 Dec 2015 08:01:10 -0800 Subject: [Freeswitch-users] Getting INCOMPATIBLE_DESTINATION when FS could transcode, b_leg offer only contains a_leg codecs and not sure why In-Reply-To: References: Message-ID: It was several items but they are now documented at: https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation#CodecNegotiation-MixingMedia/Codecsondifferentlegs(transcoding) ~mitch On Thu, Dec 3, 2015 at 12:31 PM, Russell Treleaven wrote: > Please share the solution. > > On Thu, Dec 3, 2015 at 3:18 PM, Mitch Capper > wrote: > >> This was solved in irc thanks:) >> >> ~mitch >> >> On Thu, Dec 3, 2015 at 6:34 AM, Mitch Capper >> wrote: >> >>> I am not sure if I just don't understand the negotiation process >>> correctly or something is wrong. Currently running 5ab62d81147 >>> (2015-11-26). I am getting INCOMPATIBLE_DESTINATION which seems to be >>> because FS is only offering the b leg the codec it settles on for the A leg >>> (sounds very much as if inherit_codec is true or disable-transcoding is >>> true however both are set to false). >>> >>> Making a simple outbound bridge through mod_sofia and the A leg only >>> supports a codec B does not (SPEEX for example) and it ends up that is the >>> only thing offered to the B leg. >>> >>> I do have inbound-codec-negotiation set to generous and >>> inbound-late-negotiation set to true (for both profiles), but I would >>> assume FS should still offer all the outbound-codec-prefs on the invite for >>> the bridge, but instead it is only offering the a-leg codec. >>> >>> I would assume it should just transcode but instead it fails. >>> >>> fail: https://pastebin.freeswitch.org/24471 works: >>> https://pastebin.freeswitch.org/24472 >>> >>> I am not sure what I am missing. >>> >>> ~mitch >>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151204/d3ba5706/attachment.html From dvmorte at gmail.com Fri Dec 4 19:20:59 2015 From: dvmorte at gmail.com (Denys D) Date: Fri, 4 Dec 2015 18:20:59 +0200 Subject: [Freeswitch-users] High syscall percentage on Centos 7 In-Reply-To: References: Message-ID: We made couple of synthetic tests with sipp uac scenario (unfortunately we cannot move the current load from the production to the test environment right now) - 300 cps, 1500 calls limi;, ulimits for FS set as recommended, same dialplan : Debian 8.2 + FS 1.2.24 - up to 95% CPU utilization with ~65% syscalls Debian 8.2 + FS 1.6.5 - up to 95% CPU utilization with ~65% syscalls Centos 5.11 + FS 1.2.23 - up to 85% CPU utilization with ~20% syscalls Centos 6.7 + FS 1.6.5 - up to 97% CPU utilization with ~67% syscalls Centos 7.1 + FS 1.6.5 - up to 97% CPU utilization with ~67% syscalls Centos 7.1 + FS 1.2.24 - up to97% CPU utilization with ~67% syscalls FreeBSD 10.2 + FS 1.6.5 - up to 80% CPU utilization with ~20% syscalls So, it seems that we've something missed when configuring FS on modern Linux distributives. On Fri, Nov 27, 2015 at 2:44 PM, Sergey Safarov wrote: > Could you build and test FS 1.2.23 on CentOS 7. > Probably it can help to locate problem on OS or FS. > > Sergey > > On Thu, Nov 26, 2015 at 11:21 AM, Denys D wrote: > >> Hi! Has anybody faced with high system calls on Centos 7 while running >> FreeSwitch? >> We have migrated from FS 1.2.23 on Centos 5.11 to FS 1.6.2 on Centos 7 >> and faced with very high syscall (up to 60% CPU time) rate under moderate >> load (300 CPS, 1500 simultaneous calls). We also faced the same issue on >> Centos 6.7 and Debian 8.2 with FS 1.6.2 on the same hardware. On Centos >> 5.11 with the same load and h/w we had no more than 10% syscalls CPU time. >> We have already tried nohz=off kernel option and it didn't solve the >> problem. What should we change in our environment to achieve the same >> performance level as it was on Centos 5.11? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151204/5376452a/attachment.html From brian at freeswitch.org Fri Dec 4 19:44:28 2015 From: brian at freeswitch.org (Brian West) Date: Fri, 4 Dec 2015 10:44:28 -0600 Subject: [Freeswitch-users] High syscall percentage on Centos 7 In-Reply-To: References: Message-ID: Could you document your testing methodology so others can replicate it, and are you testing this all on the exact same hardware? On Fri, Dec 4, 2015 at 10:20 AM, Denys D wrote: > We made couple of synthetic tests with sipp uac scenario (unfortunately we > cannot move the current load from the production to the test environment > right now) - 300 cps, 1500 calls limi;, ulimits for FS set as recommended, > same dialplan : > Debian 8.2 + FS 1.2.24 - up to 95% CPU utilization with ~65% syscalls > Debian 8.2 + FS 1.6.5 - up to 95% CPU utilization with ~65% syscalls > Centos 5.11 + FS 1.2.23 - up to 85% CPU utilization with ~20% syscalls > Centos 6.7 + FS 1.6.5 - up to 97% CPU utilization with ~67% syscalls > Centos 7.1 + FS 1.6.5 - up to 97% CPU utilization with ~67% syscalls > Centos 7.1 + FS 1.2.24 - up to97% CPU utilization with ~67% syscalls > FreeBSD 10.2 + FS 1.6.5 - up to 80% CPU utilization with ~20% syscalls > So, it seems that we've something missed when configuring FS on modern > Linux distributives. > > > > On Fri, Nov 27, 2015 at 2:44 PM, Sergey Safarov > wrote: > >> Could you build and test FS 1.2.23 on CentOS 7. >> Probably it can help to locate problem on OS or FS. >> >> Sergey >> >> On Thu, Nov 26, 2015 at 11:21 AM, Denys D wrote: >> >>> Hi! Has anybody faced with high system calls on Centos 7 while running >>> FreeSwitch? >>> We have migrated from FS 1.2.23 on Centos 5.11 to FS 1.6.2 on Centos 7 >>> and faced with very high syscall (up to 60% CPU time) rate under moderate >>> load (300 CPS, 1500 simultaneous calls). We also faced the same issue on >>> Centos 6.7 and Debian 8.2 with FS 1.6.2 on the same hardware. On Centos >>> 5.11 with the same load and h/w we had no more than 10% syscalls CPU time. >>> We have already tried nohz=off kernel option and it didn't solve the >>> problem. What should we change in our environment to achieve the same >>> performance level as it was on Centos 5.11? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151204/35ab71df/attachment-0001.html From covici at ccs.covici.com Fri Dec 4 19:46:29 2015 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Fri, 04 Dec 2015 11:46:29 -0500 Subject: [Freeswitch-users] after fs update I suddenly get incompatible destination Message-ID: <12687.1449247589@ccs.covici.com> Hi. After an fs update from a build in August to today's update, I am getting incompatible destination on a gateway to an asterisk system. I have a sip trace here https://covici.com/owncloud/index.php/s/p5VkMVsz3KIZ7d0 so I wonder if someone could take a peak and tell me what I have to change, or is it a bug? Thanks in advance for any ideas. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com From anthony.minessale at gmail.com Fri Dec 4 19:56:01 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 4 Dec 2015 10:56:01 -0600 Subject: [Freeswitch-users] after fs update I suddenly get incompatible destination In-Reply-To: <12687.1449247589@ccs.covici.com> References: <12687.1449247589@ccs.covici.com> Message-ID: try adding {media_mix_inbound_outbound_codecs} to your outbound dial string. On Fri, Dec 4, 2015 at 10:46 AM, wrote: > Hi. After an fs update from a build in August to today's update, I am > getting incompatible destination on a gateway to an asterisk system. I > have a sip trace here > https://covici.com/owncloud/index.php/s/p5VkMVsz3KIZ7d0 > so I wonder if someone could take a peak and tell me what I have to > change, or is it a bug? > > Thanks in advance for any ideas. > > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > covici at ccs.covici.com > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- 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/20151204/60a782de/attachment.html From mitch.capper at gmail.com Fri Dec 4 20:49:35 2015 From: mitch.capper at gmail.com (Mitch Capper) Date: Fri, 4 Dec 2015 09:49:35 -0800 Subject: [Freeswitch-users] after fs update I suddenly get incompatible destination In-Reply-To: References: <12687.1449247589@ccs.covici.com> Message-ID: media_mix_inbound_outbound_codecs was new around that time (and changed the default behavior of FS as it defaulted to false now vs before FS behaved as true essentially). Anthm's note should fix it but if not I ran into a similar issue but I think https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation#CodecNegotiation-MixingMedia/Codecsondifferentlegs(transcoding) should cover most of the stoppers. ~mitch On Fri, Dec 4, 2015 at 8:56 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > try adding {media_mix_inbound_outbound_codecs} to your outbound dial > string. > > > On Fri, Dec 4, 2015 at 10:46 AM, wrote: > >> Hi. After an fs update from a build in August to today's update, I am >> getting incompatible destination on a gateway to an asterisk system. I >> have a sip trace here >> https://covici.com/owncloud/index.php/s/p5VkMVsz3KIZ7d0 >> so I wonder if someone could take a peak and tell me what I have to >> change, or is it a bug? >> >> Thanks in advance for any ideas. >> >> >> -- >> Your life is like a penny. You're going to lose it. The question is: >> How do >> you spend it? >> >> John Covici >> covici at ccs.covici.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151204/5612fae1/attachment.html From govoiper at gmail.com Fri Dec 4 21:23:49 2015 From: govoiper at gmail.com (SamyGo) Date: Fri, 4 Dec 2015 13:23:49 -0500 Subject: [Freeswitch-users] Videocall recording results in high CPU Message-ID: Hello everyone, I'm using latest FS version 1.7 for recording video calls. Video calls work very well, but every time I start recording the calls to mp4 the CPU jumps to about 100%. That also results in call being paused(video freezes and audio disappears) for few seconds and resume. The recorded file upon playback starts good for first few seconds but then drops alot of frames and finally gets stuck.. freeswitch at internal> version FreeSWITCH Version 1.7.0+git~20151202T210853Z~c021d22ea6~64bit (git c021d22 2015-12-02 21:08:53Z 64bit) root at FreeSwitch:~# lsb_release -a Distributor ID: Debian Description: Debian GNU/Linux 8.1 (jessie) Release: 8.1 Codename: jessie The Hardware specs are bit low, its in Amazon cloud Dual-Core 2.50GHz, 4GB RAM. I'll increase H/W specs and see if it helps, if there are any suggestions on getting this done nicely. Thanks, Sammy *--- LOGS When uuid_record is executed ---* 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1473 sample rate: 8000, channels: 2 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1573 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2015-12-04 18:16:13.623235 [NOTICE] avformat.c:437 sample_rate: 8000 nb_samples: 1024 Output #0, mp4, to '/tmp/newabc.mp4': Stream #0.0 : Audio: libvo_aacenc, 8000 Hz, stereo, s16, 131 kb/s 2015-12-04 18:16:13.623235 [INFO] avformat.c:1597 Opening File [/tmp/newabc.mp4] 8000hz with VIDEO 2015-12-04 18:16:13.633261 [DEBUG] switch_core_media_bug.c:828 Attaching BUG to sofia/external/868599 2015-12-04 18:16:13.653256 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0 2015-12-04 18:16:13.653256 [DEBUG] switch_ivr_async.c:1483 No silence detection configured; assuming start of speech 2015-12-04 18:16:13.723299 [DEBUG] avcodec.c:1044 picture size changed from 352x288 to 640x480, reinitializing encoder frame I:1 Avg QP:10.00 size: 1049 mb I I16..4: 100.0% 0.0% 0.0% coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% i16 v,h,dc,p: 94% 0% 6% 0% i8c dc,h,v,p: 100% 0% 0% 0% kb/s:755.28 using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX profile Constrained Baseline, level 4.1 using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX profile Constrained Baseline, level 4.1 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=2 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=6 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1981 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 2015-12-04 18:16:13.743264 [INFO] avformat.c:1949 use video codec implementation Video: libx264, yuv420p, 1280x720, q=-1--1, 1981 kb/s 2015-12-04 18:16:13.743264 [DEBUG] avcodec.c:1044 picture size changed from 352x288 to 1280x720, reinitializing encoder frame I:1 Avg QP:10.00 size: 1049 mb I I16..4: 100.0% 0.0% 0.0% coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% i16 v,h,dc,p: 94% 0% 6% 0% i8c dc,h,v,p: 100% 0% 0% 0% kb/s:755.28 using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX profile Constrained Baseline, level 4.1 2015-12-04 18:16:13.743264 [NOTICE] avformat.c:518 video thread start 2015-12-04 18:16:13.983266 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:16.043257 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 0 VER 0 LEN 4 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:20.513261 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:22.533260 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:24.623259 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:26.433258 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 0 VER 0 LEN 4 2015-12-04 18:16:26.653258 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:29.003219 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:31.013259 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:33.763260 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:34.953259 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 0 VER 0 LEN 4 2015-12-04 18:16:35.803260 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:37.773264 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:39.823257 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:42.003268 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:44.053263 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:46.053261 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 concealing 203 DC, 203 AC, 203 MV errors 2015-12-04 18:16:48.273264 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 0 VER 0 LEN 4 2015-12-04 18:16:48.803258 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 concealing 259 DC, 259 AC, 259 MV errors 2015-12-04 18:16:51.013257 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:53.223264 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 concealing 147 DC, 147 AC, 147 MV errors 2015-12-04 18:16:55.483258 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 concealing 198 DC, 198 AC, 198 MV errors concealing 602 DC, 602 AC, 602 MV errors 2015-12-04 18:16:59.603257 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 2015-12-04 18:16:59.663254 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 0 VER 0 LEN 4 concealing 300 DC, 300 AC, 300 MV errors 2015-12-04 18:17:04.143260 [NOTICE] sofia.c:952 Hangup sofia/internal/ 868499 at 52.70.5.23 [CS_EXECUTE] [NORMAL_CLEARING] 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:705 sofia/internal/ 868499 at 52.70.5.23 ending bridge by request from read function 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending video thread. 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending video thread. 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:699 sofia/internal/ 868499 at 52.70.5.23 ending bridge by request from write function 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending video thread. 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending video thread. 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 sofia/external/868599 video thread ended. 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 sofia/internal/ 868499 at 52.70.5.23 video thread ended. 2015-12-04 18:17:04.153216 [DEBUG] switch_core_media.c:5167 sofia/internal/ 868499 at 52.70.5.23 Video thread ended 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/internal/868499 at 52.70.5.23] 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/868599] 2015-12-04 18:17:04.163261 [NOTICE] switch_ivr_bridge.c:881 Hangup sofia/external/868599 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:542 (sofia/external/868599) State EXCHANGE_MEDIA going to sleep 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:473 (sofia/external/868599) Running State Change CS_HANGUP 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_async.c:1305 Stop recording file /tmp/newabc.mp4 2015-12-04 18:17:04.163261 [DEBUG] switch_core_media.c:5167 sofia/external/868599 Video thread ended 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1689 sofia/external/868599 skip receive message [UNBRIDGE] (channel is hungup already) 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1692 sofia/internal/ 868499 at 52.70.5.23 skip receive message [UNBRIDGE] (channel is hungup already) 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:2796 sofia/internal/868499 at 52.70.5.23 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:539 (sofia/internal/868499 at 52.70.5.23) State EXECUTE going to sleep 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/868499 at 52.70.5.23) Running State Change CS_HANGUP 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/868499 at 52.70.5.23) Callstate Change ACTIVE -> HANGUP 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/868499 at 52.70.5.23) State HANGUP 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:431 Channel sofia/internal/ 868499 at 52.70.5.23 hanging up, cause: NORMAL_CLEARING 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:60 sofia/internal/868499 at 52.70.5.23 Standard HANGUP, cause: NORMAL_CLEARING 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/868499 at 52.70.5.23) State HANGUP going to sleep 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:508 (sofia/internal/868499 at 52.70.5.23) State Change CS_HANGUP -> CS_REPORTING 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/868499 at 52.70.5.23) Running State Change CS_REPORTING 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/868499 at 52.70.5.23) State REPORTING 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:104 sofia/internal/868499 at 52.70.5.23 Standard REPORTING, cause: NORMAL_CLEARING 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/868499 at 52.70.5.23) State REPORTING going to sleep 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/868499 at 52.70.5.23) State Change CS_REPORTING -> CS_DESTROY 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:1646 Session 5 (sofia/internal/868499 at 52.70.5.23) Locked, Waiting on external entities 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1664 Session 5 (sofia/internal/868499 at 52.70.5.23) Ended 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/868499 at 52.70.5.23 [CS_DESTROY] 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:630 (sofia/internal/868499 at 52.70.5.23) Running State Change CS_DESTROY 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/868499 at 52.70.5.23) State DESTROY 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:341 sofia/internal/ 868499 at 52.70.5.23 SOFIA DESTROY frame I:50 Avg QP:11.50 size: 99188 frame P:1320 Avg QP:12.79 size: 9817 mb I I16..4: 32.3% 0.0% 67.7% mb P I16..4: 1.8% 0.0% 2.3% P16..4: 21.0% 3.5% 1.8% 0.0% 0.0% skip:69.6% coded y,uvDC,uvAC intra: 66.2% 73.8% 61.1% inter: 8.1% 14.0% 4.7% i16 v,h,dc,p: 44% 23% 16% 16% i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 35% 10% 3% 4% 3% 5% 4% 4% i8c dc,h,v,p: 37% 32% 20% 11% kb/s:9416.81 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:111 sofia/internal/868499 at 52.70.5.23 Standard DESTROY 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/868499 at 52.70.5.23) State DESTROY going to sleep 2015-12-04 18:17:04.213268 [NOTICE] avformat.c:624 video thread done frame I:12 Avg QP:13.27 size: 89070 frame P:681 Avg QP:11.76 size: 16819 mb I I16..4: 36.9% 0.0% 63.1% mb P I16..4: 2.7% 0.0% 4.9% P16..4: 20.0% 3.0% 1.8% 0.0% 0.0% skip:67.5% final ratefactor: 15.09 coded y,uvDC,uvAC intra: 68.6% 72.9% 63.8% inter: 8.6% 14.6% 6.1% i16 v,h,dc,p: 47% 23% 17% 12% i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 35% 9% 3% 4% 3% 4% 4% 4% i8c dc,h,v,p: 39% 32% 18% 12% ref P L0: 90.9% 5.9% 3.2% kb/s:2046.12 2015-12-04 18:17:04.243259 [DEBUG] switch_ivr_async.c:1366 Channel is hung up 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media_bug.c:1118 Removing BUG from sofia/external/868599 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:739 (sofia/external/868599) Callstate Change ACTIVE -> HANGUP 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 (sofia/external/868599) State HANGUP 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media.c:10542 sofia/external/868599 skip receive message [VIDEO_REFRESH_REQ] (channel is hungup already) 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:425 sofia/external/868599 Overriding SIP cause 480 with 200 from the other leg 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:431 Channel sofia/external/868599 hanging up, cause: NORMAL_CLEARING 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:484 Sending BYE to sofia/external/868599 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:60 sofia/external/868599 Standard HANGUP, cause: NORMAL_CLEARING 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 (sofia/external/868599) State HANGUP going to sleep 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:508 (sofia/external/868599) State Change CS_HANGUP -> CS_REPORTING 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:473 (sofia/external/868599) Running State Change CS_REPORTING 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 (sofia/external/868599) State REPORTING 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:104 sofia/external/868599 Standard REPORTING, cause: NORMAL_CLEARING 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 (sofia/external/868599) State REPORTING going to sleep 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:499 (sofia/external/868599) State Change CS_REPORTING -> CS_DESTROY 2015-12-04 18:17:04.243259 [DEBUG] switch_core_session.c:1646 Session 6 (sofia/external/868599) Locked, Waiting on external entities 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1664 Session 6 (sofia/external/868599) Ended 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/868599 [CS_DESTROY] 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:630 (sofia/external/868599) Running State Change CS_DESTROY 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 (sofia/external/868599) State DESTROY 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:341 sofia/external/868599 SOFIA DESTROY frame I:45 Avg QP:12.50 size: 45087 frame P:823 Avg QP:13.81 size: 11066 mb I I16..4: 18.3% 0.0% 81.7% mb P I16..4: 6.4% 0.0% 10.7% P16..4: 41.3% 12.4% 5.3% 0.0% 0.0% skip:23.9% coded y,uvDC,uvAC intra: 82.3% 76.7% 61.8% inter: 28.1% 33.2% 6.8% i16 v,h,dc,p: 31% 33% 19% 17% i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 38% 14% 3% 3% 4% 3% 3% 4% i8c dc,h,v,p: 41% 35% 18% 5% kb/s:9237.67 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:111 sofia/external/868599 Standard DESTROY 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 (sofia/external/868599) State DESTROY going to sleep -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151204/1d053b61/attachment-0001.html From anthony.minessale at gmail.com Fri Dec 4 21:44:48 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 4 Dec 2015 12:44:48 -0600 Subject: [Freeswitch-users] Videocall recording results in high CPU In-Reply-To: References: Message-ID: {vencspd=fast,vprofile=baseline}/path/to/file.mp4 You can try medium or slow for speed too. That's the best you can hope for. video needs resources..... On Fri, Dec 4, 2015 at 12:23 PM, SamyGo wrote: > Hello everyone, > I'm using latest FS version 1.7 for recording video calls. Video calls > work very well, but every time I start recording the calls to mp4 the CPU > jumps to about 100%. That also results in call being paused(video freezes > and audio disappears) for few seconds and resume. > > The recorded file upon playback starts good for first few seconds but then > drops alot of frames and finally gets stuck.. > > > freeswitch at internal> version > FreeSWITCH Version 1.7.0+git~20151202T210853Z~c021d22ea6~64bit (git > c021d22 2015-12-02 21:08:53Z 64bit) > > root at FreeSwitch:~# lsb_release -a > Distributor ID: Debian > Description: Debian GNU/Linux 8.1 (jessie) > Release: 8.1 > Codename: jessie > > The Hardware specs are bit low, its in Amazon cloud > > Dual-Core 2.50GHz, 4GB RAM. > > I'll increase H/W specs and see if it helps, if there are any suggestions > on getting this done nicely. > > Thanks, > Sammy > > > > *--- LOGS When uuid_record is executed ---* > 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1473 sample rate: 8000, > channels: 2 > 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1573 use video codec: [28] > h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) > 2015-12-04 18:16:13.623235 [NOTICE] avformat.c:437 sample_rate: 8000 > nb_samples: 1024 > Output #0, mp4, to '/tmp/newabc.mp4': > Stream #0.0 > : Audio: libvo_aacenc, 8000 Hz, stereo, s16, 131 kb/s > 2015-12-04 18:16:13.623235 [INFO] avformat.c:1597 Opening File > [/tmp/newabc.mp4] 8000hz with VIDEO > 2015-12-04 18:16:13.633261 [DEBUG] switch_core_media_bug.c:828 Attaching > BUG to sofia/external/868599 > 2015-12-04 18:16:13.653256 [DEBUG] switch_core_io.c:448 Setting BUG Codec > PCMU:0 > 2015-12-04 18:16:13.653256 [DEBUG] switch_ivr_async.c:1483 No silence > detection configured; assuming start of speech > 2015-12-04 18:16:13.723299 [DEBUG] avcodec.c:1044 picture size changed > from 352x288 to 640x480, reinitializing encoder > frame I:1 Avg QP:10.00 size: 1049 > mb I I16..4: 100.0% 0.0% 0.0% > coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% > i16 v,h,dc,p: 94% 0% 6% 0% > i8c dc,h,v,p: 100% 0% 0% 0% > kb/s:755.28 > using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX > profile Constrained Baseline, level 4.1 > using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX > profile Constrained Baseline, level 4.1 > 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 > - http://www.videolan.org/x264.html - options: cabac=0 ref=3 > deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 > mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 > fast_pskip=1 chroma_qp_offset=-2 threads=2 lookahead_threads=1 > sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 > constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=6 scenecut=40 > intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1981 ratetol=1.0 > qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 > 2015-12-04 18:16:13.743264 [INFO] avformat.c:1949 use video codec > implementation Video: libx264, yuv420p, 1280x720, q=-1--1, 1981 kb/s > 2015-12-04 18:16:13.743264 [DEBUG] avcodec.c:1044 picture size changed > from 352x288 to 1280x720, reinitializing encoder > frame I:1 Avg QP:10.00 size: 1049 > mb I I16..4: 100.0% 0.0% 0.0% > coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% > i16 v,h,dc,p: 94% 0% 6% 0% > i8c dc,h,v,p: 100% 0% 0% 0% > kb/s:755.28 > using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX > profile Constrained Baseline, level 4.1 > 2015-12-04 18:16:13.743264 [NOTICE] avformat.c:518 video thread start > 2015-12-04 18:16:13.983266 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:16.043257 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 0 VER 0 LEN 4 > 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:20.513261 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:22.533260 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:24.623259 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:26.433258 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 0 VER 0 LEN 4 > 2015-12-04 18:16:26.653258 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:29.003219 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:31.013259 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:33.763260 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:34.953259 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 0 VER 0 LEN 4 > 2015-12-04 18:16:35.803260 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:37.773264 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:39.823257 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:42.003268 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:44.053263 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:46.053261 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > concealing 203 DC, 203 AC, 203 MV errors > 2015-12-04 18:16:48.273264 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 0 VER 0 LEN 4 > 2015-12-04 18:16:48.803258 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > concealing 259 DC, 259 AC, 259 MV errors > 2015-12-04 18:16:51.013257 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:53.223264 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > concealing 147 DC, 147 AC, 147 MV errors > 2015-12-04 18:16:55.483258 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > concealing 198 DC, 198 AC, 198 MV errors > concealing 602 DC, 602 AC, 602 MV errors > 2015-12-04 18:16:59.603257 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 192 VER 2 LEN 8 > 2015-12-04 18:16:59.663254 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET > TYPE 0 VER 0 LEN 4 > concealing 300 DC, 300 AC, 300 MV errors > 2015-12-04 18:17:04.143260 [NOTICE] sofia.c:952 Hangup sofia/internal/ > 868499 at 52.70.5.23 [CS_EXECUTE] [NORMAL_CLEARING] > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:705 sofia/internal/ > 868499 at 52.70.5.23 ending bridge by request from read function > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending video > thread. > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending video > thread. > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:699 sofia/internal/ > 868499 at 52.70.5.23 ending bridge by request from write function > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending video > thread. > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending video > thread. > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 > sofia/external/868599 video thread ended. > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 sofia/internal/ > 868499 at 52.70.5.23 video thread ended. > 2015-12-04 18:17:04.153216 [DEBUG] switch_core_media.c:5167 sofia/internal/ > 868499 at 52.70.5.23 Video thread ended > 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD > DONE [sofia/internal/868499 at 52.70.5.23] > 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD > DONE [sofia/external/868599] > 2015-12-04 18:17:04.163261 [NOTICE] switch_ivr_bridge.c:881 Hangup > sofia/external/868599 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] > 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:542 > (sofia/external/868599) State EXCHANGE_MEDIA going to sleep > 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:473 > (sofia/external/868599) Running State Change CS_HANGUP > 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_async.c:1305 Stop recording > file /tmp/newabc.mp4 > 2015-12-04 18:17:04.163261 [DEBUG] switch_core_media.c:5167 > sofia/external/868599 Video thread ended > 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1689 > sofia/external/868599 skip receive message [UNBRIDGE] (channel is hungup > already) > 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1692 sofia/internal/ > 868499 at 52.70.5.23 skip receive message [UNBRIDGE] (channel is hungup > already) > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:2796 > sofia/internal/868499 at 52.70.5.23 skip receive message > [APPLICATION_EXEC_COMPLETE] (channel is hungup already) > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:539 > (sofia/internal/868499 at 52.70.5.23) State EXECUTE going to sleep > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 > (sofia/internal/868499 at 52.70.5.23) Running State Change CS_HANGUP > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:739 > (sofia/internal/868499 at 52.70.5.23) Callstate Change ACTIVE -> HANGUP > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 > (sofia/internal/868499 at 52.70.5.23) State HANGUP > 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:431 Channel sofia/internal/ > 868499 at 52.70.5.23 hanging up, cause: NORMAL_CLEARING > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:60 > sofia/internal/868499 at 52.70.5.23 Standard HANGUP, cause: NORMAL_CLEARING > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 > (sofia/internal/868499 at 52.70.5.23) State HANGUP going to sleep > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:508 > (sofia/internal/868499 at 52.70.5.23) State Change CS_HANGUP -> CS_REPORTING > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 > (sofia/internal/868499 at 52.70.5.23) Running State Change CS_REPORTING > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 > (sofia/internal/868499 at 52.70.5.23) State REPORTING > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:104 > sofia/internal/868499 at 52.70.5.23 Standard REPORTING, cause: > NORMAL_CLEARING > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 > (sofia/internal/868499 at 52.70.5.23) State REPORTING going to sleep > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:499 > (sofia/internal/868499 at 52.70.5.23) State Change CS_REPORTING -> CS_DESTROY > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:1646 Session 5 > (sofia/internal/868499 at 52.70.5.23) Locked, Waiting on external entities > 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1664 Session 5 > (sofia/internal/868499 at 52.70.5.23) Ended > 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1668 Close > Channel sofia/internal/868499 at 52.70.5.23 [CS_DESTROY] > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:630 > (sofia/internal/868499 at 52.70.5.23) Running State Change CS_DESTROY > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 > (sofia/internal/868499 at 52.70.5.23) State DESTROY > 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:341 sofia/internal/ > 868499 at 52.70.5.23 SOFIA DESTROY > frame I:50 Avg QP:11.50 size: 99188 > frame P:1320 Avg QP:12.79 size: 9817 > mb I I16..4: 32.3% 0.0% 67.7% > mb P I16..4: 1.8% 0.0% 2.3% P16..4: 21.0% 3.5% 1.8% 0.0% 0.0% > skip:69.6% > coded y,uvDC,uvAC intra: 66.2% 73.8% 61.1% inter: 8.1% 14.0% 4.7% > i16 v,h,dc,p: 44% 23% 16% 16% > i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 35% 10% 3% 4% 3% 5% 4% 4% > i8c dc,h,v,p: 37% 32% 20% 11% > kb/s:9416.81 > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:111 > sofia/internal/868499 at 52.70.5.23 Standard DESTROY > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 > (sofia/internal/868499 at 52.70.5.23) State DESTROY going to sleep > 2015-12-04 18:17:04.213268 [NOTICE] avformat.c:624 video thread done > frame I:12 Avg QP:13.27 size: 89070 > frame P:681 Avg QP:11.76 size: 16819 > mb I I16..4: 36.9% 0.0% 63.1% > mb P I16..4: 2.7% 0.0% 4.9% P16..4: 20.0% 3.0% 1.8% 0.0% 0.0% > skip:67.5% > final ratefactor: 15.09 > coded y,uvDC,uvAC intra: 68.6% 72.9% 63.8% inter: 8.6% 14.6% 6.1% > i16 v,h,dc,p: 47% 23% 17% 12% > i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 35% 9% 3% 4% 3% 4% 4% 4% > i8c dc,h,v,p: 39% 32% 18% 12% > ref P L0: 90.9% 5.9% 3.2% > kb/s:2046.12 > 2015-12-04 18:17:04.243259 [DEBUG] switch_ivr_async.c:1366 Channel is hung > up > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media_bug.c:1118 Removing > BUG from sofia/external/868599 > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:739 > (sofia/external/868599) Callstate Change ACTIVE -> HANGUP > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 > (sofia/external/868599) State HANGUP > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media.c:10542 > sofia/external/868599 skip receive message [VIDEO_REFRESH_REQ] (channel is > hungup already) > 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:425 sofia/external/868599 > Overriding SIP cause 480 with 200 from the other leg > 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:431 Channel > sofia/external/868599 hanging up, cause: NORMAL_CLEARING > 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:484 Sending BYE to > sofia/external/868599 > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:60 > sofia/external/868599 Standard HANGUP, cause: NORMAL_CLEARING > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 > (sofia/external/868599) State HANGUP going to sleep > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:508 > (sofia/external/868599) State Change CS_HANGUP -> CS_REPORTING > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:473 > (sofia/external/868599) Running State Change CS_REPORTING > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 > (sofia/external/868599) State REPORTING > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:104 > sofia/external/868599 Standard REPORTING, cause: NORMAL_CLEARING > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 > (sofia/external/868599) State REPORTING going to sleep > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:499 > (sofia/external/868599) State Change CS_REPORTING -> CS_DESTROY > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_session.c:1646 Session 6 > (sofia/external/868599) Locked, Waiting on external entities > 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1664 Session 6 > (sofia/external/868599) Ended > 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1668 Close > Channel sofia/external/868599 [CS_DESTROY] > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:630 > (sofia/external/868599) Running State Change CS_DESTROY > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 > (sofia/external/868599) State DESTROY > 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:341 sofia/external/868599 > SOFIA DESTROY > frame I:45 Avg QP:12.50 size: 45087 > frame P:823 Avg QP:13.81 size: 11066 > mb I I16..4: 18.3% 0.0% 81.7% > mb P I16..4: 6.4% 0.0% 10.7% P16..4: 41.3% 12.4% 5.3% 0.0% 0.0% > skip:23.9% > coded y,uvDC,uvAC intra: 82.3% 76.7% 61.8% inter: 28.1% 33.2% 6.8% > i16 v,h,dc,p: 31% 33% 19% 17% > i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 38% 14% 3% 3% 4% 3% 3% 4% > i8c dc,h,v,p: 41% 35% 18% 5% > kb/s:9237.67 > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:111 > sofia/external/868599 Standard DESTROY > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 > (sofia/external/868599) State DESTROY going to sleep > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151204/85f4ad69/attachment-0001.html From covici at ccs.covici.com Fri Dec 4 22:09:29 2015 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Fri, 04 Dec 2015 14:09:29 -0500 Subject: [Freeswitch-users] after fs update I suddenly get incompatible destination In-Reply-To: References: <12687.1449247589@ccs.covici.com> Message-ID: <18343.1449256169@ccs.covici.com> Yep, that did it -- thanks so much! Anthony Minessale wrote: > try adding {media_mix_inbound_outbound_codecs} to your outbound dial string. > > > On Fri, Dec 4, 2015 at 10:46 AM, wrote: > > > Hi. After an fs update from a build in August to today's update, I am > > getting incompatible destination on a gateway to an asterisk system. I > > have a sip trace here > > https://covici.com/owncloud/index.php/s/p5VkMVsz3KIZ7d0 > > so I wonder if someone could take a peak and tell me what I have to > > change, or is it a bug? > > > > Thanks in advance for any ideas. > > > > > > -- > > Your life is like a penny. You're going to lose it. The question is: > > How do > > you spend it? > > > > John Covici > > covici at ccs.covici.com > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > -- > 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 > > ---------------------------------------------------- > Alternatives: > > ---------------------------------------------------- > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com From covici at ccs.covici.com Fri Dec 4 22:11:00 2015 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Fri, 04 Dec 2015 14:11:00 -0500 Subject: [Freeswitch-users] after fs update I suddenly get incompatible destination In-Reply-To: References: <12687.1449247589@ccs.covici.com> Message-ID: <18437.1449256260@ccs.covici.com> But why would you want false to be the default -- does true have any downsides at all? Mitch Capper wrote: > media_mix_inbound_outbound_codecs was new around that time (and changed the > default behavior of FS as it defaulted to false now vs before FS behaved as > true essentially). > Anthm's note should fix it but if not I ran into a similar issue but I > think > https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation#CodecNegotiation-MixingMedia/Codecsondifferentlegs(transcoding) > should cover most of the stoppers. > > ~mitch > > On Fri, Dec 4, 2015 at 8:56 AM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > > > try adding {media_mix_inbound_outbound_codecs} to your outbound dial > > string. > > > > > > On Fri, Dec 4, 2015 at 10:46 AM, wrote: > > > >> Hi. After an fs update from a build in August to today's update, I am > >> getting incompatible destination on a gateway to an asterisk system. I > >> have a sip trace here > >> https://covici.com/owncloud/index.php/s/p5VkMVsz3KIZ7d0 > >> so I wonder if someone could take a peak and tell me what I have to > >> change, or is it a bug? > >> > >> Thanks in advance for any ideas. > >> > >> > >> -- > >> Your life is like a penny. You're going to lose it. The question is: > >> How do > >> you spend it? > >> > >> John Covici > >> covici at ccs.covici.com > >> > >> _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > >> > > > > > > > > -- > > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > > http://twitter.com/FreeSWITCH > > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > > * > > > > ClueCon Weekly Development Call > > ? sip:888 at conference.freeswitch.org ? +19193869900 > > > > https://www.youtube.com/watch?v=9XXgW34t40s > > https://www.youtube.com/watch?v=NLaDpGQuZDA > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > ---------------------------------------------------- > Alternatives: > > ---------------------------------------------------- > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com From aqsyounas at gmail.com Fri Dec 4 22:53:31 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Sat, 5 Dec 2015 00:53:31 +0500 Subject: [Freeswitch-users] You need libtool version 1.5.14 or newer to build Freeswitch. Message-ID: Hi, I am installing freeswitch on fresh debian jessie 8 and following this page. https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie When i run bootstrap.sh i encounter this error though llibtool_2.4.2-1.11_all.deb is installed on my machine. root at debian:/usr/src/freeswitch.git# ./bootstrap.sh bootstrap: checking installation... bootstrap: autoconf version 2.69 (ok) bootstrap: automake version 1.14.1 (ok) bootstrap: aclocal version 1.14.1 (ok) bootstrap: libtool not found. You need libtool version 1.5.14 or newer to build FreeSWITCH from source. How can i fix this? Best Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151205/9b7fe695/attachment.html From anthony.minessale at gmail.com Fri Dec 4 23:12:06 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 4 Dec 2015 14:12:06 -0600 Subject: [Freeswitch-users] after fs update I suddenly get incompatible destination In-Reply-To: <18437.1449256260@ccs.covici.com> References: <12687.1449247589@ccs.covici.com> <18437.1449256260@ccs.covici.com> Message-ID: It has a few downsides and makes some assumptions, especially with video in the mix. It creates a few transcoding situations where they are not needed. It only disrupts legacy users in a few places, in your case mod_portaudio The way it is now, it will try to use all the same codecs offered on the A on the B leg unless you add in absolute_codec_string or use the new variable to mix in the defaults from the profile. On Fri, Dec 4, 2015 at 1:11 PM, wrote: > But why would you want false to be the default -- does true have any > downsides at all? > > Mitch Capper wrote: > > > media_mix_inbound_outbound_codecs was new around that time (and changed > the > > default behavior of FS as it defaulted to false now vs before FS behaved > as > > true essentially). > > Anthm's note should fix it but if not I ran into a similar issue but I > > think > > > https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation#CodecNegotiation-MixingMedia/Codecsondifferentlegs(transcoding) > > should cover most of the stoppers. > > > > ~mitch > > > > On Fri, Dec 4, 2015 at 8:56 AM, Anthony Minessale < > > anthony.minessale at gmail.com> wrote: > > > > > try adding {media_mix_inbound_outbound_codecs} to your outbound dial > > > string. > > > > > > > > > On Fri, Dec 4, 2015 at 10:46 AM, wrote: > > > > > >> Hi. After an fs update from a build in August to today's update, I am > > >> getting incompatible destination on a gateway to an asterisk system. > I > > >> have a sip trace here > > >> https://covici.com/owncloud/index.php/s/p5VkMVsz3KIZ7d0 > > >> so I wonder if someone could take a peak and tell me what I have to > > >> change, or is it a bug? > > >> > > >> Thanks in advance for any ideas. > > >> > > >> > > >> -- > > >> Your life is like a penny. You're going to lose it. The question is: > > >> How do > > >> you spend it? > > >> > > >> John Covici > > >> covici at ccs.covici.com > > >> > > >> > _________________________________________________________________________ > > >> Professional FreeSWITCH Consulting Services: > > >> consulting at freeswitch.org > > >> http://www.freeswitchsolutions.com > > >> > > >> Official FreeSWITCH Sites > > >> http://www.freeswitch.org > > >> http://confluence.freeswitch.org > > >> http://www.cluecon.com > > >> > > >> FreeSWITCH-users mailing list > > >> FreeSWITCH-users at lists.freeswitch.org > > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > >> http://www.freeswitch.org > > >> > > > > > > > > > > > > -- > > > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > > > > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > > > http://twitter.com/FreeSWITCH > > > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > > > * > > > > > > ClueCon Weekly Development Call > > > ? sip:888 at conference.freeswitch.org ? +19193869900 > > > > > > https://www.youtube.com/watch?v=9XXgW34t40s > > > https://www.youtube.com/watch?v=NLaDpGQuZDA > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > ---------------------------------------------------- > > Alternatives: > > > > ---------------------------------------------------- > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > covici at ccs.covici.com > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- 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/20151204/01e5d0b5/attachment-0001.html From krice at freeswitch.org Fri Dec 4 23:13:05 2015 From: krice at freeswitch.org (Ken Rice) Date: Fri, 4 Dec 2015 14:13:05 -0600 Subject: [Freeswitch-users] You need libtool version 1.5.14 or newer to build Freeswitch. In-Reply-To: References: Message-ID: <20b001d12ed0$30363830$90a2a890$@freeswitch.org> Does dpkg -l |grep libtool show you that libtool-bin is installed? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Aqs Younas Sent: Friday, December 4, 2015 1:54 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] You need libtool version 1.5.14 or newer to build Freeswitch. Hi, I am installing freeswitch on fresh debian jessie 8 and following this page. https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie When i run bootstrap.sh i encounter this error though llibtool_2.4.2-1.11_all.deb is installed on my machine. root at debian:/usr/src/freeswitch.git# ./bootstrap.sh bootstrap: checking installation... bootstrap: autoconf version 2.69 (ok) bootstrap: automake version 1.14.1 (ok) bootstrap: aclocal version 1.14.1 (ok) bootstrap: libtool not found. You need libtool version 1.5.14 or newer to build FreeSWITCH from source. How can i fix this? Best Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151204/d5b40cf6/attachment.html From mike at jerris.com Fri Dec 4 23:15:55 2015 From: mike at jerris.com (Michael Jerris) Date: Fri, 4 Dec 2015 15:15:55 -0500 Subject: [Freeswitch-users] You need libtool version 1.5.14 or newer to build Freeswitch. In-Reply-To: References: Message-ID: install libtool? > On Dec 4, 2015, at 2:53 PM, Aqs Younas wrote: > > Hi, > I am installing freeswitch on fresh debian jessie 8 and following this page. > https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie > When i run bootstrap.sh i encounter this error though llibtool_2.4.2-1.11_all.deb is installed on my machine. > > root at debian:/usr/src/freeswitch.git# ./bootstrap.sh > bootstrap: checking installation... > bootstrap: autoconf version 2.69 (ok) > bootstrap: automake version 1.14.1 (ok) > bootstrap: aclocal version 1.14.1 (ok) > bootstrap: libtool not found. > You need libtool version 1.5.14 or newer to build FreeSWITCH from source. > > How can i fix this? > > Best Regards. > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151204/9bd9cad6/attachment.html From aqsyounas at gmail.com Fri Dec 4 23:47:55 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Sat, 5 Dec 2015 01:47:55 +0500 Subject: [Freeswitch-users] You need libtool version 1.5.14 or newer to build Freeswitch. In-Reply-To: References: Message-ID: Thanks for reply. Here is required output. root at debian:/usr/src/freeswitch.git# dpkg -l |grep libtool ii libltdl-dev:amd64 2.4.2-1.11 amd64 System independent dlopen wrapper for GNU libtool ii libltdl7:amd64 2.4.2-1.11 amd64 System independent dlopen wrapper for GNU libtool ii libtool 2.4.2-1.11 all Generic library support script root at debian:/usr/src/freeswitch.git# aptitude search libtool i libtool - Generic library support script p libtool-bin - Generic library support script (libtool binary) p libtool-doc - Generic library support script p libtoolkit-perl - Keep your handy modules organized p libtools-cli-clojure - command line argument parser for Clojure p libtools-logging-clojure - Logging macros for Clojure p libtools-macro-clojure - Clojure tools for writing macros On 5 December 2015 at 01:15, Michael Jerris wrote: > install libtool? > > On Dec 4, 2015, at 2:53 PM, Aqs Younas wrote: > > Hi, > I am installing freeswitch on fresh debian jessie 8 and following this > page. > https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie > When i run bootstrap.sh i encounter this error though > llibtool_2.4.2-1.11_all.deb is installed on my machine. > > root at debian:/usr/src/freeswitch.git# ./bootstrap.sh > bootstrap: checking installation... > bootstrap: autoconf version 2.69 (ok) > bootstrap: automake version 1.14.1 (ok) > bootstrap: aclocal version 1.14.1 (ok) > bootstrap: libtool not found. > You need libtool version 1.5.14 or newer to build FreeSWITCH > from source. > > How can i fix this? > > Best Regards. > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151205/b8ccc433/attachment.html From aqsyounas at gmail.com Fri Dec 4 23:49:55 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Sat, 5 Dec 2015 01:49:55 +0500 Subject: [Freeswitch-users] You need libtool version 1.5.14 or newer to build Freeswitch. In-Reply-To: References: Message-ID: libtool-bin was not installed. apt-get install libtool-bin fixed it Thanks for your reply On 5 December 2015 at 01:47, Aqs Younas wrote: > Thanks for reply. Here is required output. > > root at debian:/usr/src/freeswitch.git# dpkg -l |grep libtool > ii libltdl-dev:amd64 2.4.2-1.11 > amd64 System independent dlopen wrapper for GNU libtool > ii libltdl7:amd64 2.4.2-1.11 > amd64 System independent dlopen wrapper for GNU libtool > ii libtool 2.4.2-1.11 > all Generic library support script > > root at debian:/usr/src/freeswitch.git# aptitude search libtool > i > libtool > - Generic library support script > p > libtool-bin > - Generic library support script (libtool binary) > p > libtool-doc > - Generic library support script > p > libtoolkit-perl > - Keep your handy modules organized > p > libtools-cli-clojure > - command line argument parser for Clojure > p > libtools-logging-clojure > - Logging macros for Clojure > p > libtools-macro-clojure > - Clojure tools for writing macros > > > > On 5 December 2015 at 01:15, Michael Jerris wrote: > >> install libtool? >> >> On Dec 4, 2015, at 2:53 PM, Aqs Younas wrote: >> >> Hi, >> I am installing freeswitch on fresh debian jessie 8 and following this >> page. >> https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie >> When i run bootstrap.sh i encounter this error though >> llibtool_2.4.2-1.11_all.deb is installed on my machine. >> >> root at debian:/usr/src/freeswitch.git# ./bootstrap.sh >> bootstrap: checking installation... >> bootstrap: autoconf version 2.69 (ok) >> bootstrap: automake version 1.14.1 (ok) >> bootstrap: aclocal version 1.14.1 (ok) >> bootstrap: libtool not found. >> You need libtool version 1.5.14 or newer to build FreeSWITCH >> from source. >> >> How can i fix this? >> >> Best Regards. >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151205/4fd33970/attachment-0001.html From krice at freeswitch.org Fri Dec 4 23:55:20 2015 From: krice at freeswitch.org (Ken Rice) Date: Fri, 4 Dec 2015 14:55:20 -0600 Subject: [Freeswitch-users] You need libtool version 1.5.14 or newer to build Freeswitch. In-Reply-To: References: Message-ID: <20fb01d12ed6$16f180e0$44d482a0$@freeswitch.org> The confluence page was missing a step for the deps? If do this little bit of stuff from bash it?ll make sure you have all the deps for building FS on debian 8 from source apt-get update && apt-get install -y curl curl http://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add - echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list apt-get update apt-get install -y --force-yes freeswitch-video-deps-most From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Aqs Younas Sent: Friday, December 4, 2015 2:50 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] You need libtool version 1.5.14 or newer to build Freeswitch. libtool-bin was not installed. apt-get install libtool-bin fixed it Thanks for your reply On 5 December 2015 at 01:47, Aqs Younas > wrote: Thanks for reply. Here is required output. root at debian:/usr/src/freeswitch.git# dpkg -l |grep libtool ii libltdl-dev:amd64 2.4.2-1.11 amd64 System independent dlopen wrapper for GNU libtool ii libltdl7:amd64 2.4.2-1.11 amd64 System independent dlopen wrapper for GNU libtool ii libtool 2.4.2-1.11 all Generic library support script root at debian:/usr/src/freeswitch.git# aptitude search libtool i libtool - Generic library support script p libtool-bin - Generic library support script (libtool binary) p libtool-doc - Generic library support script p libtoolkit-perl - Keep your handy modules organized p libtools-cli-clojure - command line argument parser for Clojure p libtools-logging-clojure - Logging macros for Clojure p libtools-macro-clojure - Clojure tools for writing macros On 5 December 2015 at 01:15, Michael Jerris > wrote: install libtool? On Dec 4, 2015, at 2:53 PM, Aqs Younas > wrote: Hi, I am installing freeswitch on fresh debian jessie 8 and following this page. https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie When i run bootstrap.sh i encounter this error though llibtool_2.4.2-1.11_all.deb is installed on my machine. root at debian:/usr/src/freeswitch.git# ./bootstrap.sh bootstrap: checking installation... bootstrap: autoconf version 2.69 (ok) bootstrap: automake version 1.14.1 (ok) bootstrap: aclocal version 1.14.1 (ok) bootstrap: libtool not found. You need libtool version 1.5.14 or newer to build FreeSWITCH from source. How can i fix this? Best Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151204/1492f654/attachment.html From sdevoy at bizfocused.com Sat Dec 5 00:17:23 2015 From: sdevoy at bizfocused.com (Sean Devoy) Date: Fri, 4 Dec 2015 21:17:23 +0000 Subject: [Freeswitch-users] Vitelity Calls failing on my server - Ideas Message-ID: Hi! My VOIP provider is Vitelity. A few hours ago SOME of my customers reported phone failures - Rings no answer for the caller. I understand this is NOT a FreeSwitch problem, but I thought someone here may be able to identify the problem quickly. I would greatly appreciate it if you could read the rest and comment if you know something that might help get me back online. I have debugged what I know. I have identical calls wioth logs to 2 different numbers that are handled identically on my freeswitch server (going to an IVR). The critical difference I see in the logs is here: EXECUTE sofia/external_noauth/4108084699 at 66.241.96.237 ivr(estabrook_attendant_1) 2015-12-04 15:16:10.628821 [DEBUG] switch_ivr_menu.c:721 switch_ivr_menu_stack_xml_add binding 'menu-exit' ... ivr continues 2015-12-04 15:16:10.628821 [DEBUG] switch_ivr_play_say.c:1314 Codec Activated L16 at 8000hz 1 channels 20ms 2015-12-04 15:16:10.698805 [DEBUG] switch_rtp.c:3757 Correct ip/port confirmed. 2015-12-04 15:16:19.448558 [DEBUG] switch_core_session.c:1016 Send signal sofia/external_noauth/4108084699 at 66.241.96.237 [BREAK] On the calls that are failing the debug line "switch_rtp.c:3757 Correct ip/port confirmed" does not happen. Instead I eventually get "[DEBUG] switch_ivr_menu.c:643 IVR menu 'bfis_attendant_1' no input detected", all the while the line is ringing on caller end. If someone understands what that means and I could tell them, it might get my customers back online quicker. Thanks for your time, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151204/079f4d4c/attachment-0001.html From jungleboogie0 at gmail.com Sat Dec 5 00:24:19 2015 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Fri, 4 Dec 2015 13:24:19 -0800 Subject: [Freeswitch-users] Vitelity Calls failing on my server - Ideas In-Reply-To: References: Message-ID: You do know that provider did have issues, which caused them to roll back an update, right? Sent from my iPhone 7.1 On Dec 4, 2015 1:19 PM, "Sean Devoy" wrote: > Hi! > > > > My VOIP provider is Vitelity. A few hours ago SOME of my customers > reported phone failures ? Rings no answer for the caller. > > I understand this is NOT a FreeSwitch problem, but I thought someone here > may be able to identify the problem quickly. I would greatly appreciate it > if you could read the rest and comment if you know something that might > help get me back online. > > > > I have debugged what I know. I have identical calls wioth logs to 2 > different numbers that are handled identically on my freeswitch server > (going to an IVR). > > The critical difference I see in the logs is here: > > > > EXECUTE sofia/external_noauth/4108084699 at 66.241.96.237 > ivr(estabrook_attendant_1) > > 2015-12-04 15:16:10.628821 [DEBUG] switch_ivr_menu.c:721 > switch_ivr_menu_stack_xml_add binding 'menu-exit' > > ? ivr continues > > 2015-12-04 15:16:10.628821 [DEBUG] switch_ivr_play_say.c:1314 Codec > Activated L16 at 8000hz 1 channels 20ms > > *2015-12-04 15:16:10.698805 [DEBUG] switch_rtp.c:3757 Correct ip/port > confirmed.* > > 2015-12-04 15:16:19.448558 [DEBUG] switch_core_session.c:1016 Send signal > sofia/external_noauth/4108084699 at 66.241.96.237 [BREAK] > > On the calls that are failing the debug line ?*switch_rtp.c:3757 Correct > ip/port confirmed?* does not happen. Instead I eventually get ?[DEBUG] > switch_ivr_menu.c:643 IVR menu 'bfis_attendant_1' no input detected?, all > the while the line is ringing on caller end. > > > > If someone understands what that means and I could tell them, it might get > my customers back online quicker. > > > > > > > > Thanks for your time, > > Sean > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151204/b7f14064/attachment.html From covici at ccs.covici.com Sat Dec 5 03:16:13 2015 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Fri, 04 Dec 2015 19:16:13 -0500 Subject: [Freeswitch-users] after fs update I suddenly get incompatible destination In-Reply-To: References: <12687.1449247589@ccs.covici.com> <18437.1449256260@ccs.covici.com> Message-ID: <29285.1449274573@ccs.covici.com> It was not just portaudio, a sip phone did not work either call ing that gateway and calling a regular phone number with a sip phone did not work, so I had lots of strange things. I could not even make a pstn call through my ata. Anthony Minessale wrote: > It has a few downsides and makes some assumptions, especially with video in > the mix. It creates a few transcoding situations where they are not needed. > It only disrupts legacy users in a few places, in your case mod_portaudio > > The way it is now, it will try to use all the same codecs offered on the A > on the B leg unless you add in absolute_codec_string or use the new > variable to mix in the defaults from the profile. > > > On Fri, Dec 4, 2015 at 1:11 PM, wrote: > > > But why would you want false to be the default -- does true have any > > downsides at all? > > > > Mitch Capper wrote: > > > > > media_mix_inbound_outbound_codecs was new around that time (and changed > > the > > > default behavior of FS as it defaulted to false now vs before FS behaved > > as > > > true essentially). > > > Anthm's note should fix it but if not I ran into a similar issue but I > > > think > > > > > https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation#CodecNegotiation-MixingMedia/Codecsondifferentlegs(transcoding) > > > should cover most of the stoppers. > > > > > > ~mitch > > > > > > On Fri, Dec 4, 2015 at 8:56 AM, Anthony Minessale < > > > anthony.minessale at gmail.com> wrote: > > > > > > > try adding {media_mix_inbound_outbound_codecs} to your outbound dial > > > > string. > > > > > > > > > > > > On Fri, Dec 4, 2015 at 10:46 AM, wrote: > > > > > > > >> Hi. After an fs update from a build in August to today's update, I am > > > >> getting incompatible destination on a gateway to an asterisk system. > > I > > > >> have a sip trace here > > > >> https://covici.com/owncloud/index.php/s/p5VkMVsz3KIZ7d0 > > > >> so I wonder if someone could take a peak and tell me what I have to > > > >> change, or is it a bug? > > > >> > > > >> Thanks in advance for any ideas. > > > >> > > > >> > > > >> -- > > > >> Your life is like a penny. You're going to lose it. The question is: > > > >> How do > > > >> you spend it? > > > >> > > > >> John Covici > > > >> covici at ccs.covici.com > > > >> > > > >> > > _________________________________________________________________________ > > > >> Professional FreeSWITCH Consulting Services: > > > >> consulting at freeswitch.org > > > >> http://www.freeswitchsolutions.com > > > >> > > > >> Official FreeSWITCH Sites > > > >> http://www.freeswitch.org > > > >> http://confluence.freeswitch.org > > > >> http://www.cluecon.com > > > >> > > > >> FreeSWITCH-users mailing list > > > >> FreeSWITCH-users at lists.freeswitch.org > > > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > >> UNSUBSCRIBE: > > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > >> http://www.freeswitch.org > > > >> > > > > > > > > > > > > > > > > -- > > > > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > > > > > > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > > > > http://twitter.com/FreeSWITCH > > > > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > > > > * > > > > > > > > ClueCon Weekly Development Call > > > > ? sip:888 at conference.freeswitch.org ? +19193869900 > > > > > > > > https://www.youtube.com/watch?v=9XXgW34t40s > > > > https://www.youtube.com/watch?v=NLaDpGQuZDA > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > > consulting at freeswitch.org > > > > http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > > http://www.freeswitch.org > > > > http://confluence.freeswitch.org > > > > http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE: > > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > http://www.freeswitch.org > > > > > > > > > > ---------------------------------------------------- > > > Alternatives: > > > > > > ---------------------------------------------------- > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > -- > > Your life is like a penny. You're going to lose it. The question is: > > How do > > you spend it? > > > > John Covici > > covici at ccs.covici.com > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > -- > 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 > > ---------------------------------------------------- > Alternatives: > > ---------------------------------------------------- > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com From covici at ccs.covici.com Sat Dec 5 03:21:46 2015 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Fri, 04 Dec 2015 19:21:46 -0500 Subject: [Freeswitch-users] You need libtool version 1.5.14 or newer to build Freeswitch. In-Reply-To: <20fb01d12ed6$16f180e0$44d482a0$@freeswitch.org> References: <20fb01d12ed6$16f180e0$44d482a0$@freeswitch.org> Message-ID: <29553.1449274906@ccs.covici.com> I thought I saw those steps, at least I did them and got all the nice dependencies. Thanks. Ken Rice wrote: > The confluence page was missing a step for the deps? > > > > If do this little bit of stuff from bash it?ll make sure you have all the deps for building FS on debian 8 from source > > > > > > > > apt-get update && apt-get install -y curl > > curl http://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add - > > > > echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list > > apt-get update > > apt-get install -y --force-yes freeswitch-video-deps-most > > > > > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Aqs Younas > Sent: Friday, December 4, 2015 2:50 PM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] You need libtool version 1.5.14 or newer to build Freeswitch. > > > > libtool-bin was not installed. apt-get install libtool-bin fixed it > > Thanks for your reply > > > > On 5 December 2015 at 01:47, Aqs Younas > wrote: > > Thanks for reply. Here is required output. > > root at debian:/usr/src/freeswitch.git# dpkg -l |grep libtool > ii libltdl-dev:amd64 2.4.2-1.11 amd64 System independent dlopen wrapper for GNU libtool > ii libltdl7:amd64 2.4.2-1.11 amd64 System independent dlopen wrapper for GNU libtool > ii libtool 2.4.2-1.11 all Generic library support script > > root at debian:/usr/src/freeswitch.git# aptitude search libtool > i libtool - Generic library support script > p libtool-bin - Generic library support script (libtool binary) > p libtool-doc - Generic library support script > p libtoolkit-perl - Keep your handy modules organized > p libtools-cli-clojure - command line argument parser for Clojure > p libtools-logging-clojure - Logging macros for Clojure > p libtools-macro-clojure - Clojure tools for writing macros > > > > > > On 5 December 2015 at 01:15, Michael Jerris > wrote: > > install libtool? > > > > On Dec 4, 2015, at 2:53 PM, Aqs Younas > wrote: > > > > Hi, > I am installing freeswitch on fresh debian jessie 8 and following this page. > https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie > > When i run bootstrap.sh i encounter this error though llibtool_2.4.2-1.11_all.deb is installed on my machine. > > > root at debian:/usr/src/freeswitch.git# ./bootstrap.sh > bootstrap: checking installation... > bootstrap: autoconf version 2.69 (ok) > bootstrap: automake version 1.14.1 (ok) > bootstrap: aclocal version 1.14.1 (ok) > bootstrap: libtool not found. > You need libtool version 1.5.14 or newer to build FreeSWITCH from source. > > How can i fix this? > > Best Regards. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > > ---------------------------------------------------- > Alternatives: > > ---------------------------------------------------- > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com From anthony.minessale at gmail.com Sat Dec 5 04:33:10 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 4 Dec 2015 19:33:10 -0600 Subject: [Freeswitch-users] after fs update I suddenly get incompatible destination In-Reply-To: <29285.1449274573@ccs.covici.com> References: <12687.1449247589@ccs.covici.com> <18437.1449256260@ccs.covici.com> <29285.1449274573@ccs.covici.com> Message-ID: You can set it globally if you wish. On Friday, December 4, 2015, wrote: > It was not just portaudio, a sip phone did not work either call ing that > gateway and calling a regular phone number with a sip phone did not > work, so I had lots of strange things. I could not even make a pstn > call through my ata. > > > Anthony Minessale > wrote: > > > It has a few downsides and makes some assumptions, especially with video > in > > the mix. It creates a few transcoding situations where they are not > needed. > > It only disrupts legacy users in a few places, in your case mod_portaudio > > > > The way it is now, it will try to use all the same codecs offered on the > A > > on the B leg unless you add in absolute_codec_string or use the new > > variable to mix in the defaults from the profile. > > > > > > On Fri, Dec 4, 2015 at 1:11 PM, > > wrote: > > > > > But why would you want false to be the default -- does true have any > > > downsides at all? > > > > > > Mitch Capper > wrote: > > > > > > > media_mix_inbound_outbound_codecs was new around that time (and > changed > > > the > > > > default behavior of FS as it defaulted to false now vs before FS > behaved > > > as > > > > true essentially). > > > > Anthm's note should fix it but if not I ran into a similar issue > but I > > > > think > > > > > > > > https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation#CodecNegotiation-MixingMedia/Codecsondifferentlegs(transcoding) > > > > should cover most of the stoppers. > > > > > > > > ~mitch > > > > > > > > On Fri, Dec 4, 2015 at 8:56 AM, Anthony Minessale < > > > > anthony.minessale at gmail.com > wrote: > > > > > > > > > try adding {media_mix_inbound_outbound_codecs} to your outbound > dial > > > > > string. > > > > > > > > > > > > > > > On Fri, Dec 4, 2015 at 10:46 AM, > wrote: > > > > > > > > > >> Hi. After an fs update from a build in August to today's update, > I am > > > > >> getting incompatible destination on a gateway to an asterisk > system. > > > I > > > > >> have a sip trace here > > > > >> https://covici.com/owncloud/index.php/s/p5VkMVsz3KIZ7d0 > > > > >> so I wonder if someone could take a peak and tell me what I have > to > > > > >> change, or is it a bug? > > > > >> > > > > >> Thanks in advance for any ideas. > > > > >> > > > > >> > > > > >> -- > > > > >> Your life is like a penny. You're going to lose it. The > question is: > > > > >> How do > > > > >> you spend it? > > > > >> > > > > >> John Covici > > > > >> covici at ccs.covici.com > > > > >> > > > > >> > > > > _________________________________________________________________________ > > > > >> Professional FreeSWITCH Consulting Services: > > > > >> consulting at freeswitch.org > > > > >> http://www.freeswitchsolutions.com > > > > >> > > > > >> Official FreeSWITCH Sites > > > > >> http://www.freeswitch.org > > > > >> http://confluence.freeswitch.org > > > > >> http://www.cluecon.com > > > > >> > > > > >> FreeSWITCH-users mailing list > > > > >> FreeSWITCH-users at lists.freeswitch.org > > > > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > >> UNSUBSCRIBE: > > > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > >> http://www.freeswitch.org > > > > >> > > > > > > > > > > > > > > > > > > > > -- > > > > > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > > > > > > > > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > > > > > http://twitter.com/FreeSWITCH > > > > > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > > > > > * > > > > > > > > > > ClueCon Weekly Development Call > > > > > ? sip:888 at conference.freeswitch.org ? +19193869900 > > > > > > > > > > https://www.youtube.com/watch?v=9XXgW34t40s > > > > > https://www.youtube.com/watch?v=NLaDpGQuZDA > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > Professional FreeSWITCH Consulting Services: > > > > > consulting at freeswitch.org > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > Official FreeSWITCH Sites > > > > > http://www.freeswitch.org > > > > > http://confluence.freeswitch.org > > > > > http://www.cluecon.com > > > > > > > > > > FreeSWITCH-users mailing list > > > > > FreeSWITCH-users at lists.freeswitch.org > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > UNSUBSCRIBE: > > > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > > http://www.freeswitch.org > > > > > > > > > > > > > ---------------------------------------------------- > > > > Alternatives: > > > > > > > > ---------------------------------------------------- > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > > consulting at freeswitch.org > > > > http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > > http://www.freeswitch.org > > > > http://confluence.freeswitch.org > > > > http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > http://www.freeswitch.org > > > -- > > > Your life is like a penny. You're going to lose it. The question is: > > > How do > > > you spend it? > > > > > > John Covici > > > covici at ccs.covici.com > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > > > > > -- > > 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 > > > > ---------------------------------------------------- > > Alternatives: > > > > ---------------------------------------------------- > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > covici at ccs.covici.com > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- 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/20151204/6b295dfc/attachment-0001.html From mgg at giagnocavo.net Sun Dec 6 03:22:27 2015 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Sun, 6 Dec 2015 00:22:27 +0000 Subject: [Freeswitch-users] Vitelity Calls failing on my server - Ideas In-Reply-To: References: Message-ID: Btw, afaik this just means it didn't get RTP setup properly. You'd need a full PCAP to diagnose. (Though Vitelity should be able to grab any SIP PCAP on demand.) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Sean Devoy Sent: Friday, 4 December, 2015 15:17 To: FreeSWITCH Users Help Subject: [Freeswitch-users] Vitelity Calls failing on my server - Ideas Hi! My VOIP provider is Vitelity. A few hours ago SOME of my customers reported phone failures - Rings no answer for the caller. I understand this is NOT a FreeSwitch problem, but I thought someone here may be able to identify the problem quickly. I would greatly appreciate it if you could read the rest and comment if you know something that might help get me back online. I have debugged what I know. I have identical calls wioth logs to 2 different numbers that are handled identically on my freeswitch server (going to an IVR). The critical difference I see in the logs is here: EXECUTE sofia/external_noauth/4108084699 at 66.241.96.237 ivr(estabrook_attendant_1) 2015-12-04 15:16:10.628821 [DEBUG] switch_ivr_menu.c:721 switch_ivr_menu_stack_xml_add binding 'menu-exit' ... ivr continues 2015-12-04 15:16:10.628821 [DEBUG] switch_ivr_play_say.c:1314 Codec Activated L16 at 8000hz 1 channels 20ms 2015-12-04 15:16:10.698805 [DEBUG] switch_rtp.c:3757 Correct ip/port confirmed. 2015-12-04 15:16:19.448558 [DEBUG] switch_core_session.c:1016 Send signal sofia/external_noauth/4108084699 at 66.241.96.237 [BREAK] On the calls that are failing the debug line "switch_rtp.c:3757 Correct ip/port confirmed" does not happen. Instead I eventually get "[DEBUG] switch_ivr_menu.c:643 IVR menu 'bfis_attendant_1' no input detected", all the while the line is ringing on caller end. If someone understands what that means and I could tell them, it might get my customers back online quicker. Thanks for your time, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151206/bffc78c7/attachment.html From morteza.bashsiz at gmail.com Sun Dec 6 10:13:09 2015 From: morteza.bashsiz at gmail.com (Morteza Bashsiz) Date: Sun, 6 Dec 2015 10:43:09 +0330 Subject: [Freeswitch-users] help me In-Reply-To: References: Message-ID: Hi First of all attention that my knowledge in English language is very low and I can not speak very well . sorry for this . I am in trouble with integrating freeswitch with kamailio . actually I want to set kamailio as sip server and freeswitch as media server . This will be better if both of them config behind a linux nat . for example I have a public IP address and a local zone with two virtual machine . My physical host IP is Public 1.1.1.1 Internal 192.168.1.1 And my FS and kamailio in local zone are FS 192.168.1.2 Kamailio. 192.168.1.3 I don't know what exactly must I do in config files. Please help me . I can config kamailio and free switch alonly but I want to integrate both of them to high performance . Thanks dude for your attention . -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151206/07f5b199/attachment.html From govoiper at gmail.com Sun Dec 6 17:19:16 2015 From: govoiper at gmail.com (SamyGo) Date: Sun, 6 Dec 2015 09:19:16 -0500 Subject: [Freeswitch-users] help me In-Reply-To: References: Message-ID: Hi, First of all you must google "Kamailio behind NAT". Then you must tell what can of trouble are you in while doing this ? If you can configure both of them alonly then to integrate them all you need to do is google again "kamailio freeswitch asipto" there are very helpful posts by Daniel with exact configuration file as well as some basic logic diagram to make you understand. Finally for high performance you must tell what are the stats you mean by High so maybe some hardware and software recommendations be given. Thanks for reading Regards, One of the Dudes. On Dec 6, 2015 08:54, "Morteza Bashsiz" wrote: > > > > Hi > First of all attention that my knowledge in English language is very low > and I can not speak very well . sorry for this . > I am in trouble with integrating freeswitch with kamailio . actually I > want to set kamailio as sip server and freeswitch as media server . > This will be better if both of them config behind a linux nat . for > example I have a public IP address and a local zone with two virtual > machine . > My physical host IP is > Public 1.1.1.1 > Internal 192.168.1.1 > And my FS and kamailio in local zone are > FS 192.168.1.2 > Kamailio. 192.168.1.3 > I don't know what exactly must I do in config files. > Please help me . I can config kamailio and free switch alonly but I want > to integrate both of them to high performance . > Thanks dude for your attention . > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151206/9db3cf55/attachment.html From morteza.bashsiz at gmail.com Sun Dec 6 22:51:34 2015 From: morteza.bashsiz at gmail.com (Morteza Bashsiz) Date: Sun, 6 Dec 2015 23:21:34 +0330 Subject: [Freeswitch-users] help me In-Reply-To: References: Message-ID: Hi samygo Thank you for your answer Now i try to describe a little more about my problem I can configure kamailio and freeswitch behind nat without any problem . But when i want to integrate both of them Users can register with kamailio. And when i call from 1000 to 1001 The sip transfers to freeswitch from kamailio correctly but i can not handle the sip in freeswith. In fact i dont know how should i do this. For example this questions are in mind 1 . how & which sip profile must be configure ? 2 . what should i do in dialplans to handle the call? 3 . where is the place of rtpproxy here if it is neccesery 4 . if i need gateway how i must define it I have a lot of search in google about this but in all of them even (asipto) freeswitch and kamailio are in one system without nat or something like this . I did not find any article to describe a problem same as my problem. I am realy sory for my english knowledge. Thanks again And pls pls pls help me to solve this problem this is very critical for me . Hi, First of all you must google "Kamailio behind NAT". Then you must tell what can of trouble are you in while doing this ? If you can configure both of them alonly then to integrate them all you need to do is google again "kamailio freeswitch asipto" there are very helpful posts by Daniel with exact configuration file as well as some basic logic diagram to make you understand. Finally for high performance you must tell what are the stats you mean by High so maybe some hardware and software recommendations be given. Thanks for reading Regards, One of the Dudes. On Dec 6, 2015 08:54, "Morteza Bashsiz" wrote: > > > > Hi > First of all attention that my knowledge in English language is very low > and I can not speak very well . sorry for this . > I am in trouble with integrating freeswitch with kamailio . actually I > want to set kamailio as sip server and freeswitch as media server . > This will be better if both of them config behind a linux nat . for > example I have a public IP address and a local zone with two virtual > machine . > My physical host IP is > Public 1.1.1.1 > Internal 192.168.1.1 > And my FS and kamailio in local zone are > FS 192.168.1.2 > Kamailio. 192.168.1.3 > I don't know what exactly must I do in config files. > Please help me . I can config kamailio and free switch alonly but I want > to integrate both of them to high performance . > Thanks dude for your attention . > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151206/c81f6079/attachment-0001.html From brian at freeswitch.org Mon Dec 7 19:57:59 2015 From: brian at freeswitch.org (Brian West) Date: Mon, 7 Dec 2015 10:57:59 -0600 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs Message-ID: FreeSWITCHers, FS-8609 is raised to get a rough outline of a completely new config sample that will be used in 1.8, So we are reaching out to the community for input and direction, I have also created a hipchat room FS-8609 on hipchat.freeswitch.org if you wish to join in. Lets start the discussion on this topic. Thanks, -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/a178f124/attachment.html From markus.klenk at googlemail.com Mon Dec 7 20:02:26 2015 From: markus.klenk at googlemail.com (Paul Klenk) Date: Mon, 7 Dec 2015 18:02:26 +0100 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: References: Message-ID: unsubscribe On Mon, Dec 7, 2015 at 5:57 PM, Brian West wrote: > FreeSWITCHers, > > FS-8609 is raised to get a rough outline of a completely new config sample > that will be used in 1.8, So we are reaching out to the community for input > and direction, I have also created a hipchat room FS-8609 on > hipchat.freeswitch.org if you wish to join in. Lets start the discussion > on this topic. > > Thanks, > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/22c1ba88/attachment.html From krice at freeswitch.org Mon Dec 7 20:14:44 2015 From: krice at freeswitch.org (Ken Rice) Date: Mon, 07 Dec 2015 17:14:44 +0000 Subject: [Freeswitch-users] =?utf-8?q?ClueCon_Weekly_=E2=80=93_Flowroute_J?= =?utf-8?q?ustin_Grow_=E2=80=93_November_11=2C_2015?= Message-ID: <5665be847c29_2854cf9324119f5@resque-worker.14.mail> New Post on freeswitch.org from Kathleen King check it out at http://ift.tt/1XWgK6q ClueCon Weekly ? Flowroute Justin Grow ? November 11, 2015 Links: http://ift.tt/1NFNdbt http://ift.tt/1PsmkfS -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/ab0323e3/attachment.html From krice at freeswitch.org Mon Dec 7 20:14:47 2015 From: krice at freeswitch.org (Ken Rice) Date: Mon, 07 Dec 2015 17:14:47 +0000 Subject: [Freeswitch-users] =?utf-8?q?ClueCon_Weekly_=E2=80=93_Nov_18=2C_2?= =?utf-8?q?015_=E2=80=93_David_Taht?= Message-ID: <5665be87f1a0f_2854cf93241223d@resque-worker.14.mail> New Post on freeswitch.org from Kathleen King check it out at http://ift.tt/1OL9v0B ClueCon Weekly ? Nov 18, 2015 ? David Taht Links: ?http://ift.tt/1OL7K3u -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/ecf0c9c5/attachment.html From krice at freeswitch.org Mon Dec 7 20:14:51 2015 From: krice at freeswitch.org (Ken Rice) Date: Mon, 07 Dec 2015 17:14:51 +0000 Subject: [Freeswitch-users] =?utf-8?q?ClueCon_Weekly_=E2=80=93_December_2?= =?utf-8?q?=2C_2015_=E2=80=93_James_Tagg=2C_CTO_TruPhone?= Message-ID: <5665be8b229e8_2854cf932412527@resque-worker.14.mail> New Post on freeswitch.org from Kathleen King check it out at http://ift.tt/1NFP93I ClueCon Weekly ? December 2, 2015 ? James Tagg, CTO TruPhone -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/804ee67b/attachment.html From krice at freeswitch.org Mon Dec 7 20:20:06 2015 From: krice at freeswitch.org (Ken Rice) Date: Mon, 7 Dec 2015 11:20:06 -0600 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: References: Message-ID: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> Unsubscribe instructions are linked in the footer of every email to the list. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Paul Klenk Sent: Monday, December 7, 2015 11:02 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs unsubscribe On Mon, Dec 7, 2015 at 5:57 PM, Brian West > wrote: FreeSWITCHers, FS-8609 is raised to get a rough outline of a completely new config sample that will be used in 1.8, So we are reaching out to the community for input and direction, I have also created a hipchat room FS-8609 on hipchat.freeswitch.org if you wish to join in. Lets start the discussion on this topic. Thanks, -- Brian West brian at freeswitch.org Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/1f6681b9/attachment-0001.html From isaljic at gmail.com Mon Dec 7 20:39:31 2015 From: isaljic at gmail.com (Ismir Saljic) Date: Mon, 7 Dec 2015 18:39:31 +0100 Subject: [Freeswitch-users] Connect the FXS gateway and Freeswitch in local network Message-ID: Hi all, I am new to Freeswitch and I am trying to connect FXS gateway with Freeswitch. As both devices are on the same LAN I assume that I need to use internal profile. For now I need only to make outbound calls to the gateway. I've tried to send calls to the IP address of the gateway without registration but it's not working. This is my config from dialplan/default/00_name file: Is it necessary to register gateway on freeswitch in order to make it working or it is also possible to send calls to IP address of the gateway? Gateway has static IP address. Any help would be appreciated! Thank you Salja -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/39987d7e/attachment.html From govoiper at gmail.com Mon Dec 7 21:15:33 2015 From: govoiper at gmail.com (SamyGo) Date: Mon, 7 Dec 2015 13:15:33 -0500 Subject: [Freeswitch-users] Videocall recording results in high CPU In-Reply-To: References: Message-ID: Thanks Athony for the reply, I tried medium and slow, medium seems to give me much better results, atleast the video doesn't drop frames and not getting stuck. I'm still arranging for a high powered server to retest this for which I'm very hopeful it will be working perfectly as expected. I will update here with final results once I test. Again thanks a ton for the response. Regards, Sammy On Fri, Dec 4, 2015 at 1:44 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > {vencspd=fast,vprofile=baseline}/path/to/file.mp4 > > You can try medium or slow for speed too. > > That's the best you can hope for. video needs resources..... > > On Fri, Dec 4, 2015 at 12:23 PM, SamyGo wrote: > >> Hello everyone, >> I'm using latest FS version 1.7 for recording video calls. Video calls >> work very well, but every time I start recording the calls to mp4 the CPU >> jumps to about 100%. That also results in call being paused(video freezes >> and audio disappears) for few seconds and resume. >> >> The recorded file upon playback starts good for first few seconds but >> then drops alot of frames and finally gets stuck.. >> >> >> freeswitch at internal> version >> FreeSWITCH Version 1.7.0+git~20151202T210853Z~c021d22ea6~64bit (git >> c021d22 2015-12-02 21:08:53Z 64bit) >> >> root at FreeSwitch:~# lsb_release -a >> Distributor ID: Debian >> Description: Debian GNU/Linux 8.1 (jessie) >> Release: 8.1 >> Codename: jessie >> >> The Hardware specs are bit low, its in Amazon cloud >> >> Dual-Core 2.50GHz, 4GB RAM. >> >> I'll increase H/W specs and see if it helps, if there are any suggestions >> on getting this done nicely. >> >> Thanks, >> Sammy >> >> >> >> *--- LOGS When uuid_record is executed ---* >> 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1473 sample rate: 8000, >> channels: 2 >> 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1573 use video codec: [28] >> h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) >> 2015-12-04 18:16:13.623235 [NOTICE] avformat.c:437 sample_rate: 8000 >> nb_samples: 1024 >> Output #0, mp4, to '/tmp/newabc.mp4': >> Stream #0.0 >> : Audio: libvo_aacenc, 8000 Hz, stereo, s16, 131 kb/s >> 2015-12-04 18:16:13.623235 [INFO] avformat.c:1597 Opening File >> [/tmp/newabc.mp4] 8000hz with VIDEO >> 2015-12-04 18:16:13.633261 [DEBUG] switch_core_media_bug.c:828 Attaching >> BUG to sofia/external/868599 >> 2015-12-04 18:16:13.653256 [DEBUG] switch_core_io.c:448 Setting BUG Codec >> PCMU:0 >> 2015-12-04 18:16:13.653256 [DEBUG] switch_ivr_async.c:1483 No silence >> detection configured; assuming start of speech >> 2015-12-04 18:16:13.723299 [DEBUG] avcodec.c:1044 picture size changed >> from 352x288 to 640x480, reinitializing encoder >> frame I:1 Avg QP:10.00 size: 1049 >> mb I I16..4: 100.0% 0.0% 0.0% >> coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% >> i16 v,h,dc,p: 94% 0% 6% 0% >> i8c dc,h,v,p: 100% 0% 0% 0% >> kb/s:755.28 >> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >> profile Constrained Baseline, level 4.1 >> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >> profile Constrained Baseline, level 4.1 >> 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft >> 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 >> deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 >> mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 >> fast_pskip=1 chroma_qp_offset=-2 threads=2 lookahead_threads=1 >> sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 >> constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=6 scenecut=40 >> intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1981 ratetol=1.0 >> qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 >> 2015-12-04 18:16:13.743264 [INFO] avformat.c:1949 use video codec >> implementation Video: libx264, yuv420p, 1280x720, q=-1--1, 1981 kb/s >> 2015-12-04 18:16:13.743264 [DEBUG] avcodec.c:1044 picture size changed >> from 352x288 to 1280x720, reinitializing encoder >> frame I:1 Avg QP:10.00 size: 1049 >> mb I I16..4: 100.0% 0.0% 0.0% >> coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% >> i16 v,h,dc,p: 94% 0% 6% 0% >> i8c dc,h,v,p: 100% 0% 0% 0% >> kb/s:755.28 >> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >> profile Constrained Baseline, level 4.1 >> 2015-12-04 18:16:13.743264 [NOTICE] avformat.c:518 video thread start >> 2015-12-04 18:16:13.983266 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:16.043257 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 0 VER 0 LEN 4 >> 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:20.513261 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:22.533260 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:24.623259 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:26.433258 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 0 VER 0 LEN 4 >> 2015-12-04 18:16:26.653258 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:29.003219 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:31.013259 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:33.763260 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:34.953259 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 0 VER 0 LEN 4 >> 2015-12-04 18:16:35.803260 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:37.773264 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:39.823257 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:42.003268 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:44.053263 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:46.053261 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> concealing 203 DC, 203 AC, 203 MV errors >> 2015-12-04 18:16:48.273264 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 0 VER 0 LEN 4 >> 2015-12-04 18:16:48.803258 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> concealing 259 DC, 259 AC, 259 MV errors >> 2015-12-04 18:16:51.013257 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:53.223264 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> concealing 147 DC, 147 AC, 147 MV errors >> 2015-12-04 18:16:55.483258 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> concealing 198 DC, 198 AC, 198 MV errors >> concealing 602 DC, 602 AC, 602 MV errors >> 2015-12-04 18:16:59.603257 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:59.663254 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 0 VER 0 LEN 4 >> concealing 300 DC, 300 AC, 300 MV errors >> 2015-12-04 18:17:04.143260 [NOTICE] sofia.c:952 Hangup sofia/internal/ >> 868499 at 52.70.5.23 [CS_EXECUTE] [NORMAL_CLEARING] >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:705 sofia/internal/ >> 868499 at 52.70.5.23 ending bridge by request from read function >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending video >> thread. >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending video >> thread. >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:699 sofia/internal/ >> 868499 at 52.70.5.23 ending bridge by request from write function >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending video >> thread. >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending video >> thread. >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 >> sofia/external/868599 video thread ended. >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 sofia/internal/ >> 868499 at 52.70.5.23 video thread ended. >> 2015-12-04 18:17:04.153216 [DEBUG] switch_core_media.c:5167 >> sofia/internal/868499 at 52.70.5.23 Video thread ended >> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD >> DONE [sofia/internal/868499 at 52.70.5.23] >> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD >> DONE [sofia/external/868599] >> 2015-12-04 18:17:04.163261 [NOTICE] switch_ivr_bridge.c:881 Hangup >> sofia/external/868599 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] >> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:542 >> (sofia/external/868599) State EXCHANGE_MEDIA going to sleep >> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:473 >> (sofia/external/868599) Running State Change CS_HANGUP >> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_async.c:1305 Stop recording >> file /tmp/newabc.mp4 >> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_media.c:5167 >> sofia/external/868599 Video thread ended >> 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1689 >> sofia/external/868599 skip receive message [UNBRIDGE] (channel is hungup >> already) >> 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1692 >> sofia/internal/868499 at 52.70.5.23 skip receive message [UNBRIDGE] >> (channel is hungup already) >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:2796 >> sofia/internal/868499 at 52.70.5.23 skip receive message >> [APPLICATION_EXEC_COMPLETE] (channel is hungup already) >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:539 >> (sofia/internal/868499 at 52.70.5.23) State EXECUTE going to sleep >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 >> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_HANGUP >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:739 >> (sofia/internal/868499 at 52.70.5.23) Callstate Change ACTIVE -> HANGUP >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 >> (sofia/internal/868499 at 52.70.5.23) State HANGUP >> 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:431 Channel sofia/internal/ >> 868499 at 52.70.5.23 hanging up, cause: NORMAL_CLEARING >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:60 >> sofia/internal/868499 at 52.70.5.23 Standard HANGUP, cause: NORMAL_CLEARING >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 >> (sofia/internal/868499 at 52.70.5.23) State HANGUP going to sleep >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:508 >> (sofia/internal/868499 at 52.70.5.23) State Change CS_HANGUP -> CS_REPORTING >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 >> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_REPORTING >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 >> (sofia/internal/868499 at 52.70.5.23) State REPORTING >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:104 >> sofia/internal/868499 at 52.70.5.23 Standard REPORTING, cause: >> NORMAL_CLEARING >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 >> (sofia/internal/868499 at 52.70.5.23) State REPORTING going to sleep >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:499 >> (sofia/internal/868499 at 52.70.5.23) State Change CS_REPORTING -> >> CS_DESTROY >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:1646 Session 5 >> (sofia/internal/868499 at 52.70.5.23) Locked, Waiting on external entities >> 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1664 Session 5 >> (sofia/internal/868499 at 52.70.5.23) Ended >> 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1668 Close >> Channel sofia/internal/868499 at 52.70.5.23 [CS_DESTROY] >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:630 >> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_DESTROY >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 >> (sofia/internal/868499 at 52.70.5.23) State DESTROY >> 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:341 sofia/internal/ >> 868499 at 52.70.5.23 SOFIA DESTROY >> frame I:50 Avg QP:11.50 size: 99188 >> frame P:1320 Avg QP:12.79 size: 9817 >> mb I I16..4: 32.3% 0.0% 67.7% >> mb P I16..4: 1.8% 0.0% 2.3% P16..4: 21.0% 3.5% 1.8% 0.0% 0.0% >> skip:69.6% >> coded y,uvDC,uvAC intra: 66.2% 73.8% 61.1% inter: 8.1% 14.0% 4.7% >> i16 v,h,dc,p: 44% 23% 16% 16% >> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 35% 10% 3% 4% 3% 5% 4% 4% >> i8c dc,h,v,p: 37% 32% 20% 11% >> kb/s:9416.81 >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:111 >> sofia/internal/868499 at 52.70.5.23 Standard DESTROY >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 >> (sofia/internal/868499 at 52.70.5.23) State DESTROY going to sleep >> 2015-12-04 18:17:04.213268 [NOTICE] avformat.c:624 video thread done >> frame I:12 Avg QP:13.27 size: 89070 >> frame P:681 Avg QP:11.76 size: 16819 >> mb I I16..4: 36.9% 0.0% 63.1% >> mb P I16..4: 2.7% 0.0% 4.9% P16..4: 20.0% 3.0% 1.8% 0.0% 0.0% >> skip:67.5% >> final ratefactor: 15.09 >> coded y,uvDC,uvAC intra: 68.6% 72.9% 63.8% inter: 8.6% 14.6% 6.1% >> i16 v,h,dc,p: 47% 23% 17% 12% >> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 35% 9% 3% 4% 3% 4% 4% 4% >> i8c dc,h,v,p: 39% 32% 18% 12% >> ref P L0: 90.9% 5.9% 3.2% >> kb/s:2046.12 >> 2015-12-04 18:17:04.243259 [DEBUG] switch_ivr_async.c:1366 Channel is >> hung up >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media_bug.c:1118 Removing >> BUG from sofia/external/868599 >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:739 >> (sofia/external/868599) Callstate Change ACTIVE -> HANGUP >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 >> (sofia/external/868599) State HANGUP >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media.c:10542 >> sofia/external/868599 skip receive message [VIDEO_REFRESH_REQ] (channel is >> hungup already) >> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:425 sofia/external/868599 >> Overriding SIP cause 480 with 200 from the other leg >> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:431 Channel >> sofia/external/868599 hanging up, cause: NORMAL_CLEARING >> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:484 Sending BYE to >> sofia/external/868599 >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:60 >> sofia/external/868599 Standard HANGUP, cause: NORMAL_CLEARING >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 >> (sofia/external/868599) State HANGUP going to sleep >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:508 >> (sofia/external/868599) State Change CS_HANGUP -> CS_REPORTING >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:473 >> (sofia/external/868599) Running State Change CS_REPORTING >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 >> (sofia/external/868599) State REPORTING >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:104 >> sofia/external/868599 Standard REPORTING, cause: NORMAL_CLEARING >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 >> (sofia/external/868599) State REPORTING going to sleep >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:499 >> (sofia/external/868599) State Change CS_REPORTING -> CS_DESTROY >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_session.c:1646 Session 6 >> (sofia/external/868599) Locked, Waiting on external entities >> 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1664 Session 6 >> (sofia/external/868599) Ended >> 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1668 Close >> Channel sofia/external/868599 [CS_DESTROY] >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:630 >> (sofia/external/868599) Running State Change CS_DESTROY >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 >> (sofia/external/868599) State DESTROY >> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:341 sofia/external/868599 >> SOFIA DESTROY >> frame I:45 Avg QP:12.50 size: 45087 >> frame P:823 Avg QP:13.81 size: 11066 >> mb I I16..4: 18.3% 0.0% 81.7% >> mb P I16..4: 6.4% 0.0% 10.7% P16..4: 41.3% 12.4% 5.3% 0.0% 0.0% >> skip:23.9% >> coded y,uvDC,uvAC intra: 82.3% 76.7% 61.8% inter: 28.1% 33.2% 6.8% >> i16 v,h,dc,p: 31% 33% 19% 17% >> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 38% 14% 3% 3% 4% 3% 3% 4% >> i8c dc,h,v,p: 41% 35% 18% 5% >> kb/s:9237.67 >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:111 >> sofia/external/868599 Standard DESTROY >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 >> (sofia/external/868599) State DESTROY going to sleep >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/c9e1e63e/attachment-0001.html From mic.niel84 at gmail.com Mon Dec 7 21:33:46 2015 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Mon, 7 Dec 2015 19:33:46 +0100 Subject: [Freeswitch-users] Custom ringback tone Message-ID: Hi, I'm trying to add a custom ringback tone on my FreeSWITCH server. I've created a .mp3 file and added: However, when trying to call, there's just silence... Should the format be different, and if so how do I convert this? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/71277f10/attachment.html From anthony.minessale at gmail.com Mon Dec 7 21:49:30 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 7 Dec 2015 12:49:30 -0600 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: Message-ID: Make sure you add {ignore_early_media=true} to dial string and possibly also {instant_ringback=true} if your call does not get any ringing indication. (180 183 etc) or is not SIP. On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen wrote: > Hi, > > I'm trying to add a custom ringback tone on my FreeSWITCH server. > > I've created a .mp3 file and added: > > > > However, when trying to call, there's just silence... > > Should the format be different, and if so how do I convert this? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- 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/20151207/ef6aad69/attachment.html From mic.niel84 at gmail.com Mon Dec 7 21:52:25 2015 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Mon, 7 Dec 2015 19:52:25 +0100 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: Message-ID: If I remove my ringback-variable I do get a normal ringtone. So I guess it's something with my file perhaps - or...? On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > Make sure you add {ignore_early_media=true} to dial string and possibly > also {instant_ringback=true} if your call does not get any ringing > indication. (180 183 etc) or is not SIP. > > > On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen > wrote: > >> Hi, >> >> I'm trying to add a custom ringback tone on my FreeSWITCH server. >> >> I've created a .mp3 file and added: >> >> >> >> However, when trying to call, there's just silence... >> >> Should the format be different, and if so how do I convert this? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/84495c47/attachment.html From covici at ccs.covici.com Mon Dec 7 22:08:28 2015 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Mon, 07 Dec 2015 14:08:28 -0500 Subject: [Freeswitch-users] Connect the FXS gateway and Freeswitch in local network In-Reply-To: References: Message-ID: <16685.1449515308@ccs.covici.com> What kind of beast is this gateway? Ismir Saljic wrote: > Hi all, > > I am new to Freeswitch and I am trying to connect FXS gateway with > Freeswitch. > As both devices are on the same LAN I assume that I need to use internal > profile. > For now I need only to make outbound calls to the gateway. > I've tried to send calls to the IP address of the gateway without > registration but it's not working. > This is my config from dialplan/default/00_name file: > > > > > > > > > > Is it necessary to register gateway on freeswitch in order to make it > working or it is also possible to send calls to IP address of the gateway? > Gateway has static IP address. > > Any help would be appreciated! > > Thank you > Salja > > ---------------------------------------------------- > Alternatives: > > ---------------------------------------------------- > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com From shishko69 at gmail.com Mon Dec 7 23:21:02 2015 From: shishko69 at gmail.com (Denis Papes) Date: Mon, 7 Dec 2015 21:21:02 +0100 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: Message-ID: <5665EA2E.5090508@gmail.com> Did you load mod_shout? On 12/07/2015 07:52 PM, Michael Nielsen wrote: > If I remove my ringback-variable I do get a normal ringtone. > So I guess it's something with my file perhaps - or...? > > On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale > > wrote: > > Make sure you add {ignore_early_media=true} to dial string and > possibly also {instant_ringback=true} if your call does not get > any ringing indication. (180 183 etc) or is not SIP. > > > On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen > > wrote: > > Hi, > > I'm trying to add a custom ringback tone on my FreeSWITCH server. > > I've created a .mp3 file and added: > > data="ringback=/home/user/ringback.mp3"/> > > > However, when trying to call, there's just silence... > > Should the format be different, and if so how do I convert this? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? > _http://freeswitch.org/g+_ > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org > ? +19193869900 > > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/99e3a873/attachment-0001.html From isaljic at gmail.com Mon Dec 7 23:38:19 2015 From: isaljic at gmail.com (Ismir Saljic) Date: Mon, 7 Dec 2015 21:38:19 +0100 Subject: [Freeswitch-users] Connect the FXS gateway and Freeswitch in local network In-Reply-To: <16685.1449515308@ccs.covici.com> References: <16685.1449515308@ccs.covici.com> Message-ID: Hi John, it is Matrix Setu VFX gateway. salja On Mon, Dec 7, 2015 at 8:08 PM, wrote: > What kind of beast is this gateway? > > Ismir Saljic wrote: > > > Hi all, > > > > I am new to Freeswitch and I am trying to connect FXS gateway with > > Freeswitch. > > As both devices are on the same LAN I assume that I need to use internal > > profile. > > For now I need only to make outbound calls to the gateway. > > I've tried to send calls to the IP address of the gateway without > > registration but it's not working. > > This is my config from dialplan/default/00_name file: > > > > > > > > > > /> > > > > > > > > > > Is it necessary to register gateway on freeswitch in order to make it > > working or it is also possible to send calls to IP address of the > gateway? > > Gateway has static IP address. > > > > Any help would be appreciated! > > > > Thank you > > Salja > > > > ---------------------------------------------------- > > Alternatives: > > > > ---------------------------------------------------- > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > covici at ccs.covici.com > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/3b785f3c/attachment.html From mic.niel84 at gmail.com Mon Dec 7 23:41:49 2015 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Mon, 7 Dec 2015 21:41:49 +0100 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: <5665EA2E.5090508@gmail.com> References: <5665EA2E.5090508@gmail.com> Message-ID: Yes. When I put instant_ringback on it seems to be silent when ringing - but when I hang up in one end the music actually starts in the other end. Kind of weird. Putting ignore_early_media makes the music play less than a seconds at first and then normal ringtone... On Monday, December 7, 2015, Denis Papes wrote: > Did you load mod_shout? > > > On 12/07/2015 07:52 PM, Michael Nielsen wrote: > > If I remove my ringback-variable I do get a normal ringtone. > So I guess it's something with my file perhaps - or...? > > On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < > anthony.minessale at gmail.com > > wrote: > >> Make sure you add {ignore_early_media=true} to dial string and possibly >> also {instant_ringback=true} if your call does not get any ringing >> indication. (180 183 etc) or is not SIP. >> >> >> On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen < >> >> mic.niel84 at gmail.com >> > wrote: >> >>> Hi, >>> >>> I'm trying to add a custom ringback tone on my FreeSWITCH server. >>> >>> I've created a .mp3 file and added: >>> >>> >> > >>> >>> However, when trying to call, there's just silence... >>> >>> Should the format be different, and if so how do I convert this? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >> >> ? http://freeswitch.org/ ? http://cluecon.com/ ? >> http://twitter.com/FreeSWITCH >> ? irc.freenode.net #freeswitch ? * >> http://freeswitch.org/g+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org >> ? >> +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/0b5cc635/attachment.html From shishko69 at gmail.com Mon Dec 7 23:42:39 2015 From: shishko69 at gmail.com (Denis Papes) Date: Mon, 7 Dec 2015 21:42:39 +0100 Subject: [Freeswitch-users] Connect the FXS gateway and Freeswitch in local network In-Reply-To: References: <16685.1449515308@ccs.covici.com> Message-ID: <5665EF3F.3010903@gmail.com> Enable SIP trace in console sofia profile internal siptrace on try to make a call, and you should see why it's not working On 12/07/2015 09:38 PM, Ismir Saljic wrote: > Hi John, > > it is Matrix Setu VFX gateway. > > salja > > On Mon, Dec 7, 2015 at 8:08 PM, > wrote: > > What kind of beast is this gateway? > > Ismir Saljic > wrote: > > > Hi all, > > > > I am new to Freeswitch and I am trying to connect FXS gateway with > > Freeswitch. > > As both devices are on the same LAN I assume that I need to use > internal > > profile. > > For now I need only to make outbound calls to the gateway. > > I've tried to send calls to the IP address of the gateway without > > registration but it's not working. > > This is my config from dialplan/default/00_name file: > > > > > > > > > > data="sofia/internal/$1 at X.X.X.X:5060" /> > > > > > > > > > > Is it necessary to register gateway on freeswitch in order to > make it > > working or it is also possible to send calls to IP address of > the gateway? > > Gateway has static IP address. > > > > Any help would be appreciated! > > > > Thank you > > Salja > > > > ---------------------------------------------------- > > Alternatives: > > > > ---------------------------------------------------- > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > covici at ccs.covici.com > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/dad4792d/attachment-0001.html From brian at freeswitch.org Tue Dec 8 00:21:04 2015 From: brian at freeswitch.org (Brian West) Date: Mon, 7 Dec 2015 15:21:04 -0600 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: <5665EA2E.5090508@gmail.com> Message-ID: I can't replicate the behavior you're describing, can you give me a few more details? What REV of FreeSWITCH are you running? On Mon, Dec 7, 2015 at 2:41 PM, Michael Nielsen wrote: > Yes. > When I put instant_ringback on it seems > to be silent when ringing - but when I hang up in one end the music > actually starts in the other end. Kind of weird. > Putting ignore_early_media makes the music play less than a seconds at > first and then normal ringtone... > > > On Monday, December 7, 2015, Denis Papes wrote: > >> Did you load mod_shout? >> >> >> On 12/07/2015 07:52 PM, Michael Nielsen wrote: >> >> If I remove my ringback-variable I do get a normal ringtone. >> So I guess it's something with my file perhaps - or...? >> >> On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> Make sure you add {ignore_early_media=true} to dial string and possibly >>> also {instant_ringback=true} if your call does not get any ringing >>> indication. (180 183 etc) or is not SIP. >>> >>> >>> On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen >>> wrote: >>> >>>> Hi, >>>> >>>> I'm trying to add a custom ringback tone on my FreeSWITCH server. >>>> >>>> I've created a .mp3 file and added: >>>> >>>> >>> data="ringback=/home/user/ringback.mp3"/> >>>> >>>> However, when trying to call, there's just silence... >>>> >>>> Should the format be different, and if so how do I convert this? >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>> >>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>> http://twitter.com/FreeSWITCH >>> ? irc.freenode.net #freeswitch ? * >>> http://freeswitch.org/g+ >>> * >>> >>> ClueCon Weekly Development Call >>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>> >>> https://www.youtube.com/watch?v=9XXgW34t40s >>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> >> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/e4925dff/attachment.html From covici at ccs.covici.com Tue Dec 8 00:23:46 2015 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Mon, 07 Dec 2015 16:23:46 -0500 Subject: [Freeswitch-users] Connect the FXS gateway and Freeswitch in local network In-Reply-To: References: <16685.1449515308@ccs.covici.com> Message-ID: <25545.1449523426@ccs.covici.com> Never heard of that one, in one of mine, to make out going call I have to use a different port -- could this be true of yours? Ismir Saljic wrote: > Hi John, > > it is Matrix Setu VFX gateway. > > salja > > On Mon, Dec 7, 2015 at 8:08 PM, wrote: > > > What kind of beast is this gateway? > > > > Ismir Saljic wrote: > > > > > Hi all, > > > > > > I am new to Freeswitch and I am trying to connect FXS gateway with > > > Freeswitch. > > > As both devices are on the same LAN I assume that I need to use internal > > > profile. > > > For now I need only to make outbound calls to the gateway. > > > I've tried to send calls to the IP address of the gateway without > > > registration but it's not working. > > > This is my config from dialplan/default/00_name file: > > > > > > > > > > > > > > > > /> > > > > > > > > > > > > > > > Is it necessary to register gateway on freeswitch in order to make it > > > working or it is also possible to send calls to IP address of the > > gateway? > > > Gateway has static IP address. > > > > > > Any help would be appreciated! > > > > > > Thank you > > > Salja > > > > > > ---------------------------------------------------- > > > Alternatives: > > > > > > ---------------------------------------------------- > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > -- > > Your life is like a penny. You're going to lose it. The question is: > > How do > > you spend it? > > > > John Covici > > covici at ccs.covici.com > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > ---------------------------------------------------- > Alternatives: > > ---------------------------------------------------- > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com From isaljic at gmail.com Tue Dec 8 00:59:57 2015 From: isaljic at gmail.com (Ismir Saljic) Date: Mon, 7 Dec 2015 22:59:57 +0100 Subject: [Freeswitch-users] Connect the FXS gateway and Freeswitch in local network In-Reply-To: <25545.1449523426@ccs.covici.com> References: <16685.1449515308@ccs.covici.com> <25545.1449523426@ccs.covici.com> Message-ID: Thank you both for answers. @Denis, I've check that already and I am getting from gateway SIP response "487 Request Terminated". I've tried from several phones but the same result at the end. In freeswitch logs I have this: 2015-12-07 16:03:40.598709 [DEBUG] sofia.c:6614 Channel sofia/internal/51001 at X.X.X.X:5060 entering state [terminated][487] 2015-12-07 16:03:40.598709 [NOTICE] sofia.c:7530 Hangup sofia/internal/51001 at X.X.X.X:5060 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL] I can't see SIP CANCEL message at all which is very strange. @John, On gateway I am using default SIP port, but on the freeswitch I am using other port. Will try to change port on gateway. I don't know if I am missing some config because I have only config in dialplan/default folder for sending calls to the gateways IP address. Kind regards, Salja On Mon, Dec 7, 2015 at 10:23 PM, wrote: > Never heard of that one, in one of mine, to make out going call I have > to use a different port -- could this be true of yours? > > Ismir Saljic wrote: > > > Hi John, > > > > it is Matrix Setu VFX gateway. > > > > salja > > > > On Mon, Dec 7, 2015 at 8:08 PM, wrote: > > > > > What kind of beast is this gateway? > > > > > > Ismir Saljic wrote: > > > > > > > Hi all, > > > > > > > > I am new to Freeswitch and I am trying to connect FXS gateway with > > > > Freeswitch. > > > > As both devices are on the same LAN I assume that I need to use > internal > > > > profile. > > > > For now I need only to make outbound calls to the gateway. > > > > I've tried to send calls to the IP address of the gateway without > > > > registration but it's not working. > > > > This is my config from dialplan/default/00_name file: > > > > > > > > > > > > > > > > > > > > > > /> > > > > > > > > > > > > > > > > > > > > Is it necessary to register gateway on freeswitch in order to make it > > > > working or it is also possible to send calls to IP address of the > > > gateway? > > > > Gateway has static IP address. > > > > > > > > Any help would be appreciated! > > > > > > > > Thank you > > > > Salja > > > > > > > > ---------------------------------------------------- > > > > Alternatives: > > > > > > > > ---------------------------------------------------- > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > > consulting at freeswitch.org > > > > http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > > http://www.freeswitch.org > > > > http://confluence.freeswitch.org > > > > http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > http://www.freeswitch.org > > > -- > > > Your life is like a penny. You're going to lose it. The question is: > > > How do > > > you spend it? > > > > > > John Covici > > > covici at ccs.covici.com > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > ---------------------------------------------------- > > Alternatives: > > > > ---------------------------------------------------- > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > covici at ccs.covici.com > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/12bc970b/attachment-0001.html From mic.niel84 at gmail.com Tue Dec 8 13:25:06 2015 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Tue, 8 Dec 2015 11:25:06 +0100 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: <5665EA2E.5090508@gmail.com> Message-ID: I'm running FreeSWITCH In my log I get Action set(ringback=/etc/freeswitch/ringback.mp3) and also, later on: 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1274 Raw Codec Activation Success L16 at 8000hz 1 channel 20ms 2015-12-08 10:20:00.539190 [DEBUG] switch_core_codec.c:221 sofia/external/+ 4454443356778 at my-domain.pstn.twilio.com Push codec L16:100 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1306 Play Ringback File [/etc/freeswitch/ringback.mp3] 2015-12-08 10:20:00.539190 [WARNING] switch_core_file.c:341 File has 2 channels, muxing to 1 channel will occur. 2015-12-08 10:20:00.699194 [DEBUG] switch_rtp.c:6640 Correct audio ip/port confirmed. However, there is no sound in my real GSM phone when waiting for answer. Just silence. On Mon, Dec 7, 2015 at 10:21 PM, Brian West wrote: > I can't replicate the behavior you're describing, can you give me a few > more details? What REV of FreeSWITCH are you running? > > On Mon, Dec 7, 2015 at 2:41 PM, Michael Nielsen > wrote: > >> Yes. >> When I put instant_ringback on it seems >> to be silent when ringing - but when I hang up in one end the music >> actually starts in the other end. Kind of weird. >> Putting ignore_early_media makes the music play less than a seconds at >> first and then normal ringtone... >> >> >> On Monday, December 7, 2015, Denis Papes wrote: >> >>> Did you load mod_shout? >>> >>> >>> On 12/07/2015 07:52 PM, Michael Nielsen wrote: >>> >>> If I remove my ringback-variable I do get a normal ringtone. >>> So I guess it's something with my file perhaps - or...? >>> >>> On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> Make sure you add {ignore_early_media=true} to dial string and possibly >>>> also {instant_ringback=true} if your call does not get any ringing >>>> indication. (180 183 etc) or is not SIP. >>>> >>>> >>>> On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I'm trying to add a custom ringback tone on my FreeSWITCH server. >>>>> >>>>> I've created a .mp3 file and added: >>>>> >>>>> >>>> data="ringback=/home/user/ringback.mp3"/> >>>>> >>>>> However, when trying to call, there's just silence... >>>>> >>>>> Should the format be different, and if so how do I convert this? >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>> >>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>> http://twitter.com/FreeSWITCH >>>> ? irc.freenode.net #freeswitch ? * >>>> http://freeswitch.org/g+ >>>> * >>>> >>>> ClueCon Weekly Development Call >>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>> >>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>> >>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>> >>> >>> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/c6d61055/attachment.html From mic.niel84 at gmail.com Tue Dec 8 13:49:43 2015 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Tue, 8 Dec 2015 11:49:43 +0100 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: <5665EA2E.5090508@gmail.com> Message-ID: Hi, I found out that it's only when there's an external sip trunk in use (Twilio in this case) that there's silence. Between subscribers directly connected to FS it works. On Tue, Dec 8, 2015 at 11:25 AM, Michael Nielsen wrote: > I'm running FreeSWITCH > > In my log I get Action set(ringback=/etc/freeswitch/ringback.mp3) and > also, later on: > > 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1274 Raw Codec > Activation Success L16 at 8000hz 1 channel 20ms > > 2015-12-08 10:20:00.539190 [DEBUG] switch_core_codec.c:221 sofia/external/+ > 4454443356778 at my-domain.pstn.twilio.com Push codec L16:100 > > 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1306 Play > Ringback File [/etc/freeswitch/ringback.mp3] > > 2015-12-08 10:20:00.539190 [WARNING] switch_core_file.c:341 File has 2 > channels, muxing to 1 channel will occur. > > 2015-12-08 10:20:00.699194 [DEBUG] switch_rtp.c:6640 Correct audio ip/port > confirmed. > > > However, there is no sound in my real GSM phone when waiting for answer. > Just silence. > > On Mon, Dec 7, 2015 at 10:21 PM, Brian West wrote: > >> I can't replicate the behavior you're describing, can you give me a few >> more details? What REV of FreeSWITCH are you running? >> >> On Mon, Dec 7, 2015 at 2:41 PM, Michael Nielsen >> wrote: >> >>> Yes. >>> When I put instant_ringback on it seems >>> to be silent when ringing - but when I hang up in one end the music >>> actually starts in the other end. Kind of weird. >>> Putting ignore_early_media makes the music play less than a seconds at >>> first and then normal ringtone... >>> >>> >>> On Monday, December 7, 2015, Denis Papes wrote: >>> >>>> Did you load mod_shout? >>>> >>>> >>>> On 12/07/2015 07:52 PM, Michael Nielsen wrote: >>>> >>>> If I remove my ringback-variable I do get a normal ringtone. >>>> So I guess it's something with my file perhaps - or...? >>>> >>>> On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < >>>> anthony.minessale at gmail.com> wrote: >>>> >>>>> Make sure you add {ignore_early_media=true} to dial string and >>>>> possibly also {instant_ringback=true} if your call does not get any ringing >>>>> indication. (180 183 etc) or is not SIP. >>>>> >>>>> >>>>> On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen >>>> > wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I'm trying to add a custom ringback tone on my FreeSWITCH server. >>>>>> >>>>>> I've created a .mp3 file and added: >>>>>> >>>>>> >>>>> data="ringback=/home/user/ringback.mp3"/> >>>>>> >>>>>> However, when trying to call, there's just silence... >>>>>> >>>>>> Should the format be different, and if so how do I convert this? >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>> >>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>> http://twitter.com/FreeSWITCH >>>>> ? irc.freenode.net #freeswitch ? * >>>>> http://freeswitch.org/g+ >>>>> * >>>>> >>>>> ClueCon Weekly Development Call >>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>> >>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>> >>>> >>>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/a4b7273e/attachment-0001.html From lists.fs-users at uce.pw Tue Dec 8 14:07:01 2015 From: lists.fs-users at uce.pw (Olgierd Ziolko) Date: Tue, 8 Dec 2015 11:07:01 +0000 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: Millionth thanks for that. I have my test instance (1.6.0-4~64bit) on Debian Jesse running on Xen and I experience some jitter and voice deformation issues (vm is pretty powerful for single call to 3x00 number (made over pretty fast route)), I have also that nice gem in scaleway (on Jesse as well, but I probably have to try it on Centos) and it seems to be promising. Best regards, O. On 30 November 2015 at 16:27, Stanislav Sinyagin wrote: > hi, > > I put together the build scenario that I tested for ARM (armhf at > scaleway.com), and it should also work for other architectures: > > > https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other+architectures > > It will be great if someone tests them on other architectures too. > > > cheers, > stanislav > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/a8dd427e/attachment.html From s.safarov at gmail.com Tue Dec 8 14:19:50 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 8 Dec 2015 14:19:50 +0300 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: <5665EA2E.5090508@gmail.com> Message-ID: Silence on leg connected via Twilio? On Tue, Dec 8, 2015 at 1:49 PM, Michael Nielsen wrote: > Hi, > > I found out that it's only when there's an external sip trunk in use > (Twilio in this case) that there's silence. > Between subscribers directly connected to FS it works. > > On Tue, Dec 8, 2015 at 11:25 AM, Michael Nielsen > wrote: > >> I'm running FreeSWITCH >> >> In my log I get Action set(ringback=/etc/freeswitch/ringback.mp3) and >> also, later on: >> >> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1274 Raw Codec >> Activation Success L16 at 8000hz 1 channel 20ms >> >> 2015-12-08 10:20:00.539190 [DEBUG] switch_core_codec.c:221 >> sofia/external/+4454443356778 at my-domain.pstn.twilio.com Push codec >> L16:100 >> >> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1306 Play >> Ringback File [/etc/freeswitch/ringback.mp3] >> >> 2015-12-08 10:20:00.539190 [WARNING] switch_core_file.c:341 File has 2 >> channels, muxing to 1 channel will occur. >> >> 2015-12-08 10:20:00.699194 [DEBUG] switch_rtp.c:6640 Correct audio >> ip/port confirmed. >> >> >> However, there is no sound in my real GSM phone when waiting for answer. >> Just silence. >> >> On Mon, Dec 7, 2015 at 10:21 PM, Brian West wrote: >> >>> I can't replicate the behavior you're describing, can you give me a few >>> more details? What REV of FreeSWITCH are you running? >>> >>> On Mon, Dec 7, 2015 at 2:41 PM, Michael Nielsen >>> wrote: >>> >>>> Yes. >>>> When I put instant_ringback on it seems >>>> to be silent when ringing - but when I hang up in one end the music >>>> actually starts in the other end. Kind of weird. >>>> Putting ignore_early_media makes the music play less than a seconds at >>>> first and then normal ringtone... >>>> >>>> >>>> On Monday, December 7, 2015, Denis Papes wrote: >>>> >>>>> Did you load mod_shout? >>>>> >>>>> >>>>> On 12/07/2015 07:52 PM, Michael Nielsen wrote: >>>>> >>>>> If I remove my ringback-variable I do get a normal ringtone. >>>>> So I guess it's something with my file perhaps - or...? >>>>> >>>>> On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < >>>>> anthony.minessale at gmail.com> wrote: >>>>> >>>>>> Make sure you add {ignore_early_media=true} to dial string and >>>>>> possibly also {instant_ringback=true} if your call does not get any ringing >>>>>> indication. (180 183 etc) or is not SIP. >>>>>> >>>>>> >>>>>> On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen < >>>>>> mic.niel84 at gmail.com> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I'm trying to add a custom ringback tone on my FreeSWITCH server. >>>>>>> >>>>>>> I've created a .mp3 file and added: >>>>>>> >>>>>>> >>>>>> data="ringback=/home/user/ringback.mp3"/> >>>>>>> >>>>>>> However, when trying to call, there's just silence... >>>>>>> >>>>>>> Should the format be different, and if so how do I convert this? >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>>> >>>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>>> http://twitter.com/FreeSWITCH >>>>>> ? irc.freenode.net #freeswitch ? * >>>>>> http://freeswitch.org/g+ >>>>>> * >>>>>> >>>>>> ClueCon Weekly Development Call >>>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>>> >>>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>> >>>>> >>>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> Got Bugs? Report them here ! | Reddit: >>> /r/freeswitch >>> >>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/1f5b6f95/attachment-0001.html From shabbirabbasi92 at gmail.com Tue Dec 8 15:09:32 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Tue, 8 Dec 2015 17:09:32 +0500 Subject: [Freeswitch-users] mod_gsmopen - deadlock tty In-Reply-To: References: Message-ID: Hi: i have made patch for auto reconnect if dongle disconnected and display status of dongle connected or disconnected https://freeswitch.org/jira/browse/FS-8626 i think after this patch you dont need a seprate daemon to run thank u On Sun, Sep 27, 2015 at 7:53 AM, Luiz Fernando Softov < fernando at softov.com.br> wrote: > Hi, i sent a e-mail to you, with the diff, files and give you access to > web interface of the system. > > I will wait you to read, confirm and reply my e-mail. > > Thanks a lot for the help. > > 2015-09-26 15:28 GMT-04:00 Giovanni Maruzzelli : > >> As per chat, I'm "gmaruzz" in both FreeSWITCH's hipchat and in IRC >> #freeswitch channel at irc.freenode.net >> >> -giovanni >> >> On Sat, Sep 26, 2015 at 9:25 PM, Giovanni Maruzzelli >> wrote: >> >>> On Fri, Sep 25, 2015 at 11:30 PM, Luiz Fernando Softov < >>> fernando at softov.com.br> wrote: >>> >>>> Now, i make some changes, and until now it's running fine >>>> >>>> I think the problem was when you declare interface as dead, like line >>>> 674 of gsmopen_protocol.cpp >>>> >>>> >>>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_gsmopen/gsmopen_protocol.cpp >>>> >>>> alarm_event(tech_pvt, ALARM_FAILED_INTERFACE, "gsmopen_serial_monitor >>>> failed, declaring interface dead"); >>>> tech_pvt->active = 0; >>>> ->>>> tech_pvt->name[0] = '\0'; >>>> >>>> You make a \0 in interface name >>>> >>>> So, when someone call remove_interface() in mod_gsmopen.cpp >>>> >>>> >>>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp >>>> >>>> To grab the tech_pvt, the function check for strlen or compare >>>> GSMOPEN_INTERFACES[interface_id].name (line 322 and 329) >>>> >>>> Then, we will not found interface (tech_pvt), because "name" is nothing >>>> >>>> >>>> >>> continuing, in line 336 it's check if there is a tech_pvt >>>> >>>> if (!tech_pvt) { >>>> DEBUGA_GSMOPEN("interface '%s' does not exist\n", GSMOPEN_P_LOG, >>>> the_interface); >>>> goto end; >>>> } >>>> >>>> This check will jump the Close in line 385, causing a deadlock opened >>>> fd. >>>> res = tech_pvt->serialPort_serial_control->Close(); >>>> >>>> So i comment every line when you set tech_pvt->name[0] = '\0'; >>>> >>>> It's correct? Since when interface failed, and it's declared as died, >>>> the serial isn't closed, just marked as died, and the tty still opened >>>> causing a deadlock, if no one close this. >>>> >>>> >>> your reasoning seems sound, is the system still running ok? >>> >>> >>> Have you changed anything else? >>> >>> Can you send me (to my mail, as an attach) a git diff? Or open a jira >>> attaching that diff? >>> >>> Btw, yes, I'm interested in understanding better how your system works >>> (daemon, attach-detach, and all). >>> >>> Also, big thanks for taking the time to look into the source code!!! >>> >>> -giovanni >>> >>> >>> >>> >>> >>>> >>>> >>>> >>>> >>>> 2015-09-25 14:10 GMT-04:00 Luiz Fernando Softov >>> >: >>>> >>>>> I make a daemon, witch manage USB using kqueue and other things, so, >>>>> every time i plug or unplug a modem, i make a event, like ARRIVE and LEAVE. >>>>> >>>>> This daemon have a list of modems, correlate with ttys ids - U3G >>>>> (U0.0, U0.1, U0.2) and UMODEM (U0 U1 U2) >>>>> >>>>> So, when a modem ARRIVE, and it's "attached" (configured), i call a >>>>> "gsm reload". >>>>> When a modem LEAVE, i call a gsm remove interface_x. >>>>> >>>>> Using mod_xml_curl, i have dynamic config. >>>>> >>>>> I use events, like gsmopen_dump list, to manage and controll >>>>> interfaces, like when user "detach" a modem. >>>>> >>>>> If you want, send me a e-mail, i will give access to my system and you >>>>> can see what i'm talking about. >>>>> >>>>> >>>>> Anyway, i found things like in function >>>>> >>>>> int gsmopen_serial_write_AT_noack(private_t *tech_pvt, const char >>>>> *data) >>>>> >>>>> // You make >>>>> LOKKA(tech_pvt->controldev_lock); >>>>> >>>>> Then call gsmopen_serial_write_AT(tech_pvt, data), and >>>>> inside gsmopen_serial_write_AT, when something is wrong, you >>>>> make UNLOCKA(tech_pvt->controldev_lock); and return -1 >>>>> >>>>> But, you check if (gsmopen_serial_write_AT(tech_pvt, data) != (int) >>>>> strlen(data)) { >>>>> >>>>> Then, you make again UNLOCKA(tech_pvt->controldev_lock); >>>>> >>>>> Why make two times UNLOCKA(tech_pvt->controldev_lock); ? >>>>> >>>>> It's like >>>>> LOKKA(tech_pvt->controldev_lock); >>>>> UNLOCKA(tech_pvt->controldev_lock); >>>>> UNLOCKA(tech_pvt->controldev_lock); >>>>> >>>>> >>>>> Another is in >>>>> int gsmopen_serial_read_AT(private_t *tech_pvt, int look_for_ack, int >>>>> timeout_usec, int timeout_sec, const char *expected_string, int expect_crlf) >>>>> You make a LOKKA(tech_pvt->controldev_lock);, but there is some >>>>> returns (inside try catch), without UNLOCKA. >>>>> >>>>> Sorry if i make some mistakes in my explanation, but i just want to >>>>> undestand how this funcions works. >>>>> >>>>> I disagree with "Shaabir" about this module is not useable. I just >>>>> think this need some changes to work fine. >>>>> I already test this module with 40 modems for 7 days, and it's work >>>>> fine, until i grab a deadlock in USB. >>>>> >>>>> Giovanni, if you have time to chat with me, i will be grateful. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> 2015-09-25 12:41 GMT-04:00 Giovanni Maruzzelli : >>>>> >>>>>> for plugging and unplugging modems, that's a very difficult thing to >>>>>> manage, this is the best I can come out with (and probably does not work in >>>>>> freebsd): >>>>>> >>>>>> >>>>>> http://wiki.freeswitch.org/wiki/GSMopen#IMEI_and_IMSI_automatic_device_discovery_.28only_on_Linux.29_2 >>>>>> >>>>>> you're welcome to find a similar mechanism, and file a jira with a >>>>>> pull request, so it will be inserted in manline. >>>>>> >>>>>> If your modifications only apply to freebsd, please use #ifdefs, so >>>>>> it still continue to compile and work in Linux. >>>>>> >>>>>> -giovanni >>>>>> >>>>>> >>>>>> Sincerely, >>>>>> >>>>>> Giovanni Maruzzelli >>>>>> Cell : +39-347-2665618 >>>>>> >>>>>> On Fri, Sep 25, 2015 at 6:24 PM, Luiz Fernando Softov < >>>>>> fernando at softov.com.br> wrote: >>>>>> >>>>>>> I'm using a USB with power supply. >>>>>>> >>>>>>> But sometimes it's just happen. Sometimes user remove and plug modem >>>>>>> again. >>>>>>> >>>>>>> I can't use Debian, because our system depends of FreeBSD, and we >>>>>>> have a lot of source (daemons) running, based, on that platform. And we use >>>>>>> kqueue, I think Debian don't have kqueue, it's like epool, but better, much >>>>>>> better. >>>>>>> >>>>>>> Anyway, I don't That it's a kernel problem, because, since I have >>>>>>> another daemon, attached in ttyx.0 (mod_gsmopen attach to ttyx.3), and when >>>>>>> modem power off or "reset", only ttyx.3 still locked. >>>>>>> >>>>>>> I'm trying to read the source to figure what's happening, but it's >>>>>>> hard to read, not because the source is difficult, but because isn't >>>>>>> organized. >>>>>>> >>>>>>> I'm thinking in rewrite the module, but if in future someone change >>>>>>> something in original module I will need to check my source. >>>>>>> There is another thing, I don't know how things like apr_thread >>>>>>> works, and what functions like switch_sleep(1000000) do and why using that. >>>>>>> >>>>>>> Today I make some alterations where the module make a lock, LOKKA, >>>>>>> there is some functions who don't have unlock, and another who only have >>>>>>> unlock, sometimes two unlocks. So I will wait to see what will happen. >>>>>>> >>>>>>> Now, here it's 3:00 am, and I'm going to sleep, almost 19 hours >>>>>>> awake up, trying to debug this module and another things. >>>>>>> >>>>>>> >>>>>>> Maybe you or someone have a time, to chat, or reply some e-mails, or >>>>>>> maybe here, to explain some questions about the source (module)? >>>>>>> >>>>>>> There's some lines marked with TODO, why? >>>>>>> And there is another version of this module? >>>>>>> Which the maximum number of modems that you already usage? >>>>>>> >>>>>>> 2015-09-25 7:53 GMT-04:00 Giovanni Maruzzelli : >>>>>>> >>>>>>>> if you found problems, please open a jira issue, with all info to >>>>>>>> replicate the problem, as explained in gsmopen page. >>>>>>>> >>>>>>>> It would be useful for us developers, and to me personally, being >>>>>>>> the person in charge of gsmopen. >>>>>>>> >>>>>>>> Thanks in advance, >>>>>>>> >>>>>>>> -giovanni >>>>>>>> >>>>>>>> Sincerely, >>>>>>>> >>>>>>>> Giovanni Maruzzelli >>>>>>>> Cell : +39-347-2665618 >>>>>>>> >>>>>>>> On Fri, Sep 25, 2015 at 1:44 PM, Shabbir abbasi < >>>>>>>> shabbirabbasi92 at gmail.com> wrote: >>>>>>>> >>>>>>>>> mod_gsmopen needs more development work, i have tested it >>>>>>>>> sometimes ago and found it is not useable , so now i am using asterisk >>>>>>>>> with chan_dongle better then gsmopen without usb HUB >>>>>>>>> >>>>>>>>> On Fri, Sep 25, 2015 at 11:11 AM, Giovanni Maruzzelli < >>>>>>>>> gmaruzz at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> This seems to be a kernel problem. >>>>>>>>>> >>>>>>>>>> To have the most success chances: use a USB hub with power supply >>>>>>>>>> (eg, a USB hub that get electrical power from the wall socket). >>>>>>>>>> Also, use the reference.platform, debian 8 jessie, instead of >>>>>>>>>> freebsd. >>>>>>>>>> >>>>>>>>>> -goovanni >>>>>>>>>> >>>>>>>>>> sent from my mobile, >>>>>>>>>> Giovanni Maruzzelli >>>>>>>>>> cell: +39 347 266 56 18 >>>>>>>>>> On Sep 25, 2015 7:19 AM, "Luiz Fernando Softov" < >>>>>>>>>> fernando at softov.com.br> wrote: >>>>>>>>>> >>>>>>>>>>> Hi, >>>>>>>>>>> >>>>>>>>>>> I'm using freeswitch 1.15 in Freebsd 10.1, with mod_gsmopen >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH Version 1.5.15b+git~20150407T231134Z~d55c4a053b~64bit >>>>>>>>>>> (git d55c4a0 2015-04-07 23:11:34Z 64bit), whats happen, its the same with >>>>>>>>>>> another versions like, 1.6, 1.4.19, etc >>>>>>>>>>> >>>>>>>>>>> After sometime running freeswitch, i have this TTYs. >>>>>>>>>>> >>>>>>>>>>> crw------- 1 root wheel 0x8e Sep 24 15:30 ttyU1.3 >>>>>>>>>>> crw------- 1 root wheel 0x8f Sep 24 15:30 ttyU1.3.init >>>>>>>>>>> crw------- 1 root wheel 0x90 Sep 24 15:30 ttyU1.3.lock >>>>>>>>>>> crw------- 1 root wheel 0x8e Sep 24 15:30 ttyU2.3 >>>>>>>>>>> crw------- 1 root wheel 0x8f Sep 24 15:30 ttyU2.3.init >>>>>>>>>>> crw------- 1 root wheel 0x90 Sep 24 15:30 ttyU2.3.lock >>>>>>>>>>> crw------- 1 root wheel 0x8e Sep 24 15:30 ttyU3.3 >>>>>>>>>>> crw------- 1 root wheel 0x8f Sep 24 15:30 ttyU3.3.init >>>>>>>>>>> crw------- 1 root wheel 0x90 Sep 24 15:30 ttyU3.3.lock >>>>>>>>>>> crw------- 1 root wheel 0x76 Sep 25 00:46 ttyU4.0 >>>>>>>>>>> crw------- 1 root wheel 0x77 Sep 24 22:28 ttyU4.0.init >>>>>>>>>>> crw------- 1 root wheel 0x78 Sep 24 22:28 ttyU4.0.lock >>>>>>>>>>> crw------- 1 root wheel 0x7c Sep 24 22:28 ttyU4.1 >>>>>>>>>>> crw------- 1 root wheel 0x7d Sep 24 22:28 ttyU4.1.init >>>>>>>>>>> crw------- 1 root wheel 0x7e Sep 24 22:28 ttyU4.1.lock >>>>>>>>>>> crw------- 1 root wheel 0x82 Sep 24 22:28 ttyU4.2 >>>>>>>>>>> crw------- 1 root wheel 0x83 Sep 24 22:28 ttyU4.2.init >>>>>>>>>>> crw------- 1 root wheel 0x84 Sep 24 22:28 ttyU4.2.lock >>>>>>>>>>> crw------- 1 root wheel 0x8e Sep 24 22:28 ttyU4.3 >>>>>>>>>>> crw------- 1 root wheel 0x8f Sep 24 22:28 ttyU4.3.init >>>>>>>>>>> crw------- 1 root wheel 0x90 Sep 24 22:28 ttyU4.3.lock >>>>>>>>>>> crw------- 1 root wheel 0xa8 Sep 25 00:46 ttyU5.0 >>>>>>>>>>> crw------- 1 root wheel 0xa9 Sep 24 22:28 ttyU5.0.init >>>>>>>>>>> crw------- 1 root wheel 0xaa Sep 24 22:28 ttyU5.0.lock >>>>>>>>>>> crw------- 1 root wheel 0xae Sep 24 22:28 ttyU5.1 >>>>>>>>>>> crw------- 1 root wheel 0xaf Sep 24 22:28 ttyU5.1.init >>>>>>>>>>> crw------- 1 root wheel 0xb6 Sep 24 22:28 ttyU5.1.lock >>>>>>>>>>> crw------- 1 root wheel 0xba Sep 24 22:28 ttyU5.2 >>>>>>>>>>> crw------- 1 root wheel 0xbb Sep 24 22:28 ttyU5.2.init >>>>>>>>>>> crw------- 1 root wheel 0xbc Sep 24 22:28 ttyU5.2.lock >>>>>>>>>>> crw------- 1 root wheel 0xc0 Sep 24 22:28 ttyU5.3 >>>>>>>>>>> crw------- 1 root wheel 0xc1 Sep 24 22:28 ttyU5.3.init >>>>>>>>>>> crw------- 1 root wheel 0xc2 Sep 24 22:28 ttyU5.3.lock >>>>>>>>>>> >>>>>>>>>>> As you can see, ttyU1.3, ttyU2.3, ttyU3.3 are USB deadlocks >>>>>>>>>>> >>>>>>>>>>> I try to unload mod_gsmopen, but i receive a message that is in >>>>>>>>>>> use >>>>>>>>>>> so i kill freeswitch, then ttyU1.3, ttyU2.3, ttyU3.3, are free >>>>>>>>>>> and disappear (as well .init and .lock) >>>>>>>>>>> >>>>>>>>>>> I try to figure out whats happening, with logs, alarms, but i >>>>>>>>>>> can't. >>>>>>>>>>> Someone have the same problem, or know the solution? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ps. >>>>>>>>>>> Reading the list, i realize that few members use the module, or >>>>>>>>>>> don't have problems. >>>>>>>>>>> If i am correct, is there any other way to use GSM modems or >>>>>>>>>>> GSM, which is low cost? >>>>>>>>>>> Is there anyone who can guide me in some things about the code >>>>>>>>>>> or tips? >>>>>>>>>>> >>>>>>>>>>> ps 2. >>>>>>>>>>> sorry about my english >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Luiz Fernando Softov >>>>>>>>>>> http://www.softov.com.br >>>>>>>>>>> fernando at softov.com.br >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>> >>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Luiz Fernando Softov >>>>>>> http://www.softov.com.br >>>>>>> fernando at softov.com.br >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Luiz Fernando Softov >>>>> http://www.softov.com.br >>>>> fernando at softov.com.br >>>>> >>>> >>>> >>>> >>>> -- >>>> Luiz Fernando Softov >>>> http://www.softov.com.br >>>> fernando at softov.com.br >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> Cell : +39-347-2665618 >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Luiz Fernando Softov > http://www.softov.com.br > fernando at softov.com.br > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/484aeeb9/attachment-0001.html From mic.niel84 at gmail.com Tue Dec 8 15:44:42 2015 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Tue, 8 Dec 2015 13:44:42 +0100 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: <5665EA2E.5090508@gmail.com> Message-ID: Yes. For ringback music. When answering sound is there. On Tuesday, December 8, 2015, Sergey Safarov wrote: > Silence on leg connected via Twilio? > > On Tue, Dec 8, 2015 at 1:49 PM, Michael Nielsen > wrote: > >> Hi, >> >> I found out that it's only when there's an external sip trunk in use >> (Twilio in this case) that there's silence. >> Between subscribers directly connected to FS it works. >> >> On Tue, Dec 8, 2015 at 11:25 AM, Michael Nielsen > > wrote: >> >>> I'm running FreeSWITCH >>> >>> In my log I get Action set(ringback=/etc/freeswitch/ringback.mp3) and >>> also, later on: >>> >>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1274 Raw Codec >>> Activation Success L16 at 8000hz 1 channel 20ms >>> >>> 2015-12-08 10:20:00.539190 [DEBUG] switch_core_codec.c:221 >>> sofia/external/+4454443356778 at my-domain.pstn.twilio.com >>> >>> Push codec L16:100 >>> >>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1306 Play >>> Ringback File [/etc/freeswitch/ringback.mp3] >>> >>> 2015-12-08 10:20:00.539190 [WARNING] switch_core_file.c:341 File has 2 >>> channels, muxing to 1 channel will occur. >>> >>> 2015-12-08 10:20:00.699194 [DEBUG] switch_rtp.c:6640 Correct audio >>> ip/port confirmed. >>> >>> >>> However, there is no sound in my real GSM phone when waiting for answer. >>> Just silence. >>> >>> On Mon, Dec 7, 2015 at 10:21 PM, Brian West >> > wrote: >>> >>>> I can't replicate the behavior you're describing, can you give me a few >>>> more details? What REV of FreeSWITCH are you running? >>>> >>>> On Mon, Dec 7, 2015 at 2:41 PM, Michael Nielsen >>> > wrote: >>>> >>>>> Yes. >>>>> When I put instant_ringback on it seems >>>>> to be silent when ringing - but when I hang up in one end the music >>>>> actually starts in the other end. Kind of weird. >>>>> Putting ignore_early_media makes the music play less than a seconds at >>>>> first and then normal ringtone... >>>>> >>>>> >>>>> On Monday, December 7, 2015, Denis Papes >>>> > wrote: >>>>> >>>>>> Did you load mod_shout? >>>>>> >>>>>> >>>>>> On 12/07/2015 07:52 PM, Michael Nielsen wrote: >>>>>> >>>>>> If I remove my ringback-variable I do get a normal ringtone. >>>>>> So I guess it's something with my file perhaps - or...? >>>>>> >>>>>> On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < >>>>>> anthony.minessale at gmail.com> wrote: >>>>>> >>>>>>> Make sure you add {ignore_early_media=true} to dial string and >>>>>>> possibly also {instant_ringback=true} if your call does not get any ringing >>>>>>> indication. (180 183 etc) or is not SIP. >>>>>>> >>>>>>> >>>>>>> On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen < >>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I'm trying to add a custom ringback tone on my FreeSWITCH server. >>>>>>>> >>>>>>>> I've created a .mp3 file and added: >>>>>>>> >>>>>>>> >>>>>>> data="ringback=/home/user/ringback.mp3"/> >>>>>>>> >>>>>>>> However, when trying to call, there's just silence... >>>>>>>> >>>>>>>> Should the format be different, and if so how do I convert this? >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>>>> >>>>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>>>> http://twitter.com/FreeSWITCH >>>>>>> ? irc.freenode.net #freeswitch ? * >>>>>>> http://freeswitch.org/g+ >>>>>>> * >>>>>>> >>>>>>> ClueCon Weekly Development Call >>>>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>>>> >>>>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>> >>>>>> >>>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> >>>> Got Bugs? Report them here ! | Reddit: >>>> /r/freeswitch >>>> >>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/899c8ba7/attachment-0001.html From luis.daniel.lucio at gmail.com Tue Dec 8 16:21:10 2015 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Tue, 8 Dec 2015 08:21:10 -0500 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: <5665EA2E.5090508@gmail.com> Message-ID: Sounds nice a cussed problem. First, convert your sound to wav, mono, 8khz You will offload FreeSWITCH and retry Le 8 d?c. 2015 7:46 AM, "Michael Nielsen" a ?crit : > Yes. For ringback music. When answering sound is there. > > On Tuesday, December 8, 2015, Sergey Safarov wrote: > >> Silence on leg connected via Twilio? >> >> On Tue, Dec 8, 2015 at 1:49 PM, Michael Nielsen >> wrote: >> >>> Hi, >>> >>> I found out that it's only when there's an external sip trunk in use >>> (Twilio in this case) that there's silence. >>> Between subscribers directly connected to FS it works. >>> >>> On Tue, Dec 8, 2015 at 11:25 AM, Michael Nielsen >>> wrote: >>> >>>> I'm running FreeSWITCH >>>> >>>> In my log I get Action set(ringback=/etc/freeswitch/ringback.mp3) and >>>> also, later on: >>>> >>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1274 Raw >>>> Codec Activation Success L16 at 8000hz 1 channel 20ms >>>> >>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_core_codec.c:221 >>>> sofia/external/+4454443356778 at my-domain.pstn.twilio.com Push codec >>>> L16:100 >>>> >>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1306 Play >>>> Ringback File [/etc/freeswitch/ringback.mp3] >>>> >>>> 2015-12-08 10:20:00.539190 [WARNING] switch_core_file.c:341 File has 2 >>>> channels, muxing to 1 channel will occur. >>>> >>>> 2015-12-08 10:20:00.699194 [DEBUG] switch_rtp.c:6640 Correct audio >>>> ip/port confirmed. >>>> >>>> >>>> However, there is no sound in my real GSM phone when waiting for >>>> answer. Just silence. >>>> >>>> On Mon, Dec 7, 2015 at 10:21 PM, Brian West >>>> wrote: >>>> >>>>> I can't replicate the behavior you're describing, can you give me a >>>>> few more details? What REV of FreeSWITCH are you running? >>>>> >>>>> On Mon, Dec 7, 2015 at 2:41 PM, Michael Nielsen >>>>> wrote: >>>>> >>>>>> Yes. >>>>>> When I put instant_ringback on it seems >>>>>> to be silent when ringing - but when I hang up in one end the music >>>>>> actually starts in the other end. Kind of weird. >>>>>> Putting ignore_early_media makes the music play less than a seconds >>>>>> at first and then normal ringtone... >>>>>> >>>>>> >>>>>> On Monday, December 7, 2015, Denis Papes wrote: >>>>>> >>>>>>> Did you load mod_shout? >>>>>>> >>>>>>> >>>>>>> On 12/07/2015 07:52 PM, Michael Nielsen wrote: >>>>>>> >>>>>>> If I remove my ringback-variable I do get a normal ringtone. >>>>>>> So I guess it's something with my file perhaps - or...? >>>>>>> >>>>>>> On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < >>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>> >>>>>>>> Make sure you add {ignore_early_media=true} to dial string and >>>>>>>> possibly also {instant_ringback=true} if your call does not get any ringing >>>>>>>> indication. (180 183 etc) or is not SIP. >>>>>>>> >>>>>>>> >>>>>>>> On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen < >>>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> I'm trying to add a custom ringback tone on my FreeSWITCH server. >>>>>>>>> >>>>>>>>> I've created a .mp3 file and added: >>>>>>>>> >>>>>>>>> >>>>>>>> data="ringback=/home/user/ringback.mp3"/> >>>>>>>>> >>>>>>>>> However, when trying to call, there's just silence... >>>>>>>>> >>>>>>>>> Should the format be different, and if so how do I convert this? >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>>>>> >>>>>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>>>>> http://twitter.com/FreeSWITCH >>>>>>>> ? irc.freenode.net #freeswitch ? * >>>>>>>> http://freeswitch.org/g+ >>>>>>>> * >>>>>>>> >>>>>>>> ClueCon Weekly Development Call >>>>>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>>>>> >>>>>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> >>>>> Got Bugs? Report them here ! | Reddit: >>>>> /r/freeswitch >>>>> >>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/b262efbb/attachment-0001.html From victor.medina at cibersys.com Tue Dec 8 16:34:54 2015 From: victor.medina at cibersys.com (Victor Medina) Date: Tue, 8 Dec 2015 09:04:54 -0430 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> Message-ID: How do I join? 2015-12-07 12:50 GMT-04:30 Ken Rice : > Unsubscribe instructions are linked in the footer of every email to the > list. > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Paul Klenk > *Sent:* Monday, December 7, 2015 11:02 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs > > > > unsubscribe > > > > On Mon, Dec 7, 2015 at 5:57 PM, Brian West wrote: > > FreeSWITCHers, > > > > FS-8609 is raised to get a rough outline of a completely new config sample > that will be used in 1.8, So we are reaching out to the community for input > and direction, I have also created a hipchat room FS-8609 on > hipchat.freeswitch.org if you wish to join in. Lets start the discussion > on this topic. > > > > Thanks, > > > > -- > > *Brian West* > brian at freeswitch.org > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- V?ctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/8eccf9f7/attachment.html From s.safarov at gmail.com Tue Dec 8 16:37:45 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 08 Dec 2015 13:37:45 +0000 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: <5665EA2E.5090508@gmail.com> Message-ID: Try send ringing before early media. On Tue, Dec 8, 2015, 16:22 Luis Daniel Lucio Quiroz < luis.daniel.lucio at gmail.com> wrote: > Sounds nice a cussed problem. > > First, convert your sound to wav, mono, 8khz > You will offload FreeSWITCH and retry > Le 8 d?c. 2015 7:46 AM, "Michael Nielsen" a ?crit : > >> Yes. For ringback music. When answering sound is there. >> >> On Tuesday, December 8, 2015, Sergey Safarov wrote: >> >>> Silence on leg connected via Twilio? >>> >>> On Tue, Dec 8, 2015 at 1:49 PM, Michael Nielsen >>> wrote: >>> >>>> Hi, >>>> >>>> I found out that it's only when there's an external sip trunk in use >>>> (Twilio in this case) that there's silence. >>>> Between subscribers directly connected to FS it works. >>>> >>>> On Tue, Dec 8, 2015 at 11:25 AM, Michael Nielsen >>>> wrote: >>>> >>>>> I'm running FreeSWITCH >>>>> >>>>> In my log I get Action set(ringback=/etc/freeswitch/ringback.mp3) and >>>>> also, later on: >>>>> >>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1274 Raw >>>>> Codec Activation Success L16 at 8000hz 1 channel 20ms >>>>> >>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_core_codec.c:221 >>>>> sofia/external/+4454443356778 at my-domain.pstn.twilio.com Push codec >>>>> L16:100 >>>>> >>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1306 Play >>>>> Ringback File [/etc/freeswitch/ringback.mp3] >>>>> >>>>> 2015-12-08 10:20:00.539190 [WARNING] switch_core_file.c:341 File has 2 >>>>> channels, muxing to 1 channel will occur. >>>>> >>>>> 2015-12-08 10:20:00.699194 [DEBUG] switch_rtp.c:6640 Correct audio >>>>> ip/port confirmed. >>>>> >>>>> >>>>> However, there is no sound in my real GSM phone when waiting for >>>>> answer. Just silence. >>>>> >>>>> On Mon, Dec 7, 2015 at 10:21 PM, Brian West >>>>> wrote: >>>>> >>>>>> I can't replicate the behavior you're describing, can you give me a >>>>>> few more details? What REV of FreeSWITCH are you running? >>>>>> >>>>>> On Mon, Dec 7, 2015 at 2:41 PM, Michael Nielsen >>>>> > wrote: >>>>>> >>>>>>> Yes. >>>>>>> When I put instant_ringback on it seems >>>>>>> to be silent when ringing - but when I hang up in one end the music >>>>>>> actually starts in the other end. Kind of weird. >>>>>>> Putting ignore_early_media makes the music play less than a seconds >>>>>>> at first and then normal ringtone... >>>>>>> >>>>>>> >>>>>>> On Monday, December 7, 2015, Denis Papes >>>>>>> wrote: >>>>>>> >>>>>>>> Did you load mod_shout? >>>>>>>> >>>>>>>> >>>>>>>> On 12/07/2015 07:52 PM, Michael Nielsen wrote: >>>>>>>> >>>>>>>> If I remove my ringback-variable I do get a normal ringtone. >>>>>>>> So I guess it's something with my file perhaps - or...? >>>>>>>> >>>>>>>> On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < >>>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>>> >>>>>>>>> Make sure you add {ignore_early_media=true} to dial string and >>>>>>>>> possibly also {instant_ringback=true} if your call does not get any ringing >>>>>>>>> indication. (180 183 etc) or is not SIP. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen < >>>>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> I'm trying to add a custom ringback tone on my FreeSWITCH server. >>>>>>>>>> >>>>>>>>>> I've created a .mp3 file and added: >>>>>>>>>> >>>>>>>>>> >>>>>>>>> data="ringback=/home/user/ringback.mp3"/> >>>>>>>>>> >>>>>>>>>> However, when trying to call, there's just silence... >>>>>>>>>> >>>>>>>>>> Should the format be different, and if so how do I convert this? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>>>>>> >>>>>>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>>>>>> http://twitter.com/FreeSWITCH >>>>>>>>> ? irc.freenode.net #freeswitch ? * >>>>>>>>> http://freeswitch.org/g+ >>>>>>>>> * >>>>>>>>> >>>>>>>>> ClueCon Weekly Development Call >>>>>>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>>>>>> >>>>>>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>>>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Brian West* >>>>>> brian at freeswitch.org >>>>>> >>>>>> >>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>> http://www.freeswitchbook.com >>>>>> http://www.freeswitchcookbook.com >>>>>> >>>>>> Got Bugs? Report them here ! | Reddit: >>>>>> /r/freeswitch >>>>>> >>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/288dcd4c/attachment-0001.html From ssinyagin at gmail.com Tue Dec 8 17:02:40 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 8 Dec 2015 15:02:40 +0100 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> Message-ID: install hipchat application to your desktop or your phone, and login to hipchat.freeswitch.org wit your jira account On Tue, Dec 8, 2015 at 2:34 PM, Victor Medina wrote: > How do I join? > > 2015-12-07 12:50 GMT-04:30 Ken Rice : > >> Unsubscribe instructions are linked in the footer of every email to the >> list. >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Paul Klenk >> *Sent:* Monday, December 7, 2015 11:02 AM >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >> >> >> >> unsubscribe >> >> >> >> On Mon, Dec 7, 2015 at 5:57 PM, Brian West wrote: >> >> FreeSWITCHers, >> >> >> >> FS-8609 is raised to get a rough outline of a completely new config >> sample that will be used in 1.8, So we are reaching out to the community >> for input and direction, I have also created a hipchat room FS-8609 on >> hipchat.freeswitch.org if you wish to join in. Lets start the >> discussion on this topic. >> >> >> >> Thanks, >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > > > V?ctor E. Medina M. > Platform Architect / Chief Infrastructure > +58424 291 4561 > BB #79A8AFA2 > @VMCibersys > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/5aa20749/attachment.html From ssinyagin at gmail.com Tue Dec 8 17:07:20 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 8 Dec 2015 15:07:20 +0100 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: with any public VM hosting, regardless of the hypervisor type, you get unpredictable CPU resource available for sending out RTP streams. That causes random jitter or packet loss, especially if you have many parallel calls. I moved my own PBX from a public Xen hosting to Scaleway, and I'm significantly more happy with the voice quality, even that the distance is higher (round-trip delay increased from few milliseconds to 25ms because of geographical distance). On Tue, Dec 8, 2015 at 12:07 PM, Olgierd Ziolko wrote: > Millionth thanks for that. > I have my test instance (1.6.0-4~64bit) on Debian Jesse running on Xen and I > experience some jitter and voice deformation issues (vm is pretty powerful > for single call to 3x00 number (made over pretty fast route)), I have also > that nice gem in scaleway (on Jesse as well, but I probably have to try it > on Centos) and it seems to be promising. > > Best regards, > O. > > On 30 November 2015 at 16:27, Stanislav Sinyagin > wrote: >> >> hi, >> >> I put together the build scenario that I tested for ARM (armhf at >> scaleway.com), and it should also work for other architectures: >> >> >> https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other+architectures >> >> It will be great if someone tests them on other architectures too. >> >> >> cheers, >> stanislav >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From mic.niel84 at gmail.com Tue Dec 8 17:15:26 2015 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Tue, 8 Dec 2015 15:15:26 +0100 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: <5665EA2E.5090508@gmail.com> Message-ID: I did convert to 8khz mono wav. No change. On Tuesday, December 8, 2015, Luis Daniel Lucio Quiroz < luis.daniel.lucio at gmail.com> wrote: > Sounds nice a cussed problem. > > First, convert your sound to wav, mono, 8khz > You will offload FreeSWITCH and retry > Le 8 d?c. 2015 7:46 AM, "Michael Nielsen" > a ?crit : > >> Yes. For ringback music. When answering sound is there. >> >> On Tuesday, December 8, 2015, Sergey Safarov > > wrote: >> >>> Silence on leg connected via Twilio? >>> >>> On Tue, Dec 8, 2015 at 1:49 PM, Michael Nielsen >>> wrote: >>> >>>> Hi, >>>> >>>> I found out that it's only when there's an external sip trunk in use >>>> (Twilio in this case) that there's silence. >>>> Between subscribers directly connected to FS it works. >>>> >>>> On Tue, Dec 8, 2015 at 11:25 AM, Michael Nielsen >>>> wrote: >>>> >>>>> I'm running FreeSWITCH >>>>> >>>>> In my log I get Action set(ringback=/etc/freeswitch/ringback.mp3) and >>>>> also, later on: >>>>> >>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1274 Raw >>>>> Codec Activation Success L16 at 8000hz 1 channel 20ms >>>>> >>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_core_codec.c:221 >>>>> sofia/external/+4454443356778 at my-domain.pstn.twilio.com Push codec >>>>> L16:100 >>>>> >>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1306 Play >>>>> Ringback File [/etc/freeswitch/ringback.mp3] >>>>> >>>>> 2015-12-08 10:20:00.539190 [WARNING] switch_core_file.c:341 File has 2 >>>>> channels, muxing to 1 channel will occur. >>>>> >>>>> 2015-12-08 10:20:00.699194 [DEBUG] switch_rtp.c:6640 Correct audio >>>>> ip/port confirmed. >>>>> >>>>> >>>>> However, there is no sound in my real GSM phone when waiting for >>>>> answer. Just silence. >>>>> >>>>> On Mon, Dec 7, 2015 at 10:21 PM, Brian West >>>>> wrote: >>>>> >>>>>> I can't replicate the behavior you're describing, can you give me a >>>>>> few more details? What REV of FreeSWITCH are you running? >>>>>> >>>>>> On Mon, Dec 7, 2015 at 2:41 PM, Michael Nielsen >>>>> > wrote: >>>>>> >>>>>>> Yes. >>>>>>> When I put instant_ringback on it seems >>>>>>> to be silent when ringing - but when I hang up in one end the music >>>>>>> actually starts in the other end. Kind of weird. >>>>>>> Putting ignore_early_media makes the music play less than a seconds >>>>>>> at first and then normal ringtone... >>>>>>> >>>>>>> >>>>>>> On Monday, December 7, 2015, Denis Papes >>>>>>> wrote: >>>>>>> >>>>>>>> Did you load mod_shout? >>>>>>>> >>>>>>>> >>>>>>>> On 12/07/2015 07:52 PM, Michael Nielsen wrote: >>>>>>>> >>>>>>>> If I remove my ringback-variable I do get a normal ringtone. >>>>>>>> So I guess it's something with my file perhaps - or...? >>>>>>>> >>>>>>>> On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < >>>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>>> >>>>>>>>> Make sure you add {ignore_early_media=true} to dial string and >>>>>>>>> possibly also {instant_ringback=true} if your call does not get any ringing >>>>>>>>> indication. (180 183 etc) or is not SIP. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen < >>>>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> I'm trying to add a custom ringback tone on my FreeSWITCH server. >>>>>>>>>> >>>>>>>>>> I've created a .mp3 file and added: >>>>>>>>>> >>>>>>>>>> >>>>>>>>> data="ringback=/home/user/ringback.mp3"/> >>>>>>>>>> >>>>>>>>>> However, when trying to call, there's just silence... >>>>>>>>>> >>>>>>>>>> Should the format be different, and if so how do I convert this? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>>>>>> >>>>>>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>>>>>> http://twitter.com/FreeSWITCH >>>>>>>>> ? irc.freenode.net #freeswitch ? * >>>>>>>>> http://freeswitch.org/g+ >>>>>>>>> * >>>>>>>>> >>>>>>>>> ClueCon Weekly Development Call >>>>>>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>>>>>> >>>>>>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>>>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Brian West* >>>>>> brian at freeswitch.org >>>>>> >>>>>> >>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>> http://www.freeswitchbook.com >>>>>> http://www.freeswitchcookbook.com >>>>>> >>>>>> Got Bugs? Report them here ! | Reddit: >>>>>> /r/freeswitch >>>>>> >>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/3d4180e2/attachment-0001.html From mic.niel84 at gmail.com Tue Dec 8 17:18:49 2015 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Tue, 8 Dec 2015 15:18:49 +0100 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: <5665EA2E.5090508@gmail.com> Message-ID: I did try with Didn't change much. However, in some cases it was silence until hangup, and then music did start. Weird. On Tue, Dec 8, 2015 at 2:37 PM, Sergey Safarov wrote: > Try send ringing before early media. > > On Tue, Dec 8, 2015, 16:22 Luis Daniel Lucio Quiroz < > luis.daniel.lucio at gmail.com> wrote: > >> Sounds nice a cussed problem. >> >> First, convert your sound to wav, mono, 8khz >> You will offload FreeSWITCH and retry >> Le 8 d?c. 2015 7:46 AM, "Michael Nielsen" a >> ?crit : >> >>> Yes. For ringback music. When answering sound is there. >>> >>> On Tuesday, December 8, 2015, Sergey Safarov >>> wrote: >>> >>>> Silence on leg connected via Twilio? >>>> >>>> On Tue, Dec 8, 2015 at 1:49 PM, Michael Nielsen >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I found out that it's only when there's an external sip trunk in use >>>>> (Twilio in this case) that there's silence. >>>>> Between subscribers directly connected to FS it works. >>>>> >>>>> On Tue, Dec 8, 2015 at 11:25 AM, Michael Nielsen >>>> > wrote: >>>>> >>>>>> I'm running FreeSWITCH >>>>>> >>>>>> In my log I get Action set(ringback=/etc/freeswitch/ringback.mp3) and >>>>>> also, later on: >>>>>> >>>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1274 Raw >>>>>> Codec Activation Success L16 at 8000hz 1 channel 20ms >>>>>> >>>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_core_codec.c:221 >>>>>> sofia/external/+4454443356778 at my-domain.pstn.twilio.com Push codec >>>>>> L16:100 >>>>>> >>>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1306 Play >>>>>> Ringback File [/etc/freeswitch/ringback.mp3] >>>>>> >>>>>> 2015-12-08 10:20:00.539190 [WARNING] switch_core_file.c:341 File has >>>>>> 2 channels, muxing to 1 channel will occur. >>>>>> >>>>>> 2015-12-08 10:20:00.699194 [DEBUG] switch_rtp.c:6640 Correct audio >>>>>> ip/port confirmed. >>>>>> >>>>>> >>>>>> However, there is no sound in my real GSM phone when waiting for >>>>>> answer. Just silence. >>>>>> >>>>>> On Mon, Dec 7, 2015 at 10:21 PM, Brian West >>>>>> wrote: >>>>>> >>>>>>> I can't replicate the behavior you're describing, can you give me a >>>>>>> few more details? What REV of FreeSWITCH are you running? >>>>>>> >>>>>>> On Mon, Dec 7, 2015 at 2:41 PM, Michael Nielsen < >>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>> >>>>>>>> Yes. >>>>>>>> When I put instant_ringback on it seems >>>>>>>> to be silent when ringing - but when I hang up in one end the music >>>>>>>> actually starts in the other end. Kind of weird. >>>>>>>> Putting ignore_early_media makes the music play less than a seconds >>>>>>>> at first and then normal ringtone... >>>>>>>> >>>>>>>> >>>>>>>> On Monday, December 7, 2015, Denis Papes >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Did you load mod_shout? >>>>>>>>> >>>>>>>>> >>>>>>>>> On 12/07/2015 07:52 PM, Michael Nielsen wrote: >>>>>>>>> >>>>>>>>> If I remove my ringback-variable I do get a normal ringtone. >>>>>>>>> So I guess it's something with my file perhaps - or...? >>>>>>>>> >>>>>>>>> On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < >>>>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Make sure you add {ignore_early_media=true} to dial string and >>>>>>>>>> possibly also {instant_ringback=true} if your call does not get any ringing >>>>>>>>>> indication. (180 183 etc) or is not SIP. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen < >>>>>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Hi, >>>>>>>>>>> >>>>>>>>>>> I'm trying to add a custom ringback tone on my FreeSWITCH server. >>>>>>>>>>> >>>>>>>>>>> I've created a .mp3 file and added: >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> data="ringback=/home/user/ringback.mp3"/> >>>>>>>>>>> >>>>>>>>>>> However, when trying to call, there's just silence... >>>>>>>>>>> >>>>>>>>>>> Should the format be different, and if so how do I convert this? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>> >>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>>>>>>> >>>>>>>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>>>>>>> http://twitter.com/FreeSWITCH >>>>>>>>>> ? irc.freenode.net #freeswitch ? * >>>>>>>>>> http://freeswitch.org/g+ >>>>>>>>>> * >>>>>>>>>> >>>>>>>>>> ClueCon Weekly Development Call >>>>>>>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>>>>>>> >>>>>>>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>>>>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> *Brian West* >>>>>>> brian at freeswitch.org >>>>>>> >>>>>>> >>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>> http://www.freeswitchbook.com >>>>>>> http://www.freeswitchcookbook.com >>>>>>> >>>>>>> Got Bugs? Report them here ! | Reddit: >>>>>>> /r/freeswitch >>>>>>> >>>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/374a2bbe/attachment-0001.html From shabbirabbasi92 at gmail.com Tue Dec 8 17:56:20 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Tue, 8 Dec 2015 19:56:20 +0500 Subject: [Freeswitch-users] how to start dtmf timeout countdown after last digit in javascript Message-ID: i am trying to make an javascripot ivr and collecting user input , but during collection session.collectInput( mycb, dtmf, timeout ); gets timeout and returns 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 collect_user_input i want that timeout gets started countdown after last digit pressed how to solve this ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/58c6c371/attachment.html From brian at freeswitch.org Tue Dec 8 19:59:14 2015 From: brian at freeswitch.org (Brian West) Date: Tue, 8 Dec 2015 10:59:14 -0600 Subject: [Freeswitch-users] how to start dtmf timeout countdown after last digit in javascript In-Reply-To: References: Message-ID: Why aren't you using the "read" application to just do all this mess for you? On Tue, Dec 8, 2015 at 8:56 AM, Shabbir abbasi wrote: > i am trying to make an javascripot ivr and collecting user input , > but during collection session.collectInput( mycb, dtmf, timeout ); > gets timeout and returns > > > > 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 collect_user_input > > > > > i want that timeout gets started countdown after last digit pressed > how to solve this ? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/27f84da8/attachment.html From krice at freeswitch.org Tue Dec 8 20:25:36 2015 From: krice at freeswitch.org (Ken Rice) Date: Tue, 08 Dec 2015 17:25:36 +0000 Subject: [Freeswitch-users] =?utf-8?q?FreeSWITCH_Week_in_Review_=28Master_?= =?utf-8?q?Branch=29_November_28th_=E2=80=93_December_5th?= Message-ID: <5667129071930_44f5acf3289679a@resque-worker.14.mail> New Post on freeswitch.org from Kathleen King check it out at http://ift.tt/1IS2zbI FreeSWITCH Week in Review (Master Branch) November 28th ? December 5th Our features this week include: improvements to the auto bitrate features in mod_conference, the addition of the Debian install script for?the verto communicator, and separate controls for gain and volume for verto. Join us?Wednesdays at 12:00 CT for some more FreeSWITCH fun! This week we have Tsahi Levent-Levi talking about WebRTC! And head over to freeswitch.com to learn more about FreeSWITCH support. New features that were added: FS-8595 [mod_conference] Improve auto bitrate in personal canvas mode and do not let auto bitrate exceed native picture size Improvements in build system, cross platform support, and packaging: FS-8614 [verto_communicator] Add Debian developers install script and update README.md to reference it The following bugs were squashed: FS-8585 [mod_commands] Expanded {} and <> to [] for each dial string in group_call to allow for multiple device registrations for the same user FS-8589 [mod_conference] Fixed using conference playback with full-screen=true not working correctly FS-8354 [mod_conference] Fixed G722 audio issues with mod_conference caused by previous commit fab43547 FS-8602 [mod_conference] Fixed conference not auto-generating layouts properly when callers with no camera are present FS-8615 [mod_conference] Fixed a crash when quickly changing layouts and setting reservation ids FS-8588 [mod_httapi] Fixed a crash found while fixing unreliable digit collection FS-8599 [verto] Removed a workaround for Mozilla that is no longer needed for video size FS-8590 [verto_communicator] Fixed sending malformed vid-res-id command when changing layouts by treating?no res-id the same as clear FS-8612?[core] Fixed a rare IVR originated calls crash due to read codec leak FS-8619 [mod_rayo] Reply with conflict stanza error if bind is attempted with duplicate JID. Improve error handling when ?ready? callback fails. The FreeSWITCH 1.4 branch had a couple of?bug fixes back ported. And again, keep in mind that 1.4 is quickly moving toward end of life and won?t be supported any longer except for high level security issues. The following bugs were squashed: FS-8582 [mod_httapi] Fixed a crashed caused by null URL being passed ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/e48a7626/attachment.html From krice at freeswitch.org Tue Dec 8 20:25:41 2015 From: krice at freeswitch.org (Ken Rice) Date: Tue, 08 Dec 2015 17:25:41 +0000 Subject: [Freeswitch-users] The FreeSWITCH project and Static Analysis Message-ID: <566712951f0a5_44f5acf328970bd@resque-worker.14.mail> New Post on freeswitch.org from Kathleen King check it out at http://ift.tt/1R7Yh7U The FreeSWITCH project and Static Analysis The FreeSWITCH project is nearly ten years old, and the FreeSWITCH git repo has commits from about 214 different authors and over 3.2 million lines of code with 875k of those lines under the src directory. Some of the maintenance challenges associated with such a large software project include: detecting and resolving human errors such as typos, logic inversions, and dangerous formatting. Implementing code review is a must, and there are different techniques common to the industry used to reduce the defect density and standardize the code format: autobuilding against multiple compilers, routine testing, and static code analysis. The core development team at FreeSWITCH uses all three techniques. Both autobuilding and routine testing can be applied with in-house system workflows. Routinely building the packages against different compilers allows for consistent tracking to make sure additional commits won?t break existing code in any of the prepackaged builds. This also allows for consistent handling of packages for multiple operating systems. By autobuilding against different compilers, we can make sure that a commit for one set of packages doesn?t break the builds for the others. Routine testing is another viable option for code review, and routinely testing and implementing a bug tracking system allows the community members to report bugs found in unique environmental circumstances. Open-source software relies on many different eyes to keep bugs shallow, and this practice opens up different configurations and applications of the software for a more thorough testing. Each year hundreds of tickets are opened on the FreeSWITCH project JIRA, and the developers work tirelessly to address all of them. Static analyzers can scan thousands to millions of lines of code without getting tired and usually don?t require many manual steps to run. The relationship between a project?s developers and the creators of a static code analyzer can be a symbiotic one. The analyzer works by using a database of multiple tiers of positive and negative heuristics. First, it runs the low cost patterns against the entire code base to generate a large list of possible issues, then runs more accurate and higher cost patterns against the bug candidates to reduce the number of false positives, and finally evaluates the severity and more accurately classifies the issues. Once the analyzer has completed its run, it requires an experienced software developer familiar with the code base to review each issue reported. Most static analyzers are built to report possible candidates in the first pass, and thus immature analyzers are perceived to red flag everything. They tend to create a lot of noise by reporting a large number of false positives and misclassifying the severity of issues. After the developers for the software being analyzed have reviewed the results of the analysis, they can give specific examples of why they determined it to be a false positive which can be used to improve the static analyzer?s heuristics. As the database matures, the quality of the negative heuristics improves and reduces the volume of false positives. The advantage here is that each report triaged leads to a commit resolving a bug or an improvement to the analyzer. The team over at Program Verification Systems have built a static analyzer for C/C++ code that integrates into Microsoft Visual Studio. According to their website, the program allows the user to scan of lines of code to locate various typos and other errors. Their analyzer supports C/C++, C++/CLI, and C++/CX with support for C# language coming soon. The PVS-Studio is also available as a standalone utility through the distribution packages which allows for viewing the analysis logs on a machine without Visual Studio. It can also be used to track multiple sub-builds and analyze non-standard build systems. The reports for the open-source projects that have been analyzed with this software can be found on their website in the Checked Projects section. The FreeSWITCH team ran the open-source FreeSWITCH project through the PVS analyzer. A decent majority of the issues reviewed were determined to be minor Windows-specific bugs not previously flagged by compilers currently implemented by the team. The team is continuing to review and resolve the alerts from the analysis and have integrated this analyzer into the code review workflow. They look forward to continuing this symbiotic relationship with the goal of improving the quality of software. If you would like to replicate the results you can use the following steps. Set up an instance of Microsoft Windows 10, install Microsoft Visual Studio 2015, and?install the analyzer from the http://ift.tt/1R7WpMh website. Create a new FreeSWITCH project. Clone?the FreeSWITCH repo into your project. Open the FreeSWITCH project. Set the debug to ?x64? if not already set. Click the PVS studio drop down box and select ?check solution? to run the analyzer. Settle in and wait for the results. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/c44a6018/attachment-0001.html From brian at freeswitch.org Tue Dec 8 22:36:09 2015 From: brian at freeswitch.org (Brian West) Date: Tue, 8 Dec 2015 13:36:09 -0600 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: <5665EA2E.5090508@gmail.com> Message-ID: you put that inside the {} on the bridge line. <*extension* name="wait"> <*extension* name="ringback_183_music_ring"> And NO mp3 probably doesn't matter, as long as you have sufficient CPU, which why can't you in this day and age? On Tue, Dec 8, 2015 at 8:18 AM, Michael Nielsen wrote: > I did try with > > > > > Didn't change much. However, in some cases it was silence until hangup, > and then music did start. Weird. > > On Tue, Dec 8, 2015 at 2:37 PM, Sergey Safarov > wrote: > >> Try send ringing before early media. >> >> On Tue, Dec 8, 2015, 16:22 Luis Daniel Lucio Quiroz < >> luis.daniel.lucio at gmail.com> wrote: >> >>> Sounds nice a cussed problem. >>> >>> First, convert your sound to wav, mono, 8khz >>> You will offload FreeSWITCH and retry >>> Le 8 d?c. 2015 7:46 AM, "Michael Nielsen" a >>> ?crit : >>> >>>> Yes. For ringback music. When answering sound is there. >>>> >>>> On Tuesday, December 8, 2015, Sergey Safarov >>>> wrote: >>>> >>>>> Silence on leg connected via Twilio? >>>>> >>>>> On Tue, Dec 8, 2015 at 1:49 PM, Michael Nielsen >>>>> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I found out that it's only when there's an external sip trunk in use >>>>>> (Twilio in this case) that there's silence. >>>>>> Between subscribers directly connected to FS it works. >>>>>> >>>>>> On Tue, Dec 8, 2015 at 11:25 AM, Michael Nielsen < >>>>>> mic.niel84 at gmail.com> wrote: >>>>>> >>>>>>> I'm running FreeSWITCH >>>>>>> >>>>>>> In my log I get Action set(ringback=/etc/freeswitch/ringback.mp3) >>>>>>> and also, later on: >>>>>>> >>>>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1274 Raw >>>>>>> Codec Activation Success L16 at 8000hz 1 channel 20ms >>>>>>> >>>>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_core_codec.c:221 >>>>>>> sofia/external/+4454443356778 at my-domain.pstn.twilio.com Push codec >>>>>>> L16:100 >>>>>>> >>>>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1306 Play >>>>>>> Ringback File [/etc/freeswitch/ringback.mp3] >>>>>>> >>>>>>> 2015-12-08 10:20:00.539190 [WARNING] switch_core_file.c:341 File has >>>>>>> 2 channels, muxing to 1 channel will occur. >>>>>>> >>>>>>> 2015-12-08 10:20:00.699194 [DEBUG] switch_rtp.c:6640 Correct audio >>>>>>> ip/port confirmed. >>>>>>> >>>>>>> >>>>>>> However, there is no sound in my real GSM phone when waiting for >>>>>>> answer. Just silence. >>>>>>> >>>>>>> On Mon, Dec 7, 2015 at 10:21 PM, Brian West >>>>>>> wrote: >>>>>>> >>>>>>>> I can't replicate the behavior you're describing, can you give me a >>>>>>>> few more details? What REV of FreeSWITCH are you running? >>>>>>>> >>>>>>>> On Mon, Dec 7, 2015 at 2:41 PM, Michael Nielsen < >>>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>>> >>>>>>>>> Yes. >>>>>>>>> When I put instant_ringback on it seems >>>>>>>>> to be silent when ringing - but when I hang up in one end the >>>>>>>>> music actually starts in the other end. Kind of weird. >>>>>>>>> Putting ignore_early_media makes the music play less than a >>>>>>>>> seconds at first and then normal ringtone... >>>>>>>>> >>>>>>>>> >>>>>>>>> On Monday, December 7, 2015, Denis Papes >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Did you load mod_shout? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On 12/07/2015 07:52 PM, Michael Nielsen wrote: >>>>>>>>>> >>>>>>>>>> If I remove my ringback-variable I do get a normal ringtone. >>>>>>>>>> So I guess it's something with my file perhaps - or...? >>>>>>>>>> >>>>>>>>>> On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < >>>>>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Make sure you add {ignore_early_media=true} to dial string and >>>>>>>>>>> possibly also {instant_ringback=true} if your call does not get any ringing >>>>>>>>>>> indication. (180 183 etc) or is not SIP. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen < >>>>>>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>>>>>> I'm trying to add a custom ringback tone on my FreeSWITCH >>>>>>>>>>>> server. >>>>>>>>>>>> >>>>>>>>>>>> I've created a .mp3 file and added: >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> data="ringback=/home/user/ringback.mp3"/> >>>>>>>>>>>> >>>>>>>>>>>> However, when trying to call, there's just silence... >>>>>>>>>>>> >>>>>>>>>>>> Should the format be different, and if so how do I convert this? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>>> >>>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>>> >>>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>>>>>>>> >>>>>>>>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>>>>>>>> http://twitter.com/FreeSWITCH >>>>>>>>>>> ? irc.freenode.net #freeswitch ? * >>>>>>>>>>> http://freeswitch.org/g+ >>>>>>>>>>> * >>>>>>>>>>> >>>>>>>>>>> ClueCon Weekly Development Call >>>>>>>>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>>>>>>>> >>>>>>>>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>>>>>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>> >>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> *Brian West* >>>>>>>> brian at freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>> http://www.freeswitchbook.com >>>>>>>> http://www.freeswitchcookbook.com >>>>>>>> >>>>>>>> Got Bugs? Report them here ! | >>>>>>>> Reddit: /r/freeswitch >>>>>>>> >>>>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/f962ac8d/attachment-0001.html From brian at freeswitch.org Tue Dec 8 23:24:00 2015 From: brian at freeswitch.org (Brian West) Date: Tue, 8 Dec 2015 14:24:00 -0600 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> Message-ID: I've started jotting down some notes: https://docs.google.com/document/d/1Y7IN7wXU28Eu3T4DUDvIwI8O77V2PW5oT-V-7GYPNN8/edit?usp=sharing Input anyone? On Tue, Dec 8, 2015 at 8:02 AM, Stanislav Sinyagin wrote: > install hipchat application to your desktop or your phone, and login to > hipchat.freeswitch.org wit your jira account > > > > On Tue, Dec 8, 2015 at 2:34 PM, Victor Medina > wrote: > >> How do I join? >> >> 2015-12-07 12:50 GMT-04:30 Ken Rice : >> >>> Unsubscribe instructions are linked in the footer of every email to the >>> list. >>> >>> >>> >>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Paul Klenk >>> *Sent:* Monday, December 7, 2015 11:02 AM >>> *To:* FreeSWITCH Users Help >>> *Subject:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >>> >>> >>> >>> unsubscribe >>> >>> >>> >>> On Mon, Dec 7, 2015 at 5:57 PM, Brian West wrote: >>> >>> FreeSWITCHers, >>> >>> >>> >>> FS-8609 is raised to get a rough outline of a completely new config >>> sample that will be used in 1.8, So we are reaching out to the community >>> for input and direction, I have also created a hipchat room FS-8609 on >>> hipchat.freeswitch.org if you wish to join in. Lets start the >>> discussion on this topic. >>> >>> >>> >>> Thanks, >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> Got Bugs? Report them here ! | Reddit: >>> /r/freeswitch >>> >>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> >> >> V?ctor E. Medina M. >> Platform Architect / Chief Infrastructure >> +58424 291 4561 >> BB #79A8AFA2 >> @VMCibersys >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/e7a698e2/attachment.html From mgg at giagnocavo.net Wed Dec 9 08:46:14 2015 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Wed, 9 Dec 2015 05:46:14 +0000 Subject: [Freeswitch-users] The FreeSWITCH project and Static Analysis In-Reply-To: <566712951f0a5_44f5acf328970bd@resque-worker.14.mail> References: <566712951f0a5_44f5acf328970bd@resque-worker.14.mail> Message-ID: How did PVS fare against MSVC?s /analyze? I?d also be rather suspicious if in those 3.2m or 875k lines only generated some minor Windows-only bugs. What about the results from e.g. Coverity? -Michael From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice Sent: Tuesday, 8 December, 2015 11:26 To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] The FreeSWITCH project and Static Analysis New Post on freeswitch.org from Kathleen King check it out at http://ift.tt/1R7Yh7U The FreeSWITCH project and Static Analysis The FreeSWITCH project is nearly ten years old, and the FreeSWITCH git repo has commits from about 214 different authors and over 3.2 million lines of code with 875k of those lines under the src directory. Some of the maintenance challenges associated with such a large software project include: detecting and resolving human errors such as typos, logic inversions, and dangerous formatting. Implementing code review is a must, and there are different techniques common to the industry used to reduce the defect density and standardize the code format: autobuilding against multiple compilers, routine testing, and static code analysis. The core development team at FreeSWITCH uses all three techniques. Both autobuilding and routine testing can be applied with in-house system workflows. Routinely building the packages against different compilers allows for consistent tracking to make sure additional commits won?t break existing code in any of the prepackaged builds. This also allows for consistent handling of packages for multiple operating systems. By autobuilding against different compilers, we can make sure that a commit for one set of packages doesn?t break the builds for the others. Routine testing is another viable option for code review, and routinely testing and implementing a bug tracking system allows the community members to report bugs found in unique environmental circumstances. Open-source software relies on many different eyes to keep bugs shallow, and this practice opens up different configurations and applications of the software for a more thorough testing. Each year hundreds of tickets are opened on the FreeSWITCH project JIRA, and the developers work tirelessly to address all of them. Static analyzers can scan thousands to millions of lines of code without getting tired and usually don?t require many manual steps to run. The relationship between a project?s developers and the creators of a static code analyzer can be a symbiotic one. The analyzer works by using a database of multiple tiers of positive and negative heuristics. First, it runs the low cost patterns against the entire code base to generate a large list of possible issues, then runs more accurate and higher cost patterns against the bug candidates to reduce the number of false positives, and finally evaluates the severity and more accurately classifies the issues. Once the analyzer has completed its run, it requires an experienced software developer familiar with the code base to review each issue reported. Most static analyzers are built to report possible candidates in the first pass, and thus immature analyzers are perceived to red flag everything. They tend to create a lot of noise by reporting a large number of false positives and misclassifying the severity of issues. After the developers for the software being analyzed have reviewed the results of the analysis, they can give specific examples of why they determined it to be a false positive which can be used to improve the static analyzer?s heuristics. As the database matures, the quality of the negative heuristics improves and reduces the volume of false positives. The advantage here is that each report triaged leads to a commit resolving a bug or an improvement to the analyzer. The team over at Program Verification Systems have built a static analyzer for C/C++ code that integrates into Microsoft Visual Studio. According to their website, the program allows the user to scan of lines of code to locate various typos and other errors. Their analyzer supports C/C++, C++/CLI, and C++/CX with support for C# language coming soon. The PVS-Studio is also available as a standalone utility through the distribution packages which allows for viewing the analysis logs on a machine without Visual Studio. It can also be used to track multiple sub-builds and analyze non-standard build systems. The reports for the open-source projects that have been analyzed with this software can be found on their website in the Checked Projects<%22http:/ift.tt/1dJEvHW> section. The FreeSWITCH team ran the open-source FreeSWITCH project through the PVS analyzer. A decent majority of the issues reviewed were determined to be minor Windows-specific bugs not previously flagged by compilers currently implemented by the team. The team is continuing to review and resolve the alerts from the analysis and have integrated this analyzer into the code review workflow. They look forward to continuing this symbiotic relationship with the goal of improving the quality of software. If you would like to replicate the results you can use the following steps. * Set up an instance of Microsoft Windows 10, install Microsoft Visual Studio 2015, and install the analyzer from the http://ift.tt/1R7WpMh website. [(1)MSVS_open] * Create a new FreeSWITCH project. [(2)Create_project] * Clone the FreeSWITCH repo into your project. [(3)Clone] * Open the FreeSWITCH project. [(4)Load_project] * Set the debug to ?x64? if not already set. [(5)Change_debug] * Click the PVS studio drop down box and select ?check solution? to run the analyzer. [(6)Run_PVS] * Settle in and wait for the results. [(7)Final] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151209/e4cf2e91/attachment-0001.html From shabbirabbasi92 at gmail.com Wed Dec 9 09:06:52 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Wed, 9 Dec 2015 11:06:52 +0500 Subject: [Freeswitch-users] git clone returning 400 Message-ID: i am trying a pull request , i have enabled public access, i have read instructions here https://freeswitch.org/confluence/display/FREESWITCH/Pull+Requests but whe i tried git clone https://shabbirabbasi92 at stash.freeswitch.org/scm/shabbirabbasi92/freeswitch.git Cloning into 'freeswitch'... fatal: unable to access ' https://shabbirabbasi92 at stash.freeswitch.org/scm/shabbirabbasi92/freeswitch.git/': The requested URL returned error: 400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151209/a15611b6/attachment.html From krice at freeswitch.org Wed Dec 9 10:29:25 2015 From: krice at freeswitch.org (Ken Rice) Date: Wed, 9 Dec 2015 01:29:25 -0600 Subject: [Freeswitch-users] git clone returning 400 In-Reply-To: References: Message-ID: <321701d13253$556aec00$0040c400$@freeswitch.org> Check the url to git clone https://YOUR_USERNAME at freeswitch.org/stash/scm/~YOUR_USERNAME/freeswitch.git its been fixed on the wiki From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shabbir abbasi Sent: Wednesday, December 9, 2015 12:07 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] git clone returning 400 i am trying a pull request , i have enabled public access, i have read instructions here https://freeswitch.org/confluence/display/FREESWITCH/Pull+Requests but whe i tried git clone https://shabbirabbasi92 at stash.freeswitch.org/scm/shabbirabbasi92/freeswitch.git Cloning into 'freeswitch'... fatal: unable to access 'https://shabbirabbasi92 at stash.freeswitch.org/scm/shabbirabbasi92/freeswitch.git/': The requested URL returned error: 400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151209/a3a72cde/attachment.html From shabbirabbasi92 at gmail.com Wed Dec 9 12:08:02 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Wed, 9 Dec 2015 14:08:02 +0500 Subject: [Freeswitch-users] git clone returning 400 In-Reply-To: <321701d13253$556aec00$0040c400$@freeswitch.org> References: <321701d13253$556aec00$0040c400$@freeswitch.org> Message-ID: now i was working on cloned with git clone https://freeswitch.org/stash/scm/~shabbirabbasi92/freeswitch.git but now my /usr/src/freeswitch has been lost there is nothing /usr/src/ ? On Wed, Dec 9, 2015 at 12:29 PM, Ken Rice wrote: > Check the url to > > git clone > https://YOUR_USERNAME at freeswitch.org/stash/scm/~YOUR_USERNAME/freeswitch.git > > > > its been fixed on the wiki > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Shabbir > abbasi > *Sent:* Wednesday, December 9, 2015 12:07 AM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] git clone returning 400 > > > > i am trying a pull request , i have enabled public access, i have read > instructions here > https://freeswitch.org/confluence/display/FREESWITCH/Pull+Requests > > > > but whe i tried > > > > git clone > https://shabbirabbasi92 at stash.freeswitch.org/scm/shabbirabbasi92/freeswitch.git > > Cloning into 'freeswitch'... > > fatal: unable to access ' > https://shabbirabbasi92 at stash.freeswitch.org/scm/shabbirabbasi92/freeswitch.git/': > The requested URL returned error: 400 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151209/87b59866/attachment.html From shabbirabbasi92 at gmail.com Wed Dec 9 12:15:15 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Wed, 9 Dec 2015 14:15:15 +0500 Subject: [Freeswitch-users] git clone returning 400 In-Reply-To: References: <321701d13253$556aec00$0040c400$@freeswitch.org> Message-ID: i have backup of my work but i want to know why a whole freeswitch directory has been not there , i have not deleted that dir , why it happens ? On Wed, Dec 9, 2015 at 2:08 PM, Shabbir abbasi wrote: > now i was working on cloned with git clone > https://freeswitch.org/stash/scm/~shabbirabbasi92/freeswitch.git > > but now my /usr/src/freeswitch > has been lost there is nothing /usr/src/ ? > > On Wed, Dec 9, 2015 at 12:29 PM, Ken Rice wrote: > >> Check the url to >> >> git clone >> https://YOUR_USERNAME at freeswitch.org/stash/scm/~YOUR_USERNAME/freeswitch.git >> >> >> >> its been fixed on the wiki >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Shabbir >> abbasi >> *Sent:* Wednesday, December 9, 2015 12:07 AM >> *To:* FreeSWITCH Users Help >> *Subject:* [Freeswitch-users] git clone returning 400 >> >> >> >> i am trying a pull request , i have enabled public access, i have read >> instructions here >> https://freeswitch.org/confluence/display/FREESWITCH/Pull+Requests >> >> >> >> but whe i tried >> >> >> >> git clone >> https://shabbirabbasi92 at stash.freeswitch.org/scm/shabbirabbasi92/freeswitch.git >> >> Cloning into 'freeswitch'... >> >> fatal: unable to access ' >> https://shabbirabbasi92 at stash.freeswitch.org/scm/shabbirabbasi92/freeswitch.git/': >> The requested URL returned error: 400 >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151209/e4235588/attachment-0001.html From shabbirabbasi92 at gmail.com Wed Dec 9 15:01:38 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Wed, 9 Dec 2015 17:01:38 +0500 Subject: [Freeswitch-users] how to start dtmf timeout countdown after last digit in javascript In-Reply-To: References: Message-ID: Brian wrote: "Why aren't you using the "read" application to just do all this mess for you?" now i am using read app for this . and this is what i want, thank you On Tue, Dec 8, 2015 at 9:59 PM, Brian West wrote: > Why aren't you using the "read" application to just do all this mess for > you? > > On Tue, Dec 8, 2015 at 8:56 AM, Shabbir abbasi > wrote: > >> i am trying to make an javascripot ivr and collecting user input , >> but during collection session.collectInput( mycb, dtmf, timeout ); >> gets timeout and returns >> >> >> >> 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 collect_user_input >> >> >> >> >> i want that timeout gets started countdown after last digit pressed >> how to solve this ? >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151209/87273c45/attachment.html From mic.niel84 at gmail.com Wed Dec 9 16:26:22 2015 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Wed, 9 Dec 2015 14:26:22 +0100 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: <5665EA2E.5090508@gmail.com> Message-ID: The scenario with your example is as follows: FS subscriber and FS subscriber: Custom ringback audio is played correctly, BUT when receiving party hangs up without answering the call the caller still hears the audio without the call being hung up. GSM and FS subscriber: GSM caller does not hear anything. On Tue, Dec 8, 2015 at 8:36 PM, Brian West wrote: > you put that inside the {} on the bridge line. > > > <*extension* name="wait"> > > > > > > > > > > > > > > > > > > > > > <*extension* name="ringback_183_music_ring"> > > > > > > > > "{ignore_early_media=true}loopback/wait"/> > > > > > > > And NO mp3 probably doesn't matter, as long as you have sufficient CPU, > which why can't you in this day and age? > > On Tue, Dec 8, 2015 at 8:18 AM, Michael Nielsen > wrote: > >> I did try with >> >> >> >> >> Didn't change much. However, in some cases it was silence until hangup, >> and then music did start. Weird. >> >> On Tue, Dec 8, 2015 at 2:37 PM, Sergey Safarov >> wrote: >> >>> Try send ringing before early media. >>> >>> On Tue, Dec 8, 2015, 16:22 Luis Daniel Lucio Quiroz < >>> luis.daniel.lucio at gmail.com> wrote: >>> >>>> Sounds nice a cussed problem. >>>> >>>> First, convert your sound to wav, mono, 8khz >>>> You will offload FreeSWITCH and retry >>>> Le 8 d?c. 2015 7:46 AM, "Michael Nielsen" a >>>> ?crit : >>>> >>>>> Yes. For ringback music. When answering sound is there. >>>>> >>>>> On Tuesday, December 8, 2015, Sergey Safarov >>>>> wrote: >>>>> >>>>>> Silence on leg connected via Twilio? >>>>>> >>>>>> On Tue, Dec 8, 2015 at 1:49 PM, Michael Nielsen >>>>> > wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I found out that it's only when there's an external sip trunk in use >>>>>>> (Twilio in this case) that there's silence. >>>>>>> Between subscribers directly connected to FS it works. >>>>>>> >>>>>>> On Tue, Dec 8, 2015 at 11:25 AM, Michael Nielsen < >>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>> >>>>>>>> I'm running FreeSWITCH >>>>>>>> >>>>>>>> In my log I get Action set(ringback=/etc/freeswitch/ringback.mp3) >>>>>>>> and also, later on: >>>>>>>> >>>>>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1274 Raw >>>>>>>> Codec Activation Success L16 at 8000hz 1 channel 20ms >>>>>>>> >>>>>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_core_codec.c:221 >>>>>>>> sofia/external/+4454443356778 at my-domain.pstn.twilio.com Push codec >>>>>>>> L16:100 >>>>>>>> >>>>>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1306 Play >>>>>>>> Ringback File [/etc/freeswitch/ringback.mp3] >>>>>>>> >>>>>>>> 2015-12-08 10:20:00.539190 [WARNING] switch_core_file.c:341 File >>>>>>>> has 2 channels, muxing to 1 channel will occur. >>>>>>>> >>>>>>>> 2015-12-08 10:20:00.699194 [DEBUG] switch_rtp.c:6640 Correct audio >>>>>>>> ip/port confirmed. >>>>>>>> >>>>>>>> >>>>>>>> However, there is no sound in my real GSM phone when waiting for >>>>>>>> answer. Just silence. >>>>>>>> >>>>>>>> On Mon, Dec 7, 2015 at 10:21 PM, Brian West >>>>>>>> wrote: >>>>>>>> >>>>>>>>> I can't replicate the behavior you're describing, can you give me >>>>>>>>> a few more details? What REV of FreeSWITCH are you running? >>>>>>>>> >>>>>>>>> On Mon, Dec 7, 2015 at 2:41 PM, Michael Nielsen < >>>>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Yes. >>>>>>>>>> When I put instant_ringback on it seems >>>>>>>>>> to be silent when ringing - but when I hang up in one end the >>>>>>>>>> music actually starts in the other end. Kind of weird. >>>>>>>>>> Putting ignore_early_media makes the music play less than a >>>>>>>>>> seconds at first and then normal ringtone... >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Monday, December 7, 2015, Denis Papes >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Did you load mod_shout? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On 12/07/2015 07:52 PM, Michael Nielsen wrote: >>>>>>>>>>> >>>>>>>>>>> If I remove my ringback-variable I do get a normal ringtone. >>>>>>>>>>> So I guess it's something with my file perhaps - or...? >>>>>>>>>>> >>>>>>>>>>> On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < >>>>>>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Make sure you add {ignore_early_media=true} to dial string and >>>>>>>>>>>> possibly also {instant_ringback=true} if your call does not get any ringing >>>>>>>>>>>> indication. (180 183 etc) or is not SIP. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen < >>>>>>>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi, >>>>>>>>>>>>> >>>>>>>>>>>>> I'm trying to add a custom ringback tone on my FreeSWITCH >>>>>>>>>>>>> server. >>>>>>>>>>>>> >>>>>>>>>>>>> I've created a .mp3 file and added: >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> data="ringback=/home/user/ringback.mp3"/> >>>>>>>>>>>>> >>>>>>>>>>>>> However, when trying to call, there's just silence... >>>>>>>>>>>>> >>>>>>>>>>>>> Should the format be different, and if so how do I convert >>>>>>>>>>>>> this? >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>>>> >>>>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>>>> >>>>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>>>>>>>>> >>>>>>>>>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>>>>>>>>> http://twitter.com/FreeSWITCH >>>>>>>>>>>> ? irc.freenode.net #freeswitch ? * >>>>>>>>>>>> http://freeswitch.org/g+ >>>>>>>>>>>> * >>>>>>>>>>>> >>>>>>>>>>>> ClueCon Weekly Development Call >>>>>>>>>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>>>>>>>>> >>>>>>>>>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>>>>>>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>>> >>>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>>> >>>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>>>> >>>>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> *Brian West* >>>>>>>>> brian at freeswitch.org >>>>>>>>> >>>>>>>>> >>>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>>> http://www.freeswitchbook.com >>>>>>>>> http://www.freeswitchcookbook.com >>>>>>>>> >>>>>>>>> Got Bugs? Report them here ! | >>>>>>>>> Reddit: /r/freeswitch >>>>>>>>> >>>>>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151209/7b7ef5e4/attachment-0001.html From govoiper at gmail.com Wed Dec 9 20:26:03 2015 From: govoiper at gmail.com (SamyGo) Date: Wed, 9 Dec 2015 12:26:03 -0500 Subject: [Freeswitch-users] Videocall recording results in high CPU In-Reply-To: References: Message-ID: Hi Anthony, The Heavy CPU utilization on recording still persists even after upgrading the CPU from 2 instances to 8. RAM is about 16GBs. Every time I press DTMF to invoke the record_session the CPU peaks up consuming everything it can get, the on-call video stream starts garbling but recorded video stays fine. Fast video encryption speed seems more practical as the recorded video is intact from start to end. For medium and slow it gets pauses and doesn't play video at all towards the end. * * I'm thinking if on pressing the DTMF I can "fork" the call to other FS based recording instances ? Thanks again, Sammy On Mon, Dec 7, 2015 at 1:15 PM, SamyGo wrote: > Thanks Athony for the reply, > > I tried medium and slow, medium seems to give me much better results, > atleast the video doesn't drop frames and not getting stuck. I'm still > arranging for a high powered server to retest this for which I'm very > hopeful it will be working perfectly as expected. I will update here with > final results once I test. > > Again thanks a ton for the response. > > Regards, > Sammy > > > On Fri, Dec 4, 2015 at 1:44 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> {vencspd=fast,vprofile=baseline}/path/to/file.mp4 >> >> You can try medium or slow for speed too. >> >> That's the best you can hope for. video needs resources..... >> >> On Fri, Dec 4, 2015 at 12:23 PM, SamyGo wrote: >> >>> Hello everyone, >>> I'm using latest FS version 1.7 for recording video calls. Video calls >>> work very well, but every time I start recording the calls to mp4 the CPU >>> jumps to about 100%. That also results in call being paused(video freezes >>> and audio disappears) for few seconds and resume. >>> >>> The recorded file upon playback starts good for first few seconds but >>> then drops alot of frames and finally gets stuck.. >>> >>> >>> freeswitch at internal> version >>> FreeSWITCH Version 1.7.0+git~20151202T210853Z~c021d22ea6~64bit (git >>> c021d22 2015-12-02 21:08:53Z 64bit) >>> >>> root at FreeSwitch:~# lsb_release -a >>> Distributor ID: Debian >>> Description: Debian GNU/Linux 8.1 (jessie) >>> Release: 8.1 >>> Codename: jessie >>> >>> The Hardware specs are bit low, its in Amazon cloud >>> >>> Dual-Core 2.50GHz, 4GB RAM. >>> >>> I'll increase H/W specs and see if it helps, if there are any >>> suggestions on getting this done nicely. >>> >>> Thanks, >>> Sammy >>> >>> >>> >>> *--- LOGS When uuid_record is executed ---* >>> 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1473 sample rate: 8000, >>> channels: 2 >>> 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1573 use video codec: [28] >>> h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) >>> 2015-12-04 18:16:13.623235 [NOTICE] avformat.c:437 sample_rate: 8000 >>> nb_samples: 1024 >>> Output #0, mp4, to '/tmp/newabc.mp4': >>> Stream #0.0 >>> : Audio: libvo_aacenc, 8000 Hz, stereo, s16, 131 kb/s >>> 2015-12-04 18:16:13.623235 [INFO] avformat.c:1597 Opening File >>> [/tmp/newabc.mp4] 8000hz with VIDEO >>> 2015-12-04 18:16:13.633261 [DEBUG] switch_core_media_bug.c:828 Attaching >>> BUG to sofia/external/868599 >>> 2015-12-04 18:16:13.653256 [DEBUG] switch_core_io.c:448 Setting BUG >>> Codec PCMU:0 >>> 2015-12-04 18:16:13.653256 [DEBUG] switch_ivr_async.c:1483 No silence >>> detection configured; assuming start of speech >>> 2015-12-04 18:16:13.723299 [DEBUG] avcodec.c:1044 picture size changed >>> from 352x288 to 640x480, reinitializing encoder >>> frame I:1 Avg QP:10.00 size: 1049 >>> mb I I16..4: 100.0% 0.0% 0.0% >>> coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% >>> i16 v,h,dc,p: 94% 0% 6% 0% >>> i8c dc,h,v,p: 100% 0% 0% 0% >>> kb/s:755.28 >>> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >>> profile Constrained Baseline, level 4.1 >>> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >>> profile Constrained Baseline, level 4.1 >>> 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft >>> 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 >>> deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 >>> mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 >>> fast_pskip=1 chroma_qp_offset=-2 threads=2 lookahead_threads=1 >>> sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 >>> constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=6 scenecut=40 >>> intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1981 ratetol=1.0 >>> qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 >>> 2015-12-04 18:16:13.743264 [INFO] avformat.c:1949 use video codec >>> implementation Video: libx264, yuv420p, 1280x720, q=-1--1, 1981 kb/s >>> 2015-12-04 18:16:13.743264 [DEBUG] avcodec.c:1044 picture size changed >>> from 352x288 to 1280x720, reinitializing encoder >>> frame I:1 Avg QP:10.00 size: 1049 >>> mb I I16..4: 100.0% 0.0% 0.0% >>> coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% >>> i16 v,h,dc,p: 94% 0% 6% 0% >>> i8c dc,h,v,p: 100% 0% 0% 0% >>> kb/s:755.28 >>> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >>> profile Constrained Baseline, level 4.1 >>> 2015-12-04 18:16:13.743264 [NOTICE] avformat.c:518 video thread start >>> 2015-12-04 18:16:13.983266 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:16.043257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 0 VER 0 LEN 4 >>> 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:20.513261 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:22.533260 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:24.623259 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:26.433258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 0 VER 0 LEN 4 >>> 2015-12-04 18:16:26.653258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:29.003219 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:31.013259 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:33.763260 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:34.953259 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 0 VER 0 LEN 4 >>> 2015-12-04 18:16:35.803260 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:37.773264 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:39.823257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:42.003268 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:44.053263 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:46.053261 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> concealing 203 DC, 203 AC, 203 MV errors >>> 2015-12-04 18:16:48.273264 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 0 VER 0 LEN 4 >>> 2015-12-04 18:16:48.803258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> concealing 259 DC, 259 AC, 259 MV errors >>> 2015-12-04 18:16:51.013257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:53.223264 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> concealing 147 DC, 147 AC, 147 MV errors >>> 2015-12-04 18:16:55.483258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> concealing 198 DC, 198 AC, 198 MV errors >>> concealing 602 DC, 602 AC, 602 MV errors >>> 2015-12-04 18:16:59.603257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 192 VER 2 LEN 8 >>> 2015-12-04 18:16:59.663254 [WARNING] switch_rtp.c:5951 INVALID RTCP >>> PACKET TYPE 0 VER 0 LEN 4 >>> concealing 300 DC, 300 AC, 300 MV errors >>> 2015-12-04 18:17:04.143260 [NOTICE] sofia.c:952 Hangup sofia/internal/ >>> 868499 at 52.70.5.23 [CS_EXECUTE] [NORMAL_CLEARING] >>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:705 >>> sofia/internal/868499 at 52.70.5.23 ending bridge by request from read >>> function >>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending video >>> thread. >>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending video >>> thread. >>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:699 >>> sofia/internal/868499 at 52.70.5.23 ending bridge by request from write >>> function >>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending video >>> thread. >>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending video >>> thread. >>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 >>> sofia/external/868599 video thread ended. >>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 >>> sofia/internal/868499 at 52.70.5.23 video thread ended. >>> 2015-12-04 18:17:04.153216 [DEBUG] switch_core_media.c:5167 >>> sofia/internal/868499 at 52.70.5.23 Video thread ended >>> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD >>> DONE [sofia/internal/868499 at 52.70.5.23] >>> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD >>> DONE [sofia/external/868599] >>> 2015-12-04 18:17:04.163261 [NOTICE] switch_ivr_bridge.c:881 Hangup >>> sofia/external/868599 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] >>> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:542 >>> (sofia/external/868599) State EXCHANGE_MEDIA going to sleep >>> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:473 >>> (sofia/external/868599) Running State Change CS_HANGUP >>> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_async.c:1305 Stop >>> recording file /tmp/newabc.mp4 >>> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_media.c:5167 >>> sofia/external/868599 Video thread ended >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1689 >>> sofia/external/868599 skip receive message [UNBRIDGE] (channel is hungup >>> already) >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1692 >>> sofia/internal/868499 at 52.70.5.23 skip receive message [UNBRIDGE] >>> (channel is hungup already) >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:2796 >>> sofia/internal/868499 at 52.70.5.23 skip receive message >>> [APPLICATION_EXEC_COMPLETE] (channel is hungup already) >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:539 >>> (sofia/internal/868499 at 52.70.5.23) State EXECUTE going to sleep >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 >>> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_HANGUP >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:739 >>> (sofia/internal/868499 at 52.70.5.23) Callstate Change ACTIVE -> HANGUP >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 >>> (sofia/internal/868499 at 52.70.5.23) State HANGUP >>> 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:431 Channel >>> sofia/internal/868499 at 52.70.5.23 hanging up, cause: NORMAL_CLEARING >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:60 >>> sofia/internal/868499 at 52.70.5.23 Standard HANGUP, cause: NORMAL_CLEARING >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 >>> (sofia/internal/868499 at 52.70.5.23) State HANGUP going to sleep >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:508 >>> (sofia/internal/868499 at 52.70.5.23) State Change CS_HANGUP -> >>> CS_REPORTING >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 >>> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_REPORTING >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 >>> (sofia/internal/868499 at 52.70.5.23) State REPORTING >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:104 >>> sofia/internal/868499 at 52.70.5.23 Standard REPORTING, cause: >>> NORMAL_CLEARING >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 >>> (sofia/internal/868499 at 52.70.5.23) State REPORTING going to sleep >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:499 >>> (sofia/internal/868499 at 52.70.5.23) State Change CS_REPORTING -> >>> CS_DESTROY >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:1646 Session 5 >>> (sofia/internal/868499 at 52.70.5.23) Locked, Waiting on external entities >>> 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1664 Session 5 >>> (sofia/internal/868499 at 52.70.5.23) Ended >>> 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1668 Close >>> Channel sofia/internal/868499 at 52.70.5.23 [CS_DESTROY] >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:630 >>> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_DESTROY >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 >>> (sofia/internal/868499 at 52.70.5.23) State DESTROY >>> 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:341 sofia/internal/ >>> 868499 at 52.70.5.23 SOFIA DESTROY >>> frame I:50 Avg QP:11.50 size: 99188 >>> frame P:1320 Avg QP:12.79 size: 9817 >>> mb I I16..4: 32.3% 0.0% 67.7% >>> mb P I16..4: 1.8% 0.0% 2.3% P16..4: 21.0% 3.5% 1.8% 0.0% 0.0% >>> skip:69.6% >>> coded y,uvDC,uvAC intra: 66.2% 73.8% 61.1% inter: 8.1% 14.0% 4.7% >>> i16 v,h,dc,p: 44% 23% 16% 16% >>> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 35% 10% 3% 4% 3% 5% 4% 4% >>> i8c dc,h,v,p: 37% 32% 20% 11% >>> kb/s:9416.81 >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:111 >>> sofia/internal/868499 at 52.70.5.23 Standard DESTROY >>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 >>> (sofia/internal/868499 at 52.70.5.23) State DESTROY going to sleep >>> 2015-12-04 18:17:04.213268 [NOTICE] avformat.c:624 video thread done >>> frame I:12 Avg QP:13.27 size: 89070 >>> frame P:681 Avg QP:11.76 size: 16819 >>> mb I I16..4: 36.9% 0.0% 63.1% >>> mb P I16..4: 2.7% 0.0% 4.9% P16..4: 20.0% 3.0% 1.8% 0.0% 0.0% >>> skip:67.5% >>> final ratefactor: 15.09 >>> coded y,uvDC,uvAC intra: 68.6% 72.9% 63.8% inter: 8.6% 14.6% 6.1% >>> i16 v,h,dc,p: 47% 23% 17% 12% >>> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 35% 9% 3% 4% 3% 4% 4% 4% >>> i8c dc,h,v,p: 39% 32% 18% 12% >>> ref P L0: 90.9% 5.9% 3.2% >>> kb/s:2046.12 >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_ivr_async.c:1366 Channel is >>> hung up >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media_bug.c:1118 Removing >>> BUG from sofia/external/868599 >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:739 >>> (sofia/external/868599) Callstate Change ACTIVE -> HANGUP >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 >>> (sofia/external/868599) State HANGUP >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media.c:10542 >>> sofia/external/868599 skip receive message [VIDEO_REFRESH_REQ] (channel is >>> hungup already) >>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:425 sofia/external/868599 >>> Overriding SIP cause 480 with 200 from the other leg >>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:431 Channel >>> sofia/external/868599 hanging up, cause: NORMAL_CLEARING >>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:484 Sending BYE to >>> sofia/external/868599 >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:60 >>> sofia/external/868599 Standard HANGUP, cause: NORMAL_CLEARING >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 >>> (sofia/external/868599) State HANGUP going to sleep >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:508 >>> (sofia/external/868599) State Change CS_HANGUP -> CS_REPORTING >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:473 >>> (sofia/external/868599) Running State Change CS_REPORTING >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 >>> (sofia/external/868599) State REPORTING >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:104 >>> sofia/external/868599 Standard REPORTING, cause: NORMAL_CLEARING >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 >>> (sofia/external/868599) State REPORTING going to sleep >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:499 >>> (sofia/external/868599) State Change CS_REPORTING -> CS_DESTROY >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_session.c:1646 Session 6 >>> (sofia/external/868599) Locked, Waiting on external entities >>> 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1664 Session 6 >>> (sofia/external/868599) Ended >>> 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1668 Close >>> Channel sofia/external/868599 [CS_DESTROY] >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:630 >>> (sofia/external/868599) Running State Change CS_DESTROY >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 >>> (sofia/external/868599) State DESTROY >>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:341 sofia/external/868599 >>> SOFIA DESTROY >>> frame I:45 Avg QP:12.50 size: 45087 >>> frame P:823 Avg QP:13.81 size: 11066 >>> mb I I16..4: 18.3% 0.0% 81.7% >>> mb P I16..4: 6.4% 0.0% 10.7% P16..4: 41.3% 12.4% 5.3% 0.0% 0.0% >>> skip:23.9% >>> coded y,uvDC,uvAC intra: 82.3% 76.7% 61.8% inter: 28.1% 33.2% 6.8% >>> i16 v,h,dc,p: 31% 33% 19% 17% >>> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 38% 14% 3% 3% 4% 3% 3% 4% >>> i8c dc,h,v,p: 41% 35% 18% 5% >>> kb/s:9237.67 >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:111 >>> sofia/external/868599 Standard DESTROY >>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 >>> (sofia/external/868599) State DESTROY going to sleep >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >> >> ? http://freeswitch.org/ ? http://cluecon.com/ ? >> http://twitter.com/FreeSWITCH >> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151209/5bf59c7b/attachment-0001.html From anthony.minessale at gmail.com Wed Dec 9 21:05:51 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 9 Dec 2015 12:05:51 -0600 Subject: [Freeswitch-users] Videocall recording results in high CPU In-Reply-To: References: Message-ID: On Wed, Dec 9, 2015 at 11:26 AM, SamyGo wrote: > Hi Anthony, > The Heavy CPU utilization on recording still persists even after upgrading > the CPU from 2 instances to 8. RAM is about 16GBs. > Every time I press DTMF to invoke the record_session the CPU peaks up > consuming everything it can get, the on-call video stream starts garbling > but recorded video stays fine. > When you say instances are you using VM? > > Fast video encryption speed seems more practical as the recorded video is > intact from start to end. For medium and slow it gets pauses and doesn't > play video at all towards the end. > > * * > > I'm thinking if on pressing the DTMF I can "fork" the call to other FS > based recording instances ? > No, you are bound to the limitations of your environment. We know the CPU can be high with the defaults but that is the trade-off for high quality. Your options are to use the lower vencspd or get more performant machines. > > Thanks again, > Sammy > > > > On Mon, Dec 7, 2015 at 1:15 PM, SamyGo wrote: > >> Thanks Athony for the reply, >> >> I tried medium and slow, medium seems to give me much better results, >> atleast the video doesn't drop frames and not getting stuck. I'm still >> arranging for a high powered server to retest this for which I'm very >> hopeful it will be working perfectly as expected. I will update here with >> final results once I test. >> >> Again thanks a ton for the response. >> >> Regards, >> Sammy >> >> >> On Fri, Dec 4, 2015 at 1:44 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> {vencspd=fast,vprofile=baseline}/path/to/file.mp4 >>> >>> You can try medium or slow for speed too. >>> >>> That's the best you can hope for. video needs resources..... >>> >>> On Fri, Dec 4, 2015 at 12:23 PM, SamyGo wrote: >>> >>>> Hello everyone, >>>> I'm using latest FS version 1.7 for recording video calls. Video calls >>>> work very well, but every time I start recording the calls to mp4 the CPU >>>> jumps to about 100%. That also results in call being paused(video freezes >>>> and audio disappears) for few seconds and resume. >>>> >>>> The recorded file upon playback starts good for first few seconds but >>>> then drops alot of frames and finally gets stuck.. >>>> >>>> >>>> freeswitch at internal> version >>>> FreeSWITCH Version 1.7.0+git~20151202T210853Z~c021d22ea6~64bit (git >>>> c021d22 2015-12-02 21:08:53Z 64bit) >>>> >>>> root at FreeSwitch:~# lsb_release -a >>>> Distributor ID: Debian >>>> Description: Debian GNU/Linux 8.1 (jessie) >>>> Release: 8.1 >>>> Codename: jessie >>>> >>>> The Hardware specs are bit low, its in Amazon cloud >>>> >>>> Dual-Core 2.50GHz, 4GB RAM. >>>> >>>> I'll increase H/W specs and see if it helps, if there are any >>>> suggestions on getting this done nicely. >>>> >>>> Thanks, >>>> Sammy >>>> >>>> >>>> >>>> *--- LOGS When uuid_record is executed ---* >>>> 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1473 sample rate: 8000, >>>> channels: 2 >>>> 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1573 use video codec: >>>> [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) >>>> 2015-12-04 18:16:13.623235 [NOTICE] avformat.c:437 sample_rate: 8000 >>>> nb_samples: 1024 >>>> Output #0, mp4, to '/tmp/newabc.mp4': >>>> Stream #0.0 >>>> : Audio: libvo_aacenc, 8000 Hz, stereo, s16, 131 kb/s >>>> 2015-12-04 18:16:13.623235 [INFO] avformat.c:1597 Opening File >>>> [/tmp/newabc.mp4] 8000hz with VIDEO >>>> 2015-12-04 18:16:13.633261 [DEBUG] switch_core_media_bug.c:828 >>>> Attaching BUG to sofia/external/868599 >>>> 2015-12-04 18:16:13.653256 [DEBUG] switch_core_io.c:448 Setting BUG >>>> Codec PCMU:0 >>>> 2015-12-04 18:16:13.653256 [DEBUG] switch_ivr_async.c:1483 No silence >>>> detection configured; assuming start of speech >>>> 2015-12-04 18:16:13.723299 [DEBUG] avcodec.c:1044 picture size changed >>>> from 352x288 to 640x480, reinitializing encoder >>>> frame I:1 Avg QP:10.00 size: 1049 >>>> mb I I16..4: 100.0% 0.0% 0.0% >>>> coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% >>>> i16 v,h,dc,p: 94% 0% 6% 0% >>>> i8c dc,h,v,p: 100% 0% 0% 0% >>>> kb/s:755.28 >>>> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >>>> profile Constrained Baseline, level 4.1 >>>> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >>>> profile Constrained Baseline, level 4.1 >>>> 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft >>>> 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 >>>> deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 >>>> mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 >>>> fast_pskip=1 chroma_qp_offset=-2 threads=2 lookahead_threads=1 >>>> sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 >>>> constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=6 scenecut=40 >>>> intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1981 ratetol=1.0 >>>> qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 >>>> 2015-12-04 18:16:13.743264 [INFO] avformat.c:1949 use video codec >>>> implementation Video: libx264, yuv420p, 1280x720, q=-1--1, 1981 kb/s >>>> 2015-12-04 18:16:13.743264 [DEBUG] avcodec.c:1044 picture size changed >>>> from 352x288 to 1280x720, reinitializing encoder >>>> frame I:1 Avg QP:10.00 size: 1049 >>>> mb I I16..4: 100.0% 0.0% 0.0% >>>> coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% >>>> i16 v,h,dc,p: 94% 0% 6% 0% >>>> i8c dc,h,v,p: 100% 0% 0% 0% >>>> kb/s:755.28 >>>> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >>>> profile Constrained Baseline, level 4.1 >>>> 2015-12-04 18:16:13.743264 [NOTICE] avformat.c:518 video thread start >>>> 2015-12-04 18:16:13.983266 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:16.043257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 0 VER 0 LEN 4 >>>> 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:20.513261 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:22.533260 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:24.623259 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:26.433258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 0 VER 0 LEN 4 >>>> 2015-12-04 18:16:26.653258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:29.003219 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:31.013259 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:33.763260 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:34.953259 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 0 VER 0 LEN 4 >>>> 2015-12-04 18:16:35.803260 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:37.773264 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:39.823257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:42.003268 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:44.053263 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:46.053261 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> concealing 203 DC, 203 AC, 203 MV errors >>>> 2015-12-04 18:16:48.273264 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 0 VER 0 LEN 4 >>>> 2015-12-04 18:16:48.803258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> concealing 259 DC, 259 AC, 259 MV errors >>>> 2015-12-04 18:16:51.013257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:53.223264 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> concealing 147 DC, 147 AC, 147 MV errors >>>> 2015-12-04 18:16:55.483258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> concealing 198 DC, 198 AC, 198 MV errors >>>> concealing 602 DC, 602 AC, 602 MV errors >>>> 2015-12-04 18:16:59.603257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 192 VER 2 LEN 8 >>>> 2015-12-04 18:16:59.663254 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>> PACKET TYPE 0 VER 0 LEN 4 >>>> concealing 300 DC, 300 AC, 300 MV errors >>>> 2015-12-04 18:17:04.143260 [NOTICE] sofia.c:952 Hangup sofia/internal/ >>>> 868499 at 52.70.5.23 [CS_EXECUTE] [NORMAL_CLEARING] >>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:705 >>>> sofia/internal/868499 at 52.70.5.23 ending bridge by request from read >>>> function >>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending video >>>> thread. >>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending video >>>> thread. >>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:699 >>>> sofia/internal/868499 at 52.70.5.23 ending bridge by request from write >>>> function >>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending video >>>> thread. >>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending video >>>> thread. >>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 >>>> sofia/external/868599 video thread ended. >>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 >>>> sofia/internal/868499 at 52.70.5.23 video thread ended. >>>> 2015-12-04 18:17:04.153216 [DEBUG] switch_core_media.c:5167 >>>> sofia/internal/868499 at 52.70.5.23 Video thread ended >>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE >>>> THREAD DONE [sofia/internal/868499 at 52.70.5.23] >>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE >>>> THREAD DONE [sofia/external/868599] >>>> 2015-12-04 18:17:04.163261 [NOTICE] switch_ivr_bridge.c:881 Hangup >>>> sofia/external/868599 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] >>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:542 >>>> (sofia/external/868599) State EXCHANGE_MEDIA going to sleep >>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:473 >>>> (sofia/external/868599) Running State Change CS_HANGUP >>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_async.c:1305 Stop >>>> recording file /tmp/newabc.mp4 >>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_media.c:5167 >>>> sofia/external/868599 Video thread ended >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1689 >>>> sofia/external/868599 skip receive message [UNBRIDGE] (channel is hungup >>>> already) >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1692 >>>> sofia/internal/868499 at 52.70.5.23 skip receive message [UNBRIDGE] >>>> (channel is hungup already) >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:2796 >>>> sofia/internal/868499 at 52.70.5.23 skip receive message >>>> [APPLICATION_EXEC_COMPLETE] (channel is hungup already) >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:539 >>>> (sofia/internal/868499 at 52.70.5.23) State EXECUTE going to sleep >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 >>>> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_HANGUP >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:739 >>>> (sofia/internal/868499 at 52.70.5.23) Callstate Change ACTIVE -> HANGUP >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 >>>> (sofia/internal/868499 at 52.70.5.23) State HANGUP >>>> 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:431 Channel >>>> sofia/internal/868499 at 52.70.5.23 hanging up, cause: NORMAL_CLEARING >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:60 >>>> sofia/internal/868499 at 52.70.5.23 Standard HANGUP, cause: >>>> NORMAL_CLEARING >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 >>>> (sofia/internal/868499 at 52.70.5.23) State HANGUP going to sleep >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:508 >>>> (sofia/internal/868499 at 52.70.5.23) State Change CS_HANGUP -> >>>> CS_REPORTING >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 >>>> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_REPORTING >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 >>>> (sofia/internal/868499 at 52.70.5.23) State REPORTING >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:104 >>>> sofia/internal/868499 at 52.70.5.23 Standard REPORTING, cause: >>>> NORMAL_CLEARING >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 >>>> (sofia/internal/868499 at 52.70.5.23) State REPORTING going to sleep >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:499 >>>> (sofia/internal/868499 at 52.70.5.23) State Change CS_REPORTING -> >>>> CS_DESTROY >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:1646 Session 5 >>>> (sofia/internal/868499 at 52.70.5.23) Locked, Waiting on external entities >>>> 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1664 Session >>>> 5 (sofia/internal/868499 at 52.70.5.23) Ended >>>> 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1668 Close >>>> Channel sofia/internal/868499 at 52.70.5.23 [CS_DESTROY] >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:630 >>>> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_DESTROY >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 >>>> (sofia/internal/868499 at 52.70.5.23) State DESTROY >>>> 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:341 sofia/internal/ >>>> 868499 at 52.70.5.23 SOFIA DESTROY >>>> frame I:50 Avg QP:11.50 size: 99188 >>>> frame P:1320 Avg QP:12.79 size: 9817 >>>> mb I I16..4: 32.3% 0.0% 67.7% >>>> mb P I16..4: 1.8% 0.0% 2.3% P16..4: 21.0% 3.5% 1.8% 0.0% 0.0% >>>> skip:69.6% >>>> coded y,uvDC,uvAC intra: 66.2% 73.8% 61.1% inter: 8.1% 14.0% 4.7% >>>> i16 v,h,dc,p: 44% 23% 16% 16% >>>> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 35% 10% 3% 4% 3% 5% 4% 4% >>>> i8c dc,h,v,p: 37% 32% 20% 11% >>>> kb/s:9416.81 >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:111 >>>> sofia/internal/868499 at 52.70.5.23 Standard DESTROY >>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 >>>> (sofia/internal/868499 at 52.70.5.23) State DESTROY going to sleep >>>> 2015-12-04 18:17:04.213268 [NOTICE] avformat.c:624 video thread done >>>> frame I:12 Avg QP:13.27 size: 89070 >>>> frame P:681 Avg QP:11.76 size: 16819 >>>> mb I I16..4: 36.9% 0.0% 63.1% >>>> mb P I16..4: 2.7% 0.0% 4.9% P16..4: 20.0% 3.0% 1.8% 0.0% 0.0% >>>> skip:67.5% >>>> final ratefactor: 15.09 >>>> coded y,uvDC,uvAC intra: 68.6% 72.9% 63.8% inter: 8.6% 14.6% 6.1% >>>> i16 v,h,dc,p: 47% 23% 17% 12% >>>> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 35% 9% 3% 4% 3% 4% 4% 4% >>>> i8c dc,h,v,p: 39% 32% 18% 12% >>>> ref P L0: 90.9% 5.9% 3.2% >>>> kb/s:2046.12 >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_ivr_async.c:1366 Channel is >>>> hung up >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media_bug.c:1118 >>>> Removing BUG from sofia/external/868599 >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:739 >>>> (sofia/external/868599) Callstate Change ACTIVE -> HANGUP >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 >>>> (sofia/external/868599) State HANGUP >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media.c:10542 >>>> sofia/external/868599 skip receive message [VIDEO_REFRESH_REQ] (channel is >>>> hungup already) >>>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:425 >>>> sofia/external/868599 Overriding SIP cause 480 with 200 from the other leg >>>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:431 Channel >>>> sofia/external/868599 hanging up, cause: NORMAL_CLEARING >>>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:484 Sending BYE to >>>> sofia/external/868599 >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:60 >>>> sofia/external/868599 Standard HANGUP, cause: NORMAL_CLEARING >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 >>>> (sofia/external/868599) State HANGUP going to sleep >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:508 >>>> (sofia/external/868599) State Change CS_HANGUP -> CS_REPORTING >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:473 >>>> (sofia/external/868599) Running State Change CS_REPORTING >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 >>>> (sofia/external/868599) State REPORTING >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:104 >>>> sofia/external/868599 Standard REPORTING, cause: NORMAL_CLEARING >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 >>>> (sofia/external/868599) State REPORTING going to sleep >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:499 >>>> (sofia/external/868599) State Change CS_REPORTING -> CS_DESTROY >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_session.c:1646 Session 6 >>>> (sofia/external/868599) Locked, Waiting on external entities >>>> 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1664 Session >>>> 6 (sofia/external/868599) Ended >>>> 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1668 Close >>>> Channel sofia/external/868599 [CS_DESTROY] >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:630 >>>> (sofia/external/868599) Running State Change CS_DESTROY >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 >>>> (sofia/external/868599) State DESTROY >>>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:341 >>>> sofia/external/868599 SOFIA DESTROY >>>> frame I:45 Avg QP:12.50 size: 45087 >>>> frame P:823 Avg QP:13.81 size: 11066 >>>> mb I I16..4: 18.3% 0.0% 81.7% >>>> mb P I16..4: 6.4% 0.0% 10.7% P16..4: 41.3% 12.4% 5.3% 0.0% 0.0% >>>> skip:23.9% >>>> coded y,uvDC,uvAC intra: 82.3% 76.7% 61.8% inter: 28.1% 33.2% 6.8% >>>> i16 v,h,dc,p: 31% 33% 19% 17% >>>> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 38% 14% 3% 3% 4% 3% 3% 4% >>>> i8c dc,h,v,p: 41% 35% 18% 5% >>>> kb/s:9237.67 >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:111 >>>> sofia/external/868599 Standard DESTROY >>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 >>>> (sofia/external/868599) State DESTROY going to sleep >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>> >>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>> http://twitter.com/FreeSWITCH >>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>> * >>> >>> ClueCon Weekly Development Call >>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>> >>> https://www.youtube.com/watch?v=9XXgW34t40s >>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151209/620782f6/attachment-0001.html From govoiper at gmail.com Wed Dec 9 21:17:24 2015 From: govoiper at gmail.com (SamyGo) Date: Wed, 9 Dec 2015 13:17:24 -0500 Subject: [Freeswitch-users] Videocall recording results in high CPU In-Reply-To: References: Message-ID: Technically yes its a Virtual environment on Amazon cloud as I mentioned at start of thread. By instances I meant number of CPUs on the FS Amazon-cloud-based server. So I guess I should try the same on Physical servers to see the differences. For now this call recording for just one call consumes so much CPU that any second call do not get its minimal quality. I should go pn and try on different server and get back. Anthony, can you suggest any other mechnism of recording video-calls ? like I read on one thread here somebody was using mod_vlc for this !? Thanks alot for your support Anthony, Regards, Sammy On Wed, Dec 9, 2015 at 1:05 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > > > On Wed, Dec 9, 2015 at 11:26 AM, SamyGo wrote: > >> Hi Anthony, >> The Heavy CPU utilization on recording still persists even after >> upgrading the CPU from 2 instances to 8. RAM is about 16GBs. >> Every time I press DTMF to invoke the record_session the CPU peaks up >> consuming everything it can get, the on-call video stream starts garbling >> but recorded video stays fine. >> > > > When you say instances are you using VM? > > > >> >> Fast video encryption speed seems more practical as the recorded video is >> intact from start to end. For medium and slow it gets pauses and doesn't >> play video at all towards the end. >> >> * * >> >> I'm thinking if on pressing the DTMF I can "fork" the call to other FS >> based recording instances ? >> > > > No, you are bound to the limitations of your environment. We know the CPU > can be high with the defaults but that is the trade-off for high quality. > Your options are to use the lower vencspd or get more performant machines. > > >> >> Thanks again, >> Sammy >> >> >> >> On Mon, Dec 7, 2015 at 1:15 PM, SamyGo wrote: >> >>> Thanks Athony for the reply, >>> >>> I tried medium and slow, medium seems to give me much better results, >>> atleast the video doesn't drop frames and not getting stuck. I'm still >>> arranging for a high powered server to retest this for which I'm very >>> hopeful it will be working perfectly as expected. I will update here with >>> final results once I test. >>> >>> Again thanks a ton for the response. >>> >>> Regards, >>> Sammy >>> >>> >>> On Fri, Dec 4, 2015 at 1:44 PM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> {vencspd=fast,vprofile=baseline}/path/to/file.mp4 >>>> >>>> You can try medium or slow for speed too. >>>> >>>> That's the best you can hope for. video needs resources..... >>>> >>>> On Fri, Dec 4, 2015 at 12:23 PM, SamyGo wrote: >>>> >>>>> Hello everyone, >>>>> I'm using latest FS version 1.7 for recording video calls. Video calls >>>>> work very well, but every time I start recording the calls to mp4 the CPU >>>>> jumps to about 100%. That also results in call being paused(video freezes >>>>> and audio disappears) for few seconds and resume. >>>>> >>>>> The recorded file upon playback starts good for first few seconds but >>>>> then drops alot of frames and finally gets stuck.. >>>>> >>>>> >>>>> freeswitch at internal> version >>>>> FreeSWITCH Version 1.7.0+git~20151202T210853Z~c021d22ea6~64bit (git >>>>> c021d22 2015-12-02 21:08:53Z 64bit) >>>>> >>>>> root at FreeSwitch:~# lsb_release -a >>>>> Distributor ID: Debian >>>>> Description: Debian GNU/Linux 8.1 (jessie) >>>>> Release: 8.1 >>>>> Codename: jessie >>>>> >>>>> The Hardware specs are bit low, its in Amazon cloud >>>>> >>>>> Dual-Core 2.50GHz, 4GB RAM. >>>>> >>>>> I'll increase H/W specs and see if it helps, if there are any >>>>> suggestions on getting this done nicely. >>>>> >>>>> Thanks, >>>>> Sammy >>>>> >>>>> >>>>> >>>>> *--- LOGS When uuid_record is executed ---* >>>>> 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1473 sample rate: 8000, >>>>> channels: 2 >>>>> 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1573 use video codec: >>>>> [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) >>>>> 2015-12-04 18:16:13.623235 [NOTICE] avformat.c:437 sample_rate: 8000 >>>>> nb_samples: 1024 >>>>> Output #0, mp4, to '/tmp/newabc.mp4': >>>>> Stream #0.0 >>>>> : Audio: libvo_aacenc, 8000 Hz, stereo, s16, 131 kb/s >>>>> 2015-12-04 18:16:13.623235 [INFO] avformat.c:1597 Opening File >>>>> [/tmp/newabc.mp4] 8000hz with VIDEO >>>>> 2015-12-04 18:16:13.633261 [DEBUG] switch_core_media_bug.c:828 >>>>> Attaching BUG to sofia/external/868599 >>>>> 2015-12-04 18:16:13.653256 [DEBUG] switch_core_io.c:448 Setting BUG >>>>> Codec PCMU:0 >>>>> 2015-12-04 18:16:13.653256 [DEBUG] switch_ivr_async.c:1483 No silence >>>>> detection configured; assuming start of speech >>>>> 2015-12-04 18:16:13.723299 [DEBUG] avcodec.c:1044 picture size changed >>>>> from 352x288 to 640x480, reinitializing encoder >>>>> frame I:1 Avg QP:10.00 size: 1049 >>>>> mb I I16..4: 100.0% 0.0% 0.0% >>>>> coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% >>>>> i16 v,h,dc,p: 94% 0% 6% 0% >>>>> i8c dc,h,v,p: 100% 0% 0% 0% >>>>> kb/s:755.28 >>>>> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >>>>> profile Constrained Baseline, level 4.1 >>>>> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >>>>> profile Constrained Baseline, level 4.1 >>>>> 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft >>>>> 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 >>>>> ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 >>>>> mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 >>>>> fast_pskip=1 chroma_qp_offset=-2 threads=2 lookahead_threads=1 >>>>> sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 >>>>> constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=6 scenecut=40 >>>>> intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1981 ratetol=1.0 >>>>> qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 >>>>> 2015-12-04 18:16:13.743264 [INFO] avformat.c:1949 use video codec >>>>> implementation Video: libx264, yuv420p, 1280x720, q=-1--1, 1981 kb/s >>>>> 2015-12-04 18:16:13.743264 [DEBUG] avcodec.c:1044 picture size changed >>>>> from 352x288 to 1280x720, reinitializing encoder >>>>> frame I:1 Avg QP:10.00 size: 1049 >>>>> mb I I16..4: 100.0% 0.0% 0.0% >>>>> coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% >>>>> i16 v,h,dc,p: 94% 0% 6% 0% >>>>> i8c dc,h,v,p: 100% 0% 0% 0% >>>>> kb/s:755.28 >>>>> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >>>>> profile Constrained Baseline, level 4.1 >>>>> 2015-12-04 18:16:13.743264 [NOTICE] avformat.c:518 video thread start >>>>> 2015-12-04 18:16:13.983266 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:16.043257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 0 VER 0 LEN 4 >>>>> 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:20.513261 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:22.533260 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:24.623259 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:26.433258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 0 VER 0 LEN 4 >>>>> 2015-12-04 18:16:26.653258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:29.003219 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:31.013259 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:33.763260 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:34.953259 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 0 VER 0 LEN 4 >>>>> 2015-12-04 18:16:35.803260 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:37.773264 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:39.823257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:42.003268 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:44.053263 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:46.053261 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> concealing 203 DC, 203 AC, 203 MV errors >>>>> 2015-12-04 18:16:48.273264 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 0 VER 0 LEN 4 >>>>> 2015-12-04 18:16:48.803258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> concealing 259 DC, 259 AC, 259 MV errors >>>>> 2015-12-04 18:16:51.013257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:53.223264 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> concealing 147 DC, 147 AC, 147 MV errors >>>>> 2015-12-04 18:16:55.483258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> concealing 198 DC, 198 AC, 198 MV errors >>>>> concealing 602 DC, 602 AC, 602 MV errors >>>>> 2015-12-04 18:16:59.603257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>> 2015-12-04 18:16:59.663254 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>> PACKET TYPE 0 VER 0 LEN 4 >>>>> concealing 300 DC, 300 AC, 300 MV errors >>>>> 2015-12-04 18:17:04.143260 [NOTICE] sofia.c:952 Hangup sofia/internal/ >>>>> 868499 at 52.70.5.23 [CS_EXECUTE] [NORMAL_CLEARING] >>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:705 >>>>> sofia/internal/868499 at 52.70.5.23 ending bridge by request from read >>>>> function >>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending >>>>> video thread. >>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending >>>>> video thread. >>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:699 >>>>> sofia/internal/868499 at 52.70.5.23 ending bridge by request from write >>>>> function >>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending >>>>> video thread. >>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending >>>>> video thread. >>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 >>>>> sofia/external/868599 video thread ended. >>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 >>>>> sofia/internal/868499 at 52.70.5.23 video thread ended. >>>>> 2015-12-04 18:17:04.153216 [DEBUG] switch_core_media.c:5167 >>>>> sofia/internal/868499 at 52.70.5.23 Video thread ended >>>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE >>>>> THREAD DONE [sofia/internal/868499 at 52.70.5.23] >>>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE >>>>> THREAD DONE [sofia/external/868599] >>>>> 2015-12-04 18:17:04.163261 [NOTICE] switch_ivr_bridge.c:881 Hangup >>>>> sofia/external/868599 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] >>>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:542 >>>>> (sofia/external/868599) State EXCHANGE_MEDIA going to sleep >>>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:473 >>>>> (sofia/external/868599) Running State Change CS_HANGUP >>>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_async.c:1305 Stop >>>>> recording file /tmp/newabc.mp4 >>>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_media.c:5167 >>>>> sofia/external/868599 Video thread ended >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1689 >>>>> sofia/external/868599 skip receive message [UNBRIDGE] (channel is hungup >>>>> already) >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1692 >>>>> sofia/internal/868499 at 52.70.5.23 skip receive message [UNBRIDGE] >>>>> (channel is hungup already) >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:2796 >>>>> sofia/internal/868499 at 52.70.5.23 skip receive message >>>>> [APPLICATION_EXEC_COMPLETE] (channel is hungup already) >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:539 >>>>> (sofia/internal/868499 at 52.70.5.23) State EXECUTE going to sleep >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 >>>>> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_HANGUP >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:739 >>>>> (sofia/internal/868499 at 52.70.5.23) Callstate Change ACTIVE -> HANGUP >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 >>>>> (sofia/internal/868499 at 52.70.5.23) State HANGUP >>>>> 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:431 Channel >>>>> sofia/internal/868499 at 52.70.5.23 hanging up, cause: NORMAL_CLEARING >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:60 >>>>> sofia/internal/868499 at 52.70.5.23 Standard HANGUP, cause: >>>>> NORMAL_CLEARING >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 >>>>> (sofia/internal/868499 at 52.70.5.23) State HANGUP going to sleep >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:508 >>>>> (sofia/internal/868499 at 52.70.5.23) State Change CS_HANGUP -> >>>>> CS_REPORTING >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 >>>>> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_REPORTING >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 >>>>> (sofia/internal/868499 at 52.70.5.23) State REPORTING >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:104 >>>>> sofia/internal/868499 at 52.70.5.23 Standard REPORTING, cause: >>>>> NORMAL_CLEARING >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 >>>>> (sofia/internal/868499 at 52.70.5.23) State REPORTING going to sleep >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:499 >>>>> (sofia/internal/868499 at 52.70.5.23) State Change CS_REPORTING -> >>>>> CS_DESTROY >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:1646 Session >>>>> 5 (sofia/internal/868499 at 52.70.5.23) Locked, Waiting on external >>>>> entities >>>>> 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1664 Session >>>>> 5 (sofia/internal/868499 at 52.70.5.23) Ended >>>>> 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1668 Close >>>>> Channel sofia/internal/868499 at 52.70.5.23 [CS_DESTROY] >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:630 >>>>> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_DESTROY >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 >>>>> (sofia/internal/868499 at 52.70.5.23) State DESTROY >>>>> 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:341 sofia/internal/ >>>>> 868499 at 52.70.5.23 SOFIA DESTROY >>>>> frame I:50 Avg QP:11.50 size: 99188 >>>>> frame P:1320 Avg QP:12.79 size: 9817 >>>>> mb I I16..4: 32.3% 0.0% 67.7% >>>>> mb P I16..4: 1.8% 0.0% 2.3% P16..4: 21.0% 3.5% 1.8% 0.0% 0.0% >>>>> skip:69.6% >>>>> coded y,uvDC,uvAC intra: 66.2% 73.8% 61.1% inter: 8.1% 14.0% 4.7% >>>>> i16 v,h,dc,p: 44% 23% 16% 16% >>>>> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 35% 10% 3% 4% 3% 5% 4% 4% >>>>> i8c dc,h,v,p: 37% 32% 20% 11% >>>>> kb/s:9416.81 >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:111 >>>>> sofia/internal/868499 at 52.70.5.23 Standard DESTROY >>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 >>>>> (sofia/internal/868499 at 52.70.5.23) State DESTROY going to sleep >>>>> 2015-12-04 18:17:04.213268 [NOTICE] avformat.c:624 video thread done >>>>> frame I:12 Avg QP:13.27 size: 89070 >>>>> frame P:681 Avg QP:11.76 size: 16819 >>>>> mb I I16..4: 36.9% 0.0% 63.1% >>>>> mb P I16..4: 2.7% 0.0% 4.9% P16..4: 20.0% 3.0% 1.8% 0.0% 0.0% >>>>> skip:67.5% >>>>> final ratefactor: 15.09 >>>>> coded y,uvDC,uvAC intra: 68.6% 72.9% 63.8% inter: 8.6% 14.6% 6.1% >>>>> i16 v,h,dc,p: 47% 23% 17% 12% >>>>> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 35% 9% 3% 4% 3% 4% 4% 4% >>>>> i8c dc,h,v,p: 39% 32% 18% 12% >>>>> ref P L0: 90.9% 5.9% 3.2% >>>>> kb/s:2046.12 >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_ivr_async.c:1366 Channel is >>>>> hung up >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media_bug.c:1118 >>>>> Removing BUG from sofia/external/868599 >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:739 >>>>> (sofia/external/868599) Callstate Change ACTIVE -> HANGUP >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 >>>>> (sofia/external/868599) State HANGUP >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media.c:10542 >>>>> sofia/external/868599 skip receive message [VIDEO_REFRESH_REQ] (channel is >>>>> hungup already) >>>>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:425 >>>>> sofia/external/868599 Overriding SIP cause 480 with 200 from the other leg >>>>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:431 Channel >>>>> sofia/external/868599 hanging up, cause: NORMAL_CLEARING >>>>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:484 Sending BYE to >>>>> sofia/external/868599 >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:60 >>>>> sofia/external/868599 Standard HANGUP, cause: NORMAL_CLEARING >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 >>>>> (sofia/external/868599) State HANGUP going to sleep >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:508 >>>>> (sofia/external/868599) State Change CS_HANGUP -> CS_REPORTING >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:473 >>>>> (sofia/external/868599) Running State Change CS_REPORTING >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 >>>>> (sofia/external/868599) State REPORTING >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:104 >>>>> sofia/external/868599 Standard REPORTING, cause: NORMAL_CLEARING >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 >>>>> (sofia/external/868599) State REPORTING going to sleep >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:499 >>>>> (sofia/external/868599) State Change CS_REPORTING -> CS_DESTROY >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_session.c:1646 Session >>>>> 6 (sofia/external/868599) Locked, Waiting on external entities >>>>> 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1664 Session >>>>> 6 (sofia/external/868599) Ended >>>>> 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1668 Close >>>>> Channel sofia/external/868599 [CS_DESTROY] >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:630 >>>>> (sofia/external/868599) Running State Change CS_DESTROY >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 >>>>> (sofia/external/868599) State DESTROY >>>>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:341 >>>>> sofia/external/868599 SOFIA DESTROY >>>>> frame I:45 Avg QP:12.50 size: 45087 >>>>> frame P:823 Avg QP:13.81 size: 11066 >>>>> mb I I16..4: 18.3% 0.0% 81.7% >>>>> mb P I16..4: 6.4% 0.0% 10.7% P16..4: 41.3% 12.4% 5.3% 0.0% 0.0% >>>>> skip:23.9% >>>>> coded y,uvDC,uvAC intra: 82.3% 76.7% 61.8% inter: 28.1% 33.2% 6.8% >>>>> i16 v,h,dc,p: 31% 33% 19% 17% >>>>> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 38% 14% 3% 3% 4% 3% 3% 4% >>>>> i8c dc,h,v,p: 41% 35% 18% 5% >>>>> kb/s:9237.67 >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:111 >>>>> sofia/external/868599 Standard DESTROY >>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 >>>>> (sofia/external/868599) State DESTROY going to sleep >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>> >>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>> http://twitter.com/FreeSWITCH >>>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>>> * >>>> >>>> ClueCon Weekly Development Call >>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>> >>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151209/4e02f102/attachment-0001.html From anthony.minessale at gmail.com Wed Dec 9 21:35:34 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 9 Dec 2015 12:35:34 -0600 Subject: [Freeswitch-users] Videocall recording results in high CPU In-Reply-To: References: Message-ID: On Wed, Dec 9, 2015 at 12:17 PM, SamyGo wrote: > Technically yes its a Virtual environment on Amazon cloud as I mentioned > at start of thread. By instances I meant number of CPUs on the FS > Amazon-cloud-based server. > So I guess I should try the same on Physical servers to see the > differences. For now this call recording for just one call consumes so much > CPU that any second call do not get its minimal quality. I should go pn and > try on different server and get back. > We don't support virtualization beyond friendly advice. We are tentative to use it for audio and video is even more intensive and I don't have any idea how it will perform. > > Anthony, can you suggest any other mechnism of recording video-calls ? > like I read on one thread here somebody was using mod_vlc for this !? > mod_vlc can be used in place of mod_av but the low level code used to record is probably the same codec libraries. You can always try it by loading it in place of mod_av or by adding {modname=mod_vlc} before the file when you specify the file path. > > Thanks alot for your support Anthony, > > Regards, > Sammy > > > > On Wed, Dec 9, 2015 at 1:05 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> >> >> On Wed, Dec 9, 2015 at 11:26 AM, SamyGo wrote: >> >>> Hi Anthony, >>> The Heavy CPU utilization on recording still persists even after >>> upgrading the CPU from 2 instances to 8. RAM is about 16GBs. >>> Every time I press DTMF to invoke the record_session the CPU peaks up >>> consuming everything it can get, the on-call video stream starts garbling >>> but recorded video stays fine. >>> >> >> >> When you say instances are you using VM? >> >> >> >>> >>> Fast video encryption speed seems more practical as the recorded video >>> is intact from start to end. For medium and slow it gets pauses and doesn't >>> play video at all towards the end. >>> >>> * * >>> >>> I'm thinking if on pressing the DTMF I can "fork" the call to other FS >>> based recording instances ? >>> >> >> >> No, you are bound to the limitations of your environment. We know the >> CPU can be high with the defaults but that is the trade-off for high >> quality. Your options are to use the lower vencspd or get more performant >> machines. >> >> >>> >>> Thanks again, >>> Sammy >>> >>> >>> >>> On Mon, Dec 7, 2015 at 1:15 PM, SamyGo wrote: >>> >>>> Thanks Athony for the reply, >>>> >>>> I tried medium and slow, medium seems to give me much better results, >>>> atleast the video doesn't drop frames and not getting stuck. I'm still >>>> arranging for a high powered server to retest this for which I'm very >>>> hopeful it will be working perfectly as expected. I will update here with >>>> final results once I test. >>>> >>>> Again thanks a ton for the response. >>>> >>>> Regards, >>>> Sammy >>>> >>>> >>>> On Fri, Dec 4, 2015 at 1:44 PM, Anthony Minessale < >>>> anthony.minessale at gmail.com> wrote: >>>> >>>>> {vencspd=fast,vprofile=baseline}/path/to/file.mp4 >>>>> >>>>> You can try medium or slow for speed too. >>>>> >>>>> That's the best you can hope for. video needs resources..... >>>>> >>>>> On Fri, Dec 4, 2015 at 12:23 PM, SamyGo wrote: >>>>> >>>>>> Hello everyone, >>>>>> I'm using latest FS version 1.7 for recording video calls. Video >>>>>> calls work very well, but every time I start recording the calls to mp4 the >>>>>> CPU jumps to about 100%. That also results in call being paused(video >>>>>> freezes and audio disappears) for few seconds and resume. >>>>>> >>>>>> The recorded file upon playback starts good for first few seconds but >>>>>> then drops alot of frames and finally gets stuck.. >>>>>> >>>>>> >>>>>> freeswitch at internal> version >>>>>> FreeSWITCH Version 1.7.0+git~20151202T210853Z~c021d22ea6~64bit (git >>>>>> c021d22 2015-12-02 21:08:53Z 64bit) >>>>>> >>>>>> root at FreeSwitch:~# lsb_release -a >>>>>> Distributor ID: Debian >>>>>> Description: Debian GNU/Linux 8.1 (jessie) >>>>>> Release: 8.1 >>>>>> Codename: jessie >>>>>> >>>>>> The Hardware specs are bit low, its in Amazon cloud >>>>>> >>>>>> Dual-Core 2.50GHz, 4GB RAM. >>>>>> >>>>>> I'll increase H/W specs and see if it helps, if there are any >>>>>> suggestions on getting this done nicely. >>>>>> >>>>>> Thanks, >>>>>> Sammy >>>>>> >>>>>> >>>>>> >>>>>> *--- LOGS When uuid_record is executed ---* >>>>>> 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1473 sample rate: 8000, >>>>>> channels: 2 >>>>>> 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1573 use video codec: >>>>>> [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) >>>>>> 2015-12-04 18:16:13.623235 [NOTICE] avformat.c:437 sample_rate: 8000 >>>>>> nb_samples: 1024 >>>>>> Output #0, mp4, to '/tmp/newabc.mp4': >>>>>> Stream #0.0 >>>>>> : Audio: libvo_aacenc, 8000 Hz, stereo, s16, 131 kb/s >>>>>> 2015-12-04 18:16:13.623235 [INFO] avformat.c:1597 Opening File >>>>>> [/tmp/newabc.mp4] 8000hz with VIDEO >>>>>> 2015-12-04 18:16:13.633261 [DEBUG] switch_core_media_bug.c:828 >>>>>> Attaching BUG to sofia/external/868599 >>>>>> 2015-12-04 18:16:13.653256 [DEBUG] switch_core_io.c:448 Setting BUG >>>>>> Codec PCMU:0 >>>>>> 2015-12-04 18:16:13.653256 [DEBUG] switch_ivr_async.c:1483 No silence >>>>>> detection configured; assuming start of speech >>>>>> 2015-12-04 18:16:13.723299 [DEBUG] avcodec.c:1044 picture size >>>>>> changed from 352x288 to 640x480, reinitializing encoder >>>>>> frame I:1 Avg QP:10.00 size: 1049 >>>>>> mb I I16..4: 100.0% 0.0% 0.0% >>>>>> coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% >>>>>> i16 v,h,dc,p: 94% 0% 6% 0% >>>>>> i8c dc,h,v,p: 100% 0% 0% 0% >>>>>> kb/s:755.28 >>>>>> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >>>>>> profile Constrained Baseline, level 4.1 >>>>>> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >>>>>> profile Constrained Baseline, level 4.1 >>>>>> 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft >>>>>> 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 >>>>>> ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 >>>>>> mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 >>>>>> fast_pskip=1 chroma_qp_offset=-2 threads=2 lookahead_threads=1 >>>>>> sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 >>>>>> constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=6 scenecut=40 >>>>>> intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1981 ratetol=1.0 >>>>>> qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 >>>>>> 2015-12-04 18:16:13.743264 [INFO] avformat.c:1949 use video codec >>>>>> implementation Video: libx264, yuv420p, 1280x720, q=-1--1, 1981 kb/s >>>>>> 2015-12-04 18:16:13.743264 [DEBUG] avcodec.c:1044 picture size >>>>>> changed from 352x288 to 1280x720, reinitializing encoder >>>>>> frame I:1 Avg QP:10.00 size: 1049 >>>>>> mb I I16..4: 100.0% 0.0% 0.0% >>>>>> coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% >>>>>> i16 v,h,dc,p: 94% 0% 6% 0% >>>>>> i8c dc,h,v,p: 100% 0% 0% 0% >>>>>> kb/s:755.28 >>>>>> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >>>>>> profile Constrained Baseline, level 4.1 >>>>>> 2015-12-04 18:16:13.743264 [NOTICE] avformat.c:518 video thread start >>>>>> 2015-12-04 18:16:13.983266 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:16.043257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 0 VER 0 LEN 4 >>>>>> 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:20.513261 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:22.533260 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:24.623259 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:26.433258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 0 VER 0 LEN 4 >>>>>> 2015-12-04 18:16:26.653258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:29.003219 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:31.013259 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:33.763260 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:34.953259 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 0 VER 0 LEN 4 >>>>>> 2015-12-04 18:16:35.803260 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:37.773264 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:39.823257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:42.003268 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:44.053263 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:46.053261 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> concealing 203 DC, 203 AC, 203 MV errors >>>>>> 2015-12-04 18:16:48.273264 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 0 VER 0 LEN 4 >>>>>> 2015-12-04 18:16:48.803258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> concealing 259 DC, 259 AC, 259 MV errors >>>>>> 2015-12-04 18:16:51.013257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:53.223264 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> concealing 147 DC, 147 AC, 147 MV errors >>>>>> 2015-12-04 18:16:55.483258 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> concealing 198 DC, 198 AC, 198 MV errors >>>>>> concealing 602 DC, 602 AC, 602 MV errors >>>>>> 2015-12-04 18:16:59.603257 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 192 VER 2 LEN 8 >>>>>> 2015-12-04 18:16:59.663254 [WARNING] switch_rtp.c:5951 INVALID RTCP >>>>>> PACKET TYPE 0 VER 0 LEN 4 >>>>>> concealing 300 DC, 300 AC, 300 MV errors >>>>>> 2015-12-04 18:17:04.143260 [NOTICE] sofia.c:952 Hangup sofia/internal/ >>>>>> 868499 at 52.70.5.23 [CS_EXECUTE] [NORMAL_CLEARING] >>>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:705 >>>>>> sofia/internal/868499 at 52.70.5.23 ending bridge by request from read >>>>>> function >>>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending >>>>>> video thread. >>>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending >>>>>> video thread. >>>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:699 >>>>>> sofia/internal/868499 at 52.70.5.23 ending bridge by request from write >>>>>> function >>>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending >>>>>> video thread. >>>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending >>>>>> video thread. >>>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 >>>>>> sofia/external/868599 video thread ended. >>>>>> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 >>>>>> sofia/internal/868499 at 52.70.5.23 video thread ended. >>>>>> 2015-12-04 18:17:04.153216 [DEBUG] switch_core_media.c:5167 >>>>>> sofia/internal/868499 at 52.70.5.23 Video thread ended >>>>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE >>>>>> THREAD DONE [sofia/internal/868499 at 52.70.5.23] >>>>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE >>>>>> THREAD DONE [sofia/external/868599] >>>>>> 2015-12-04 18:17:04.163261 [NOTICE] switch_ivr_bridge.c:881 Hangup >>>>>> sofia/external/868599 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] >>>>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:542 >>>>>> (sofia/external/868599) State EXCHANGE_MEDIA going to sleep >>>>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:473 >>>>>> (sofia/external/868599) Running State Change CS_HANGUP >>>>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_async.c:1305 Stop >>>>>> recording file /tmp/newabc.mp4 >>>>>> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_media.c:5167 >>>>>> sofia/external/868599 Video thread ended >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1689 >>>>>> sofia/external/868599 skip receive message [UNBRIDGE] (channel is hungup >>>>>> already) >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1692 >>>>>> sofia/internal/868499 at 52.70.5.23 skip receive message [UNBRIDGE] >>>>>> (channel is hungup already) >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:2796 >>>>>> sofia/internal/868499 at 52.70.5.23 skip receive message >>>>>> [APPLICATION_EXEC_COMPLETE] (channel is hungup already) >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:539 >>>>>> (sofia/internal/868499 at 52.70.5.23) State EXECUTE going to sleep >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 >>>>>> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_HANGUP >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:739 >>>>>> (sofia/internal/868499 at 52.70.5.23) Callstate Change ACTIVE -> HANGUP >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 >>>>>> (sofia/internal/868499 at 52.70.5.23) State HANGUP >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:431 Channel >>>>>> sofia/internal/868499 at 52.70.5.23 hanging up, cause: NORMAL_CLEARING >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:60 >>>>>> sofia/internal/868499 at 52.70.5.23 Standard HANGUP, cause: >>>>>> NORMAL_CLEARING >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 >>>>>> (sofia/internal/868499 at 52.70.5.23) State HANGUP going to sleep >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:508 >>>>>> (sofia/internal/868499 at 52.70.5.23) State Change CS_HANGUP -> >>>>>> CS_REPORTING >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 >>>>>> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_REPORTING >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 >>>>>> (sofia/internal/868499 at 52.70.5.23) State REPORTING >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:104 >>>>>> sofia/internal/868499 at 52.70.5.23 Standard REPORTING, cause: >>>>>> NORMAL_CLEARING >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 >>>>>> (sofia/internal/868499 at 52.70.5.23) State REPORTING going to sleep >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:499 >>>>>> (sofia/internal/868499 at 52.70.5.23) State Change CS_REPORTING -> >>>>>> CS_DESTROY >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:1646 Session >>>>>> 5 (sofia/internal/868499 at 52.70.5.23) Locked, Waiting on external >>>>>> entities >>>>>> 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1664 >>>>>> Session 5 (sofia/internal/868499 at 52.70.5.23) Ended >>>>>> 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1668 Close >>>>>> Channel sofia/internal/868499 at 52.70.5.23 [CS_DESTROY] >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:630 >>>>>> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_DESTROY >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 >>>>>> (sofia/internal/868499 at 52.70.5.23) State DESTROY >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:341 sofia/internal/ >>>>>> 868499 at 52.70.5.23 SOFIA DESTROY >>>>>> frame I:50 Avg QP:11.50 size: 99188 >>>>>> frame P:1320 Avg QP:12.79 size: 9817 >>>>>> mb I I16..4: 32.3% 0.0% 67.7% >>>>>> mb P I16..4: 1.8% 0.0% 2.3% P16..4: 21.0% 3.5% 1.8% 0.0% >>>>>> 0.0% skip:69.6% >>>>>> coded y,uvDC,uvAC intra: 66.2% 73.8% 61.1% inter: 8.1% 14.0% 4.7% >>>>>> i16 v,h,dc,p: 44% 23% 16% 16% >>>>>> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 35% 10% 3% 4% 3% 5% 4% 4% >>>>>> i8c dc,h,v,p: 37% 32% 20% 11% >>>>>> kb/s:9416.81 >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:111 >>>>>> sofia/internal/868499 at 52.70.5.23 Standard DESTROY >>>>>> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 >>>>>> (sofia/internal/868499 at 52.70.5.23) State DESTROY going to sleep >>>>>> 2015-12-04 18:17:04.213268 [NOTICE] avformat.c:624 video thread done >>>>>> frame I:12 Avg QP:13.27 size: 89070 >>>>>> frame P:681 Avg QP:11.76 size: 16819 >>>>>> mb I I16..4: 36.9% 0.0% 63.1% >>>>>> mb P I16..4: 2.7% 0.0% 4.9% P16..4: 20.0% 3.0% 1.8% 0.0% >>>>>> 0.0% skip:67.5% >>>>>> final ratefactor: 15.09 >>>>>> coded y,uvDC,uvAC intra: 68.6% 72.9% 63.8% inter: 8.6% 14.6% 6.1% >>>>>> i16 v,h,dc,p: 47% 23% 17% 12% >>>>>> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 35% 9% 3% 4% 3% 4% 4% 4% >>>>>> i8c dc,h,v,p: 39% 32% 18% 12% >>>>>> ref P L0: 90.9% 5.9% 3.2% >>>>>> kb/s:2046.12 >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_ivr_async.c:1366 Channel is >>>>>> hung up >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media_bug.c:1118 >>>>>> Removing BUG from sofia/external/868599 >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:739 >>>>>> (sofia/external/868599) Callstate Change ACTIVE -> HANGUP >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 >>>>>> (sofia/external/868599) State HANGUP >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media.c:10542 >>>>>> sofia/external/868599 skip receive message [VIDEO_REFRESH_REQ] (channel is >>>>>> hungup already) >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:425 >>>>>> sofia/external/868599 Overriding SIP cause 480 with 200 from the other leg >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:431 Channel >>>>>> sofia/external/868599 hanging up, cause: NORMAL_CLEARING >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:484 Sending BYE to >>>>>> sofia/external/868599 >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:60 >>>>>> sofia/external/868599 Standard HANGUP, cause: NORMAL_CLEARING >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 >>>>>> (sofia/external/868599) State HANGUP going to sleep >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:508 >>>>>> (sofia/external/868599) State Change CS_HANGUP -> CS_REPORTING >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:473 >>>>>> (sofia/external/868599) Running State Change CS_REPORTING >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 >>>>>> (sofia/external/868599) State REPORTING >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:104 >>>>>> sofia/external/868599 Standard REPORTING, cause: NORMAL_CLEARING >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 >>>>>> (sofia/external/868599) State REPORTING going to sleep >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:499 >>>>>> (sofia/external/868599) State Change CS_REPORTING -> CS_DESTROY >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_session.c:1646 Session >>>>>> 6 (sofia/external/868599) Locked, Waiting on external entities >>>>>> 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1664 >>>>>> Session 6 (sofia/external/868599) Ended >>>>>> 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1668 Close >>>>>> Channel sofia/external/868599 [CS_DESTROY] >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:630 >>>>>> (sofia/external/868599) Running State Change CS_DESTROY >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 >>>>>> (sofia/external/868599) State DESTROY >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:341 >>>>>> sofia/external/868599 SOFIA DESTROY >>>>>> frame I:45 Avg QP:12.50 size: 45087 >>>>>> frame P:823 Avg QP:13.81 size: 11066 >>>>>> mb I I16..4: 18.3% 0.0% 81.7% >>>>>> mb P I16..4: 6.4% 0.0% 10.7% P16..4: 41.3% 12.4% 5.3% 0.0% >>>>>> 0.0% skip:23.9% >>>>>> coded y,uvDC,uvAC intra: 82.3% 76.7% 61.8% inter: 28.1% 33.2% 6.8% >>>>>> i16 v,h,dc,p: 31% 33% 19% 17% >>>>>> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 38% 14% 3% 3% 4% 3% 3% 4% >>>>>> i8c dc,h,v,p: 41% 35% 18% 5% >>>>>> kb/s:9237.67 >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:111 >>>>>> sofia/external/868599 Standard DESTROY >>>>>> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 >>>>>> (sofia/external/868599) State DESTROY going to sleep >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>> >>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>> http://twitter.com/FreeSWITCH >>>>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>>>> * >>>>> >>>>> ClueCon Weekly Development Call >>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>> >>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >> >> ? http://freeswitch.org/ ? http://cluecon.com/ ? >> http://twitter.com/FreeSWITCH >> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151209/13a211f6/attachment-0001.html From mic.niel84 at gmail.com Wed Dec 9 22:14:42 2015 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Wed, 9 Dec 2015 20:14:42 +0100 Subject: [Freeswitch-users] Push to talk Message-ID: Is it possible to add push to talk capabilities to FreeSWITCH, perhaps via mod_conference? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151209/e9070401/attachment.html From mic.niel84 at gmail.com Wed Dec 9 22:39:08 2015 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Wed, 9 Dec 2015 20:39:08 +0100 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: <5665EA2E.5090508@gmail.com> Message-ID: Another, are there difference in setting variables inline in the bridge-call of before as I did at first? On Wednesday, December 9, 2015, Michael Nielsen wrote: > The scenario with your example is as follows: > > FS subscriber and FS subscriber: Custom ringback audio is played > correctly, BUT when receiving party hangs up without answering the call the > caller still hears the audio without the call being hung up. > > GSM and FS subscriber: GSM caller does not hear anything. > > On Tue, Dec 8, 2015 at 8:36 PM, Brian West > wrote: > >> you put that inside the {} on the bridge line. >> >> >> <*extension* name="wait"> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> <*extension* name="ringback_183_music_ring"> >> >> >> >> >> >> >> >> > "{ignore_early_media=true}loopback/wait"/> >> >> >> >> >> >> >> And NO mp3 probably doesn't matter, as long as you have sufficient CPU, >> which why can't you in this day and age? >> >> On Tue, Dec 8, 2015 at 8:18 AM, Michael Nielsen > > wrote: >> >>> I did try with >>> >>> >>> >>> >>> Didn't change much. However, in some cases it was silence until hangup, >>> and then music did start. Weird. >>> >>> On Tue, Dec 8, 2015 at 2:37 PM, Sergey Safarov >> > wrote: >>> >>>> Try send ringing before early media. >>>> >>>> On Tue, Dec 8, 2015, 16:22 Luis Daniel Lucio Quiroz < >>>> luis.daniel.lucio at gmail.com >>>> > wrote: >>>> >>>>> Sounds nice a cussed problem. >>>>> >>>>> First, convert your sound to wav, mono, 8khz >>>>> You will offload FreeSWITCH and retry >>>>> Le 8 d?c. 2015 7:46 AM, "Michael Nielsen" >>>> > a ?crit : >>>>> >>>>>> Yes. For ringback music. When answering sound is there. >>>>>> >>>>>> On Tuesday, December 8, 2015, Sergey Safarov >>>>> > wrote: >>>>>> >>>>>>> Silence on leg connected via Twilio? >>>>>>> >>>>>>> On Tue, Dec 8, 2015 at 1:49 PM, Michael Nielsen < >>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I found out that it's only when there's an external sip trunk in >>>>>>>> use (Twilio in this case) that there's silence. >>>>>>>> Between subscribers directly connected to FS it works. >>>>>>>> >>>>>>>> On Tue, Dec 8, 2015 at 11:25 AM, Michael Nielsen < >>>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>>> >>>>>>>>> I'm running FreeSWITCH >>>>>>>>> >>>>>>>>> In my log I get Action set(ringback=/etc/freeswitch/ringback.mp3) >>>>>>>>> and also, later on: >>>>>>>>> >>>>>>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1274 Raw >>>>>>>>> Codec Activation Success L16 at 8000hz 1 channel 20ms >>>>>>>>> >>>>>>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_core_codec.c:221 >>>>>>>>> sofia/external/+4454443356778 at my-domain.pstn.twilio.com Push >>>>>>>>> codec L16:100 >>>>>>>>> >>>>>>>>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1306 >>>>>>>>> Play Ringback File [/etc/freeswitch/ringback.mp3] >>>>>>>>> >>>>>>>>> 2015-12-08 10:20:00.539190 [WARNING] switch_core_file.c:341 File >>>>>>>>> has 2 channels, muxing to 1 channel will occur. >>>>>>>>> >>>>>>>>> 2015-12-08 10:20:00.699194 [DEBUG] switch_rtp.c:6640 Correct audio >>>>>>>>> ip/port confirmed. >>>>>>>>> >>>>>>>>> >>>>>>>>> However, there is no sound in my real GSM phone when waiting for >>>>>>>>> answer. Just silence. >>>>>>>>> >>>>>>>>> On Mon, Dec 7, 2015 at 10:21 PM, Brian West >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> I can't replicate the behavior you're describing, can you give me >>>>>>>>>> a few more details? What REV of FreeSWITCH are you running? >>>>>>>>>> >>>>>>>>>> On Mon, Dec 7, 2015 at 2:41 PM, Michael Nielsen < >>>>>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Yes. >>>>>>>>>>> When I put instant_ringback on it seems >>>>>>>>>>> to be silent when ringing - but when I hang up in one end the >>>>>>>>>>> music actually starts in the other end. Kind of weird. >>>>>>>>>>> Putting ignore_early_media makes the music play less than a >>>>>>>>>>> seconds at first and then normal ringtone... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Monday, December 7, 2015, Denis Papes >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Did you load mod_shout? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On 12/07/2015 07:52 PM, Michael Nielsen wrote: >>>>>>>>>>>> >>>>>>>>>>>> If I remove my ringback-variable I do get a normal ringtone. >>>>>>>>>>>> So I guess it's something with my file perhaps - or...? >>>>>>>>>>>> >>>>>>>>>>>> On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < >>>>>>>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Make sure you add {ignore_early_media=true} to dial string and >>>>>>>>>>>>> possibly also {instant_ringback=true} if your call does not get any ringing >>>>>>>>>>>>> indication. (180 183 etc) or is not SIP. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen < >>>>>>>>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>> >>>>>>>>>>>>>> I'm trying to add a custom ringback tone on my FreeSWITCH >>>>>>>>>>>>>> server. >>>>>>>>>>>>>> >>>>>>>>>>>>>> I've created a .mp3 file and added: >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> data="ringback=/home/user/ringback.mp3"/> >>>>>>>>>>>>>> >>>>>>>>>>>>>> However, when trying to call, there's just silence... >>>>>>>>>>>>>> >>>>>>>>>>>>>> Should the format be different, and if so how do I convert >>>>>>>>>>>>>> this? >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>>>>> >>>>>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>>>>> >>>>>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>>>>>>>>>> >>>>>>>>>>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>>>>>>>>>> http://twitter.com/FreeSWITCH >>>>>>>>>>>>> ? irc.freenode.net #freeswitch ? * >>>>>>>>>>>>> http://freeswitch.org/g+ >>>>>>>>>>>>> * >>>>>>>>>>>>> >>>>>>>>>>>>> ClueCon Weekly Development Call >>>>>>>>>>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>>>>>>>>>> >>>>>>>>>>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>>>>>>>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>>>> >>>>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>>>> >>>>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>>>>> >>>>>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>>>>>>>> >>>>>>>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>> >>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> >>>>>>>>>> *Brian West* >>>>>>>>>> brian at freeswitch.org >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>>>> http://www.freeswitchbook.com >>>>>>>>>> http://www.freeswitchcookbook.com >>>>>>>>>> >>>>>>>>>> Got Bugs? Report them here ! | >>>>>>>>>> Reddit: /r/freeswitch >>>>>>>>>> >>>>>>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>>>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151209/c7c8d977/attachment-0001.html From mike at jerris.com Wed Dec 9 22:55:07 2015 From: mike at jerris.com (Michael Jerris) Date: Wed, 9 Dec 2015 14:55:07 -0500 Subject: [Freeswitch-users] Push to talk In-Reply-To: References: Message-ID: <1EBF830F-808A-441B-82E0-30523876D756@jerris.com> its all software, anything is possible. That being said, the sip pieces to support PTT are not in place, so all that would need to be done, plus some facility for indicating PTT would have to be added, then support would need to be added in applications. Its doable but not a small amount of work. > On Dec 9, 2015, at 2:14 PM, Michael Nielsen wrote: > > Is it possible to add push to talk capabilities to FreeSWITCH, perhaps via mod_conference? > From covici at ccs.covici.com Thu Dec 10 08:37:58 2015 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Thu, 10 Dec 2015 00:37:58 -0500 Subject: [Freeswitch-users] fs_cli problem Message-ID: <22452.1449725878@ccs.covici.com> Hi. I am noticing that in recent versions of fs -- at least from git of about 1 December of this year, if you are editing a command line and if you use control-d to delete a character where your cursor is, it deletes the prior character instead. Anyone else seeing this? Thanks in advance for any ideas. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com From aqsyounas at gmail.com Thu Dec 10 17:02:26 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Thu, 10 Dec 2015 19:02:26 +0500 Subject: [Freeswitch-users] originate -ERR NORMAL_TEMPORARY_FAILURE Message-ID: Hi, I have just installed FreeSWITCH Version 1.7.0+git~20151210T010223Z~85f8bca628~64bit (git 85f8bca 2015-12-10 01:02:23Z 64bit) and registered two default user without changing anything on my local server. freeswitch at internal> sofia status profile internal reg Registrations: ================================================================================================= Call-ID: OfA_p_gR_cgODJYoIsvSNg.. User: 1010 at 192.168.10.41 Contact: "" Agent: Z 3.7.30891 r30851 Status: Registered(UDP)(unknown) EXP(2015-12-09 22:28:28) EXPSECS(2770) Ping-Status: Reachable Ping-Time: 0.00 Host: debian IP: 192.168.10.37 Port: 39618 Auth-User: 1010 Auth-Realm: 192.168.10.41 MWI-Account: 1010 at 192.168.10.41 Call-ID: II5QsfQj_hgDlJI8jdEmEA.. User: 1015 at 192.168.10.41 Contact: "" Agent: Z 3.7.30891 r30851 Status: Registered(TCP)(unknown) EXP(2015-12-09 22:30:03) EXPSECS(2865) Ping-Status: Reachable Ping-Time: 0.00 Host: debian IP: 192.168.10.37 Port: 58530 Auth-User: 1015 Auth-Realm: 192.168.10.41 MWI-Account: 1015 at 192.168.10.41 Total items returned: 2 ================================================================================================= But when i try to call user 1015 using originate and connect with extension 8000. freeswitch at internal> originate sofia/internal/1010%192.168.10.41 8000 -ERR NORMAL_TEMPORARY_FAILURE Also freeswitch at internal> originate user/1010 8000 -ERR NORMAL_TEMPORARY_FAILURE 2015-12-09 21:45:04.194431 [DEBUG] switch_ivr_originate.c:2128 Parsing global variables 2015-12-09 21:45:04.194431 [DEBUG] switch_ivr_originate.c:2128 Parsing global variables 2015-12-09 21:45:04.194431 [NOTICE] switch_channel.c:1091 New Channel sofia/internal/1010 at 182.176.103.109:39618 [196521b6-3287-430e-a560-80cb2799bc48] 2015-12-09 21:45:04.194431 [DEBUG] mod_sofia.c:4775 (sofia/internal/ 1010 at 182.176.103.109:39618) State Change CS_NEW -> CS_INIT 2015-12-09 21:45:04.194431 [NOTICE] switch_ivr_originate.c:2763 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED] 2015-12-09 21:45:04.194431 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/1010 at 182.176.103.109:39618) Running State Change CS_INIT 2015-12-09 21:45:04.194431 [DEBUG] switch_core_state_machine.c:516 (sofia/internal/1010 at 182.176.103.109:39618) State INIT 2015-12-09 21:45:04.194431 [DEBUG] mod_sofia.c:88 sofia/internal/ 1010 at 182.176.103.109:39618 SOFIA INIT 2015-12-09 21:45:04.513945 [DEBUG] switch_nat.c:508 mapped public port 17470 protocol UDP to localport 17470 2015-12-09 21:45:04.539548 [DEBUG] sofia_glue.c:1257 sofia/internal/ 1010 at 182.176.103.109:39618 sending invite version: 1.7.0 git 85f8bca 2015-12-10 01:02:23Z 64bit Local SDP: v=0 o=FreeSWITCH 1449698034 1449698035 IN IP4 182.176.103.109 s=FreeSWITCH c=IN IP4 182.176.103.109 t=0 0 m=audio 17470 RTP/AVP 9 0 8 101 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv send 1306 bytes to udp/[182.176.103.109]:39618 at 21:45:04.540029: ------------------------------------------------------------------------ INVITE sip:1010 at 182.176.103.109:39618;rinstance=c2197b164b54c39f;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 182.176.103.109;rport;branch=z9hG4bKcBm8r50ZcZ9ma Max-Forwards: 70 From: "" ;tag=aaD54F6Xm2Q2K To: Call-ID: db9b9b73-198a-1234-408f-0800274aea4c CSeq: 84521688 INVITE Contact: User-Agent: FreeSWITCH-mod_sofia/1.7.0+git~20151210T010223Z~85f8bca628~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 274 X-FS-Support: update_display,send_info Remote-Party-ID: ;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1449698034 1449698035 IN IP4 182.176.103.109 s=FreeSWITCH c=IN IP4 182.176.103.109 t=0 0 m=audio 17470 RTP/AVP 9 0 8 101 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 ------------------------------------------------------------------------ 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:40 sofia/internal/1010 at 182.176.103.109:39618 Standard INIT 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/1010 at 182.176.103.109:39618) State Change CS_INIT -> CS_ROUTING 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:516 (sofia/internal/1010 at 182.176.103.109:39618) State INIT going to sleep 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/1010 at 182.176.103.109:39618) Running State Change CS_ROUTING 2015-12-09 21:45:04.539548 [DEBUG] sofia.c:6755 Channel sofia/internal/ 1010 at 182.176.103.109:39618 entering state [calling][0] 2015-12-09 21:45:04.539548 [DEBUG] sofia.c:6755 Channel sofia/internal/ 1010 at 182.176.103.109:39618 entering state [terminated][503] 2015-12-09 21:45:04.539548 [NOTICE] sofia.c:7774 Hangup sofia/internal/ 1010 at 182.176.103.109:39618 [CS_ROUTING] [NORMAL_TEMPORARY_FAILURE] 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:532 (sofia/internal/1010 at 182.176.103.109:39618) State ROUTING 2015-12-09 21:45:04.539548 [DEBUG] mod_sofia.c:141 sofia/internal/ 1010 at 182.176.103.109:39618 SOFIA ROUTING 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:532 (sofia/internal/1010 at 182.176.103.109:39618) State ROUTING going to sleep 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/1010 at 182.176.103.109:39618) Running State Change CS_HANGUP 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/1010 at 182.176.103.109:39618) Callstate Change DOWN -> HANGUP 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1010 at 182.176.103.109:39618) State HANGUP 2015-12-09 21:45:04.539548 [DEBUG] mod_sofia.c:431 Channel sofia/internal/ 1010 at 182.176.103.109:39618 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1010 at 182.176.103.109:39618 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1010 at 182.176.103.109:39618) State HANGUP going to sleep 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:508 (sofia/internal/1010 at 182.176.103.109:39618) State Change CS_HANGUP -> CS_REPORTING 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/1010 at 182.176.103.109:39618) Running State Change CS_REPORTING 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/1010 at 182.176.103.109:39618) State REPORTING 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:104 sofia/internal/1010 at 182.176.103.109:39618 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/1010 at 182.176.103.109:39618) State REPORTING going to sleep 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/1010 at 182.176.103.109:39618) State Change CS_REPORTING -> CS_DESTROY 2015-12-09 21:45:04.539548 [DEBUG] switch_core_session.c:1646 Session 12 (sofia/internal/1010 at 182.176.103.109:39618) Locked, Waiting on external entities 2015-12-09 21:45:04.539548 [DEBUG] switch_ivr_originate.c:3751 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2015-12-09 21:45:04.539548 [NOTICE] switch_ivr_originate.c:2763 Cannot create outgoing channel of type [user] cause: [NORMAL_TEMPORARY_FAILURE] 2015-12-09 21:45:04.539548 [DEBUG] switch_ivr_originate.c:3751 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2015-12-09 21:45:04.539548 [NOTICE] switch_core_session.c:1664 Session 12 (sofia/internal/1010 at 182.176.103.109:39618) Ended 2015-12-09 21:45:04.539548 [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/1010 at 182.176.103.109:39618 [CS_DESTROY] 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:630 (sofia/internal/1010 at 182.176.103.109:39618) Running State Change CS_DESTROY 2015-12-09 21:45:04.539548 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/1010 at 182.176.103.109:39618) State DESTROY 2015-12-09 21:45:04.539548 [DEBUG] mod_sofia.c:341 sofia/internal/ 1010 at 182.176.103.109:39618 SOFIA DESTROY 2015-12-09 21:45:04.894497 [DEBUG] switch_nat.c:568 unmapped public port 17470 protocol UDP to localport 17470 2015-12-09 21:45:05.094227 [DEBUG] switch_core_state_machine.c:111 sofia/internal/1010 at 182.176.103.109:39618 Standard DESTROY 2015-12-09 21:45:05.094227 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/1010 at 182.176.103.109:39618) State DESTROY going to sleep Why it is failing or what I am doing wrong. Any pointer would be much appreciated. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/97b5a556/attachment-0001.html From brian at freeswitch.org Thu Dec 10 18:32:25 2015 From: brian at freeswitch.org (Brian West) Date: Thu, 10 Dec 2015 09:32:25 -0600 Subject: [Freeswitch-users] fs_cli problem In-Reply-To: <22452.1449725878@ccs.covici.com> References: <22452.1449725878@ccs.covici.com> Message-ID: Thats now new, thats been there for some time. On Wed, Dec 9, 2015 at 11:37 PM, wrote: > Hi. I am noticing that in recent versions of fs -- at least from git of > about 1 December of this year, if you are editing a command line and if > you use control-d to delete a character where your cursor is, it deletes > the prior character instead. Anyone else seeing this? > > Thanks in advance for any ideas. > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > covici at ccs.covici.com > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/2515af26/attachment.html From aqsyounas at gmail.com Thu Dec 10 19:23:14 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Thu, 10 Dec 2015 21:23:14 +0500 Subject: [Freeswitch-users] Generate calls with required CPS. Message-ID: Hi, I have a gateway registered with my freeswitch. Currently I generate(originate) calls with python script using ESL to 500 to 2000 numbers to that gateway. Is there anyway to send call to gateway with required CPS. Like my gateway allows calls not greater than 5 CPS. Any suggestion would be much appreciated. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/5f81aafd/attachment.html From krice at freeswitch.org Thu Dec 10 19:27:16 2015 From: krice at freeswitch.org (Ken Rice) Date: Thu, 10 Dec 2015 10:27:16 -0600 Subject: [Freeswitch-users] Generate calls with required CPS. In-Reply-To: References: Message-ID: <375601d13367$a2bdc990$e8395cb0$@freeswitch.org> Theres 2 ways to handle this If your ESL scipt is handing the routing to the gateways, it needs to track and account for the CPS limits on the gateways. If you are routing the calls via the dialplan you can use limit execute to restrict the CPS to any gateway as it will skip execute of the bridge dialplan app to that gateway? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Aqs Younas Sent: Thursday, December 10, 2015 10:23 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Generate calls with required CPS. Hi, I have a gateway registered with my freeswitch. Currently I generate(originate) calls with python script using ESL to 500 to 2000 numbers to that gateway. Is there anyway to send call to gateway with required CPS. Like my gateway allows calls not greater than 5 CPS. Any suggestion would be much appreciated. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/a233c9d2/attachment.html From brian at freeswitch.org Thu Dec 10 19:28:39 2015 From: brian at freeswitch.org (Brian West) Date: Thu, 10 Dec 2015 10:28:39 -0600 Subject: [Freeswitch-users] Generate calls with required CPS. In-Reply-To: References: Message-ID: see mod_limit. On Thu, Dec 10, 2015 at 10:23 AM, Aqs Younas wrote: > Hi, > > I have a gateway registered with my freeswitch. Currently I > generate(originate) calls with python script using ESL to 500 to 2000 > numbers to that gateway. > > Is there anyway to send call to gateway with required CPS. Like my gateway > allows calls not greater than 5 CPS. > > Any suggestion would be much appreciated. > Thanks. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/6602af18/attachment.html From ssinyagin at gmail.com Thu Dec 10 19:28:52 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 10 Dec 2015 17:28:52 +0100 Subject: [Freeswitch-users] Generate calls with required CPS. In-Reply-To: References: Message-ID: here's my script that might help: https://github.com/voxserv/freeswitch-perf-dialer On Thu, Dec 10, 2015 at 5:23 PM, Aqs Younas wrote: > Hi, > > I have a gateway registered with my freeswitch. Currently I > generate(originate) calls with python script using ESL to 500 to 2000 > numbers to that gateway. > > Is there anyway to send call to gateway with required CPS. Like my gateway > allows calls not greater than 5 CPS. > > Any suggestion would be much appreciated. > Thanks. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From ximop_22 at hotmail.com Thu Dec 10 19:55:21 2015 From: ximop_22 at hotmail.com (Ximo Peral) Date: Thu, 10 Dec 2015 17:55:21 +0100 Subject: [Freeswitch-users] Import variable from bleg to aleg Message-ID: Hello, I need to import a variable from b-leg to a-leg but renaming. I use the parameter https://wiki.freeswitch.org/wiki/Variable_import The problem is that I can not change the name of the variable. Change the value of the variable in aleg. You know if this is possible? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/549bb1b9/attachment-0001.html From bc at iptel.co Tue Dec 8 14:19:13 2015 From: bc at iptel.co (Brian ::) Date: Tue, 8 Dec 2015 11:19:13 +0000 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: <5665EA2E.5090508@gmail.com> Message-ID: Its possible that twilio aren't letting you pass custom early media.. On Tue, Dec 8, 2015 at 10:49 AM, Michael Nielsen wrote: > Hi, > > I found out that it's only when there's an external sip trunk in use > (Twilio in this case) that there's silence. > Between subscribers directly connected to FS it works. > > On Tue, Dec 8, 2015 at 11:25 AM, Michael Nielsen > wrote: > >> I'm running FreeSWITCH >> >> In my log I get Action set(ringback=/etc/freeswitch/ringback.mp3) and >> also, later on: >> >> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1274 Raw Codec >> Activation Success L16 at 8000hz 1 channel 20ms >> >> 2015-12-08 10:20:00.539190 [DEBUG] switch_core_codec.c:221 >> sofia/external/+4454443356778 at my-domain.pstn.twilio.com Push codec >> L16:100 >> >> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1306 Play >> Ringback File [/etc/freeswitch/ringback.mp3] >> >> 2015-12-08 10:20:00.539190 [WARNING] switch_core_file.c:341 File has 2 >> channels, muxing to 1 channel will occur. >> >> 2015-12-08 10:20:00.699194 [DEBUG] switch_rtp.c:6640 Correct audio >> ip/port confirmed. >> >> >> However, there is no sound in my real GSM phone when waiting for answer. >> Just silence. >> >> On Mon, Dec 7, 2015 at 10:21 PM, Brian West wrote: >> >>> I can't replicate the behavior you're describing, can you give me a few >>> more details? What REV of FreeSWITCH are you running? >>> >>> On Mon, Dec 7, 2015 at 2:41 PM, Michael Nielsen >>> wrote: >>> >>>> Yes. >>>> When I put instant_ringback on it seems >>>> to be silent when ringing - but when I hang up in one end the music >>>> actually starts in the other end. Kind of weird. >>>> Putting ignore_early_media makes the music play less than a seconds at >>>> first and then normal ringtone... >>>> >>>> >>>> On Monday, December 7, 2015, Denis Papes wrote: >>>> >>>>> Did you load mod_shout? >>>>> >>>>> >>>>> On 12/07/2015 07:52 PM, Michael Nielsen wrote: >>>>> >>>>> If I remove my ringback-variable I do get a normal ringtone. >>>>> So I guess it's something with my file perhaps - or...? >>>>> >>>>> On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < >>>>> anthony.minessale at gmail.com> wrote: >>>>> >>>>>> Make sure you add {ignore_early_media=true} to dial string and >>>>>> possibly also {instant_ringback=true} if your call does not get any ringing >>>>>> indication. (180 183 etc) or is not SIP. >>>>>> >>>>>> >>>>>> On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen < >>>>>> mic.niel84 at gmail.com> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I'm trying to add a custom ringback tone on my FreeSWITCH server. >>>>>>> >>>>>>> I've created a .mp3 file and added: >>>>>>> >>>>>>> >>>>>> data="ringback=/home/user/ringback.mp3"/> >>>>>>> >>>>>>> However, when trying to call, there's just silence... >>>>>>> >>>>>>> Should the format be different, and if so how do I convert this? >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>>> >>>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>>> http://twitter.com/FreeSWITCH >>>>>> ? irc.freenode.net #freeswitch ? * >>>>>> http://freeswitch.org/g+ >>>>>> * >>>>>> >>>>>> ClueCon Weekly Development Call >>>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>>> >>>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>> >>>>> >>>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> Got Bugs? Report them here ! | Reddit: >>> /r/freeswitch >>> >>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151208/20d0156f/attachment-0001.html From aalexson at thinkers.cx Wed Dec 9 15:16:43 2015 From: aalexson at thinkers.cx (Adrien Alexson) Date: Wed, 9 Dec 2015 07:16:43 -0500 Subject: [Freeswitch-users] Sangoma A200 with FXO-4 ports (mod_freetdm) In-Reply-To: References: Message-ID: Hello, I am attempting to get a Sangoma A200 working on a Freeswitch RPM install on CentOS7. Is there a way to enable mod_freetdm without having to compile Freeswitch from the source code? If so, any advice as to how, would be greatly appreciated. Thank you. From aalexson at thinkers.cx Thu Dec 10 09:26:31 2015 From: aalexson at thinkers.cx (Adrien Alexson) Date: Thu, 10 Dec 2015 01:26:31 -0500 Subject: [Freeswitch-users] mod_freetdm In-Reply-To: <22452.1449725878@ccs.covici.com> References: <22452.1449725878@ccs.covici.com> Message-ID: I?m attempting to install a Sangoma A200 into a newly built Freeswitch box (latest RPM on CentOS7). Is there a way to enable mod_freetdm without compiling Freeswitch? Thank you. From s.safarov at gmail.com Thu Dec 10 20:05:29 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 10 Dec 2015 17:05:29 +0000 Subject: [Freeswitch-users] Custom ringback tone In-Reply-To: References: <5665EA2E.5090508@gmail.com> Message-ID: I say early On cisco gateways is requred to send ringing message before sending early media. On Thu, Dec 10, 2015, 20:00 Brian :: wrote: > Its possible that twilio aren't letting you pass custom early media.. > > > On Tue, Dec 8, 2015 at 10:49 AM, Michael Nielsen > wrote: > >> Hi, >> >> I found out that it's only when there's an external sip trunk in use >> (Twilio in this case) that there's silence. >> Between subscribers directly connected to FS it works. >> >> On Tue, Dec 8, 2015 at 11:25 AM, Michael Nielsen >> wrote: >> >>> I'm running FreeSWITCH >>> >>> In my log I get Action set(ringback=/etc/freeswitch/ringback.mp3) and >>> also, later on: >>> >>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1274 Raw Codec >>> Activation Success L16 at 8000hz 1 channel 20ms >>> >>> 2015-12-08 10:20:00.539190 [DEBUG] switch_core_codec.c:221 >>> sofia/external/+4454443356778 at my-domain.pstn.twilio.com Push codec >>> L16:100 >>> >>> 2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1306 Play >>> Ringback File [/etc/freeswitch/ringback.mp3] >>> >>> 2015-12-08 10:20:00.539190 [WARNING] switch_core_file.c:341 File has 2 >>> channels, muxing to 1 channel will occur. >>> >>> 2015-12-08 10:20:00.699194 [DEBUG] switch_rtp.c:6640 Correct audio >>> ip/port confirmed. >>> >>> >>> However, there is no sound in my real GSM phone when waiting for answer. >>> Just silence. >>> >>> On Mon, Dec 7, 2015 at 10:21 PM, Brian West >>> wrote: >>> >>>> I can't replicate the behavior you're describing, can you give me a few >>>> more details? What REV of FreeSWITCH are you running? >>>> >>>> On Mon, Dec 7, 2015 at 2:41 PM, Michael Nielsen >>>> wrote: >>>> >>>>> Yes. >>>>> When I put instant_ringback on it seems >>>>> to be silent when ringing - but when I hang up in one end the music >>>>> actually starts in the other end. Kind of weird. >>>>> Putting ignore_early_media makes the music play less than a seconds at >>>>> first and then normal ringtone... >>>>> >>>>> >>>>> On Monday, December 7, 2015, Denis Papes wrote: >>>>> >>>>>> Did you load mod_shout? >>>>>> >>>>>> >>>>>> On 12/07/2015 07:52 PM, Michael Nielsen wrote: >>>>>> >>>>>> If I remove my ringback-variable I do get a normal ringtone. >>>>>> So I guess it's something with my file perhaps - or...? >>>>>> >>>>>> On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale < >>>>>> anthony.minessale at gmail.com> wrote: >>>>>> >>>>>>> Make sure you add {ignore_early_media=true} to dial string and >>>>>>> possibly also {instant_ringback=true} if your call does not get any ringing >>>>>>> indication. (180 183 etc) or is not SIP. >>>>>>> >>>>>>> >>>>>>> On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen < >>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I'm trying to add a custom ringback tone on my FreeSWITCH server. >>>>>>>> >>>>>>>> I've created a .mp3 file and added: >>>>>>>> >>>>>>>> >>>>>>> data="ringback=/home/user/ringback.mp3"/> >>>>>>>> >>>>>>>> However, when trying to call, there's just silence... >>>>>>>> >>>>>>>> Should the format be different, and if so how do I convert this? >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>>>> >>>>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>>>> http://twitter.com/FreeSWITCH >>>>>>> ? irc.freenode.net #freeswitch ? * >>>>>>> http://freeswitch.org/g+ >>>>>>> * >>>>>>> >>>>>>> ClueCon Weekly Development Call >>>>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>>>> >>>>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>> >>>>>> >>>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> >>>> Got Bugs? Report them here ! | Reddit: >>>> /r/freeswitch >>>> >>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/0927ff44/attachment-0001.html From mike at jerris.com Thu Dec 10 20:08:16 2015 From: mike at jerris.com (Michael Jerris) Date: Thu, 10 Dec 2015 12:08:16 -0500 Subject: [Freeswitch-users] mod_freetdm In-Reply-To: References: <22452.1449725878@ccs.covici.com> Message-ID: <4B09C008-BBB2-409C-86BD-E32FD0D4453D@jerris.com> I don't think we have that in our packages, but we would welcome patches to improve this process. > On Dec 10, 2015, at 1:26 AM, Adrien Alexson wrote: > > I?m attempting to install a Sangoma A200 into a newly built Freeswitch box (latest RPM on CentOS7). Is there a way to enable mod_freetdm without compiling Freeswitch? > > Thank you. > > From s.safarov at gmail.com Thu Dec 10 20:10:17 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 10 Dec 2015 17:10:17 +0000 Subject: [Freeswitch-users] mod_freetdm In-Reply-To: <4B09C008-BBB2-409C-86BD-E32FD0D4453D@jerris.com> References: <22452.1449725878@ccs.covici.com> <4B09C008-BBB2-409C-86BD-E32FD0D4453D@jerris.com> Message-ID: Package exist in repo http://files.freeswitch.org/yum-1.6/7/x86_64/freeswitch-freetdm-1.6.5-1.el7.centos.x86_64.rpm Are you tested official FS build? On Thu, Dec 10, 2015, 20:09 Michael Jerris wrote: > I don't think we have that in our packages, but we would welcome patches > to improve this process. > > > On Dec 10, 2015, at 1:26 AM, Adrien Alexson > wrote: > > > > I?m attempting to install a Sangoma A200 into a newly built Freeswitch > box (latest RPM on CentOS7). Is there a way to enable mod_freetdm without > compiling Freeswitch? > > > > Thank you. > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/3184d37f/attachment.html From amkusmirek at gmail.com Thu Dec 10 20:36:17 2015 From: amkusmirek at gmail.com (=?UTF-8?Q?Adam_Ku=C5=9Bmirek?=) Date: Thu, 10 Dec 2015 18:36:17 +0100 Subject: [Freeswitch-users] High load with low cpu utilization Message-ID: Hello We see a high load on server with two 10 core HT processors. cat /proc/cpuinfo shows 40 processors. 1 minute load average is often grater than 70 when processing ~120 concurrent calls. CPU utilization shows 97%idle and 0.1%wa I checked also io stats and everything looks OK. Operating system Centos 7 uname -a Linux pbx-fs-drc.ib 3.10.0-229.7.2.el7.x86_64 #1 SMP Tue Jun 23 22:06:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Below link to pastebin with gdb output gdb /usr/local/freeswitch/bin/freeswitch /usr/local/freeswitch/log/freeswitch.gcore.2699 set pagination off thread apply all bt https://pastebin.freeswitch.org/24487 We are planning to run much more concurrent calls but do not understand these stats. Why processes are waiting in queue and we do not see any bottleneck ? Please help -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/85a63943/attachment.html From aqsyounas at gmail.com Thu Dec 10 22:59:38 2015 From: aqsyounas at gmail.com (Aqs Younas) Date: Fri, 11 Dec 2015 00:59:38 +0500 Subject: [Freeswitch-users] Generate calls with required CPS. In-Reply-To: References: Message-ID: Thank you guys and Stanislav Sinyagin thanks for the script. On 10 December 2015 at 21:28, Stanislav Sinyagin wrote: > here's my script that might help: > > https://github.com/voxserv/freeswitch-perf-dialer > > > > On Thu, Dec 10, 2015 at 5:23 PM, Aqs Younas wrote: > > Hi, > > > > I have a gateway registered with my freeswitch. Currently I > > generate(originate) calls with python script using ESL to 500 to 2000 > > numbers to that gateway. > > > > Is there anyway to send call to gateway with required CPS. Like my > gateway > > allows calls not greater than 5 CPS. > > > > Any suggestion would be much appreciated. > > Thanks. > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151211/88710cea/attachment.html From jkomar at jbox.ca Thu Dec 10 23:10:54 2015 From: jkomar at jbox.ca (Komar, Jason) Date: Thu, 10 Dec 2015 13:10:54 -0700 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: Your instructions worked great for me building on/for my Odroid-U3 (arm) running Debian Jessie. I know you are running on arm at scaleway. Do you ever run into any alignment issues? I'm getting alignment exception faults receiving faxes and I'm having trouble pulling any useful debug messages. Thanks, Jason On Mon, Nov 30, 2015 at 9:27 AM, Stanislav Sinyagin wrote: > hi, > > I put together the build scenario that I tested for ARM (armhf at > scaleway.com), and it should also work for other architectures: > > > https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other+architectures > > It will be great if someone tests them on other architectures too. > > > cheers, > stanislav > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/74232ffa/attachment.html From tru083 at yahoo.com Thu Dec 10 23:19:29 2015 From: tru083 at yahoo.com (D D) Date: Thu, 10 Dec 2015 20:19:29 +0000 (UTC) Subject: [Freeswitch-users] How can I cancel an entire file_string list of files from a playback? References: <332061340.518454.1449778769396.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <332061340.518454.1449778769396.JavaMail.yahoo@mail.yahoo.com> Hi, I am playing a list of files using playback with a file_string list. If I send a break command to the channel, then only the currently playing fileis stopped, and then the playback continues on to the next file. ? I tried to use "break all" but that cancels the entire dialplan application queue,and the call gets terminated. How can I just cancel all the files in the playback file_string? Thanks,David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/39115e9e/attachment-0001.html From ssinyagin at gmail.com Fri Dec 11 00:37:52 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 10 Dec 2015 22:37:52 +0100 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: Hi, I didn't see any errors, but I'm not using fax, and mostly it's bridging the calls and connecting users to a conference. Do you have more debugging information? Most probably the source of the problem is that x86 allows unaligned memory access: a word pointer can have any value. And other architectures don't allow this, and require the pointers to be aligned to word boundaries. Mongodb, for example, is known to fail on any non-x86 CPU because of that. So, probably mod_spandsp needs an audit. On 10 Dec 2015 21:11, "Komar, Jason" wrote: > Your instructions worked great for me building on/for my Odroid-U3 (arm) > running Debian Jessie. > > I know you are running on arm at scaleway. Do you ever run into any > alignment issues? I'm getting alignment exception faults receiving faxes > and I'm having trouble pulling any useful debug messages. > > Thanks, > Jason > > On Mon, Nov 30, 2015 at 9:27 AM, Stanislav Sinyagin > wrote: > >> hi, >> >> I put together the build scenario that I tested for ARM (armhf at >> scaleway.com), and it should also work for other architectures: >> >> >> https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other+architectures >> >> It will be great if someone tests them on other architectures too. >> >> >> cheers, >> stanislav >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/830740ad/attachment.html From jkomar at jbox.ca Fri Dec 11 00:49:44 2015 From: jkomar at jbox.ca (Komar, Jason) Date: Thu, 10 Dec 2015 14:49:44 -0700 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: I get nothing in debug or sip trace. It always dies at mod_spandsp_fax so I figured it was in that module. At that point freeswitch just restarts without throwing any errors. Kernel log shows: Dec 10 14:16:17 antman kernel: [ 5949.832802] Alignment trap: not handling instruction ecb17a01 at [] Dec 10 14:16:17 antman kernel: [ 5949.834290] Unhandled fault: alignment exception (0x001) at 0xb4546e4a The only part of the exception that is the same every time it happens is "instruction ecb17a01." I would have just opened a JIRA, but I didn't think this was enough information. I have been Googling trying to figure out how to get more info. Jason On Thu, Dec 10, 2015 at 2:37 PM, Stanislav Sinyagin wrote: > Hi, I didn't see any errors, but I'm not using fax, and mostly it's > bridging the calls and connecting users to a conference. Do you have more > debugging information? > > Most probably the source of the problem is that x86 allows unaligned > memory access: a word pointer can have any value. And other architectures > don't allow this, and require the pointers to be aligned to word > boundaries. Mongodb, for example, is known to fail on any non-x86 CPU > because of that. > > So, probably mod_spandsp needs an audit. > On 10 Dec 2015 21:11, "Komar, Jason" wrote: > >> Your instructions worked great for me building on/for my Odroid-U3 (arm) >> running Debian Jessie. >> >> I know you are running on arm at scaleway. Do you ever run into any >> alignment issues? I'm getting alignment exception faults receiving faxes >> and I'm having trouble pulling any useful debug messages. >> >> Thanks, >> Jason >> >> On Mon, Nov 30, 2015 at 9:27 AM, Stanislav Sinyagin >> wrote: >> >>> hi, >>> >>> I put together the build scenario that I tested for ARM (armhf at >>> scaleway.com), and it should also work for other architectures: >>> >>> >>> https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other+architectures >>> >>> It will be great if someone tests them on other architectures too. >>> >>> >>> cheers, >>> stanislav >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/512e001b/attachment.html From jkomar at jbox.ca Fri Dec 11 00:51:13 2015 From: jkomar at jbox.ca (Komar, Jason) Date: Thu, 10 Dec 2015 14:51:13 -0700 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: This is on FreeSWITCH Version 1.6.5+git-20151209T192325Z~70b8c17763~32bit (git 70b8c17 2015-12-09 19:23:25Z 32bit) by the way. On Thu, Dec 10, 2015 at 2:49 PM, Komar, Jason wrote: > I get nothing in debug or sip trace. It always dies at mod_spandsp_fax so > I figured it was in that module. At that point freeswitch just restarts > without throwing any errors. > > Kernel log shows: > > Dec 10 14:16:17 antman kernel: [ 5949.832802] Alignment trap: not handling > instruction ecb17a01 at [] > Dec 10 14:16:17 antman kernel: [ 5949.834290] Unhandled fault: alignment > exception (0x001) at 0xb4546e4a > > The only part of the exception that is the same every time it happens is > "instruction ecb17a01." > > I would have just opened a JIRA, but I didn't think this was enough > information. I have been Googling trying to figure out how to get more info. > > Jason > > > On Thu, Dec 10, 2015 at 2:37 PM, Stanislav Sinyagin > wrote: > >> Hi, I didn't see any errors, but I'm not using fax, and mostly it's >> bridging the calls and connecting users to a conference. Do you have more >> debugging information? >> >> Most probably the source of the problem is that x86 allows unaligned >> memory access: a word pointer can have any value. And other architectures >> don't allow this, and require the pointers to be aligned to word >> boundaries. Mongodb, for example, is known to fail on any non-x86 CPU >> because of that. >> >> So, probably mod_spandsp needs an audit. >> On 10 Dec 2015 21:11, "Komar, Jason" wrote: >> >>> Your instructions worked great for me building on/for my Odroid-U3 (arm) >>> running Debian Jessie. >>> >>> I know you are running on arm at scaleway. Do you ever run into any >>> alignment issues? I'm getting alignment exception faults receiving faxes >>> and I'm having trouble pulling any useful debug messages. >>> >>> Thanks, >>> Jason >>> >>> On Mon, Nov 30, 2015 at 9:27 AM, Stanislav Sinyagin >> > wrote: >>> >>>> hi, >>>> >>>> I put together the build scenario that I tested for ARM (armhf at >>>> scaleway.com), and it should also work for other architectures: >>>> >>>> >>>> https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other+architectures >>>> >>>> It will be great if someone tests them on other architectures too. >>>> >>>> >>>> cheers, >>>> stanislav >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/3fc5e941/attachment-0001.html From ssinyagin at gmail.com Fri Dec 11 02:19:37 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Fri, 11 Dec 2015 00:19:37 +0100 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: if coredumps are not made, you need to enable them, and then install debug symbols (-dbg packages), and run gdb on the core fule. Then it shoul dindicate the line number in the sources where it crashed. Here's one suspect: mod_spandsp_fax.c, mod_spandsp_fax_process_fax: int16_t *buf = NULL; .... buf = switch_core_session_alloc(session, SWITCH_RECOMMENDED_BUFFER_SIZE); are we guaranteed that alloc returns a 16-bit aligned pointer? I think it makes sense to open a jira ticket anyway On Thu, Dec 10, 2015 at 10:51 PM, Komar, Jason wrote: > This is on FreeSWITCH Version 1.6.5+git-20151209T192325Z~70b8c17763~32bit > (git 70b8c17 2015-12-09 19:23:25Z 32bit) by the way. > > > On Thu, Dec 10, 2015 at 2:49 PM, Komar, Jason wrote: >> >> I get nothing in debug or sip trace. It always dies at mod_spandsp_fax so >> I figured it was in that module. At that point freeswitch just restarts >> without throwing any errors. >> >> Kernel log shows: >> >> Dec 10 14:16:17 antman kernel: [ 5949.832802] Alignment trap: not handling >> instruction ecb17a01 at [] >> Dec 10 14:16:17 antman kernel: [ 5949.834290] Unhandled fault: alignment >> exception (0x001) at 0xb4546e4a >> >> The only part of the exception that is the same every time it happens is >> "instruction ecb17a01." >> >> I would have just opened a JIRA, but I didn't think this was enough >> information. I have been Googling trying to figure out how to get more info. >> >> Jason >> >> >> On Thu, Dec 10, 2015 at 2:37 PM, Stanislav Sinyagin >> wrote: >>> >>> Hi, I didn't see any errors, but I'm not using fax, and mostly it's >>> bridging the calls and connecting users to a conference. Do you have more >>> debugging information? >>> >>> Most probably the source of the problem is that x86 allows unaligned >>> memory access: a word pointer can have any value. And other architectures >>> don't allow this, and require the pointers to be aligned to word boundaries. >>> Mongodb, for example, is known to fail on any non-x86 CPU because of that. >>> >>> So, probably mod_spandsp needs an audit. >>> >>> On 10 Dec 2015 21:11, "Komar, Jason" wrote: >>>> >>>> Your instructions worked great for me building on/for my Odroid-U3 (arm) >>>> running Debian Jessie. >>>> >>>> I know you are running on arm at scaleway. Do you ever run into any >>>> alignment issues? I'm getting alignment exception faults receiving faxes and >>>> I'm having trouble pulling any useful debug messages. >>>> >>>> Thanks, >>>> Jason >>>> >>>> On Mon, Nov 30, 2015 at 9:27 AM, Stanislav Sinyagin >>>> wrote: >>>>> >>>>> hi, >>>>> >>>>> I put together the build scenario that I tested for ARM (armhf at >>>>> scaleway.com), and it should also work for other architectures: >>>>> >>>>> >>>>> https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other+architectures >>>>> >>>>> It will be great if someone tests them on other architectures too. >>>>> >>>>> >>>>> cheers, >>>>> stanislav >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From jkomar at jbox.ca Fri Dec 11 02:28:26 2015 From: jkomar at jbox.ca (Komar, Jason) Date: Thu, 10 Dec 2015 16:28:26 -0700 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: Some of this is a bit of unfamiliar territory for me, but I am learning. I will try enabling core dumps, etc. and see if I can get some more information. I will open up a jira ticket in the next couple of days. Thanks for your help. Jason On Thu, Dec 10, 2015 at 4:19 PM, Stanislav Sinyagin wrote: > if coredumps are not made, you need to enable them, and then install > debug symbols (-dbg packages), and run gdb on the core fule. Then it > shoul dindicate the line number in the sources where it crashed. > > Here's one suspect: mod_spandsp_fax.c, mod_spandsp_fax_process_fax: > > int16_t *buf = NULL; > .... > buf = switch_core_session_alloc(session, > SWITCH_RECOMMENDED_BUFFER_SIZE); > > are we guaranteed that alloc returns a 16-bit aligned pointer? > > I think it makes sense to open a jira ticket anyway > > > > > > > On Thu, Dec 10, 2015 at 10:51 PM, Komar, Jason wrote: > > This is on FreeSWITCH Version 1.6.5+git-20151209T192325Z~70b8c17763~32bit > > (git 70b8c17 2015-12-09 19:23:25Z 32bit) by the way. > > > > > > On Thu, Dec 10, 2015 at 2:49 PM, Komar, Jason wrote: > >> > >> I get nothing in debug or sip trace. It always dies at mod_spandsp_fax > so > >> I figured it was in that module. At that point freeswitch just restarts > >> without throwing any errors. > >> > >> Kernel log shows: > >> > >> Dec 10 14:16:17 antman kernel: [ 5949.832802] Alignment trap: not > handling > >> instruction ecb17a01 at [] > >> Dec 10 14:16:17 antman kernel: [ 5949.834290] Unhandled fault: alignment > >> exception (0x001) at 0xb4546e4a > >> > >> The only part of the exception that is the same every time it happens is > >> "instruction ecb17a01." > >> > >> I would have just opened a JIRA, but I didn't think this was enough > >> information. I have been Googling trying to figure out how to get more > info. > >> > >> Jason > >> > >> > >> On Thu, Dec 10, 2015 at 2:37 PM, Stanislav Sinyagin < > ssinyagin at gmail.com> > >> wrote: > >>> > >>> Hi, I didn't see any errors, but I'm not using fax, and mostly it's > >>> bridging the calls and connecting users to a conference. Do you have > more > >>> debugging information? > >>> > >>> Most probably the source of the problem is that x86 allows unaligned > >>> memory access: a word pointer can have any value. And other > architectures > >>> don't allow this, and require the pointers to be aligned to word > boundaries. > >>> Mongodb, for example, is known to fail on any non-x86 CPU because of > that. > >>> > >>> So, probably mod_spandsp needs an audit. > >>> > >>> On 10 Dec 2015 21:11, "Komar, Jason" wrote: > >>>> > >>>> Your instructions worked great for me building on/for my Odroid-U3 > (arm) > >>>> running Debian Jessie. > >>>> > >>>> I know you are running on arm at scaleway. Do you ever run into any > >>>> alignment issues? I'm getting alignment exception faults receiving > faxes and > >>>> I'm having trouble pulling any useful debug messages. > >>>> > >>>> Thanks, > >>>> Jason > >>>> > >>>> On Mon, Nov 30, 2015 at 9:27 AM, Stanislav Sinyagin > >>>> wrote: > >>>>> > >>>>> hi, > >>>>> > >>>>> I put together the build scenario that I tested for ARM (armhf at > >>>>> scaleway.com), and it should also work for other architectures: > >>>>> > >>>>> > >>>>> > https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other+architectures > >>>>> > >>>>> It will be great if someone tests them on other architectures too. > >>>>> > >>>>> > >>>>> cheers, > >>>>> stanislav > >>>>> > >>>>> > >>>>> > _________________________________________________________________________ > >>>>> Professional FreeSWITCH Consulting Services: > >>>>> consulting at freeswitch.org > >>>>> http://www.freeswitchsolutions.com > >>>>> > >>>>> Official FreeSWITCH Sites > >>>>> http://www.freeswitch.org > >>>>> http://confluence.freeswitch.org > >>>>> http://www.cluecon.com > >>>>> > >>>>> FreeSWITCH-users mailing list > >>>>> FreeSWITCH-users at lists.freeswitch.org > >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>> > >>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>> http://www.freeswitch.org > >>>> > >>>> > >>>> > >>>> > >>>> > _________________________________________________________________________ > >>>> Professional FreeSWITCH Consulting Services: > >>>> consulting at freeswitch.org > >>>> http://www.freeswitchsolutions.com > >>>> > >>>> Official FreeSWITCH Sites > >>>> http://www.freeswitch.org > >>>> http://confluence.freeswitch.org > >>>> http://www.cluecon.com > >>>> > >>>> FreeSWITCH-users mailing list > >>>> FreeSWITCH-users at lists.freeswitch.org > >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>> http://www.freeswitch.org > >>> > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/203e2944/attachment-0001.html From anthony.minessale at gmail.com Fri Dec 11 02:30:08 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 10 Dec 2015 17:30:08 -0600 Subject: [Freeswitch-users] High load with low cpu utilization In-Reply-To: References: Message-ID: Load avg is often skewed in many CPU env from the scheduler and RT threads used in FS. Its better to trust the results of top -H `cat /usr/local/freeswitch/run/freeswitch.pid` and make audible calls to listen to the audio and make sure its working. Also, we do not really touch Centos7 other than to make packages for it, its only community-supported and we don't know the details of how its kernel is configured etc. On Thu, Dec 10, 2015 at 11:36 AM, Adam Ku?mirek wrote: > Hello > > We see a high load on server with two 10 core HT processors. > cat /proc/cpuinfo shows 40 processors. > > 1 minute load average is often grater than 70 when processing ~120 > concurrent calls. > > CPU utilization shows 97%idle and 0.1%wa > I checked also io stats and everything looks OK. > > Operating system Centos 7 > uname -a > Linux pbx-fs-drc.ib 3.10.0-229.7.2.el7.x86_64 #1 SMP Tue Jun 23 22:06:11 > UTC 2015 x86_64 x86_64 x86_64 GNU/Linux > > Below link to pastebin with gdb output > > gdb /usr/local/freeswitch/bin/freeswitch > /usr/local/freeswitch/log/freeswitch.gcore.2699 > set pagination off > thread apply all bt > > https://pastebin.freeswitch.org/24487 > > We are planning to run much more concurrent calls but do not understand > these stats. > Why processes are waiting in queue and we do not see any bottleneck ? > > > Please help > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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/20151210/3a203242/attachment.html From andrew.keil at visytel.com Fri Dec 11 04:48:46 2015 From: andrew.keil at visytel.com (Andrew Keil) Date: Fri, 11 Dec 2015 01:48:46 +0000 Subject: [Freeswitch-users] Re- UUID logging to freeswitch log file missing for Lua freeswitch.consoleLog() logging Message-ID: To FreeSWITCH users, Re- FreeSWITCH version 1.6.5 I just noticed that inside the /log/freeswitch.log file (and also down the Event Socket Layer side) that the uuid is not logged when calls to freeswitch.consoleLog(...) are made from inside a Lua script. For example: freeswitch.consoleLog("INFO", "Test message\n") logs inside /log/freeswitch.log: 2015-12-11 12:27:57.960004 [INFO] switch_cpp.cpp:1356 Test message whereas other logging automatically prefixes with the session uuid (for example): f014f888-44e5-4edc-98e9-420ab2fe3698 2015-12-11 12:14:06.326636 [NOTICE] switch_cpp.cpp:683 Channel [sofia/internal/1000 at 192.168.15.50] has been answered Also when looking into the ESL side I noticed that the same is true for ESL events (Content-Type:log/data) where the "User-Data" header is empty for the freeswitch.consoleLog logging calls, however contains the session uuid for other log messages. My question is whether there is a simple switch inside a configuration file to enable uuid logging from Lua scripts (especially for the freeswitch.consoleLog(...) function calls)? I understand that I could simply add the uuid inside the log message string myself for all freeswitch.consoleLog(...) function calls, however I would have thought that internally (since the uuid is available to the Lua script via session:getVariable("uuid")) that the uuid could be logged like it is in other parts of FreeSWITCH already. Regards, Andrew Keil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151211/8bd828b8/attachment.html From avi at avimarcus.net Fri Dec 11 07:17:33 2015 From: avi at avimarcus.net (Avi Marcus) Date: Fri, 11 Dec 2015 04:17:33 +0000 Subject: [Freeswitch-users] Re- UUID logging to freeswitch log file missing for Lua freeswitch.consoleLog() logging In-Reply-To: References: Message-ID: <000001518f421c2b-429cc1db-4b92-4580-9983-e17fa3bfa423-000000@email.amazonses.com> I had a very similar question and I documented it here: https://freeswitch.org/confluence/display/FREESWITCH/mod_lua#mod_lua-Whereismydebuginformation? Q: When I use static XML or xml_curl, I see the commands executed in the fs_cli and in the "application log" section of the xml_cdr file. However, when I run commands via my lua script, I don't see that information anywhere? A: When you have an actual call session, you can use session:execute("$application","$data") just like in the static XML - it will then show up in the fs_cli and the xml_cdr application log. If you don't have a call session - e.g. if you are running lua as a background application or from the CLI, then you have to use other commands which may not be as easily logged. -Avi Marcus BestFone On Fri, Dec 11, 2015 at 3:48 AM, Andrew Keil wrote: > To FreeSWITCH users, > > > > Re- FreeSWITCH version 1.6.5 > > > > I just noticed that inside the /log/freeswitch.log file (and also down the > Event Socket Layer side) that the uuid is not logged when calls to > freeswitch.consoleLog(?) are made from inside a Lua script. > > > > For example: > > > > freeswitch.consoleLog("INFO", "Test message\n") logs inside > /log/freeswitch.log: > > > > 2015-12-11 12:27:57.960004 [INFO] switch_cpp.cpp:1356 Test message > > > > whereas other logging automatically prefixes with the session uuid (for > example): > > > > f014f888-44e5-4edc-98e9-420ab2fe3698 2015-12-11 12:14:06.326636 [NOTICE] > switch_cpp.cpp:683 Channel [sofia/internal/1000 at 192.168.15.50] has been > answered > > > > Also when looking into the ESL side I noticed that the same is true for > ESL events (Content-Type:log/data) where the ?User-Data? header is empty > for the freeswitch.consoleLog logging calls, however contains the session > uuid for other log messages. > > > > My question is whether there is a simple switch inside a configuration > file to enable uuid logging from Lua scripts (especially for the > freeswitch.consoleLog(?) function calls)? > > > > I understand that I could simply add the uuid inside the log message > string myself for all freeswitch.consoleLog(?) function calls, however I > would have thought that internally (since the uuid is available to the Lua > script via session:getVariable("uuid")) that the uuid could be logged like > it is in other parts of FreeSWITCH already. > > > > Regards, > > > > Andrew Keil > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151211/909ffa1d/attachment-0001.html From steveayre at gmail.com Fri Dec 11 16:24:52 2015 From: steveayre at gmail.com (Steven Ayre) Date: Fri, 11 Dec 2015 13:24:52 +0000 Subject: [Freeswitch-users] Re- UUID logging to freeswitch log file missing for Lua freeswitch.consoleLog() logging In-Reply-To: References: Message-ID: freeswitch.consoleLog is for generic log messages not linked to a session, it does not have a UUID. From Lua you're more likely to use it from something like a startup script than a script invoked from the dialplan. Use session:consoleLog when logging against a session to log with its UUID. On 11 December 2015 at 01:48, Andrew Keil wrote: > To FreeSWITCH users, > > > > Re- FreeSWITCH version 1.6.5 > > > > I just noticed that inside the /log/freeswitch.log file (and also down the > Event Socket Layer side) that the uuid is not logged when calls to > freeswitch.consoleLog(?) are made from inside a Lua script. > > > > For example: > > > > freeswitch.consoleLog("INFO", "Test message\n") logs inside > /log/freeswitch.log: > > > > 2015-12-11 12:27:57.960004 [INFO] switch_cpp.cpp:1356 Test message > > > > whereas other logging automatically prefixes with the session uuid (for > example): > > > > f014f888-44e5-4edc-98e9-420ab2fe3698 2015-12-11 12:14:06.326636 [NOTICE] > switch_cpp.cpp:683 Channel [sofia/internal/1000 at 192.168.15.50] has been > answered > > > > Also when looking into the ESL side I noticed that the same is true for > ESL events (Content-Type:log/data) where the ?User-Data? header is empty > for the freeswitch.consoleLog logging calls, however contains the session > uuid for other log messages. > > > > My question is whether there is a simple switch inside a configuration > file to enable uuid logging from Lua scripts (especially for the > freeswitch.consoleLog(?) function calls)? > > > > I understand that I could simply add the uuid inside the log message > string myself for all freeswitch.consoleLog(?) function calls, however I > would have thought that internally (since the uuid is available to the Lua > script via session:getVariable("uuid")) that the uuid could be logged like > it is in other parts of FreeSWITCH already. > > > > Regards, > > > > Andrew Keil > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151211/8cdb52ae/attachment.html From william.king at quentustech.com Fri Dec 11 23:18:14 2015 From: william.king at quentustech.com (William King) Date: Fri, 11 Dec 2015 12:18:14 -0800 Subject: [Freeswitch-users] High syscall percentage on Centos 7 In-Reply-To: References: Message-ID: <566B2F86.6030807@quentustech.com> What are the hardware specs for your test? and which specific kernel were you testing against? Was the testing instance using bare metal, or virtualized? William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king at quentustech.com On 12/4/15 8:20 AM, Denys D wrote: > We made couple of synthetic tests with sipp uac scenario (unfortunately > we cannot move the current load from the production to the test > environment right now) - 300 cps, 1500 calls limi;, ulimits for FS set > as recommended, same dialplan : > Debian 8.2 + FS 1.2.24 - up to 95% CPU utilization with ~65% syscalls > Debian 8.2 + FS 1.6.5 - up to 95% CPU utilization with ~65% syscalls > Centos 5.11 + FS 1.2.23 - up to 85% CPU utilization with ~20% syscalls > Centos 6.7 + FS 1.6.5 - up to 97% CPU utilization with ~67% syscalls > Centos 7.1 + FS 1.6.5 - up to 97% CPU utilization with ~67% syscalls > Centos 7.1 + FS 1.2.24 - up to97% CPU utilization with ~67% syscalls > FreeBSD 10.2 + FS 1.6.5 - up to 80% CPU utilization with ~20% syscalls > So, it seems that we've something missed when configuring FS on modern > Linux distributives. > > > On Fri, Nov 27, 2015 at 2:44 PM, Sergey Safarov > wrote: > > Could you build and test FS 1.2.23 on CentOS 7. > Probably it can help to locate problem on OS or FS. > > Sergey > > On Thu, Nov 26, 2015 at 11:21 AM, Denys D > wrote: > > Hi! Has anybody faced with high system calls on Centos 7 while > running FreeSwitch? > We have migrated from FS 1.2.23 on Centos 5.11 to FS 1.6.2 on > Centos 7 and faced with very high syscall (up to 60% CPU time) > rate under moderate load (300 CPS, 1500 simultaneous calls). We > also faced the same issue on Centos 6.7 and Debian 8.2 with FS > 1.6.2 on the same hardware. On Centos 5.11 with the same load > and h/w we had no more than 10% syscalls CPU time. We have > already tried nohz=off kernel option and it didn't solve the > problem. What should we change in our environment to achieve the > same performance level as it was on Centos 5.11? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > From lmorley at neny.cslimits.net Fri Dec 11 23:31:47 2015 From: lmorley at neny.cslimits.net (Larry Morley) Date: Fri, 11 Dec 2015 15:31:47 -0500 Subject: [Freeswitch-users] Push to talk In-Reply-To: <1EBF830F-808A-441B-82E0-30523876D756@jerris.com> References: <1EBF830F-808A-441B-82E0-30523876D756@jerris.com> Message-ID: Mike (and anyone else who reads this): Is there a standard for PTT on SIP, either formal or ad hoc? If not, do you know of anywhere there's a write up of an actual or a proposed implementation? I'm interested in this functionality, too. We have a large public safety market here that makes heavy use of PTT. Also, are you aware of any SIP capable PTT handsets? And any portables that can carry both, for example, 800 band radio and GSM? Thanks, Larry Morley -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151211/937687a5/attachment.html From lmorley at neny.cslimits.net Sat Dec 12 03:51:45 2015 From: lmorley at neny.cslimits.net (Larry Morley) Date: Fri, 11 Dec 2015 19:51:45 -0500 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: Stanislav, A few months back - it was a few weeks after ClueCon; that's the closest I can come relying on my memory, and at the moment, that's the best I can do - I posted a similar announcement; the difference was that I had rebuilt everything for the PPC. I also posted a note regarding Tyan's release of a POWER 8 reference system; my goal was to see how many others in the FS community were interested in using either the current POWER platforms or the new one. I never did hear back from anyone, which surprised me; apparently, however, now that it's apparent we're both targeting non Intel platforms, perhaps, going forward, we can combine our efforts? Along, of course, with anyone else who wishes to toss their hat in the ring. We routinely build, test and deploy FS on numerous hardware and software platforms. Sincerely, Larry Morley ------------------------------------------------------------ Lawrence J. "Larry" Morley R&D Director and CTO Enlightened Computer Solutions, LLC 299 Hyspot Road, #9-D Greenfield Center , New York 12833 On Nov 30, 2015 11:28 AM, "Stanislav Sinyagin" wrote: > hi, > > I put together the build scenario that I tested for ARM (armhf at > scaleway.com), and it should also work for other architectures: > > > https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other+architectures > > It will be great if someone tests them on other architectures too. > > > cheers, > stanislav > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151211/85ea76a1/attachment.html From ssinyagin at gmail.com Sat Dec 12 07:26:45 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sat, 12 Dec 2015 05:26:45 +0100 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: Larry, I guess POWER is a much less popular platform, so you won't get the testers easily. but ARM is widespread thanks to cheap boards like Raspberry Pi. Building FreeSWITCH 1.4 under Debian Wheezy was quite an easy task, there was only one small patch that used a newer library because the one that was used by default was not compatible with non-x86. The 1.6 under Jessie took a bit of an effort, as all prerequisites needed to be compiled separately. Now the build procedure is stable and it should work for any CPU architecture. Jason gave me access to the machine where he discovered the problem with fax receiving, so I'll open a jira ticket as soon as I test a fix. I thought it's a problem with memory alignment, but it looks like it's rather a problem with floating-point maths. On Sat, Dec 12, 2015 at 1:51 AM, Larry Morley wrote: > Stanislav, > > A few months back - it was a few weeks after ClueCon; that's the closest I > can come relying on my memory, and at the moment, that's the best I can do - > I posted a similar announcement; the difference was that I had rebuilt > everything for the PPC. I also posted a note regarding Tyan's release of a > POWER 8 reference system; my goal was to see how many others in the FS > community were interested in using either the current POWER platforms or > the new one. > > I never did hear back from anyone, which surprised me; apparently, however, > now that it's apparent we're both targeting non Intel platforms, perhaps, > going forward, we can combine our efforts? Along, of course, with anyone > else who wishes to toss their hat in the ring. > > We routinely build, test and deploy FS on numerous hardware and software > platforms. > > Sincerely, > > Larry Morley > > ------------------------------------------------------------ > Lawrence J. "Larry" Morley > R&D Director and CTO > Enlightened Computer Solutions, LLC > 299 Hyspot Road, #9-D > Greenfield Center , New York 12833 > > On Nov 30, 2015 11:28 AM, "Stanislav Sinyagin" wrote: >> >> hi, >> >> I put together the build scenario that I tested for ARM (armhf at >> scaleway.com), and it should also work for other architectures: >> >> >> https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other+architectures >> >> It will be great if someone tests them on other architectures too. >> >> >> cheers, >> stanislav >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From rutu.patel at inextrix.com Sat Dec 12 10:36:47 2015 From: rutu.patel at inextrix.com (Rutu Patel) Date: Sat, 12 Dec 2015 13:06:47 +0530 Subject: [Freeswitch-users] Voicemail with database Message-ID: Hi, I am using Voicemail module with database using odbc connection. How can I get Created date and Last heared date in database as we get in webapi ? Created: Tue, 8 Dec 2015 06:06:21 -0500 Last Heard: Thu, 10 Dec 2015 04:31:19 -0500 Is this feasible ? Can anyone please assist me for this? -- Thanks, Rutu Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151212/53a4c323/attachment.html From ssinyagin at gmail.com Sun Dec 13 03:02:29 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sun, 13 Dec 2015 01:02:29 +0100 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: https://freeswitch.org/jira/browse/FS-8651 the source of the problem is quite deep in the sources of spandsp, so I can't offer a fix. On Thu, Dec 10, 2015 at 10:49 PM, Komar, Jason wrote: > I get nothing in debug or sip trace. It always dies at mod_spandsp_fax so I > figured it was in that module. At that point freeswitch just restarts > without throwing any errors. > > Kernel log shows: > > Dec 10 14:16:17 antman kernel: [ 5949.832802] Alignment trap: not handling > instruction ecb17a01 at [] > Dec 10 14:16:17 antman kernel: [ 5949.834290] Unhandled fault: alignment > exception (0x001) at 0xb4546e4a > > The only part of the exception that is the same every time it happens is > "instruction ecb17a01." > > I would have just opened a JIRA, but I didn't think this was enough > information. I have been Googling trying to figure out how to get more info. > > Jason > > > On Thu, Dec 10, 2015 at 2:37 PM, Stanislav Sinyagin > wrote: >> >> Hi, I didn't see any errors, but I'm not using fax, and mostly it's >> bridging the calls and connecting users to a conference. Do you have more >> debugging information? >> >> Most probably the source of the problem is that x86 allows unaligned >> memory access: a word pointer can have any value. And other architectures >> don't allow this, and require the pointers to be aligned to word boundaries. >> Mongodb, for example, is known to fail on any non-x86 CPU because of that. >> >> So, probably mod_spandsp needs an audit. >> >> On 10 Dec 2015 21:11, "Komar, Jason" wrote: >>> >>> Your instructions worked great for me building on/for my Odroid-U3 (arm) >>> running Debian Jessie. >>> >>> I know you are running on arm at scaleway. Do you ever run into any >>> alignment issues? I'm getting alignment exception faults receiving faxes and >>> I'm having trouble pulling any useful debug messages. >>> >>> Thanks, >>> Jason >>> >>> On Mon, Nov 30, 2015 at 9:27 AM, Stanislav Sinyagin >>> wrote: >>>> >>>> hi, >>>> >>>> I put together the build scenario that I tested for ARM (armhf at >>>> scaleway.com), and it should also work for other architectures: >>>> >>>> >>>> https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other+architectures >>>> >>>> It will be great if someone tests them on other architectures too. >>>> >>>> >>>> cheers, >>>> stanislav >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From lmorley at neny.cslimits.net Sun Dec 13 05:28:52 2015 From: lmorley at neny.cslimits.net (Larry Morley) Date: Sat, 12 Dec 2015 21:28:52 -0500 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: According to the ARM docs, the instruction in question decodes to "coprocessor data transfer (LDC, STC)". The way that instruction is encoded (with the first four bits == xE), the instruction will be executed every time it's encountered (i.e., not conditionally). Stanislav, you said you thought the trap was related to HD math and not alignment. Based on what that instruction apparently is, it looks to me like you were on the right track. Do all ARM variants have an FPU, and if not, could this problem stem from configure et al. determining there's an FPU on a platform where there isn't one? Hope this helps someone find and eradicate this bug. - Larry On Dec 12, 2015 7:04 PM, "Stanislav Sinyagin" wrote: > https://freeswitch.org/jira/browse/FS-8651 > the source of the problem is quite deep in the sources of spandsp, so > I can't offer a fix. > > > On Thu, Dec 10, 2015 at 10:49 PM, Komar, Jason wrote: > > I get nothing in debug or sip trace. It always dies at mod_spandsp_fax > so I > > figured it was in that module. At that point freeswitch just restarts > > without throwing any errors. > > > > Kernel log shows: > > > > Dec 10 14:16:17 antman kernel: [ 5949.832802] Alignment trap: not > handling > > instruction ecb17a01 at [] > > Dec 10 14:16:17 antman kernel: [ 5949.834290] Unhandled fault: alignment > > exception (0x001) at 0xb4546e4a > > > > The only part of the exception that is the same every time it happens is > > "instruction ecb17a01." > > > > I would have just opened a JIRA, but I didn't think this was enough > > information. I have been Googling trying to figure out how to get more > info. > > > > Jason > > > > > > On Thu, Dec 10, 2015 at 2:37 PM, Stanislav Sinyagin > > > wrote: > >> > >> Hi, I didn't see any errors, but I'm not using fax, and mostly it's > >> bridging the calls and connecting users to a conference. Do you have > more > >> debugging information? > >> > >> Most probably the source of the problem is that x86 allows unaligned > >> memory access: a word pointer can have any value. And other > architectures > >> don't allow this, and require the pointers to be aligned to word > boundaries. > >> Mongodb, for example, is known to fail on any non-x86 CPU because of > that. > >> > >> So, probably mod_spandsp needs an audit. > >> > >> On 10 Dec 2015 21:11, "Komar, Jason" wrote: > >>> > >>> Your instructions worked great for me building on/for my Odroid-U3 > (arm) > >>> running Debian Jessie. > >>> > >>> I know you are running on arm at scaleway. Do you ever run into any > >>> alignment issues? I'm getting alignment exception faults receiving > faxes and > >>> I'm having trouble pulling any useful debug messages. > >>> > >>> Thanks, > >>> Jason > >>> > >>> On Mon, Nov 30, 2015 at 9:27 AM, Stanislav Sinyagin < > ssinyagin at gmail.com> > >>> wrote: > >>>> > >>>> hi, > >>>> > >>>> I put together the build scenario that I tested for ARM (armhf at > >>>> scaleway.com), and it should also work for other architectures: > >>>> > >>>> > >>>> > https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other+architectures > >>>> > >>>> It will be great if someone tests them on other architectures too. > >>>> > >>>> > >>>> cheers, > >>>> stanislav > >>>> > >>>> > >>>> > _________________________________________________________________________ > >>>> Professional FreeSWITCH Consulting Services: > >>>> consulting at freeswitch.org > >>>> http://www.freeswitchsolutions.com > >>>> > >>>> Official FreeSWITCH Sites > >>>> http://www.freeswitch.org > >>>> http://confluence.freeswitch.org > >>>> http://www.cluecon.com > >>>> > >>>> FreeSWITCH-users mailing list > >>>> FreeSWITCH-users at lists.freeswitch.org > >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>> http://www.freeswitch.org > >>> > >>> > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151212/a0e4fec5/attachment-0001.html From idokan at gmail.com Sun Dec 13 11:26:39 2015 From: idokan at gmail.com (ik) Date: Sun, 13 Dec 2015 10:26:39 +0200 Subject: [Freeswitch-users] Push to talk In-Reply-To: References: <1EBF830F-808A-441B-82E0-30523876D756@jerris.com> Message-ID: The only PTT SIP protocol that I know of is the following: https://tools.ietf.org/html/rfc4964 In theory, if a phone support the P-Answer-State header, it will work. On Fri, Dec 11, 2015 at 10:31 PM, Larry Morley wrote: > Mike (and anyone else who reads this): > > Is there a standard for PTT on SIP, either formal or ad hoc? If not, do > you know of anywhere there's a write up of an actual or a proposed > implementation? > > I'm interested in this functionality, too. We have a large public safety > market here that makes heavy use of PTT. > > Also, are you aware of any SIP capable PTT handsets? And any portables > that can carry both, for example, 800 band radio and GSM? > > Thanks, > Larry Morley > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151213/01b80f65/attachment.html From ssinyagin at gmail.com Sun Dec 13 12:18:32 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sun, 13 Dec 2015 10:18:32 +0100 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: See the bottom of the bug description. There's a mismatch between a 16bit integer array and a function that treats it as array of 32bit floats. On 13 Dec 2015 3:30 am, "Larry Morley" wrote: > According to the ARM docs, the instruction in question decodes to > "coprocessor data transfer (LDC, STC)". The way that instruction is encoded > (with the first four bits == xE), the instruction will be executed every > time it's encountered (i.e., not conditionally). > > Stanislav, you said you thought the trap was related to HD math and not > alignment. Based on what that instruction apparently is, it looks to me > like you were on the right track. > > Do all ARM variants have an FPU, and if not, could this problem stem from > configure et al. determining there's an FPU on a platform where there isn't > one? > > Hope this helps someone find and eradicate this bug. > > - Larry > On Dec 12, 2015 7:04 PM, "Stanislav Sinyagin" wrote: > >> https://freeswitch.org/jira/browse/FS-8651 >> the source of the problem is quite deep in the sources of spandsp, so >> I can't offer a fix. >> >> >> On Thu, Dec 10, 2015 at 10:49 PM, Komar, Jason wrote: >> > I get nothing in debug or sip trace. It always dies at mod_spandsp_fax >> so I >> > figured it was in that module. At that point freeswitch just restarts >> > without throwing any errors. >> > >> > Kernel log shows: >> > >> > Dec 10 14:16:17 antman kernel: [ 5949.832802] Alignment trap: not >> handling >> > instruction ecb17a01 at [] >> > Dec 10 14:16:17 antman kernel: [ 5949.834290] Unhandled fault: alignment >> > exception (0x001) at 0xb4546e4a >> > >> > The only part of the exception that is the same every time it happens is >> > "instruction ecb17a01." >> > >> > I would have just opened a JIRA, but I didn't think this was enough >> > information. I have been Googling trying to figure out how to get more >> info. >> > >> > Jason >> > >> > >> > On Thu, Dec 10, 2015 at 2:37 PM, Stanislav Sinyagin < >> ssinyagin at gmail.com> >> > wrote: >> >> >> >> Hi, I didn't see any errors, but I'm not using fax, and mostly it's >> >> bridging the calls and connecting users to a conference. Do you have >> more >> >> debugging information? >> >> >> >> Most probably the source of the problem is that x86 allows unaligned >> >> memory access: a word pointer can have any value. And other >> architectures >> >> don't allow this, and require the pointers to be aligned to word >> boundaries. >> >> Mongodb, for example, is known to fail on any non-x86 CPU because of >> that. >> >> >> >> So, probably mod_spandsp needs an audit. >> >> >> >> On 10 Dec 2015 21:11, "Komar, Jason" wrote: >> >>> >> >>> Your instructions worked great for me building on/for my Odroid-U3 >> (arm) >> >>> running Debian Jessie. >> >>> >> >>> I know you are running on arm at scaleway. Do you ever run into any >> >>> alignment issues? I'm getting alignment exception faults receiving >> faxes and >> >>> I'm having trouble pulling any useful debug messages. >> >>> >> >>> Thanks, >> >>> Jason >> >>> >> >>> On Mon, Nov 30, 2015 at 9:27 AM, Stanislav Sinyagin < >> ssinyagin at gmail.com> >> >>> wrote: >> >>>> >> >>>> hi, >> >>>> >> >>>> I put together the build scenario that I tested for ARM (armhf at >> >>>> scaleway.com), and it should also work for other architectures: >> >>>> >> >>>> >> >>>> >> https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other+architectures >> >>>> >> >>>> It will be great if someone tests them on other architectures too. >> >>>> >> >>>> >> >>>> cheers, >> >>>> stanislav >> >>>> >> >>>> >> >>>> >> _________________________________________________________________________ >> >>>> Professional FreeSWITCH Consulting Services: >> >>>> consulting at freeswitch.org >> >>>> http://www.freeswitchsolutions.com >> >>>> >> >>>> Official FreeSWITCH Sites >> >>>> http://www.freeswitch.org >> >>>> http://confluence.freeswitch.org >> >>>> http://www.cluecon.com >> >>>> >> >>>> FreeSWITCH-users mailing list >> >>>> FreeSWITCH-users at lists.freeswitch.org >> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>> http://www.freeswitch.org >> >>> >> >>> >> >>> >> >>> >> _________________________________________________________________________ >> >>> Professional FreeSWITCH Consulting Services: >> >>> consulting at freeswitch.org >> >>> http://www.freeswitchsolutions.com >> >>> >> >>> Official FreeSWITCH Sites >> >>> http://www.freeswitch.org >> >>> http://confluence.freeswitch.org >> >>> http://www.cluecon.com >> >>> >> >>> FreeSWITCH-users mailing list >> >>> FreeSWITCH-users at lists.freeswitch.org >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> http://www.freeswitch.org >> >> >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> > >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151213/4e10f676/attachment.html From s.safarov at gmail.com Sun Dec 13 12:42:21 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Sun, 13 Dec 2015 12:42:21 +0300 Subject: [Freeswitch-users] SIPS uri suppot Message-ID: Hello Are is FS support SIPS uri? I has find several issues related to SIPS. Are is required to fill jira ticket for this? Sergey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151213/be5196c4/attachment-0001.html From bobjectsfreeswitch at gmail.com Sun Dec 13 17:30:32 2015 From: bobjectsfreeswitch at gmail.com (Bob Hartwig) Date: Sun, 13 Dec 2015 08:30:32 -0600 Subject: [Freeswitch-users] Push to talk In-Reply-To: References: <1EBF830F-808A-441B-82E0-30523876D756@jerris.com> Message-ID: Why not just use re-INVITEs with a=sendrecv and a=recvonly? On Sun, Dec 13, 2015 at 2:26 AM, ik wrote: > The only PTT SIP protocol that I know of is the following: > https://tools.ietf.org/html/rfc4964 > > In theory, if a phone support the P-Answer-State header, it will work. > > On Fri, Dec 11, 2015 at 10:31 PM, Larry Morley > wrote: > >> Mike (and anyone else who reads this): >> >> Is there a standard for PTT on SIP, either formal or ad hoc? If not, do >> you know of anywhere there's a write up of an actual or a proposed >> implementation? >> >> I'm interested in this functionality, too. We have a large public safety >> market here that makes heavy use of PTT. >> >> Also, are you aware of any SIP capable PTT handsets? And any portables >> that can carry both, for example, 800 band radio and GSM? >> >> Thanks, >> Larry Morley >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151213/4d995d29/attachment.html From tru083 at yahoo.com Sun Dec 13 20:18:41 2015 From: tru083 at yahoo.com (D D) Date: Sun, 13 Dec 2015 17:18:41 +0000 (UTC) Subject: [Freeswitch-users] Generate RFC2833 DTMF from playback of a wav file with embedded (inband) tones? References: <1804402160.502972.1450027121880.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <1804402160.502972.1450027121880.JavaMail.yahoo@mail.yahoo.com> Hi, We have an application that needs to play wav files.? The wav files haveinband DTMF tones.?? Can I configure FS to detect these tones and instead send out RFC2833 packets? I really hope there is a way, because we have an older DIalogic systemthat does this function, and I really don't want to use that! Thanks,David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151213/3ea78339/attachment.html From gmaruzz at gmail.com Sun Dec 13 20:31:30 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sun, 13 Dec 2015 18:31:30 +0100 Subject: [Freeswitch-users] Generate RFC2833 DTMF from playback of a wav file with embedded (inband) tones? In-Reply-To: <1804402160.502972.1450027121880.JavaMail.yahoo@mail.yahoo.com> References: <1804402160.502972.1450027121880.JavaMail.yahoo.ref@mail.yahoo.com> <1804402160.502972.1450027121880.JavaMail.yahoo@mail.yahoo.com> Message-ID: Yes, use the function from.spandsp, and add the "relax" argument. I cannot remember the name of the function, is something like detect_tones detect_dtmf get_dtmf... Check http://confluence.freeswitch.org . If you cannot find it there, ask here again. sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 Il 13/Dic/2015 18:22, "D D" ha scritto: > Hi, > > We have an application that needs to play wav files. The wav files have > inband DTMF tones. Can I configure FS to detect these tones and > instead send out RFC2833 packets? > > I really hope there is a way, because we have an older DIalogic system > that does this function, and I really don't want to use that! > > Thanks, > David > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151213/7886060a/attachment.html From tru083 at yahoo.com Mon Dec 14 01:21:15 2015 From: tru083 at yahoo.com (D D) Date: Sun, 13 Dec 2015 22:21:15 +0000 (UTC) Subject: [Freeswitch-users] Generate RFC2833 DTMF from playback of a wav file with embedded (inband) tones? In-Reply-To: References: Message-ID: <1193809654.594806.1450045275869.JavaMail.yahoo@mail.yahoo.com> Thanks!? I just wanted to clarify that we need to have FS play the file, and as the RTP is being sent, to substitute RFC2833 packets into the outboundpacket stream in place of the inband tones within the wav file. Note that we are using the dptools playback function to play the file. Is spandsp able to do this kind of RTP subsitution? On Sunday, December 13, 2015 11:31 AM, Giovanni Maruzzelli wrote: Yes, use the function from.spandsp, and add the "relax" argument. I cannot remember the name of the function, is something like detect_tones detect_dtmf get_dtmf... Check http://confluence.freeswitch.org . If you cannot find it there, ask here again. sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18Il 13/Dic/2015 18:22, "D D" ha scritto: Hi, We have an application that needs to play wav files.? The wav files haveinband DTMF tones.?? Can I configure FS to detect these tones and instead send out RFC2833 packets? I really hope there is a way, because we have an older DIalogic systemthat does this function, and I really don't want to use that! Thanks,David _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151213/fabea573/attachment-0001.html From ssinyagin at gmail.com Mon Dec 14 01:28:54 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sun, 13 Dec 2015 23:28:54 +0100 Subject: [Freeswitch-users] Generate RFC2833 DTMF from playback of a wav file with embedded (inband) tones? In-Reply-To: <1193809654.594806.1450045275869.JavaMail.yahoo@mail.yahoo.com> References: <1193809654.594806.1450045275869.JavaMail.yahoo@mail.yahoo.com> Message-ID: you can send the call to your own server's port 5080, so you would originate the call and playback, and it loops through the same FreeSWITCH daemon for dtmf detection, and then sent out to the remote SIP destination. Probably the loopback endpoint would do the same, needs testing. On Sun, Dec 13, 2015 at 11:21 PM, D D wrote: > Thanks! I just wanted to clarify that we need to have FS play the file, and > as the RTP is being sent, to substitute RFC2833 packets into the outbound > packet stream in place of the inband tones within the wav file. > > Note that we are using the dptools playback function to play the file. > > Is spandsp able to do this kind of RTP subsitution? > > > > > On Sunday, December 13, 2015 11:31 AM, Giovanni Maruzzelli > wrote: > > > Yes, use the function from.spandsp, and add the "relax" argument. > I cannot remember the name of the function, is something like detect_tones > detect_dtmf get_dtmf... > Check http://confluence.freeswitch.org . > If you cannot find it there, ask here again. > sent from my mobile, > Giovanni Maruzzelli > cell: +39 347 266 56 18 > Il 13/Dic/2015 18:22, "D D" ha scritto: > > Hi, > > We have an application that needs to play wav files. The wav files have > inband DTMF tones. Can I configure FS to detect these tones and > instead send out RFC2833 packets? > > I really hope there is a way, because we have an older DIalogic system > that does this function, and I really don't want to use that! > > Thanks, > David > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From gmaruzz at gmail.com Mon Dec 14 01:32:16 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sun, 13 Dec 2015 23:32:16 +0100 Subject: [Freeswitch-users] Generate RFC2833 DTMF from playback of a wav file with embedded (inband) tones? In-Reply-To: References: <1193809654.594806.1450045275869.JavaMail.yahoo@mail.yahoo.com> Message-ID: yep, you can have the call reading the files, that stream being received and recognized by spandsp, another call reading those files to the final destination, stop at dtmf and emot silence and rfc2833, then continue play. Little involved, but will probably work On Sun, Dec 13, 2015 at 11:28 PM, Stanislav Sinyagin wrote: > you can send the call to your own server's port 5080, so you would > originate the call and playback, and it loops through the same > FreeSWITCH daemon for dtmf detection, and then sent out to the remote > SIP destination. > > Probably the loopback endpoint would do the same, needs testing. > > On Sun, Dec 13, 2015 at 11:21 PM, D D wrote: > > Thanks! I just wanted to clarify that we need to have FS play the file, > and > > as the RTP is being sent, to substitute RFC2833 packets into the outbound > > packet stream in place of the inband tones within the wav file. > > > > Note that we are using the dptools playback function to play the file. > > > > Is spandsp able to do this kind of RTP subsitution? > > > > > > > > > > On Sunday, December 13, 2015 11:31 AM, Giovanni Maruzzelli > > wrote: > > > > > > Yes, use the function from.spandsp, and add the "relax" argument. > > I cannot remember the name of the function, is something like > detect_tones > > detect_dtmf get_dtmf... > > Check http://confluence.freeswitch.org . > > If you cannot find it there, ask here again. > > sent from my mobile, > > Giovanni Maruzzelli > > cell: +39 347 266 56 18 > > Il 13/Dic/2015 18:22, "D D" ha scritto: > > > > Hi, > > > > We have an application that needs to play wav files. The wav files have > > inband DTMF tones. Can I configure FS to detect these tones and > > instead send out RFC2833 packets? > > > > I really hope there is a way, because we have an older DIalogic system > > that does this function, and I really don't want to use that! > > > > Thanks, > > David > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151213/e7c82ce5/attachment.html From xyangni at gmail.com Mon Dec 14 03:30:56 2015 From: xyangni at gmail.com (Eric Ni) Date: Mon, 14 Dec 2015 00:30:56 +0000 Subject: [Freeswitch-users] FS freeze with 100% CPU rate frequently Message-ID: Hi, My FS freeze with 100% CPU rate frequently. When it happens, there is no strange network traffic and no log at all. The last thing logged is just the processing of a normal phone call. Then everything stopped. How can I debug or find any clue about this issue? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/9f4bd9e1/attachment.html From lmorley at neny.cslimits.net Mon Dec 14 03:38:26 2015 From: lmorley at neny.cslimits.net (Larry Morley) Date: Sun, 13 Dec 2015 19:38:26 -0500 Subject: [Freeswitch-users] Push to talk In-Reply-To: References: <1EBF830F-808A-441B-82E0-30523876D756@jerris.com> Message-ID: Hi Bob Are you suggesting something along the lines of putting the callee's set - or sets belonging to members of s group - on hold after sending the initial INVITE? Or putting each group member's set on hold and leaving a call up - but on hold - until a caller leaves a group? So long as each set has two or more lines, normal calling should work, too: each user would have their regular extension and an extension that's dedicated to PTT type calls. Is that along the lines of what you're suggesting, or am I completely missing the mark? Thanks, Larry Why not just use re-INVITEs with a=sendrecv and a=recvonly? On Sun, Dec 13, 2015 at 2:26 AM, ik wrote: > The only PTT SIP protocol that I know of is the following: > https://tools.ietf.org/html/rfc4964 > > In theory, if a phone support the P-Answer-State header, it will work. > > On Fri, Dec 11, 2015 at 10:31 PM, Larry Morley > wrote: > >> Mike (and anyone else who reads this): >> >> Is there a standard for PTT on SIP, either formal or ad hoc? If not, do >> you know of anywhere there's a write up of an actual or a proposed >> implementation? >> >> I'm interested in this functionality, too. We have a large public safety >> market here that makes heavy use of PTT. >> >> Also, are you aware of any SIP capable PTT handsets? And any portables >> that can carry both, for example, 800 band radio and GSM? >> >> Thanks, >> Larry Morley >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151213/251e4ed0/attachment-0001.html From gmaruzz at gmail.com Mon Dec 14 03:47:02 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 14 Dec 2015 01:47:02 +0100 Subject: [Freeswitch-users] FS freeze with 100% CPU rate frequently In-Reply-To: References: Message-ID: what freeswitch version/operating system version/freeswitch code version (from fs_cli "version" command), what hardware platform? Consult http://confluence.freeswitch.org for information on how to debug, and *particularly* on how to report a problem/bug. On Mon, Dec 14, 2015 at 1:30 AM, Eric Ni wrote: > Hi, > > My FS freeze with 100% CPU rate frequently. When it happens, there is no > strange network traffic and no log at all. The last thing logged is just > the processing of a normal phone call. Then everything stopped. How can I > debug or find any clue about this issue? Thanks. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/m