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/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/20151214/0d2a4514/attachment.html From s.safarov at gmail.com Mon Dec 14 07:23:53 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Mon, 14 Dec 2015 04:23:53 +0000 Subject: [Freeswitch-users] FS freeze with 100% CPU rate frequently In-Reply-To: References: Message-ID: Run FS under "strace -f" and redirect output to file. When issue reproduced analyse what syscalls is executed during issue. Sergey On Mon, Dec 14, 2015, 03:32 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/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/1cf99233/attachment.html From blasterjr at gmail.com Mon Dec 14 09:26:41 2015 From: blasterjr at gmail.com (Chris Tunbridge) Date: Sun, 13 Dec 2015 23:26:41 -0700 Subject: [Freeswitch-users] Voicemail with database In-Reply-To: References: Message-ID: Created Date is the created_epoch field, you will have to convert this, and the read is the read_epoch, both of these fields are Unix Timestamps. On Sat, Dec 12, 2015 at 12:36 AM, Rutu Patel wrote: > 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 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/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/d6103170/attachment.html From alessandro.illiano at toctoc.me Fri Dec 11 20:04:04 2015 From: alessandro.illiano at toctoc.me (Alessandro Illiano) Date: Fri, 11 Dec 2015 18:04:04 +0100 Subject: [Freeswitch-users] mod_rtmp rtmps and get conference video for audio client Message-ID: Hi all, i?m trying to configure a rtmp endpoint. First question: it?s possible to use rtmps?? Second question: i would like to develop a client that can ?join? a conference using mod_conference,? but if i set an audio only rtmp endpoint, this not receive video layer from conference. When i configure the client using "wantVideo: true? this client can receive the video but also send a blank video to the conference. Thanks Alessandro -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151211/13a12627/attachment.html From lee at seriesdigital.com Fri Dec 11 00:43:45 2015 From: lee at seriesdigital.com (Lee Azzarello) Date: Thu, 10 Dec 2015 13:43:45 -0800 Subject: [Freeswitch-users] building v8 treats warnings as errors and will not compile Message-ID: Hello everyone, I'm compiling Freeswitch (both 1.6 and git HEAD as of this email timestamp) and I require a JavaScript interpreter. When the build process hits mod_v8 I get the following error[1]. System info: OS X 10.11.1 (El Capitan), homebrew updated as of this morning, current stable Xcode, all default ./configure options. One thing I noticed is the build system ignores my environment if I export CFLAGS="-Wno-errors" and CXXFLAGS="-Wno-errors". Warnings are always handled as errors because -Werror is always appended to the compiler flags. Thanks, Lee [1] making all mod_v8 cd /Users/lazzarello/src/freeswitch/libs/v8-3.24.14 && (test -f .stamp-patch || patch -t -p0 < /Users/lazzarello/src/freeswitch/src/mod/languages/mod_v8/v8-build.patch) patching file Makefile touch /Users/lazzarello/src/freeswitch/libs/v8-3.24.14/.stamp-patch mkdir -p /Users/lazzarello/src/freeswitch/libs/v8-3.24.14 if test "x86_64" = "x86_64"; then \ defines="v8_target_arch=x64 target_arch=x64"; \ else \ if test "x86_64" = "arm"; then \ defines="v8_target_arch=arm target_arch=arm"; \ else \ if test "x36_64" = "i386"; then \ defines="v8_target_arch=ia32 target_arch=ia32"; \ fi; \ fi; \ fi; \ cd /Users/lazzarello/src/freeswitch/libs/v8-3.24.14 && CFLAGS="" CXXFLAGS="" \ LINK=g++ CXX=g++ GYPFLAGS="" GYP_DEFINES="$defines" \ OUTDIR=/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out \ PYTHONPATH="/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/build/gyp/pylib:" /Applications/Xcode.app/Contents/Developer/usr/bin/make -C /Users/lazzarello/src/freeswitch/libs/v8-3.24.14 snapshot=off i18nsupport=off library=shared native PYTHONPATH="/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/tools/generate_shim_headers:/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/build/gyp/pylib:" \ GYP_GENERATORS=make \ build/gyp/gyp --generator-output="/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out" build/all.gyp \ -Ibuild/standalone.gypi --depth=. -S.native -Dcomponent=shared_library -Dv8_enable_backtrace=1 -Dv8_use_snapshot='false' -Dv8_enable_i18n_support=0 -Darm_fpu=default -Darm_float_abi=default CXX(target) /Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out/native/obj.target/v8_base.x64/src/accessors.o In file included from ../src/accessors.cc:28: In file included from ../src/v8.h:62: In file included from ../src/objects-inl.h:38: In file included from ../src/elements.h:33: In file included from ../src/heap.h:36: In file included from ../src/incremental-marking.h:33: In file included from ../src/mark-compact.h:32: ../src/spaces.h:925:26: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Werror,-Wtautological-undefined-compare] bool exists() { return this != NULL && code_range_ != NULL; } ^~~~ ~~~~ ../src/spaces.h:927:9: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare] if (this == NULL || code_range_ == NULL) return NULL; ^~~~ ~~~~ ../src/spaces.h:931:9: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare] if (this == NULL || code_range_ == NULL) return false; ^~~~ ~~~~ 3 errors generated. make[5]: *** [/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out/native/obj.target/v8_base.x64/src/accessors.o] Error 1 make[4]: *** [native] Error 2 make[3]: *** [/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out/native/libv8.dylib] Error 2 make[2]: *** [mod_v8-all] Error 1 make[1]: *** [mod_v8] Error 2 make: *** [mod_v8] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151210/6560ccd5/attachment-0001.html From shuntongzhang at gmail.com Mon Dec 14 07:21:06 2015 From: shuntongzhang at gmail.com (=?UTF-8?B?5byg6aG66YCa?=) Date: Mon, 14 Dec 2015 12:21:06 +0800 Subject: [Freeswitch-users] Fwd: How to break endless_play? In-Reply-To: References: Message-ID: I use event socket endless_play file on an uuid. But endless_play seem to be could not be break by break cmd. when I call cmd in this order : endless_play - break - endless_play - break - endless_play - break - endless_play - break - .....?80 times will core? FS stack will grow, and will core? [image: ???? 1] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/705eb4e0/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 779419 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/705eb4e0/attachment-0001.png From shuntongzhang at gmail.com Mon Dec 14 08:18:59 2015 From: shuntongzhang at gmail.com (=?UTF-8?B?5byg6aG66YCa?=) Date: Mon, 14 Dec 2015 13:18:59 +0800 Subject: [Freeswitch-users] How to break endless_play? In-Reply-To: References: Message-ID: The reason is endless_play can't be break. I think that need to be break. 2015-12-14 12:16 GMT+08:00 ??? : > I use event socket endless_play file on an uuid. > But endless_play seem to be could not be break by break cmd. > when I call cmd in this order : endless_play - break - endless_play - > break - endless_play - break - endless_play - break - .....?80 times will > core? > > FS stack will grow, and will core? > [image: ???? 1] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/595b638b/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 779419 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/595b638b/attachment-0001.png From brian at freeswitch.org Mon Dec 14 18:15:48 2015 From: brian at freeswitch.org (Brian West) Date: Mon, 14 Dec 2015 09:15:48 -0600 Subject: [Freeswitch-users] FS freeze with 100% CPU rate frequently In-Reply-To: References: Message-ID: Nobody has asked the obvious question, What rev and what os are you running on? On Sun, Dec 13, 2015 at 6:30 PM, 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/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/20151214/c5b4aa71/attachment.html From brian at freeswitch.org Mon Dec 14 18:17:05 2015 From: brian at freeswitch.org (Brian West) Date: Mon, 14 Dec 2015 09:17:05 -0600 Subject: [Freeswitch-users] building v8 treats warnings as errors and will not compile In-Reply-To: References: Message-ID: Bug reports go on https://freeswitch.org/jira Thanks, On Thu, Dec 10, 2015 at 3:43 PM, Lee Azzarello wrote: > Hello everyone, > > I'm compiling Freeswitch (both 1.6 and git HEAD as of this email > timestamp) and I require a JavaScript interpreter. When the build process > hits mod_v8 I get the following error[1]. System info: OS X 10.11.1 (El > Capitan), homebrew updated as of this morning, current stable Xcode, all > default ./configure options. One thing I noticed is the build system > ignores my environment if I export CFLAGS="-Wno-errors" and > CXXFLAGS="-Wno-errors". Warnings are always handled as errors because > -Werror is always appended to the compiler flags. > > Thanks, > Lee > > [1] > making all mod_v8 > > cd /Users/lazzarello/src/freeswitch/libs/v8-3.24.14 && (test -f > .stamp-patch || patch -t -p0 < > /Users/lazzarello/src/freeswitch/src/mod/languages/mod_v8/v8-build.patch) > > patching file Makefile > > touch /Users/lazzarello/src/freeswitch/libs/v8-3.24.14/.stamp-patch > > mkdir -p /Users/lazzarello/src/freeswitch/libs/v8-3.24.14 > > if test "x86_64" = "x86_64"; then \ > > defines="v8_target_arch=x64 target_arch=x64"; \ > > else \ > > if test "x86_64" = "arm"; then \ > > defines="v8_target_arch=arm target_arch=arm"; \ > > else \ > > if test "x36_64" = "i386"; then \ > > defines="v8_target_arch=ia32 target_arch=ia32"; \ > > fi; \ > > fi; \ > > fi; \ > > cd /Users/lazzarello/src/freeswitch/libs/v8-3.24.14 && CFLAGS="" > CXXFLAGS="" \ > > LINK=g++ CXX=g++ GYPFLAGS="" GYP_DEFINES="$defines" \ > > OUTDIR=/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out \ > > PYTHONPATH="/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/build/gyp/pylib:" > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C > /Users/lazzarello/src/freeswitch/libs/v8-3.24.14 snapshot=off > i18nsupport=off library=shared native > > PYTHONPATH="/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/tools/generate_shim_headers:/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/build/gyp/pylib:" > \ > > GYP_GENERATORS=make \ > > build/gyp/gyp > --generator-output="/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out" > build/all.gyp \ > > -Ibuild/standalone.gypi --depth=. -S.native > -Dcomponent=shared_library -Dv8_enable_backtrace=1 > -Dv8_use_snapshot='false' -Dv8_enable_i18n_support=0 -Darm_fpu=default > -Darm_float_abi=default > > CXX(target) > /Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out/native/obj.target/v8_base.x64/src/accessors.o > > In file included from ../src/accessors.cc:28: > > In file included from ../src/v8.h:62: > > In file included from ../src/objects-inl.h:38: > > In file included from ../src/elements.h:33: > > In file included from ../src/heap.h:36: > > In file included from ../src/incremental-marking.h:33: > > In file included from ../src/mark-compact.h:32: > > ../src/spaces.h:925:26: error: 'this' pointer cannot be null in > well-defined C++ code; comparison may be > > assumed to always evaluate to true > [-Werror,-Wtautological-undefined-compare] > > bool exists() { return this != NULL && code_range_ != NULL; } > > ^~~~ ~~~~ > > ../src/spaces.h:927:9: error: 'this' pointer cannot be null in > well-defined C++ code; comparison may be > > assumed to always evaluate to false > [-Werror,-Wtautological-undefined-compare] > > if (this == NULL || code_range_ == NULL) return NULL; > > ^~~~ ~~~~ > > ../src/spaces.h:931:9: error: 'this' pointer cannot be null in > well-defined C++ code; comparison may be > > assumed to always evaluate to false > [-Werror,-Wtautological-undefined-compare] > > if (this == NULL || code_range_ == NULL) return false; > > ^~~~ ~~~~ > > 3 errors generated. > > make[5]: *** > [/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out/native/obj.target/v8_base.x64/src/accessors.o] > Error 1 > > make[4]: *** [native] Error 2 > > make[3]: *** > [/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out/native/libv8.dylib] > Error 2 > > make[2]: *** [mod_v8-all] Error 1 > > make[1]: *** [mod_v8] Error 2 > > make: *** [mod_v8] Error 2 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20151214/5cb81197/attachment.html From michel.brabants at gmail.com Mon Dec 14 18:42:10 2015 From: michel.brabants at gmail.com (Michel Brabants) Date: Mon, 14 Dec 2015 16:42:10 +0100 Subject: [Freeswitch-users] FS freeze with 100% CPU rate frequently In-Reply-To: References: Message-ID: It van happen atleast with older versions if you're using srv records for your gateways. The nummer of entries in its cache grows every switchover, and the cpu usage grows with it then. If not, it's something else... Michel Op 14 dec. 2015 1:33 a.m. schreef "Eric Ni" : > 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/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/54eade74/attachment.html From deforceczt at gmail.com Mon Dec 14 18:46:53 2015 From: deforceczt at gmail.com (Vladislav Ivanov) Date: Mon, 14 Dec 2015 17:46:53 +0200 Subject: [Freeswitch-users] Thread failure with low CPU utilization? Message-ID: Hello, I have 1.6.5 Freeswitch and I'm trying to test how much lines/cps it can handle on my test machine: CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz x2 (8 cores, 3 GHz) RAM: 32GB SSD: 500 GB I'm using call generator to check flood the freeswitch, but when FS gets 1k sessions it sends [CRIT] switch_core_session.c:1781 Thread Failure! and the Star Wars quote... But the CPU load is less than 10% Ulimit is as follows: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 128330 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 32768 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 2048 cpu time (seconds, -t) unlimited max user processes (-u) 32768 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Server is physical, not virtual, but I dont have the same issue with virtual freeswitch. Here is the "status" before the session limit: freeswitch at internal> status UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 137 milliseconds, 603 microseconds FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready 994 session(s) since startup 994 session(s) - peak 994, last 5min 994 40 session(s) per Sec out of max 200, peak 41, last 5min 41 10000 session(s) max min idle cpu 10.00/96.77 Current Stack Size/Max 2048K/2048K freeswitch at internal> status UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 370 milliseconds, 877 microseconds FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready 1003 session(s) since startup 1003 session(s) - peak 1003, last 5min 1003 40 session(s) per Sec out of max 200, peak 41, last 5min 41 993 session(s) max min idle cpu 10.00/96.77 Current Stack Size/Max 2048K/2048K freeswitch at internal> 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1781 Thread Failure! 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1737 LUKE: I'm hit, but not bad. 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1738 LUKE'S VOICE: Artoo, see what you can do with it. Hang on back there.... Green laserfire moves past the beeping little robot as his head turns. After a few beeps and a twist of his mechanical arm, Artoo reduces the max sessions to 993 thus, saving the switch from certain doom. Any help with that? Really strange error... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/371cfc6e/attachment-0001.html From gmaruzz at gmail.com Mon Dec 14 18:57:10 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 14 Dec 2015 16:57:10 +0100 Subject: [Freeswitch-users] FS freeze with 100% CPU rate frequently In-Reply-To: References: Message-ID: On Mon, Dec 14, 2015 at 1:47 AM, Giovanni Maruzzelli wrote: > what freeswitch version/operating system version/freeswitch code version > (from fs_cli "version" command), what hardware platform? > > @Brian :P ^^^^^ > 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/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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/f1c38736/attachment.html From bobjectsfreeswitch at gmail.com Mon Dec 14 19:08:33 2015 From: bobjectsfreeswitch at gmail.com (Bob Hartwig) Date: Mon, 14 Dec 2015 10:08:33 -0600 Subject: [Freeswitch-users] Push to talk In-Reply-To: References: <1EBF830F-808A-441B-82E0-30523876D756@jerris.com> Message-ID: PTT just means selectively muting and unmuting calls based on a switch closure or UI events, right? I know that some commercial conference systems implement muting by reinviting with a=sendonly, so if you're designing an end instrument that does PTT, it seems reasonable to implement that by reinviting with a=recvonly. Or if you're implementing the PTT functionality on the server side, use a=sendonly. Just spitballing here, I've never needed to do this. Bob On Sun, Dec 13, 2015 at 6:38 PM, Larry Morley wrote: > 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/0f1b7d35/attachment.html From krice at freeswitch.org Mon Dec 14 19:24:14 2015 From: krice at freeswitch.org (Ken Rice) Date: Mon, 14 Dec 2015 10:24:14 -0600 Subject: [Freeswitch-users] Thread failure with low CPU utilization? In-Reply-To: References: Message-ID: <42d301d1368b$e0ad68b0$a2083a10$@freeswitch.org> A)What platform are you running FreeSWITCH on? (eg: Debian 8 etc) b)How are you starting FreeSWITCH? (eg: in the foreground or background with an init script) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Vladislav Ivanov Sent: Monday, December 14, 2015 9:47 AM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Thread failure with low CPU utilization? Hello, I have 1.6.5 Freeswitch and I'm trying to test how much lines/cps it can handle on my test machine: CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz x2 (8 cores, 3 GHz) RAM: 32GB SSD: 500 GB I'm using call generator to check flood the freeswitch, but when FS gets 1k sessions it sends [CRIT] switch_core_session.c:1781 Thread Failure! and the Star Wars quote... But the CPU load is less than 10% Ulimit is as follows: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 128330 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 32768 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 2048 cpu time (seconds, -t) unlimited max user processes (-u) 32768 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Server is physical, not virtual, but I dont have the same issue with virtual freeswitch. Here is the "status" before the session limit: freeswitch at internal> status UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 137 milliseconds, 603 microseconds FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready 994 session(s) since startup 994 session(s) - peak 994, last 5min 994 40 session(s) per Sec out of max 200, peak 41, last 5min 41 10000 session(s) max min idle cpu 10.00/96.77 Current Stack Size/Max 2048K/2048K freeswitch at internal> status UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 370 milliseconds, 877 microseconds FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready 1003 session(s) since startup 1003 session(s) - peak 1003, last 5min 1003 40 session(s) per Sec out of max 200, peak 41, last 5min 41 993 session(s) max min idle cpu 10.00/96.77 Current Stack Size/Max 2048K/2048K freeswitch at internal> 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1781 Thread Failure! 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1737 LUKE: I'm hit, but not bad. 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1738 LUKE'S VOICE: Artoo, see what you can do with it. Hang on back there.... Green laserfire moves past the beeping little robot as his head turns. After a few beeps and a twist of his mechanical arm, Artoo reduces the max sessions to 993 thus, saving the switch from certain doom. Any help with that? Really strange error... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/03856c9a/attachment-0001.html From idokan at gmail.com Mon Dec 14 19:37:35 2015 From: idokan at gmail.com (ik) Date: Mon, 14 Dec 2015 18:37:35 +0200 Subject: [Freeswitch-users] Push to talk In-Reply-To: References: <1EBF830F-808A-441B-82E0-30523876D756@jerris.com> Message-ID: It's more then that. You open a new channel, and instead of 180/3 you send 200, and then one side hears, while the other side talk. When done, there is an hangup, until some try to talk. On Dec 14, 2015 6:11 PM, "Bob Hartwig" wrote: > PTT just means selectively muting and unmuting calls based on a switch > closure or UI events, right? I know that some commercial conference > systems implement muting by reinviting with a=sendonly, so if you're > designing an end instrument that does PTT, it seems reasonable to implement > that by reinviting with a=recvonly. Or if you're implementing the PTT > functionality on the server side, use a=sendonly. Just spitballing here, > I've never needed to do this. > > Bob > > > > On Sun, Dec 13, 2015 at 6:38 PM, Larry Morley > wrote: > >> 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 < >>> lmorley at neny.cslimits.net> 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 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/da4fbd53/attachment.html From deforceczt at gmail.com Mon Dec 14 19:47:56 2015 From: deforceczt at gmail.com (Vladislav Ivanov) Date: Mon, 14 Dec 2015 18:47:56 +0200 Subject: [Freeswitch-users] Thread failure with low CPU utilization? In-Reply-To: <42d301d1368b$e0ad68b0$a2083a10$@freeswitch.org> References: <42d301d1368b$e0ad68b0$a2083a10$@freeswitch.org> Message-ID: Centos 6,latest update. Via init script On 14 Dec 2015 6:25 p.m., "Ken Rice" wrote: > A)What platform are you running FreeSWITCH on? (eg: Debian 8 etc) > > b)How are you starting FreeSWITCH? (eg: in the foreground or background > with an init script) > > > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Vladislav > Ivanov > *Sent:* Monday, December 14, 2015 9:47 AM > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* [Freeswitch-users] Thread failure with low CPU utilization? > > > > Hello, > > I have 1.6.5 Freeswitch and I'm trying to test how much lines/cps it can > handle on my test machine: > > CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz x2 (8 cores, 3 GHz) > RAM: 32GB > SSD: 500 GB > > I'm using call generator to check flood the freeswitch, but when FS gets > 1k sessions it sends > [CRIT] switch_core_session.c:1781 Thread Failure! > and the Star Wars quote... But the CPU load is less than 10% > > Ulimit is as follows: > > core file size (blocks, -c) 0 > > data seg size (kbytes, -d) unlimited > > scheduling priority (-e) 0 > > file size (blocks, -f) unlimited > > pending signals (-i) 128330 > > max locked memory (kbytes, -l) 64 > > max memory size (kbytes, -m) unlimited > > open files (-n) 32768 > > pipe size (512 bytes, -p) 8 > > POSIX message queues (bytes, -q) 819200 > > real-time priority (-r) 0 > > stack size (kbytes, -s) 2048 > > cpu time (seconds, -t) unlimited > > max user processes (-u) 32768 > > virtual memory (kbytes, -v) unlimited > > file locks (-x) unlimited > > > Server is physical, not virtual, but I dont have the same issue with > virtual freeswitch. > > Here is the "status" before the session limit: > > freeswitch at internal> status > > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 137 milliseconds, 603 > microseconds > > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready > > 994 session(s) since startup > > 994 session(s) - peak 994, last 5min 994 > > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 > > 10000 session(s) max > > min idle cpu 10.00/96.77 > > Current Stack Size/Max 2048K/2048K > > > > freeswitch at internal> status > > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 370 milliseconds, 877 > microseconds > > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready > > 1003 session(s) since startup > > 1003 session(s) - peak 1003, last 5min 1003 > > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 > > 993 session(s) max > > min idle cpu 10.00/96.77 > > Current Stack Size/Max 2048K/2048K > > > > freeswitch at internal> 2015-12-14 15:37:37.436968 [CRIT] > switch_core_session.c:1781 Thread Failure! > > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1737 LUKE: I'm > hit, but not bad. > > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1738 LUKE'S VOICE: > Artoo, see what you can do with it. Hang on back there.... > > Green laserfire moves past the beeping little robot as his head turns. > After a few beeps and a twist of his mechanical arm, > > Artoo reduces the max sessions to 993 thus, saving the switch from certain > doom. > > Any help with that? Really strange error... > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/ea8f9cb2/attachment-0001.html From gmaruzz at gmail.com Mon Dec 14 19:57:06 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 14 Dec 2015 17:57:06 +0100 Subject: [Freeswitch-users] Thread failure with low CPU utilization? In-Reply-To: References: <42d301d1368b$e0ad68b0$a2083a10$@freeswitch.org> Message-ID: centos 6 is not supported by FreeSWITCH 1.6 ! -giovanni On Mon, Dec 14, 2015 at 5:47 PM, Vladislav Ivanov wrote: > Centos 6,latest update. Via init script > On 14 Dec 2015 6:25 p.m., "Ken Rice" wrote: > >> A)What platform are you running FreeSWITCH on? (eg: Debian 8 etc) >> >> b)How are you starting FreeSWITCH? (eg: in the foreground or background >> with an init script) >> >> >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Vladislav >> Ivanov >> *Sent:* Monday, December 14, 2015 9:47 AM >> *To:* freeswitch-users at lists.freeswitch.org >> *Subject:* [Freeswitch-users] Thread failure with low CPU utilization? >> >> >> >> Hello, >> >> I have 1.6.5 Freeswitch and I'm trying to test how much lines/cps it can >> handle on my test machine: >> >> CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz x2 (8 cores, 3 GHz) >> RAM: 32GB >> SSD: 500 GB >> >> I'm using call generator to check flood the freeswitch, but when FS gets >> 1k sessions it sends >> [CRIT] switch_core_session.c:1781 Thread Failure! >> and the Star Wars quote... But the CPU load is less than 10% >> >> Ulimit is as follows: >> >> core file size (blocks, -c) 0 >> >> data seg size (kbytes, -d) unlimited >> >> scheduling priority (-e) 0 >> >> file size (blocks, -f) unlimited >> >> pending signals (-i) 128330 >> >> max locked memory (kbytes, -l) 64 >> >> max memory size (kbytes, -m) unlimited >> >> open files (-n) 32768 >> >> pipe size (512 bytes, -p) 8 >> >> POSIX message queues (bytes, -q) 819200 >> >> real-time priority (-r) 0 >> >> stack size (kbytes, -s) 2048 >> >> cpu time (seconds, -t) unlimited >> >> max user processes (-u) 32768 >> >> virtual memory (kbytes, -v) unlimited >> >> file locks (-x) unlimited >> >> >> Server is physical, not virtual, but I dont have the same issue with >> virtual freeswitch. >> >> Here is the "status" before the session limit: >> >> freeswitch at internal> status >> >> UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 137 milliseconds, 603 >> microseconds >> >> FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready >> >> 994 session(s) since startup >> >> 994 session(s) - peak 994, last 5min 994 >> >> 40 session(s) per Sec out of max 200, peak 41, last 5min 41 >> >> 10000 session(s) max >> >> min idle cpu 10.00/96.77 >> >> Current Stack Size/Max 2048K/2048K >> >> >> >> freeswitch at internal> status >> >> UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 370 milliseconds, 877 >> microseconds >> >> FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready >> >> 1003 session(s) since startup >> >> 1003 session(s) - peak 1003, last 5min 1003 >> >> 40 session(s) per Sec out of max 200, peak 41, last 5min 41 >> >> 993 session(s) max >> >> min idle cpu 10.00/96.77 >> >> Current Stack Size/Max 2048K/2048K >> >> >> >> freeswitch at internal> 2015-12-14 15:37:37.436968 [CRIT] >> switch_core_session.c:1781 Thread Failure! >> >> 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1737 LUKE: I'm >> hit, but not bad. >> >> 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1738 LUKE'S >> VOICE: Artoo, see what you can do with it. Hang on back there.... >> >> Green laserfire moves past the beeping little robot as his head turns. >> After a few beeps and a twist of his mechanical arm, >> >> Artoo reduces the max sessions to 993 thus, saving the switch from >> certain doom. >> >> Any help with that? Really strange error... >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20151214/e6b5e7a5/attachment.html From bobjectsfreeswitch at gmail.com Mon Dec 14 19:59:37 2015 From: bobjectsfreeswitch at gmail.com (Bob Hartwig) Date: Mon, 14 Dec 2015 10:59:37 -0600 Subject: [Freeswitch-users] Push to talk In-Reply-To: References: <1EBF830F-808A-441B-82E0-30523876D756@jerris.com> Message-ID: Oh OK, completely disregard my suggestion then. I thought we were talking about a long-established multi-party conference with selective unmuting of end instruments. On Mon, Dec 14, 2015 at 10:37 AM, ik wrote: > It's more then that. You open a new channel, and instead of 180/3 you > send 200, and then one side hears, while the other side talk. > > When done, there is an hangup, until some try to talk. > On Dec 14, 2015 6:11 PM, "Bob Hartwig" > wrote: > >> PTT just means selectively muting and unmuting calls based on a switch >> closure or UI events, right? I know that some commercial conference >> systems implement muting by reinviting with a=sendonly, so if you're >> designing an end instrument that does PTT, it seems reasonable to implement >> that by reinviting with a=recvonly. Or if you're implementing the PTT >> functionality on the server side, use a=sendonly. Just spitballing here, >> I've never needed to do this. >> >> Bob >> >> >> >> On Sun, Dec 13, 2015 at 6:38 PM, Larry Morley >> wrote: >> >>> 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 < >>>> lmorley at neny.cslimits.net> 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 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/b1ee973d/attachment-0001.html From xyangni at gmail.com Mon Dec 14 20:28:14 2015 From: xyangni at gmail.com (Eric Ni) Date: Mon, 14 Dec 2015 17:28:14 +0000 Subject: [Freeswitch-users] FS freeze with 100% CPU rate frequently In-Reply-To: References: Message-ID: It is FreeSWITCH Version 1.4.23+git~20151001T183159Z~1665168d37~64bit (git 1665168 2015-10-01 18:31:59Z 64bit) running on ubuntu 14.04, Linode VPS On Mon, Dec 14, 2015 at 12:47 AM, Giovanni Maruzzelli wrote: > 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/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/20151214/ee44c490/attachment.html From gmaruzz at gmail.com Mon Dec 14 20:51:57 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 14 Dec 2015 18:51:57 +0100 Subject: [Freeswitch-users] FS freeze with 100% CPU rate frequently In-Reply-To: References: Message-ID: I would not use Linode, it adds a layer of uncertainty, because most of voip (and freeswitch) deployments are on actual metal hardware, and any additional layer will distance your install from mainstream. Also, definitely not use Ubuntu. Use Debian 8 instead. Also, consider moving to FreeSWITCH 1.6, 1.4 is rapidly approaching end-of-life. That said, (and I strongly suggest you go to real hardware, Debian 8, FS 1.6 if you want things to go smooth), if you really want to do the investigation, this page can help you: https://freeswitch.org/confluence/display/FREESWITCH/Troubleshooting+Debugging -giovanni On Mon, Dec 14, 2015 at 6:28 PM, Eric Ni wrote: > It is FreeSWITCH Version 1.4.23+git~20151001T183159Z~1665168d37~64bit (git > 1665168 2015-10-01 18:31:59Z 64bit) > running on ubuntu 14.04, Linode VPS > > On Mon, Dec 14, 2015 at 12:47 AM, Giovanni Maruzzelli > wrote: > >> 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/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/20151214/c03c6673/attachment.html From lmorley at neny.cslimits.net Mon Dec 14 21:02:53 2015 From: lmorley at neny.cslimits.net (Larry Morley) Date: Mon, 14 Dec 2015 13:02:53 -0500 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: Stanislav, I saw that; what I was saying was it looked to me like the processor was interpreting data as code and it happened to work out that the bit pattern for that data and for LDC/STC are the same. I've run into problems before where misaligned inductions have resulted in an ARM processor either ignoring the improperly aligned portion of an instruction or treating it as data. If you disassemble the code around where it traps, what does the listing show the processor is trying to execute? One additional thought - if you're concerned that calloc() or malloc() is returning a pointer that's improperly aligned, you could always supply your own temporarily and see if the problem goes away. - Larry On Dec 13, 2015 4:19 AM, "Stanislav Sinyagin" wrote: > 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 >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/8a9ebd7d/attachment-0001.html From blasterjr at gmail.com Mon Dec 14 21:14:51 2015 From: blasterjr at gmail.com (Chris Tunbridge) Date: Mon, 14 Dec 2015 11:14:51 -0700 Subject: [Freeswitch-users] FS freeze with 100% CPU rate frequently In-Reply-To: References: Message-ID: Just throwing my 2cents into this conversation. I am currently operating 10 servers in virtual environments among multiple cloud providers, this includes the following: Amazon EC2, Linode, Digital Ocean. My experience so far has been overall good, with the exception that a few times I've had to have linode move my VM to a less saturated node, digital ocean isn't any better in this regard as they're highly over subscribed. AWS has been decent but as stated previously, Physical hardware will give you the best results. As for Ubuntu, i -am- currently running all of my VM's on Ubuntu 14.04 64bit, i had some hurdles dealing with ODBC + MySQL, ended up rolling my own packages to fix them, but this is not a proper solution. I am currently testing Debian + 1.6 with my setup and its going really well. I am also in the process of moving to Physical Hardware as well because of the increased performance, up front its more expensive, but you end up with higher call capacity, clearer audio under load, and less headaches due to circumstances that are outside of your control. On Mon, Dec 14, 2015 at 10:51 AM, Giovanni Maruzzelli wrote: > I would not use Linode, it adds a layer of uncertainty, because most of > voip (and freeswitch) deployments are on actual metal hardware, and any > additional layer will distance your install from mainstream. > > Also, definitely not use Ubuntu. Use Debian 8 instead. > > Also, consider moving to FreeSWITCH 1.6, 1.4 is rapidly approaching > end-of-life. > > That said, (and I strongly suggest you go to real hardware, Debian 8, FS > 1.6 if you want things to go smooth), if you really want to do the > investigation, this page can help you: > https://freeswitch.org/confluence/display/FREESWITCH/Troubleshooting+Debugging > > -giovanni > > On Mon, Dec 14, 2015 at 6:28 PM, Eric Ni wrote: > >> It is FreeSWITCH Version 1.4.23+git~20151001T183159Z~1665168d37~64bit >> (git 1665168 2015-10-01 18:31:59Z 64bit) >> running on ubuntu 14.04, Linode VPS >> >> On Mon, Dec 14, 2015 at 12:47 AM, Giovanni Maruzzelli >> wrote: >> >>> 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/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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/9756dc59/attachment.html From luis.daniel.lucio at gmail.com Mon Dec 14 21:27:21 2015 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Mon, 14 Dec 2015 13:27:21 -0500 Subject: [Freeswitch-users] FS freeze with 100% CPU rate frequently In-Reply-To: References: Message-ID: +1 Chris, I have many VPS running FS without issues. Anyway, Eric has not given any useful information to help him. Not only release, but architecture as well. Are you using a specific xml handler? how the xml handler feeds? what is your ulimit parameters? In my experience, when DB struggles and connection brakes, ODBC does not recover nicely always. 100% cpu utilization is, in sometimes linked to zombie processes. Freeswitch may be waiting for a zombie process. I think this is more a sysadmin issue than voip. 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-14 13:14 GMT-05:00 Chris Tunbridge : > Just throwing my 2cents into this conversation. > > I am currently operating 10 servers in virtual environments among multiple > cloud providers, this includes the following: Amazon EC2, Linode, Digital > Ocean. > > My experience so far has been overall good, with the exception that a few > times I've had to have linode move my VM to a less saturated node, digital > ocean isn't any better in this regard as they're highly over subscribed. > > AWS has been decent but as stated previously, Physical hardware will give > you the best results. > > As for Ubuntu, i -am- currently running all of my VM's on Ubuntu 14.04 > 64bit, i had some hurdles dealing with ODBC + MySQL, ended up rolling my > own packages to fix them, but this is not a proper solution. > > I am currently testing Debian + 1.6 with my setup and its going really > well. > > I am also in the process of moving to Physical Hardware as well because of > the increased performance, up front its more expensive, but you end up with > higher call capacity, clearer audio under load, and less headaches due to > circumstances that are outside of your control. > > On Mon, Dec 14, 2015 at 10:51 AM, Giovanni Maruzzelli > wrote: > >> I would not use Linode, it adds a layer of uncertainty, because most of >> voip (and freeswitch) deployments are on actual metal hardware, and any >> additional layer will distance your install from mainstream. >> >> Also, definitely not use Ubuntu. Use Debian 8 instead. >> >> Also, consider moving to FreeSWITCH 1.6, 1.4 is rapidly approaching >> end-of-life. >> >> That said, (and I strongly suggest you go to real hardware, Debian 8, FS >> 1.6 if you want things to go smooth), if you really want to do the >> investigation, this page can help you: >> https://freeswitch.org/confluence/display/FREESWITCH/Troubleshooting+Debugging >> >> -giovanni >> >> On Mon, Dec 14, 2015 at 6:28 PM, Eric Ni wrote: >> >>> It is FreeSWITCH Version 1.4.23+git~20151001T183159Z~1665168d37~64bit >>> (git 1665168 2015-10-01 18:31:59Z 64bit) >>> running on ubuntu 14.04, Linode VPS >>> >>> On Mon, Dec 14, 2015 at 12:47 AM, Giovanni Maruzzelli >> > wrote: >>> >>>> 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/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 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/b3590e4b/attachment-0001.html From mgg at giagnocavo.net Mon Dec 14 22:08:23 2015 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Mon, 14 Dec 2015 19:08:23 +0000 Subject: [Freeswitch-users] Thread failure with low CPU utilization? In-Reply-To: References: <42d301d1368b$e0ad68b0$a2083a10$@freeswitch.org> Message-ID: Is there a reason to think that CentOS 6 would cause threads to fail to spawn? This is basically just calling libapr, which is code from like 8 years ago. Vladislav: This means it failed to create a thread (switch_thread_create in switch_apr.c). FS generates a ton of threads. The only time I?ve seen this was a long time ago on 32-bit Windows, since default stack of 1MB means you hit address space limits pretty quickly. But on 64-bit, you should be able to go all out. I?d start by adding some if?d printf?s to check the various things that switch_thread_create does and try to pinpoint what is failing. If the libapr call is failing, then you should be able to create a minimal program that just spawns threads and see if that one is able to get 1000+. From there I?d guess troubleshooting is gonna be the same as figuring out why pthread_create fails and that should be generic to your system. (Please post if you figure out why.) If other apps are able to spawn and keep thousands of threads and just FS isn?t then I guess you?re unlucky? -Michael From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Giovanni Maruzzelli Sent: Monday, 14 December, 2015 10:57 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Thread failure with low CPU utilization? centos 6 is not supported by FreeSWITCH 1.6 ! -giovanni On Mon, Dec 14, 2015 at 5:47 PM, Vladislav Ivanov > wrote: Centos 6,latest update. Via init script On 14 Dec 2015 6:25 p.m., "Ken Rice" > wrote: A)What platform are you running FreeSWITCH on? (eg: Debian 8 etc) b)How are you starting FreeSWITCH? (eg: in the foreground or background with an init script) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Vladislav Ivanov Sent: Monday, December 14, 2015 9:47 AM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Thread failure with low CPU utilization? Hello, I have 1.6.5 Freeswitch and I'm trying to test how much lines/cps it can handle on my test machine: CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz x2 (8 cores, 3 GHz) RAM: 32GB SSD: 500 GB I'm using call generator to check flood the freeswitch, but when FS gets 1k sessions it sends [CRIT] switch_core_session.c:1781 Thread Failure! and the Star Wars quote... But the CPU load is less than 10% Ulimit is as follows: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 128330 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 32768 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 2048 cpu time (seconds, -t) unlimited max user processes (-u) 32768 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Server is physical, not virtual, but I dont have the same issue with virtual freeswitch. Here is the "status" before the session limit: freeswitch at internal> status UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 137 milliseconds, 603 microseconds FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready 994 session(s) since startup 994 session(s) - peak 994, last 5min 994 40 session(s) per Sec out of max 200, peak 41, last 5min 41 10000 session(s) max min idle cpu 10.00/96.77 Current Stack Size/Max 2048K/2048K freeswitch at internal> status UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 370 milliseconds, 877 microseconds FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready 1003 session(s) since startup 1003 session(s) - peak 1003, last 5min 1003 40 session(s) per Sec out of max 200, peak 41, last 5min 41 993 session(s) max min idle cpu 10.00/96.77 Current Stack Size/Max 2048K/2048K freeswitch at internal> 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1781 Thread Failure! 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1737 LUKE: I'm hit, but not bad. 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1738 LUKE'S VOICE: Artoo, see what you can do with it. Hang on back there.... Green laserfire moves past the beeping little robot as his head turns. After a few beeps and a twist of his mechanical arm, Artoo reduces the max sessions to 993 thus, saving the switch from certain doom. Any help with that? Really strange error... _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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/20151214/28b3adea/attachment-0001.html From kworm at sofnet.com Mon Dec 14 22:30:11 2015 From: kworm at sofnet.com (Kevin Wormington) Date: Mon, 14 Dec 2015 13:30:11 -0600 Subject: [Freeswitch-users] Thread failure with low CPU utilization? In-Reply-To: References: <42d301d1368b$e0ad68b0$a2083a10$@freeswitch.org> Message-ID: <566F18C3.90805@sofnet.com> This post http://unix.stackexchange.com/questions/47595/linux-max-threads-count has a simple program to check out how many threads can be created. You can run the test program as root and then as FS user and see if it's a ulimit type of problem. On 12/14/2015 01:08 PM, Michael Giagnocavo wrote: > Is there a reason to think that CentOS 6 would cause threads to fail to > spawn? This is basically just calling libapr, which is code from like 8 > years ago. > > Vladislav: This means it failed to create a thread (switch_thread_create > in switch_apr.c). FS generates a ton of threads. The only time I?ve seen > this was a long time ago on 32-bit Windows, since default stack of 1MB > means you hit address space limits pretty quickly. But on 64-bit, you > should be able to go all out. > > I?d start by adding some if?d printf?s to check the various things that > switch_thread_create does and try to pinpoint what is failing. If the > libapr call is failing, then you should be able to create a minimal > program that just spawns threads and see if that one is able to get > 1000+. From there I?d guess troubleshooting is gonna be the same as > figuring out why pthread_create fails and that should be generic to your > system. (Please post if you figure out why.) > > If other apps are able to spawn and keep thousands of threads and just > FS isn?t then I guess you?re unlucky? > > -Michael > > *From:*freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of > *Giovanni Maruzzelli > *Sent:* Monday, 14 December, 2015 10:57 > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Thread failure with low CPU utilization? > > centos 6 is not supported by FreeSWITCH 1.6 ! > > -giovanni > > On Mon, Dec 14, 2015 at 5:47 PM, Vladislav Ivanov > wrote: > > Centos 6,latest update. Via init script > > On 14 Dec 2015 6:25 p.m., "Ken Rice" > wrote: > > A)What platform are you running FreeSWITCH on? (eg: Debian 8 etc) > > b)How are you starting FreeSWITCH? (eg: in the foreground or > background with an init script) > > *From:*freeswitch-users-bounces at lists.freeswitch.org > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > ] *On > Behalf Of *Vladislav Ivanov > *Sent:* Monday, December 14, 2015 9:47 AM > *To:* freeswitch-users at lists.freeswitch.org > > *Subject:* [Freeswitch-users] Thread failure with low CPU > utilization? > > Hello, > > I have 1.6.5 Freeswitch and I'm trying to test how much > lines/cps it can handle on my test machine: > > CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz x2 (8 cores, 3 GHz) > RAM: 32GB > SSD: 500 GB > > I'm using call generator to check flood the freeswitch, but when > FS gets 1k sessions it sends > [CRIT] switch_core_session.c:1781 Thread Failure! > and the Star Wars quote... But the CPU load is less than 10% > > Ulimit is as follows: > > core file size (blocks, -c) 0 > > data seg size (kbytes, -d) unlimited > > scheduling priority (-e) 0 > > file size (blocks, -f) unlimited > > pending signals (-i) 128330 > > max locked memory (kbytes, -l) 64 > > max memory size (kbytes, -m) unlimited > > open files (-n) 32768 > > pipe size (512 bytes, -p) 8 > > POSIX message queues (bytes, -q) 819200 > > real-time priority (-r) 0 > > stack size (kbytes, -s) 2048 > > cpu time (seconds, -t) unlimited > > max user processes (-u) 32768 > > virtual memory (kbytes, -v) unlimited > > file locks (-x) unlimited > > > Server is physical, not virtual, but I dont have the same issue > with virtual freeswitch. > > Here is the "status" before the session limit: > > freeswitch at internal> status > > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 137 > milliseconds, 603 microseconds > > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z > 64bit) is ready > > 994 session(s) since startup > > 994 session(s) - peak 994, last 5min 994 > > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 > > 10000 session(s) max > > min idle cpu 10.00/96.77 > > Current Stack Size/Max 2048K/2048K > > freeswitch at internal> status > > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 370 > milliseconds, 877 microseconds > > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z > 64bit) is ready > > 1003 session(s) since startup > > 1003 session(s) - peak 1003, last 5min 1003 > > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 > > 993 session(s) max > > min idle cpu 10.00/96.77 > > Current Stack Size/Max 2048K/2048K > > freeswitch at internal> 2015-12-14 15:37:37.436968 [CRIT] > switch_core_session.c:1781 Thread Failure! > > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1737 > LUKE: I'm hit, but not bad. > > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1738 > LUKE'S VOICE: Artoo, see what you can do with it. Hang on back > there.... > > Green laserfire moves past the beeping little robot as his head > turns. After a few beeps and a twist of his mechanical arm, > > Artoo reduces the max sessions to 993 thus, saving the switch > from certain doom. > > Any help with that? Really strange error... > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > From ssinyagin at gmail.com Mon Dec 14 23:15:37 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 14 Dec 2015 21:15:37 +0100 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: Larry, here it's just a pointer that is 16bit aligned, and is given to a function that tries to treat it as an array of 32bit values. See my new comment in the ticket. We just need the module author to fix this, as it's difficult to figure out why some ifdefs have "x" at the end. On 14 Dec 2015 19:03, "Larry Morley" wrote: > Stanislav, > > I saw that; what I was saying was it looked to me like the processor was > interpreting data as code and it happened to work out that the bit pattern > for that data and for LDC/STC are the same. I've run into problems before > where misaligned inductions have resulted in an ARM processor either > ignoring the improperly aligned portion of an instruction or treating it as > data. > > If you disassemble the code around where it traps, what does the listing > show the processor is trying to execute? > > One additional thought - if you're concerned that calloc() or malloc() is > returning a pointer that's improperly aligned, you could always supply > your own temporarily and see if the problem goes away. > > - Larry > On Dec 13, 2015 4:19 AM, "Stanislav Sinyagin" wrote: > >> 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 >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/234d9a43/attachment-0001.html From xyangni at gmail.com Mon Dec 14 23:51:34 2015 From: xyangni at gmail.com (Eric Ni) Date: Mon, 14 Dec 2015 20:51:34 +0000 Subject: [Freeswitch-users] FS freeze with 100% CPU rate frequently In-Reply-To: References: Message-ID: To avoid any ODBC related issues, I have recompiled the FS without ODBC support. I use lua curl to submit data to a php page. Thus, no need for DB support in FS. The total volume of calls is about 50-200 per day. During busy days, on average it stuck in 100% CPU once every 2 days. But the actual time and frequency is unpredictable. On Mon, Dec 14, 2015 at 6:27 PM, Luis Daniel Lucio Quiroz < luis.daniel.lucio at gmail.com> wrote: > +1 Chris, I have many VPS running FS without issues. > > Anyway, Eric has not given any useful information to help him. Not only > release, but architecture as well. Are you using a specific xml handler? > how the xml handler feeds? what is your ulimit parameters? > > In my experience, when DB struggles and connection brakes, ODBC does not > recover nicely always. 100% cpu utilization is, in sometimes linked to > zombie processes. Freeswitch may be waiting for a zombie process. > > I think this is more a sysadmin issue than voip. > > 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-14 13:14 GMT-05:00 Chris Tunbridge : > >> Just throwing my 2cents into this conversation. >> >> I am currently operating 10 servers in virtual environments among >> multiple cloud providers, this includes the following: Amazon EC2, Linode, >> Digital Ocean. >> >> My experience so far has been overall good, with the exception that a few >> times I've had to have linode move my VM to a less saturated node, digital >> ocean isn't any better in this regard as they're highly over subscribed. >> >> AWS has been decent but as stated previously, Physical hardware will give >> you the best results. >> >> As for Ubuntu, i -am- currently running all of my VM's on Ubuntu 14.04 >> 64bit, i had some hurdles dealing with ODBC + MySQL, ended up rolling my >> own packages to fix them, but this is not a proper solution. >> >> I am currently testing Debian + 1.6 with my setup and its going really >> well. >> >> I am also in the process of moving to Physical Hardware as well because >> of the increased performance, up front its more expensive, but you end up >> with higher call capacity, clearer audio under load, and less headaches due >> to circumstances that are outside of your control. >> >> On Mon, Dec 14, 2015 at 10:51 AM, Giovanni Maruzzelli >> wrote: >> >>> I would not use Linode, it adds a layer of uncertainty, because most of >>> voip (and freeswitch) deployments are on actual metal hardware, and any >>> additional layer will distance your install from mainstream. >>> >>> Also, definitely not use Ubuntu. Use Debian 8 instead. >>> >>> Also, consider moving to FreeSWITCH 1.6, 1.4 is rapidly approaching >>> end-of-life. >>> >>> That said, (and I strongly suggest you go to real hardware, Debian 8, FS >>> 1.6 if you want things to go smooth), if you really want to do the >>> investigation, this page can help you: >>> https://freeswitch.org/confluence/display/FREESWITCH/Troubleshooting+Debugging >>> >>> -giovanni >>> >>> On Mon, Dec 14, 2015 at 6:28 PM, Eric Ni wrote: >>> >>>> It is FreeSWITCH Version 1.4.23+git~20151001T183159Z~1665168d37~64bit >>>> (git 1665168 2015-10-01 18:31:59Z 64bit) >>>> running on ubuntu 14.04, Linode VPS >>>> >>>> On Mon, Dec 14, 2015 at 12:47 AM, Giovanni Maruzzelli < >>>> gmaruzz at gmail.com> wrote: >>>> >>>>> 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/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 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/5cb3c78a/attachment.html From anthony.minessale at gmail.com Tue Dec 15 00:06:00 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 14 Dec 2015 15:06:00 -0600 Subject: [Freeswitch-users] Thread failure with low CPU utilization? In-Reply-To: <566F18C3.90805@sofnet.com> References: <42d301d1368b$e0ad68b0$a2083a10$@freeswitch.org> <566F18C3.90805@sofnet.com> Message-ID: Are you running FS as root or a regular user, you need to check the ulimits of concurrent threads and some boxes have a hard limit of threads, its not all tied to CPU usage. On Mon, Dec 14, 2015 at 1:30 PM, Kevin Wormington wrote: > This post > http://unix.stackexchange.com/questions/47595/linux-max-threads-count > has a simple program to check out how many threads can be created. You > can run the test program as root and then as FS user and see if it's a > ulimit type of problem. > > On 12/14/2015 01:08 PM, Michael Giagnocavo wrote: > > Is there a reason to think that CentOS 6 would cause threads to fail to > > spawn? This is basically just calling libapr, which is code from like 8 > > years ago. > > > > Vladislav: This means it failed to create a thread (switch_thread_create > > in switch_apr.c). FS generates a ton of threads. The only time I?ve seen > > this was a long time ago on 32-bit Windows, since default stack of 1MB > > means you hit address space limits pretty quickly. But on 64-bit, you > > should be able to go all out. > > > > I?d start by adding some if?d printf?s to check the various things that > > switch_thread_create does and try to pinpoint what is failing. If the > > libapr call is failing, then you should be able to create a minimal > > program that just spawns threads and see if that one is able to get > > 1000+. From there I?d guess troubleshooting is gonna be the same as > > figuring out why pthread_create fails and that should be generic to your > > system. (Please post if you figure out why.) > > > > If other apps are able to spawn and keep thousands of threads and just > > FS isn?t then I guess you?re unlucky? > > > > -Michael > > > > *From:*freeswitch-users-bounces at lists.freeswitch.org > > [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of > > *Giovanni Maruzzelli > > *Sent:* Monday, 14 December, 2015 10:57 > > *To:* FreeSWITCH Users Help > > *Subject:* Re: [Freeswitch-users] Thread failure with low CPU > utilization? > > > > centos 6 is not supported by FreeSWITCH 1.6 ! > > > > -giovanni > > > > On Mon, Dec 14, 2015 at 5:47 PM, Vladislav Ivanov > > wrote: > > > > Centos 6,latest update. Via init script > > > > On 14 Dec 2015 6:25 p.m., "Ken Rice" > > wrote: > > > > A)What platform are you running FreeSWITCH on? (eg: Debian 8 etc) > > > > b)How are you starting FreeSWITCH? (eg: in the foreground or > > background with an init script) > > > > *From:*freeswitch-users-bounces at lists.freeswitch.org > > > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > > ] *On > > Behalf Of *Vladislav Ivanov > > *Sent:* Monday, December 14, 2015 9:47 AM > > *To:* freeswitch-users at lists.freeswitch.org > > > > *Subject:* [Freeswitch-users] Thread failure with low CPU > > utilization? > > > > Hello, > > > > I have 1.6.5 Freeswitch and I'm trying to test how much > > lines/cps it can handle on my test machine: > > > > CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz x2 (8 cores, 3 GHz) > > RAM: 32GB > > SSD: 500 GB > > > > I'm using call generator to check flood the freeswitch, but when > > FS gets 1k sessions it sends > > [CRIT] switch_core_session.c:1781 Thread Failure! > > and the Star Wars quote... But the CPU load is less than 10% > > > > Ulimit is as follows: > > > > core file size (blocks, -c) 0 > > > > data seg size (kbytes, -d) unlimited > > > > scheduling priority (-e) 0 > > > > file size (blocks, -f) unlimited > > > > pending signals (-i) 128330 > > > > max locked memory (kbytes, -l) 64 > > > > max memory size (kbytes, -m) unlimited > > > > open files (-n) 32768 > > > > pipe size (512 bytes, -p) 8 > > > > POSIX message queues (bytes, -q) 819200 > > > > real-time priority (-r) 0 > > > > stack size (kbytes, -s) 2048 > > > > cpu time (seconds, -t) unlimited > > > > max user processes (-u) 32768 > > > > virtual memory (kbytes, -v) unlimited > > > > file locks (-x) unlimited > > > > > > Server is physical, not virtual, but I dont have the same issue > > with virtual freeswitch. > > > > Here is the "status" before the session limit: > > > > freeswitch at internal> status > > > > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 137 > > milliseconds, 603 microseconds > > > > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z > > 64bit) is ready > > > > 994 session(s) since startup > > > > 994 session(s) - peak 994, last 5min 994 > > > > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 > > > > 10000 session(s) max > > > > min idle cpu 10.00/96.77 > > > > Current Stack Size/Max 2048K/2048K > > > > freeswitch at internal> status > > > > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 370 > > milliseconds, 877 microseconds > > > > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z > > 64bit) is ready > > > > 1003 session(s) since startup > > > > 1003 session(s) - peak 1003, last 5min 1003 > > > > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 > > > > 993 session(s) max > > > > min idle cpu 10.00/96.77 > > > > Current Stack Size/Max 2048K/2048K > > > > freeswitch at internal> 2015-12-14 15:37:37.436968 [CRIT] > > switch_core_session.c:1781 Thread Failure! > > > > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1737 > > LUKE: I'm hit, but not bad. > > > > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1738 > > LUKE'S VOICE: Artoo, see what you can do with it. Hang on back > > there.... > > > > Green laserfire moves past the beeping little robot as his head > > turns. After a few beeps and a twist of his mechanical arm, > > > > Artoo reduces the max sessions to 993 thus, saving the switch > > from certain doom. > > > > Any help with that? Really strange error... > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > > > Sincerely, > > > > Giovanni Maruzzelli > > Cell : +39-347-2665618 > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/85f4a033/attachment-0001.html From anthony.minessale at gmail.com Tue Dec 15 02:24:19 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 14 Dec 2015 17:24:19 -0600 Subject: [Freeswitch-users] FS freeze with 100% CPU rate frequently In-Reply-To: References: Message-ID: I don't know if this is on the wiki or not but I have detailed this process many times if you really want to know what is causing it. 1) Save the output from this command: top -b -H -p `cat /usr/local/freeswitch/run/freeswitch.pid` -n 1 2) get a gcore: gcore `cat /usr/local/freeswitch/run/freeswitch.pid` open the corefile in gdb, do "info threads" find the pid that matches the thread that is 100%cpu switch to that thread by the number gdb assigned to it (e.g. thread 12) get a bt... as usual with a crash...... On Mon, Dec 14, 2015 at 2:51 PM, Eric Ni wrote: > To avoid any ODBC related issues, I have recompiled the FS without ODBC > support. I use lua curl to submit data to a php page. Thus, no need for DB > support in FS. > The total volume of calls is about 50-200 per day. During busy days, on > average it stuck in 100% CPU once every 2 days. But the actual time and > frequency is unpredictable. > > On Mon, Dec 14, 2015 at 6:27 PM, Luis Daniel Lucio Quiroz < > luis.daniel.lucio at gmail.com> wrote: > >> +1 Chris, I have many VPS running FS without issues. >> >> Anyway, Eric has not given any useful information to help him. Not only >> release, but architecture as well. Are you using a specific xml handler? >> how the xml handler feeds? what is your ulimit parameters? >> >> In my experience, when DB struggles and connection brakes, ODBC does not >> recover nicely always. 100% cpu utilization is, in sometimes linked to >> zombie processes. Freeswitch may be waiting for a zombie process. >> >> I think this is more a sysadmin issue than voip. >> >> 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-14 13:14 GMT-05:00 Chris Tunbridge : >> >>> Just throwing my 2cents into this conversation. >>> >>> I am currently operating 10 servers in virtual environments among >>> multiple cloud providers, this includes the following: Amazon EC2, Linode, >>> Digital Ocean. >>> >>> My experience so far has been overall good, with the exception that a >>> few times I've had to have linode move my VM to a less saturated node, >>> digital ocean isn't any better in this regard as they're highly over >>> subscribed. >>> >>> AWS has been decent but as stated previously, Physical hardware will >>> give you the best results. >>> >>> As for Ubuntu, i -am- currently running all of my VM's on Ubuntu 14.04 >>> 64bit, i had some hurdles dealing with ODBC + MySQL, ended up rolling my >>> own packages to fix them, but this is not a proper solution. >>> >>> I am currently testing Debian + 1.6 with my setup and its going really >>> well. >>> >>> I am also in the process of moving to Physical Hardware as well because >>> of the increased performance, up front its more expensive, but you end up >>> with higher call capacity, clearer audio under load, and less headaches due >>> to circumstances that are outside of your control. >>> >>> On Mon, Dec 14, 2015 at 10:51 AM, Giovanni Maruzzelli >> > wrote: >>> >>>> I would not use Linode, it adds a layer of uncertainty, because most of >>>> voip (and freeswitch) deployments are on actual metal hardware, and any >>>> additional layer will distance your install from mainstream. >>>> >>>> Also, definitely not use Ubuntu. Use Debian 8 instead. >>>> >>>> Also, consider moving to FreeSWITCH 1.6, 1.4 is rapidly approaching >>>> end-of-life. >>>> >>>> That said, (and I strongly suggest you go to real hardware, Debian 8, >>>> FS 1.6 if you want things to go smooth), if you really want to do the >>>> investigation, this page can help you: >>>> https://freeswitch.org/confluence/display/FREESWITCH/Troubleshooting+Debugging >>>> >>>> -giovanni >>>> >>>> On Mon, Dec 14, 2015 at 6:28 PM, Eric Ni wrote: >>>> >>>>> It is FreeSWITCH Version 1.4.23+git~20151001T183159Z~1665168d37~64bit >>>>> (git 1665168 2015-10-01 18:31:59Z 64bit) >>>>> running on ubuntu 14.04, Linode VPS >>>>> >>>>> On Mon, Dec 14, 2015 at 12:47 AM, Giovanni Maruzzelli < >>>>> gmaruzz at gmail.com> wrote: >>>>> >>>>>> 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/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 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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/20151214/290210f3/attachment-0001.html From lmorley at neny.cslimits.net Tue Dec 15 03:03:58 2015 From: lmorley at neny.cslimits.net (Larry Morley) Date: Mon, 14 Dec 2015 19:03:58 -0500 Subject: [Freeswitch-users] Push to talk In-Reply-To: References: <1EBF830F-808A-441B-82E0-30523876D756@jerris.com> Message-ID: Bob, Thanks for taking the time to suggest that. While what you suggested might not be the magic bullet as far as a PTT system goes, it certainly seems to be the jumping off point for a different application I've been part contemplating and part messing with, on and off, for a while now. Thanks. Larry On Dec 14, 2015 12:00, "Bob Hartwig" wrote: > Oh OK, completely disregard my suggestion then. I thought we were talking > about a long-established multi-party conference with selective unmuting of > end instruments. > > On Mon, Dec 14, 2015 at 10:37 AM, ik wrote: > >> It's more then that. You open a new channel, and instead of 180/3 you >> send 200, and then one side hears, while the other side talk. >> >> When done, there is an hangup, until some try to talk. >> On Dec 14, 2015 6:11 PM, "Bob Hartwig" >> wrote: >> >>> PTT just means selectively muting and unmuting calls based on a switch >>> closure or UI events, right? I know that some commercial conference >>> systems implement muting by reinviting with a=sendonly, so if you're >>> designing an end instrument that does PTT, it seems reasonable to implement >>> that by reinviting with a=recvonly. Or if you're implementing the PTT >>> functionality on the server side, use a=sendonly. Just spitballing here, >>> I've never needed to do this. >>> >>> Bob >>> >>> >>> >>> On Sun, Dec 13, 2015 at 6:38 PM, Larry Morley >> > wrote: >>> >>>> 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 < >>>>> lmorley at neny.cslimits.net> 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 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151214/3cef0a7a/attachment.html From krice at freeswitch.org Tue Dec 15 03:04:18 2015 From: krice at freeswitch.org (Ken Rice) Date: Tue, 15 Dec 2015 00:04:18 +0000 Subject: [Freeswitch-users] The public perception of open-source software Message-ID: <566f5902c8681_d286b3334261bb@resque-worker.18.mail> New Post on freeswitch.org from Kathleen King check it out at http://ift.tt/1OsGMcz The public perception of open-source software These days ?free? software seems to be a scary prospect to the general public. The association between open-source software and malicious ?click here for free stuff? ads is strong and the fear of unknown ?hackers? runs rampant. The old adage that ?nothing good in life comes for free? has ingrained the idea that free is synonymous with scams. Why would anyone in their right mind give away a great product for free? This thought process is why most of the general public limits themselves to costly, proprietary services. The tech industry is huge and understanding it all is impossible, but buying trust isn?t the answer to guaranteed safety. There is plenty of fantastic open-source software available and it shouldn?t only be accessible to experienced, tech savvy individuals. And, as we move toward a more tech based culture, the up and coming generations can have an especially difficult time trying to explain this misconstrued conclusion to their older peers. Jim Salter from?Opensource.com addressed this issue with an open letter to all parents with kids that want to use open-source software. He goes on to say free open-source software (FOSS) ?is not ?stolen? software. Free software licenses like the GPL and the BSD and Apache licenses allow users the ability to freely use, and developers the ability to freely develop, the software placed under those licenses. Another important thing to understand about FOSS is that it is not merely ?free? in the sense of ?free in every box of cereal.? Making a new copy of a piece of software literally costs nothing at all?this has made it possible for community efforts to produce world-class products in a way material goods never could be.? Helping the general public to understand the definition and motivation behind open-source will bring it out of the shadows of the industry?and help it become mainstream. You can read his letter here: http://ift.tt/1UnfwRq -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/36b69eb7/attachment-0001.html From brian at linuxpenguins.xyz Tue Dec 15 10:42:16 2015 From: brian at linuxpenguins.xyz (Brian May) Date: Tue, 15 Dec 2015 18:42:16 +1100 Subject: [Freeswitch-users] The public perception of open-source software In-Reply-To: <566f5902c8681_d286b3334261bb@resque-worker.18.mail> References: <566f5902c8681_d286b3334261bb@resque-worker.18.mail> Message-ID: <87y4cwgntz.fsf@prune.linuxpenguins.xyz> Ken Rice writes: > These days ?free? software seems to be a scary prospect to the general > public. The association between open-source software and malicious > ?click here for free stuff? ads is strong and the fear of unknown > ?hackers? runs rampant. The old adage that ?nothing good in life comes > for free? has ingrained the idea that free is synonymous with > scams. Open source works best when you have multiple contributors. Linux is a really good example, you have multiple companies paying developers to contribute to it. I suspect Freeswitch might be another good example. Sometimes however you end up with a very important project, with perhaps as little as only one overwhelmed developer. Everyone uses the project, everyone assumes it works, nobody actually audits the code or reviews the changes made to ensure that they are sane. The developer is rushed and doesn't have time to check his changes properly because he isn't getting any outside help. Or makes what looks like an innocent change only years later is found to be a massive security hole. A classic example of this was openssl, before a number of high profile security issues were found. The situation is much better now for openssl and forks, however I know there are important packages still in a similar situation. Sometimes these projects suddenly turn into orphaned or unmaintained projects because the developer left his company he was working at and is no longer interested in the project. So open source is good, anybody can contribute to the development; however there are certain risks that also need to be managed properly. Even more so if you are not actively involved in the community and have no idea who is developing the software you are using. -- Brian May https://linuxpenguins.xyz/brian/ From deforceczt at gmail.com Tue Dec 15 11:14:57 2015 From: deforceczt at gmail.com (Vladislav Ivanov) Date: Tue, 15 Dec 2015 10:14:57 +0200 Subject: [Freeswitch-users] Thread failure with low CPU utilization? In-Reply-To: References: <42d301d1368b$e0ad68b0$a2083a10$@freeswitch.org> <566F18C3.90805@sofnet.com> Message-ID: Hey guys, Anthony was correct in this case, I ran freeswitch not from root, for some reason my /etc/security/limits.conf file line: * soft nproc 32768 * hard nproc 32768 was not propagated on freeswitch user... Added new line: freeswitch soft nproc 32768 freeswitch hard nproc 32768 and it worked fine from that. Thanks to you all! 2015-12-14 23:06 GMT+02:00 Anthony Minessale : > Are you running FS as root or a regular user, you need to check the > ulimits of concurrent threads and some boxes have a hard limit of threads, > its not all tied to CPU usage. > > > On Mon, Dec 14, 2015 at 1:30 PM, Kevin Wormington > wrote: > >> This post >> http://unix.stackexchange.com/questions/47595/linux-max-threads-count >> has a simple program to check out how many threads can be created. You >> can run the test program as root and then as FS user and see if it's a >> ulimit type of problem. >> >> On 12/14/2015 01:08 PM, Michael Giagnocavo wrote: >> > Is there a reason to think that CentOS 6 would cause threads to fail to >> > spawn? This is basically just calling libapr, which is code from like 8 >> > years ago. >> > >> > Vladislav: This means it failed to create a thread (switch_thread_create >> > in switch_apr.c). FS generates a ton of threads. The only time I?ve seen >> > this was a long time ago on 32-bit Windows, since default stack of 1MB >> > means you hit address space limits pretty quickly. But on 64-bit, you >> > should be able to go all out. >> > >> > I?d start by adding some if?d printf?s to check the various things that >> > switch_thread_create does and try to pinpoint what is failing. If the >> > libapr call is failing, then you should be able to create a minimal >> > program that just spawns threads and see if that one is able to get >> > 1000+. From there I?d guess troubleshooting is gonna be the same as >> > figuring out why pthread_create fails and that should be generic to your >> > system. (Please post if you figure out why.) >> > >> > If other apps are able to spawn and keep thousands of threads and just >> > FS isn?t then I guess you?re unlucky? >> > >> > -Michael >> > >> > *From:*freeswitch-users-bounces at lists.freeswitch.org >> > [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of >> > *Giovanni Maruzzelli >> > *Sent:* Monday, 14 December, 2015 10:57 >> > *To:* FreeSWITCH Users Help >> > *Subject:* Re: [Freeswitch-users] Thread failure with low CPU >> utilization? >> > >> > centos 6 is not supported by FreeSWITCH 1.6 ! >> > >> > -giovanni >> > >> > On Mon, Dec 14, 2015 at 5:47 PM, Vladislav Ivanov > > > wrote: >> > >> > Centos 6,latest update. Via init script >> > >> > On 14 Dec 2015 6:25 p.m., "Ken Rice" > > > wrote: >> > >> > A)What platform are you running FreeSWITCH on? (eg: Debian 8 >> etc) >> > >> > b)How are you starting FreeSWITCH? (eg: in the foreground or >> > background with an init script) >> > >> > *From:*freeswitch-users-bounces at lists.freeswitch.org >> > >> > [mailto:freeswitch-users-bounces at lists.freeswitch.org >> > ] *On >> > Behalf Of *Vladislav Ivanov >> > *Sent:* Monday, December 14, 2015 9:47 AM >> > *To:* freeswitch-users at lists.freeswitch.org >> > >> > *Subject:* [Freeswitch-users] Thread failure with low CPU >> > utilization? >> > >> > Hello, >> > >> > I have 1.6.5 Freeswitch and I'm trying to test how much >> > lines/cps it can handle on my test machine: >> > >> > CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz x2 (8 cores, 3 GHz) >> > RAM: 32GB >> > SSD: 500 GB >> > >> > I'm using call generator to check flood the freeswitch, but when >> > FS gets 1k sessions it sends >> > [CRIT] switch_core_session.c:1781 Thread Failure! >> > and the Star Wars quote... But the CPU load is less than 10% >> > >> > Ulimit is as follows: >> > >> > core file size (blocks, -c) 0 >> > >> > data seg size (kbytes, -d) unlimited >> > >> > scheduling priority (-e) 0 >> > >> > file size (blocks, -f) unlimited >> > >> > pending signals (-i) 128330 >> > >> > max locked memory (kbytes, -l) 64 >> > >> > max memory size (kbytes, -m) unlimited >> > >> > open files (-n) 32768 >> > >> > pipe size (512 bytes, -p) 8 >> > >> > POSIX message queues (bytes, -q) 819200 >> > >> > real-time priority (-r) 0 >> > >> > stack size (kbytes, -s) 2048 >> > >> > cpu time (seconds, -t) unlimited >> > >> > max user processes (-u) 32768 >> > >> > virtual memory (kbytes, -v) unlimited >> > >> > file locks (-x) unlimited >> > >> > >> > Server is physical, not virtual, but I dont have the same issue >> > with virtual freeswitch. >> > >> > Here is the "status" before the session limit: >> > >> > freeswitch at internal> status >> > >> > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 137 >> > milliseconds, 603 microseconds >> > >> > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z >> > 64bit) is ready >> > >> > 994 session(s) since startup >> > >> > 994 session(s) - peak 994, last 5min 994 >> > >> > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 >> > >> > 10000 session(s) max >> > >> > min idle cpu 10.00/96.77 >> > >> > Current Stack Size/Max 2048K/2048K >> > >> > freeswitch at internal> status >> > >> > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 370 >> > milliseconds, 877 microseconds >> > >> > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z >> > 64bit) is ready >> > >> > 1003 session(s) since startup >> > >> > 1003 session(s) - peak 1003, last 5min 1003 >> > >> > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 >> > >> > 993 session(s) max >> > >> > min idle cpu 10.00/96.77 >> > >> > Current Stack Size/Max 2048K/2048K >> > >> > freeswitch at internal> 2015-12-14 15:37:37.436968 [CRIT] >> > switch_core_session.c:1781 Thread Failure! >> > >> > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1737 >> > LUKE: I'm hit, but not bad. >> > >> > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1738 >> > LUKE'S VOICE: Artoo, see what you can do with it. Hang on back >> > there.... >> > >> > Green laserfire moves past the beeping little robot as his head >> > turns. After a few beeps and a twist of his mechanical arm, >> > >> > Artoo reduces the max sessions to 993 thus, saving the switch >> > from certain doom. >> > >> > Any help with that? Really strange error... >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> > >> > >> > >> > >> > -- >> > >> > Sincerely, >> > >> > Giovanni Maruzzelli >> > Cell : +39-347-2665618 >> > >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> > >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/2055a801/attachment-0001.html From lists.fs-users at uce.pw Tue Dec 15 11:15:14 2015 From: lists.fs-users at uce.pw (Olgierd Ziolko) Date: Tue, 15 Dec 2015 08:15:14 +0000 Subject: [Freeswitch-users] The public perception of open-source software In-Reply-To: <566f5902c8681_d286b3334261bb@resque-worker.18.mail> References: <566f5902c8681_d286b3334261bb@resque-worker.18.mail> Message-ID: Just a short comment: pretty good example most parents will understand is volunteering: parents often volunteer to take part in class' activities - in school trips (as assistants to teachers), their kids' parties, events and so on. Parents willingly donate their free time and/or skills (when they, for example, are chemists and explain children what science actually is, sometimes sparking life-long interest) but it doesn't mean that children goes astray on trips, get poisoned on science fairs or drugged and robbed on primary school parties. Or become communists. Parents donate their time and expertise to provide their community so much needed experience, skills and - probably most precious - time. Same with with FOSS and developers. Just my 3 pence ;) O. On 15 December 2015 at 00:04, Ken Rice wrote: > New Post on freeswitch.org from Kathleen King > check it out at http://ift.tt/1OsGMcz > The public perception of open-source software > > These days ?free? software seems to be a scary prospect to the general > public. The association between open-source software and malicious ?click > here for free stuff? ads is strong and the fear of unknown ?hackers? runs > rampant. The old adage that ?nothing good in life comes for free? has > ingrained the idea that free is synonymous with scams. Why would anyone in > their right mind give away a great product for free? This thought process > is why most of the general public limits themselves to costly, proprietary > services. The tech industry is huge and understanding it all is impossible, > but buying trust isn?t the answer to guaranteed safety. There is plenty of > fantastic open-source software available and it shouldn?t only be > accessible to experienced, tech savvy individuals. And, as we move toward a > more tech based culture, the up and coming generations can have an > especially difficult time trying to explain this misconstrued conclusion to > their older peers. Jim Salter from Opensource.com > addressed this issue with an open letter to all > parents with kids that want to use open-source software. He goes on to say > free open-source software (FOSS) ?is not ?stolen? software. Free software > licenses like the GPL and the BSD > and Apache licenses allow > users the ability to freely use, and developers the ability to freely > develop, the software placed under those licenses. Another important thing > to understand about FOSS is that it is not merely ?free? in the sense of > ?free in every box of cereal.? Making a new copy of a piece of software > literally costs nothing at all?this has made it possible for community > efforts to produce world-class products in a way material goods never could > be.? Helping the general public to understand the definition and motivation > behind open-source will bring it out of the shadows of the industry and > help it become mainstream. You can read his letter here: > http://ift.tt/1UnfwRq > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/299b1918/attachment.html From babak.freeswitch at gmail.com Tue Dec 15 11:20:49 2015 From: babak.freeswitch at gmail.com (Babak Yakhchali) Date: Tue, 15 Dec 2015 11:50:49 +0330 Subject: [Freeswitch-users] monitoring sip endpoint Message-ID: Hi Is it possible to monitor a remote sip endpoint at sip level ? for example send a sip packet and get a reply to know if the endpoint is ready to accept calls? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/86a0a9a3/attachment.html From jurij.ivo at gmail.com Tue Dec 15 11:26:12 2015 From: jurij.ivo at gmail.com (Jurijs Ivolga) Date: Tue, 15 Dec 2015 10:26:12 +0200 Subject: [Freeswitch-users] monitoring sip endpoint In-Reply-To: References: Message-ID: Hi, Yes, it is possible there is dozens manuals for this. I used Nagios for such task. Nagios can use any custom script and library for testing remote peer. Basically we create custom script which will ping our server and return value ok or not ok back to Nagios. Below you can find one example how to do it: http://www.open-voip.org/index.php?title=Nagios_-_SIP_Monitoring_using_SIPP With kind regards, 2015-12-15 10:20 GMT+02:00 Babak Yakhchali : > Hi > Is it possible to monitor a remote sip endpoint at sip level ? for example > send a sip packet and get a reply to know if the endpoint is ready to > accept calls? > thanks > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/daaa563a/attachment.html From mgg at giagnocavo.net Tue Dec 15 14:16:23 2015 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Tue, 15 Dec 2015 11:16:23 +0000 Subject: [Freeswitch-users] Thread failure with low CPU utilization? In-Reply-To: References: <42d301d1368b$e0ad68b0$a2083a10$@freeswitch.org> <566F18C3.90805@sofnet.com> Message-ID: Perhaps write a patch to detect these limits and then CRIT on start if they conflict with settings. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Vladislav Ivanov Sent: Tuesday, 15 December, 2015 2:15 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Thread failure with low CPU utilization? Hey guys, Anthony was correct in this case, I ran freeswitch not from root, for some reason my /etc/security/limits.conf file line: * soft nproc 32768 * hard nproc 32768 was not propagated on freeswitch user... Added new line: freeswitch soft nproc 32768 freeswitch hard nproc 32768 and it worked fine from that. Thanks to you all! 2015-12-14 23:06 GMT+02:00 Anthony Minessale >: Are you running FS as root or a regular user, you need to check the ulimits of concurrent threads and some boxes have a hard limit of threads, its not all tied to CPU usage. On Mon, Dec 14, 2015 at 1:30 PM, Kevin Wormington > wrote: This post http://unix.stackexchange.com/questions/47595/linux-max-threads-count has a simple program to check out how many threads can be created. You can run the test program as root and then as FS user and see if it's a ulimit type of problem. On 12/14/2015 01:08 PM, Michael Giagnocavo wrote: > Is there a reason to think that CentOS 6 would cause threads to fail to > spawn? This is basically just calling libapr, which is code from like 8 > years ago. > > Vladislav: This means it failed to create a thread (switch_thread_create > in switch_apr.c). FS generates a ton of threads. The only time I?ve seen > this was a long time ago on 32-bit Windows, since default stack of 1MB > means you hit address space limits pretty quickly. But on 64-bit, you > should be able to go all out. > > I?d start by adding some if?d printf?s to check the various things that > switch_thread_create does and try to pinpoint what is failing. If the > libapr call is failing, then you should be able to create a minimal > program that just spawns threads and see if that one is able to get > 1000+. From there I?d guess troubleshooting is gonna be the same as > figuring out why pthread_create fails and that should be generic to your > system. (Please post if you figure out why.) > > If other apps are able to spawn and keep thousands of threads and just > FS isn?t then I guess you?re unlucky? > > -Michael > > *From:*freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of > *Giovanni Maruzzelli > *Sent:* Monday, 14 December, 2015 10:57 > *To:* FreeSWITCH Users Help > > *Subject:* Re: [Freeswitch-users] Thread failure with low CPU utilization? > > centos 6 is not supported by FreeSWITCH 1.6 ! > > -giovanni > > On Mon, Dec 14, 2015 at 5:47 PM, Vladislav Ivanov > >> wrote: > > Centos 6,latest update. Via init script > > On 14 Dec 2015 6:25 p.m., "Ken Rice" > >> wrote: > > A)What platform are you running FreeSWITCH on? (eg: Debian 8 etc) > > b)How are you starting FreeSWITCH? (eg: in the foreground or > background with an init script) > > *From:*freeswitch-users-bounces at lists.freeswitch.org > > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > >] *On > Behalf Of *Vladislav Ivanov > *Sent:* Monday, December 14, 2015 9:47 AM > *To:* freeswitch-users at lists.freeswitch.org > > > *Subject:* [Freeswitch-users] Thread failure with low CPU > utilization? > > Hello, > > I have 1.6.5 Freeswitch and I'm trying to test how much > lines/cps it can handle on my test machine: > > CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz x2 (8 cores, 3 GHz) > RAM: 32GB > SSD: 500 GB > > I'm using call generator to check flood the freeswitch, but when > FS gets 1k sessions it sends > [CRIT] switch_core_session.c:1781 Thread Failure! > and the Star Wars quote... But the CPU load is less than 10% > > Ulimit is as follows: > > core file size (blocks, -c) 0 > > data seg size (kbytes, -d) unlimited > > scheduling priority (-e) 0 > > file size (blocks, -f) unlimited > > pending signals (-i) 128330 > > max locked memory (kbytes, -l) 64 > > max memory size (kbytes, -m) unlimited > > open files (-n) 32768 > > pipe size (512 bytes, -p) 8 > > POSIX message queues (bytes, -q) 819200 > > real-time priority (-r) 0 > > stack size (kbytes, -s) 2048 > > cpu time (seconds, -t) unlimited > > max user processes (-u) 32768 > > virtual memory (kbytes, -v) unlimited > > file locks (-x) unlimited > > > Server is physical, not virtual, but I dont have the same issue > with virtual freeswitch. > > Here is the "status" before the session limit: > > freeswitch at internal> status > > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 137 > milliseconds, 603 microseconds > > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z > 64bit) is ready > > 994 session(s) since startup > > 994 session(s) - peak 994, last 5min 994 > > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 > > 10000 session(s) max > > min idle cpu 10.00/96.77 > > Current Stack Size/Max 2048K/2048K > > freeswitch at internal> status > > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 370 > milliseconds, 877 microseconds > > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z > 64bit) is ready > > 1003 session(s) since startup > > 1003 session(s) - peak 1003, last 5min 1003 > > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 > > 993 session(s) max > > min idle cpu 10.00/96.77 > > Current Stack Size/Max 2048K/2048K > > freeswitch at internal> 2015-12-14 15:37:37.436968 [CRIT] > switch_core_session.c:1781 Thread Failure! > > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1737 > LUKE: I'm hit, but not bad. > > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1738 > LUKE'S VOICE: Artoo, see what you can do with it. Hang on back > there.... > > Green laserfire moves past the beeping little robot as his head > turns. After a few beeps and a twist of his mechanical arm, > > Artoo reduces the max sessions to 993 thus, saving the switch > from certain doom. > > Any help with that? Really strange error... > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? http://freeswitch.org/g+ ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/7d7d3005/attachment-0001.html From mase2hot at gmail.com Tue Dec 15 15:08:40 2015 From: mase2hot at gmail.com (Jason Bedward) Date: Tue, 15 Dec 2015 12:08:40 +0000 Subject: [Freeswitch-users] Skypopen Debian Jessie install issues Message-ID: Hi, I have tried to install this on Debian Jessie but had some issues with dependencies which are not matching what the install guide says. When I got to the CLI and load the module I get the error below. I have libjpeg62-turbo & libjpeg62-turbo-dev installed which I think it the current version for Debian. Please can someone help guide me with this version of Debian. Thanks +OK log level 9 [9] +OK console log level set to DEBUG freeswitch at 192.168.2.233@internal> load mod_skypopen +OK Reloading XML -ERR [module load file routine returned an error] 2015-12-15 12:01:55.996236 [INFO] mod_enum.c:880 ENUM Reloaded 2015-12-15 12:01:55.996236 [INFO] switch_time.c:1415 Timezone reloaded 1781 definitions 2015-12-15 12:01:55.996236 [CRIT] switch_loadable_module.c:1447 Error Loading module /usr/local/freeswitch/mod/mod_skypopen.so **/usr/local/freeswitch/mod/mod_skypopen.so: undefined symbol: jpeg_resync_to_restart** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/3f7a1234/attachment.html From gmaruzz at gmail.com Tue Dec 15 15:36:18 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 15 Dec 2015 13:36:18 +0100 Subject: [Freeswitch-users] Skypopen Debian Jessie install issues In-Reply-To: References: Message-ID: Please open a jira issue at http://jira.freeswitch.org so we can track this problem, please add all relevant information. Thanks a lot! On Tue, Dec 15, 2015 at 1:08 PM, Jason Bedward wrote: > Hi, > > I have tried to install this on Debian Jessie but had some issues with > dependencies which are not matching what the install guide says. When I got > to the CLI and load the module I get the error below. I > have libjpeg62-turbo & libjpeg62-turbo-dev installed which I think it the > current version for Debian. Please can someone help guide me with this > version of Debian. > > Thanks > > > +OK log level 9 [9] > +OK console log level set to DEBUG > > freeswitch at 192.168.2.233@internal> load mod_skypopen > +OK Reloading XML > -ERR [module load file routine returned an error] > > 2015-12-15 12:01:55.996236 [INFO] mod_enum.c:880 ENUM Reloaded > 2015-12-15 12:01:55.996236 [INFO] switch_time.c:1415 Timezone reloaded > 1781 definitions > 2015-12-15 12:01:55.996236 [CRIT] switch_loadable_module.c:1447 Error > Loading module /usr/local/freeswitch/mod/mod_skypopen.so > **/usr/local/freeswitch/mod/mod_skypopen.so: undefined symbol: > jpeg_resync_to_restart** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20151215/16f4af82/attachment.html From fernando at softov.com.br Tue Dec 15 17:37:02 2015 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Tue, 15 Dec 2015 11:37:02 -0300 Subject: [Freeswitch-users] mod_gsmopen - deadlock tty In-Reply-To: References: Message-ID: I have a look in this patch, you can't just do a reconnect, since the tty port can be changed (eg: ttyU1 -> ttyU4). I have found a lot of errors in the original source (master), like in gsmopen_protocol.cpp, function gsmopen_serial_init It's suppose to return the fd of serial, but just return 0 or 1, to controldevfd Then in mod_gsmopen.cpp, line 2651 close(tech_pvt->controldevfd); So, sometimes it make a close of a fd 0/-1 without check this before, and it's invalid, because the fd can be 1, 2, 3, ... It's just one of many errors i found, now i'm running this in a lot of clients with 4, 10 and 32 modems. Sometimes, if the machine is poor, or if the user don't use a HUB, the modems can reset itself, because of the power supply and i reattach the modem with the new info (tty). Now, sometimes, i got channels that can't be closed. freeswitch at internal> uuid_kill e66e1072-4fa2-e511-a6df-6c626dfc249d -ERR No such channel! But, i can't know if this is because of my patch, or the system, since it's happen with user to user call too. If you wan't, can make contact with me by e-mail, i will be happy to help with the adjustments of this module, since i need this to work in my system. Ps, sorry about my english. 2015-12-08 9:09 GMT-03:00 Shabbir abbasi : > 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 < >>>>> fernando at softov.com.br>: >>>>> >>>>>> 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 >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/8e13a94f/attachment-0001.html From hkalyoncu at gmail.com Tue Dec 15 17:39:29 2015 From: hkalyoncu at gmail.com (huseyin kalyoncu) Date: Tue, 15 Dec 2015 16:39:29 +0200 Subject: [Freeswitch-users] fax issue Message-ID: hello i tried sending fax from freeswitch dialplan with the following xml part but i failed. I called 1079 but no fax transmitted. What am i doing wrong? thanks Huseyin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/6a485660/attachment.html From hkalyoncu at gmail.com Tue Dec 15 17:56:13 2015 From: hkalyoncu at gmail.com (huseyin kalyoncu) Date: Tue, 15 Dec 2015 16:56:13 +0200 Subject: [Freeswitch-users] fax issue In-Reply-To: References: Message-ID: from cli: originate loopback/1078 &txfax(/tmp/txfax-sample.tiff) does not work either. It gives following error: 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:496 ============================================================================== 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (2) Timed out waiting for initial communication. 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 14400 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:521 ECM status off 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:522 remote country: 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:523 remote vendor: 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:524 remote model: 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:526 ============================================================================== On Tue, Dec 15, 2015 at 4:39 PM, huseyin kalyoncu wrote: > hello i tried sending fax from freeswitch dialplan with the following xml > part > but i failed. I called 1079 but no fax transmitted. > > What am i doing wrong? > > > > > data="silence_stream://2000"/> > > > > > > > > > > > > > > > > > data="execute_on_fax_detect=execute_extension 1078"/> > > > > > thanks > Huseyin > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/4ed5b100/attachment.html From andrew at cassidywebservices.co.uk Tue Dec 15 18:14:52 2015 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Tue, 15 Dec 2015 15:14:52 +0000 Subject: [Freeswitch-users] Re- FreeSWITCH call billing timers vs. BT SIP billing In-Reply-To: References: Message-ID: Hi Andrew, Old thread I know, but I just had my Pre-IOT call so took the opportunity to raise the issue, and was told there is an accuracy threshold for billing them, so unless you've had a significant issue you should be fine? How are you getting on anyway? Kind regards, On 27 November 2015 at 09:56, Michael Giagnocavo wrote: > I wasn?t around for all the variable decisions and can?t speak to them. > The one advice regarding blocking BYE is ?don?t do that?. Keep your logic > until after hangup is done. (hangup complete?) Or keep it fast (access RAM > or a local queue only). > > > > If you wanna look further, grep for answerusec and figure out where it is > being set versus the other things and go from there. Sorry this isn?t much > help but that seems to be the state of things. (Document it all for the > rest of us.) FWIW, I eschewed the timers altogether (monotomic timers are a > hack in the first place ? I?d run NTP and sync FS every second.) Then I?d > just go off of timestamps. This is tangential to what you?re tasking about. > > > > -Michael > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Andrew Keil > *Sent:* Wednesday, 25 November, 2015 16:10 > > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Re- FreeSWITCH call billing timers vs. > BT SIP billing > > > > Michael, > > > > I very much appreciate your feedback regarding my issue in regard to > billing timer positions. > > > > I take on-board everything you have stated, however I just wondered if you > could clarify one thing for me. > > > > Since it is possible (perhaps due to bad programming design) to load a > service on FreeSWITCH that catches the HUNGUP and does some code that > delays ending the service (which causes an unknown delay between > CHANNEL_HANGUP being detected (?BYE? message?) and CHANNEL_HANGUP_COMPLETE > (?200 OK? message)) then since the Telco assumes the call is complete when > they send the ?BYE? message why doesn?t FreeSWITCH simply stop the billing > timer when receiving the ?BYE? (ie. CHANNEL_HANGUP event) instead of > currently setting up all the billing timer variables at > CHANNEL_HANGUP_COMPLETE? > > > > This would avoid a bad service from skewing the call durations and we > would be left with only RTT (which I can live with). > > > > Since there already is a variable called variable_answerusec (which seems > to contain the time from CHANNEL_ANSWER to CHANNEL_HANGUP) then why is the > variable not used for all the associated billing variables? > > > > variable_billsec, variable_billmsec, variable_billusec > > > > Let me know your thoughts. > > > > Andrew > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org > ] *On Behalf Of *Michael > Giagnocavo > *Sent:* Wednesday, 25 November 2015 7:44 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Re- FreeSWITCH call billing timers vs. > BT SIP billing > > > > The answer is 5: It shouldn?t really matter. > > > > If FS didn?t start the timer from the 200, then a call that was never > ACK?d (which can last like 30 or 60 seconds with the terrible, default, SIP > timer values) would have no duration. That?s not desirable, so starting > from the 200 is the only thing that really makes much sense. Likewise for > the hangup part. After sending a BYE (signifying you?re done), why would > you continue to keep a call ?up? until receiving a reply? Remember there?s > another leg connected, and you wanna start shutting that leg down and > moving or otherwise moving on with life (dialplan). At best you?d want both > timestamps (or an indication the other side timed out), so you might do > some processing after BYE, then finalize it on 200 of the BYE. > > > > But, this is really quite a distraction. Regardless which messages you > choose to use, your times will never coincide perfectly with the others due > to network latency. So if you accept you?ll always be off by that much, the > question now becomes: how much difference is there between the various > forms of measuring? Under normal circumstances, you?re looking at one > network roundtrip + processing. Processing times should be negligible, so > the RTT is the only thing that matters. However, the other side doesn?t get > much of a choice. BT cannot time off of when you _*sent*_ the 200, only > when they received it. Nor can they time off of when you _*received*_ > their ACK, only when they sent it. Therefore, regardless of which method > you use, you?ll always be off by one-way latency[1]. > > > > As an example, with 40ms one-way latency: > > > > T+0.000: 200 OK SENT (FS) > > T+0.040: 200 OK RECEIVED (BT) > > T+0.040: ACK SENT (BT) > > T+0.080: ACK RECEIVED (FS) > > > > You hangup: > > T+1.000: BYE SENT (FS) > > T+1.040: BYE RECEIVED (BT) > > T+1.040: 200 OK SENT (BT) > > T+1.080: 200 OK RECEIVED (FS) > > > > They hangup: > > T+1.000: BYE SENT (BT) > > T+1.040: BYE RECEIVED (FS) > > T+1.040: 200 OK SENT (FS) > > T+1.080: 200 OK RECEIVED (BT) > > > > I?m assuming processing times are under 1ms, which seems quite reasonable. > Notice how in the first part, BT gets no choice; both timestamps (OK rec?d, > ACK sent) have the same ms. It?s the same for the hangup case, except > you?re the one that doesn?t get a choice of when to measure if they hangup. > Though note something interesting: sometimes it balances out. You timestamp > off the 200 OK, so you?re ?ahead? by 40ms (your call starts 40ms before > theirs). Then you hangup, timestamping from when you send the BYE. Again > you?re ahead, but this time your call ends 40ms before theirs, cancelling > out your head start. If they hangup, though, then they get to ?start late? > and ?end early?. I?ll show the number on this, but it rounds out just fine. > It?d only really be a problem if FS were inconsistent and measured off > sending your own packet in one case, but receiving their reply in another. > That?d be a bad design I suppose. > > > > Otherwise the only time when this really matters is when there?s something > else going really wrong. A dropped packet can make one side retransmit or > timeout, so waiting for a response might take significantly longer (many > seconds if you follow the SiP spec). But if this is happening enough to > matter, you?ve got a bigger issue to address. (Though since some systems > didn?t address this, you could potentially find a fraud exploit by e.g. > delaying or not OK?ing BYEs.) > > > > As for processing times: Any part of the network, from the app-level to > the OS, to physical phenomenon, can delay things arbitrarily. The internal > design of switches can delay things. For instance, you could do ?start = > now(); sendPacket();? only to have the OS preempt your execution after > now() but before sendPacket()?. Or perhaps the code is something like > ?runUserScripts(); doHangupWork();? ? that?d explain the behaviour you > described by delaying hangup, right? But generally, if processing times are > making a real dent in things, you most likely have a more serious problem. > I don?t have an answer here on FS internals, and I?m not sure you want it > anyways. Do you really want to take a dependency on implementation details > (if they aren?t documented and guaranteed)? > > > > But ok, let?s look at the bad case, where we measure from when we send the > OK (our call starts 40ms ?early?), but they hangup (our call ends 40ms > ?late?), and that all our traffic happens this way. In this case the > offsets stack instead of cancelling out, so our calls are 80ms longer than > theirs. If the ACD is, say, 3 minutes (180,000ms), that 80ms comes out to a > 0.0% difference.[2] At least that?s what I?m getting at 2am; please > doublecheck all this and decide if I?m accurate. > > > > From experience: Having used FS for years, I?ve never found timestamps to > be a significant source of discrepancies. You?re far more likely to get > missing CDRs due to someone?s code/screwup somewhere ? it?s surprising how > bad this can be sometimes. One big carrier, for instance, wouldn?t have all > their CDRs ready when they billed, so next week?s bill might actually > include calls that happened a month ago. Neato! Most people consider under > 1% (or even 3%) of difference to be fine. Don?t worry about it, just check > after some tests or some live calls and make sure you?re not seeing > anything nutty. And know that by far the most common billing issue is rate > disagreement, not duration. > > > > Anyways, time in distributed systems is a complicated topic AFAIK. There?s > probably some sort of special name and way for how this sort of thing is > handled in telecom as it applies to any system, not just SIP. > > > > -Michael > > > > 1: Usually half of RTT but it?s theoretically possible for asymmetric > routing to make this not so. > > 2: You?d need to be doing some real short-call traffic for this to be a > noticeable source of billing problems. And most short-call traffic is > hungup by the sender, so the offsets cancel out. > > > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org > ] *On Behalf Of *Andrew > Keil > *Sent:* Tuesday, 24 November, 2015 16:16 > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] Re- FreeSWITCH call billing timers vs. BT > SIP billing > > > > To FreeSWITCH users, > > > > I have a question in regard to correct billing of a SIP call within > FreeSWITCH (to align with Telco billing), > > since I have asked this question below of BT (direct to their SIP > compliance testing team) and received their response today. > > > > Based on the diagram below of a simple SIP call: > > > > BT FreeSWITCH > > | --- INVITE ------> | > > | <-- 100 Trying --- | > > | <-- 200 OK ------- | > > | --- ACK ---------> | > > | <-- RTP ---------> | > > | --- BYE ---------> | > > | <-- 200 OK ------- | > > > > In order to best match the BT billing records for call duration (that will > be sent to my client for their SIP service) I want to make sure that our > timers are correct. > > > > In the above diagram shows an inbound call from BT to FreeSWITCH. > > > > Which of the below statements are correct (2 out of the 4 should be > correct): > > > > 1) The answer (or connect) timer should start from when FreeSWITCH sends > the ?200 OK? to indicate that the call is connected? > > 2) The answer (or connect) timer should start from when FreeSWITCH > receives the ACK message back from BT (after sending the ?200 OK? to > indicate that the call was connected)? > > 3) The timer for call duration should end when FreeSWITCH receives the > ?BYE? message from BT? > > 4) The timer for call duration should end when FreeSWITCH sends the ?200 > OK? to BT (after it received the ?BYE? message from BT)? > > > > If the call was reversed ie. an outbound call made from FreeSWITCH to BT > (simply swap BT and FreeSWITCH in the above diagram) > > > > Which of the below statements are correct (2 out of the 4 should be > correct): > > > > 1) The answer (or connect) timer should start from when FreeSWITCH > receives the ?200 OK? to indicate that the call is connected? > > 2) The answer (or connect) timer should start from when FreeSWITCH sends > the ACK message back to BT (after receiving the ?200 OK? to indicate that > the call was connected)? > > 3) The timer for call duration should end when FreeSWITCH sends the > ?BYE? message to BT? > > 4) The timer for call duration should end when FreeSWITCH receives the > ?200 OK? from BT (after it sent the ?BYE? message to BT)? > > > > BT's response: > > > > ... > > Out of the first 4 statements, numbers 2 and 3 are closest. After BT sends > the ACK the call timer will start, it will then stop again when BT sends > the BYE. > > Out of the second 4 statements, numbers 2 and 3 are closest. After BT > receives the ACK the call timer will start, it will then stop again after > BT receives the BYE. > > ... > > > > Therefore, when looking at FreeSWITCH this becomes more interesting, if I > base BT's response to be true and correct. > > > > Since currently the events generated at the end of a call CHANNEL_HANGUP > and CHANNEL_HANGUP_COMPLETE, which align as follows: > > > > CHANNEL_HANGUP when BYE received or sent > > CHANNEL_HANGUP_COMPLETE when 200 OK sent or received > > > > Which brings me to my actual question: > > > > Since billing timing is done from the point of call connect (or when the > ACK is received or sent after the 200 OK) to the point of receiving the BYE > message (or sending it, depending on the direction of the call) > > then why does FreeSWITCH return all the billing variables inside the > CHANNEL_HANGUP_COMPLETE based on call timer ending when > CHANNEL_HANGUP_COMPLETE is generated and not based on when CHANNEL_HANGUP > is generated? > > > > Here is a snipet of the CHANNEL_HANGUP_COMPLETE variables: > > > > variable_duration:14 > > variable_billsec:14 > > ... > > variable_billmsec:14041 > > ... > > variable_billusec:14041103 > > ... > > variable_answerusec:58543 > > > > In order to test this, I delayed a Lua script after HUNGUP (or > CHANNEL_HANGUP event) was detected (for about 10 seconds) prior to ending > the Lua script. I know this is not recommended, however it is just to > explain this case. > > > > As you can see the call duration and all the billing variables show the > time up to CHANNEL_HANGUP_COMPLETE not CHANNEL_HANGUP. However, the > interesting variable is: variable_answerusec, which seems correct up to > CHANNEL_HANGUP. > > > > I would appreciate any comments regarding this since obviously I would > like the call durations on FreeSWITCH to match BT. > > If BT are not correct with their timer points, then I am happy to go back > to them with some evidence to dispute their claims. > > > > 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 > -- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director *T *03300 100 960 *F *03300 100 961 *E *andrew at cassidywebservices.co.uk *W *www.cassidywebservices.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/ef1e4572/attachment-0001.html From hkalyoncu at gmail.com Tue Dec 15 18:17:35 2015 From: hkalyoncu at gmail.com (huseyin kalyoncu) Date: Tue, 15 Dec 2015 17:17:35 +0200 Subject: [Freeswitch-users] fax issue In-Reply-To: References: Message-ID: ignore my previous message accidentally i tried 1078 but it should be 1077 :) fax from command line is ok. but dialplan in my first message still not working. On Tue, Dec 15, 2015 at 4:56 PM, huseyin kalyoncu wrote: > from cli: > > originate loopback/1078 &txfax(/tmp/txfax-sample.tiff) > > does not work either. > It gives following error: > > 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:496 > ============================================================================== > 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:508 Fax processing > not successful - result (2) Timed out waiting for initial communication. > 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:513 Remote station id: > 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:514 Local station id: > SpanDSP Fax Ident > 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:515 Pages > transferred: 0 > 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: > 0 > 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:518 Image resolution: > 0x0 > 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: > 14400 > 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:521 ECM status > off > 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:522 remote country: > 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:523 remote vendor: > 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:524 remote model: > 2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:526 > ============================================================================== > > > On Tue, Dec 15, 2015 at 4:39 PM, huseyin kalyoncu > wrote: > >> hello i tried sending fax from freeswitch dialplan with the following xml >> part >> but i failed. I called 1079 but no fax transmitted. >> >> What am i doing wrong? >> >> >> >> >> > data="silence_stream://2000"/> >> > data="$${temp_dir}/rxfax.tif"/> >> >> >> >> >> >> > data="$${temp_dir}/txfax-sample.tiff"/> >> >> >> >> >> >> >> >> >> > data="hangup_after_bridge_true"/> >> > data="execute_on_fax_detect=execute_extension 1078"/> >> >> >> >> >> thanks >> Huseyin >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/7d3f0a93/attachment.html From fernando at softov.com.br Tue Dec 15 19:09:24 2015 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Tue, 15 Dec 2015 13:09:24 -0300 Subject: [Freeswitch-users] mod_gsmopen - deadlock tty In-Reply-To: References: Message-ID: My bad, i looked better and see that you have made a discovery function. How many modems are you using? How many calls simultaneous? It's working fine? no calls stuck after you unplug/plug modem? I have found errors in source (master). And have made a lot a tests, like: unplug a modem in a middle of call - try to make a call with a modem that no support voice - send a sms at the same time you made a call - receive a call from modem A and route to modem B There is more tests that i have made, and made changes to correct it. Anyway, since i use xml_curl to grab the attached modems, and some modems can be removed/dettached or just have failure of power supply i reload/dettached/remove in according with the system/user interaction. And, that find_ttyusb_devices, don't work in FreeBSD, witch is the SO that i use *i can't user another system, i have made a lot of modifications in kernel and have a complete custom system based on that called BrbOS, with kernel encryption, custom drivers and other things. I make the control of calls using event_socket, and make custom routes according with the time, cost, user, configuration, usage, portability, destination... I need the system working that way, receive events when a modem cannot make calls, and control the modem to reload/attach when i need. So, because of it i create a daemon that i can control and know when a modem changes. I have found, in freeBSD and debian, a commom problem Its like, when i start the system for the first time Lets consider this ModemA (MA) - (ttyU0, ttyU1, ttyU2, ttyU3) ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) ModemC (MC) - (ttyU8, ttyU9, ttyU10) ModemD (MD) - (ttyU11, ttyU12, ttyU13) MA was unplugged/have power supply problem ModemA (MA) - ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) ModemC (MC) - (ttyU8, ttyU9, ttyU10) ModemD (MD) - (ttyU11, ttyU12, ttyU13) MC was unplugged/have power supply problem ModemA (MA) - ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) ModemC (MC) - ModemD (MD) - (ttyU11, ttyU12, ttyU13) MC was plugged/redicovered ModemA (MA) - ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) ModemC (MC) - (ttyU0, ttyU1, ttyU2) ModemD (MD) - (ttyU11, ttyU12, ttyU13) MA was plugged/redicovered ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) ModemC (MC) - (ttyU0, ttyU1, ttyU2) ModemD (MD) - (ttyU11, ttyU12, ttyU13) As you see, sometimes the modems don't get the tty sequence 1.2.3.4. They get the sequence of free tty ports And, it's just in this test, when i have modems with 4/3 ttys Sometimes, the modem just RESET, and the tty was not free yet, so the modem jump a number in sequence MD was unplugged/have power supply problem ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) ModemC (MC) - (ttyU0, ttyU1, ttyU2) ModemD (MD) - MD was on, but ttyU12 still oppened by FreeSwitch (mod_gsmopen) ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) ModemC (MC) - (ttyU0, ttyU1, ttyU2) ModemD (MD) - (ttyU11, ttyU13, ttyU14) As you see, the discovery will not work sometimes, you need to change to get all ttyports not getting as (ttyFOUND + 1) and (ttyFOUND + 2) And, like i said before, if you wan't to made changes i'm able to help or to rewrite the module, just need someone to help If you wan't, send me a e-mail or just reply here 2015-12-08 9:09 GMT-03:00 Shabbir abbasi : > 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 < >>>>> fernando at softov.com.br>: >>>>> >>>>>> 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 >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/ed3f5733/attachment-0001.html From anthony.minessale at gmail.com Tue Dec 15 20:21:29 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 15 Dec 2015 11:21:29 -0600 Subject: [Freeswitch-users] Thread failure with low CPU utilization? In-Reply-To: References: <42d301d1368b$e0ad68b0$a2083a10$@freeswitch.org> <566F18C3.90805@sofnet.com> Message-ID: 1000 threads is not really a show stopper =D That is what the artoo message, it tells you that the new current thread limit has been auto detected and that is the new max calls you can handle henceforth. On Tue, Dec 15, 2015 at 5:16 AM, Michael Giagnocavo wrote: > Perhaps write a patch to detect these limits and then CRIT on start if > they conflict with settings. > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Vladislav > Ivanov > *Sent:* Tuesday, 15 December, 2015 2:15 > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Thread failure with low CPU utilization? > > > > Hey guys, > > Anthony was correct in this case, I ran freeswitch not from root, for some > reason my /etc/security/limits.conf file line: > > * soft nproc 32768 > > * hard nproc 32768 > > was not propagated on freeswitch user... > > Added new line: > > freeswitch soft nproc 32768 > > freeswitch hard nproc 32768 > > and it worked fine from that. > Thanks to you all! > > > > 2015-12-14 23:06 GMT+02:00 Anthony Minessale >: > > Are you running FS as root or a regular user, you need to check the > ulimits of concurrent threads and some boxes have a hard limit of threads, > its not all tied to CPU usage. > > > > > > On Mon, Dec 14, 2015 at 1:30 PM, Kevin Wormington > wrote: > > This post > http://unix.stackexchange.com/questions/47595/linux-max-threads-count > has a simple program to check out how many threads can be created. You > can run the test program as root and then as FS user and see if it's a > ulimit type of problem. > > On 12/14/2015 01:08 PM, Michael Giagnocavo wrote: > > Is there a reason to think that CentOS 6 would cause threads to fail to > > spawn? This is basically just calling libapr, which is code from like 8 > > years ago. > > > > Vladislav: This means it failed to create a thread (switch_thread_create > > in switch_apr.c). FS generates a ton of threads. The only time I?ve seen > > this was a long time ago on 32-bit Windows, since default stack of 1MB > > means you hit address space limits pretty quickly. But on 64-bit, you > > should be able to go all out. > > > > I?d start by adding some if?d printf?s to check the various things that > > switch_thread_create does and try to pinpoint what is failing. If the > > libapr call is failing, then you should be able to create a minimal > > program that just spawns threads and see if that one is able to get > > 1000+. From there I?d guess troubleshooting is gonna be the same as > > figuring out why pthread_create fails and that should be generic to your > > system. (Please post if you figure out why.) > > > > If other apps are able to spawn and keep thousands of threads and just > > FS isn?t then I guess you?re unlucky? > > > > -Michael > > > > *From:*freeswitch-users-bounces at lists.freeswitch.org > > [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of > > *Giovanni Maruzzelli > > *Sent:* Monday, 14 December, 2015 10:57 > > *To:* FreeSWITCH Users Help > > *Subject:* Re: [Freeswitch-users] Thread failure with low CPU > utilization? > > > > centos 6 is not supported by FreeSWITCH 1.6 ! > > > > -giovanni > > > > On Mon, Dec 14, 2015 at 5:47 PM, Vladislav Ivanov > > wrote: > > > > Centos 6,latest update. Via init script > > > > On 14 Dec 2015 6:25 p.m., "Ken Rice" > > wrote: > > > > A)What platform are you running FreeSWITCH on? (eg: Debian 8 etc) > > > > b)How are you starting FreeSWITCH? (eg: in the foreground or > > background with an init script) > > > > *From:*freeswitch-users-bounces at lists.freeswitch.org > > > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > > ] *On > > Behalf Of *Vladislav Ivanov > > *Sent:* Monday, December 14, 2015 9:47 AM > > *To:* freeswitch-users at lists.freeswitch.org > > > > *Subject:* [Freeswitch-users] Thread failure with low CPU > > > utilization? > > > > Hello, > > > > I have 1.6.5 Freeswitch and I'm trying to test how much > > lines/cps it can handle on my test machine: > > > > CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz x2 (8 cores, 3 GHz) > > RAM: 32GB > > SSD: 500 GB > > > > I'm using call generator to check flood the freeswitch, but when > > FS gets 1k sessions it sends > > [CRIT] switch_core_session.c:1781 Thread Failure! > > and the Star Wars quote... But the CPU load is less than 10% > > > > Ulimit is as follows: > > > > core file size (blocks, -c) 0 > > > > data seg size (kbytes, -d) unlimited > > > > scheduling priority (-e) 0 > > > > file size (blocks, -f) unlimited > > > > pending signals (-i) 128330 > > > > max locked memory (kbytes, -l) 64 > > > > max memory size (kbytes, -m) unlimited > > > > open files (-n) 32768 > > > > pipe size (512 bytes, -p) 8 > > > > POSIX message queues (bytes, -q) 819200 > > > > real-time priority (-r) 0 > > > > stack size (kbytes, -s) 2048 > > > > cpu time (seconds, -t) unlimited > > > > max user processes (-u) 32768 > > > > virtual memory (kbytes, -v) unlimited > > > > file locks (-x) unlimited > > > > > > Server is physical, not virtual, but I dont have the same issue > > with virtual freeswitch. > > > > Here is the "status" before the session limit: > > > > freeswitch at internal> status > > > > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 137 > > milliseconds, 603 microseconds > > > > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z > > 64bit) is ready > > > > 994 session(s) since startup > > > > 994 session(s) - peak 994, last 5min 994 > > > > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 > > > > 10000 session(s) max > > > > min idle cpu 10.00/96.77 > > > > Current Stack Size/Max 2048K/2048K > > > > freeswitch at internal> status > > > > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 370 > > milliseconds, 877 microseconds > > > > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z > > 64bit) is ready > > > > 1003 session(s) since startup > > > > 1003 session(s) - peak 1003, last 5min 1003 > > > > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 > > > > 993 session(s) max > > > > min idle cpu 10.00/96.77 > > > > Current Stack Size/Max 2048K/2048K > > > > freeswitch at internal> 2015-12-14 15:37:37.436968 [CRIT] > > switch_core_session.c:1781 Thread Failure! > > > > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1737 > > LUKE: I'm hit, but not bad. > > > > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1738 > > LUKE'S VOICE: Artoo, see what you can do with it. Hang on back > > there.... > > > > Green laserfire moves past the beeping little robot as his head > > turns. After a few beeps and a twist of his mechanical arm, > > > > Artoo reduces the max sessions to 993 thus, saving the switch > > from certain doom. > > > > Any help with that? Really strange error... > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > > > Sincerely, > > > > Giovanni Maruzzelli > > Cell : +39-347-2665618 > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > -- > > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > > ? sip:888 at conference.freeswitch.org ? +19193869900 > > > > https://www.youtube.com/watch?v=9XXgW34t40s > > https://www.youtube.com/watch?v=NLaDpGQuZDA > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- 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/20151215/5c523bb2/attachment-0001.html From deforceczt at gmail.com Tue Dec 15 21:15:59 2015 From: deforceczt at gmail.com (Vladislav Ivanov) Date: Tue, 15 Dec 2015 20:15:59 +0200 Subject: [Freeswitch-users] Thread failure with low CPU utilization? In-Reply-To: References: <42d301d1368b$e0ad68b0$a2083a10$@freeswitch.org> <566F18C3.90805@sofnet.com> Message-ID: Hey guys, I have a new problem that is happening with CPU load now. I have been testing freeswitch with sipp, and i'm encountering strange issue with same load. 1st time I test with 10 cps, 5 second duration calls, for just cps load. CPU idle is min idle cpu 10.00/84.67 Then I add CPS by 5, it should be enough power to be 15 cps on the machine when I have idle 84%... But my CPU goes heavily down, more and more down until it goes to 0 and spams: 2015-12-15 20:13:43.199451 [CRIT] mod_sofia.c:4406 Error Creating Session 2015-12-15 20:13:43.259702 [CRIT] mod_sofia.c:4406 Error Creating Session 2015-12-15 20:13:43.279578 [CRIT] mod_sofia.c:4406 Error Creating Session 2015-12-15 20:13:43.299562 [CRIT] mod_sofia.c:4406 Error Creating Session 2015-12-15 20:13:43.299562 [CRIT] mod_sofia.c:4406 Error Creating Session 2015-12-15 20:13:43.399496 [CRIT] mod_sofia.c:4406 Error Creating Session 2015-12-15 20:13:43.419667 [CRIT] mod_sofia.c:4406 Error Creating Session 2015-12-15 20:14:32.819449 [CRIT] mod_sofia.c:4406 Error Creating Session Anything I can do to debug or check why it is causing this? (Same is happening on Centos 6, Debian) OS: "Debian GNU/Linux 8 (jessie) FS: FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) I'm kinda lost at this point... 2015-12-15 19:21 GMT+02:00 Anthony Minessale : > 1000 threads is not really a show stopper =D > That is what the artoo message, it tells you that the new current thread > limit has been auto detected and that is the new max calls you can handle > henceforth. > > > On Tue, Dec 15, 2015 at 5:16 AM, Michael Giagnocavo > wrote: > >> Perhaps write a patch to detect these limits and then CRIT on start if >> they conflict with settings. >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Vladislav >> Ivanov >> *Sent:* Tuesday, 15 December, 2015 2:15 >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] Thread failure with low CPU >> utilization? >> >> >> >> Hey guys, >> >> Anthony was correct in this case, I ran freeswitch not from root, for >> some reason my /etc/security/limits.conf file line: >> >> * soft nproc 32768 >> >> * hard nproc 32768 >> >> was not propagated on freeswitch user... >> >> Added new line: >> >> freeswitch soft nproc 32768 >> >> freeswitch hard nproc 32768 >> >> and it worked fine from that. >> Thanks to you all! >> >> >> >> 2015-12-14 23:06 GMT+02:00 Anthony Minessale > >: >> >> Are you running FS as root or a regular user, you need to check the >> ulimits of concurrent threads and some boxes have a hard limit of threads, >> its not all tied to CPU usage. >> >> >> >> >> >> On Mon, Dec 14, 2015 at 1:30 PM, Kevin Wormington >> wrote: >> >> This post >> http://unix.stackexchange.com/questions/47595/linux-max-threads-count >> has a simple program to check out how many threads can be created. You >> can run the test program as root and then as FS user and see if it's a >> ulimit type of problem. >> >> On 12/14/2015 01:08 PM, Michael Giagnocavo wrote: >> > Is there a reason to think that CentOS 6 would cause threads to fail to >> > spawn? This is basically just calling libapr, which is code from like 8 >> > years ago. >> > >> > Vladislav: This means it failed to create a thread (switch_thread_create >> > in switch_apr.c). FS generates a ton of threads. The only time I?ve seen >> > this was a long time ago on 32-bit Windows, since default stack of 1MB >> > means you hit address space limits pretty quickly. But on 64-bit, you >> > should be able to go all out. >> > >> > I?d start by adding some if?d printf?s to check the various things that >> > switch_thread_create does and try to pinpoint what is failing. If the >> > libapr call is failing, then you should be able to create a minimal >> > program that just spawns threads and see if that one is able to get >> > 1000+. From there I?d guess troubleshooting is gonna be the same as >> > figuring out why pthread_create fails and that should be generic to your >> > system. (Please post if you figure out why.) >> > >> > If other apps are able to spawn and keep thousands of threads and just >> > FS isn?t then I guess you?re unlucky? >> > >> > -Michael >> > >> > *From:*freeswitch-users-bounces at lists.freeswitch.org >> > [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of >> > *Giovanni Maruzzelli >> > *Sent:* Monday, 14 December, 2015 10:57 >> > *To:* FreeSWITCH Users Help >> > *Subject:* Re: [Freeswitch-users] Thread failure with low CPU >> utilization? >> > >> > centos 6 is not supported by FreeSWITCH 1.6 ! >> > >> > -giovanni >> > >> > On Mon, Dec 14, 2015 at 5:47 PM, Vladislav Ivanov > > > wrote: >> > >> > Centos 6,latest update. Via init script >> > >> > On 14 Dec 2015 6:25 p.m., "Ken Rice" > > > wrote: >> > >> > A)What platform are you running FreeSWITCH on? (eg: Debian 8 >> etc) >> > >> > b)How are you starting FreeSWITCH? (eg: in the foreground or >> > background with an init script) >> > >> > *From:*freeswitch-users-bounces at lists.freeswitch.org >> > >> > [mailto:freeswitch-users-bounces at lists.freeswitch.org >> > ] *On >> > Behalf Of *Vladislav Ivanov >> > *Sent:* Monday, December 14, 2015 9:47 AM >> > *To:* freeswitch-users at lists.freeswitch.org >> > >> > *Subject:* [Freeswitch-users] Thread failure with low CPU >> >> > utilization? >> > >> > Hello, >> > >> > I have 1.6.5 Freeswitch and I'm trying to test how much >> > lines/cps it can handle on my test machine: >> > >> > CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz x2 (8 cores, 3 GHz) >> > RAM: 32GB >> > SSD: 500 GB >> > >> > I'm using call generator to check flood the freeswitch, but when >> > FS gets 1k sessions it sends >> > [CRIT] switch_core_session.c:1781 Thread Failure! >> > and the Star Wars quote... But the CPU load is less than 10% >> > >> > Ulimit is as follows: >> > >> > core file size (blocks, -c) 0 >> > >> > data seg size (kbytes, -d) unlimited >> > >> > scheduling priority (-e) 0 >> > >> > file size (blocks, -f) unlimited >> > >> > pending signals (-i) 128330 >> > >> > max locked memory (kbytes, -l) 64 >> > >> > max memory size (kbytes, -m) unlimited >> > >> > open files (-n) 32768 >> > >> > pipe size (512 bytes, -p) 8 >> > >> > POSIX message queues (bytes, -q) 819200 >> > >> > real-time priority (-r) 0 >> > >> > stack size (kbytes, -s) 2048 >> > >> > cpu time (seconds, -t) unlimited >> > >> > max user processes (-u) 32768 >> > >> > virtual memory (kbytes, -v) unlimited >> > >> > file locks (-x) unlimited >> > >> > >> > Server is physical, not virtual, but I dont have the same issue >> > with virtual freeswitch. >> > >> > Here is the "status" before the session limit: >> > >> > freeswitch at internal> status >> > >> > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 137 >> > milliseconds, 603 microseconds >> > >> > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z >> > 64bit) is ready >> > >> > 994 session(s) since startup >> > >> > 994 session(s) - peak 994, last 5min 994 >> > >> > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 >> > >> > 10000 session(s) max >> > >> > min idle cpu 10.00/96.77 >> > >> > Current Stack Size/Max 2048K/2048K >> > >> > freeswitch at internal> status >> > >> > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 370 >> > milliseconds, 877 microseconds >> > >> > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z >> > 64bit) is ready >> > >> > 1003 session(s) since startup >> > >> > 1003 session(s) - peak 1003, last 5min 1003 >> > >> > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 >> > >> > 993 session(s) max >> > >> > min idle cpu 10.00/96.77 >> > >> > Current Stack Size/Max 2048K/2048K >> > >> > freeswitch at internal> 2015-12-14 15:37:37.436968 [CRIT] >> > switch_core_session.c:1781 Thread Failure! >> > >> > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1737 >> > LUKE: I'm hit, but not bad. >> > >> > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1738 >> > LUKE'S VOICE: Artoo, see what you can do with it. Hang on back >> > there.... >> > >> > Green laserfire moves past the beeping little robot as his head >> > turns. After a few beeps and a twist of his mechanical arm, >> > >> > Artoo reduces the max sessions to 993 thus, saving the switch >> > from certain doom. >> > >> > Any help with that? Really strange error... >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> > >> > >> > >> > >> > -- >> > >> > Sincerely, >> > >> > Giovanni Maruzzelli >> > Cell : +39-347-2665618 >> > >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> > >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> >> -- >> >> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >> >> >> >> ? http://freeswitch.org/ ? http://cluecon.com/ ? >> http://twitter.com/FreeSWITCH >> >> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >> * >> >> ClueCon Weekly Development Call >> >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > 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/20151215/4bc1126a/attachment-0001.html From s.safarov at gmail.com Tue Dec 15 22:50:44 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 15 Dec 2015 22:50:44 +0300 Subject: [Freeswitch-users] Skypopen Debian Jessie install issues In-Reply-To: References: Message-ID: Please read http://lists.freeswitch.org/pipermail/freeswitch-users/2015-November/117273.html On Tue, Dec 15, 2015 at 3:08 PM, Jason Bedward wrote: > Hi, > > I have tried to install this on Debian Jessie but had some issues with > dependencies which are not matching what the install guide says. When I got > to the CLI and load the module I get the error below. I > have libjpeg62-turbo & libjpeg62-turbo-dev installed which I think it the > current version for Debian. Please can someone help guide me with this > version of Debian. > > Thanks > > > +OK log level 9 [9] > +OK console log level set to DEBUG > > freeswitch at 192.168.2.233@internal> load mod_skypopen > +OK Reloading XML > -ERR [module load file routine returned an error] > > 2015-12-15 12:01:55.996236 [INFO] mod_enum.c:880 ENUM Reloaded > 2015-12-15 12:01:55.996236 [INFO] switch_time.c:1415 Timezone reloaded > 1781 definitions > 2015-12-15 12:01:55.996236 [CRIT] switch_loadable_module.c:1447 Error > Loading module /usr/local/freeswitch/mod/mod_skypopen.so > **/usr/local/freeswitch/mod/mod_skypopen.so: undefined symbol: > jpeg_resync_to_restart** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/213604db/attachment.html From anthony.minessale at gmail.com Tue Dec 15 23:22:33 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 15 Dec 2015 14:22:33 -0600 Subject: [Freeswitch-users] Thread failure with low CPU utilization? In-Reply-To: References: <42d301d1368b$e0ad68b0$a2083a10$@freeswitch.org> <566F18C3.90805@sofnet.com> Message-ID: More issues related to resource limits. Check your allowed max sessions and sps in your config and any other ulimits on the system that you may have too low. Its wise to have limits low enough that the calls start failing before your box does. On Tue, Dec 15, 2015 at 12:15 PM, Vladislav Ivanov wrote: > Hey guys, > > I have a new problem that is happening with CPU load now. > I have been testing freeswitch with sipp, and i'm encountering strange > issue with same load. > 1st time I test with 10 cps, 5 second duration calls, for just cps load. > CPU idle is min idle cpu 10.00/84.67 > Then I add CPS by 5, it should be enough power to be 15 cps on the machine > when I have idle 84%... > But my CPU goes heavily down, more and more down until it goes to 0 and > spams: > 2015-12-15 20:13:43.199451 [CRIT] mod_sofia.c:4406 Error Creating Session > 2015-12-15 20:13:43.259702 [CRIT] mod_sofia.c:4406 Error Creating Session > 2015-12-15 20:13:43.279578 [CRIT] mod_sofia.c:4406 Error Creating Session > 2015-12-15 20:13:43.299562 [CRIT] mod_sofia.c:4406 Error Creating Session > 2015-12-15 20:13:43.299562 [CRIT] mod_sofia.c:4406 Error Creating Session > 2015-12-15 20:13:43.399496 [CRIT] mod_sofia.c:4406 Error Creating Session > 2015-12-15 20:13:43.419667 [CRIT] mod_sofia.c:4406 Error Creating Session > 2015-12-15 20:14:32.819449 [CRIT] mod_sofia.c:4406 Error Creating Session > > Anything I can do to debug or check why it is causing this? > (Same is happening on Centos 6, Debian) > OS: "Debian GNU/Linux 8 (jessie) > FS: FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) > > I'm kinda lost at this point... > > 2015-12-15 19:21 GMT+02:00 Anthony Minessale > : > >> 1000 threads is not really a show stopper =D >> That is what the artoo message, it tells you that the new current thread >> limit has been auto detected and that is the new max calls you can handle >> henceforth. >> >> >> On Tue, Dec 15, 2015 at 5:16 AM, Michael Giagnocavo >> wrote: >> >>> Perhaps write a patch to detect these limits and then CRIT on start if >>> they conflict with settings. >>> >>> >>> >>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Vladislav >>> Ivanov >>> *Sent:* Tuesday, 15 December, 2015 2:15 >>> *To:* FreeSWITCH Users Help >>> *Subject:* Re: [Freeswitch-users] Thread failure with low CPU >>> utilization? >>> >>> >>> >>> Hey guys, >>> >>> Anthony was correct in this case, I ran freeswitch not from root, for >>> some reason my /etc/security/limits.conf file line: >>> >>> * soft nproc 32768 >>> >>> * hard nproc 32768 >>> >>> was not propagated on freeswitch user... >>> >>> Added new line: >>> >>> freeswitch soft nproc 32768 >>> >>> freeswitch hard nproc 32768 >>> >>> and it worked fine from that. >>> Thanks to you all! >>> >>> >>> >>> 2015-12-14 23:06 GMT+02:00 Anthony Minessale < >>> anthony.minessale at gmail.com>: >>> >>> Are you running FS as root or a regular user, you need to check the >>> ulimits of concurrent threads and some boxes have a hard limit of threads, >>> its not all tied to CPU usage. >>> >>> >>> >>> >>> >>> On Mon, Dec 14, 2015 at 1:30 PM, Kevin Wormington >>> wrote: >>> >>> This post >>> http://unix.stackexchange.com/questions/47595/linux-max-threads-count >>> has a simple program to check out how many threads can be created. You >>> can run the test program as root and then as FS user and see if it's a >>> ulimit type of problem. >>> >>> On 12/14/2015 01:08 PM, Michael Giagnocavo wrote: >>> > Is there a reason to think that CentOS 6 would cause threads to fail to >>> > spawn? This is basically just calling libapr, which is code from like 8 >>> > years ago. >>> > >>> > Vladislav: This means it failed to create a thread >>> (switch_thread_create >>> > in switch_apr.c). FS generates a ton of threads. The only time I?ve >>> seen >>> > this was a long time ago on 32-bit Windows, since default stack of 1MB >>> > means you hit address space limits pretty quickly. But on 64-bit, you >>> > should be able to go all out. >>> > >>> > I?d start by adding some if?d printf?s to check the various things that >>> > switch_thread_create does and try to pinpoint what is failing. If the >>> > libapr call is failing, then you should be able to create a minimal >>> > program that just spawns threads and see if that one is able to get >>> > 1000+. From there I?d guess troubleshooting is gonna be the same as >>> > figuring out why pthread_create fails and that should be generic to >>> your >>> > system. (Please post if you figure out why.) >>> > >>> > If other apps are able to spawn and keep thousands of threads and just >>> > FS isn?t then I guess you?re unlucky? >>> > >>> > -Michael >>> > >>> > *From:*freeswitch-users-bounces at lists.freeswitch.org >>> > [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of >>> > *Giovanni Maruzzelli >>> > *Sent:* Monday, 14 December, 2015 10:57 >>> > *To:* FreeSWITCH Users Help >>> > *Subject:* Re: [Freeswitch-users] Thread failure with low CPU >>> utilization? >>> > >>> > centos 6 is not supported by FreeSWITCH 1.6 ! >>> > >>> > -giovanni >>> > >>> > On Mon, Dec 14, 2015 at 5:47 PM, Vladislav Ivanov < >>> deforceczt at gmail.com >>> > > wrote: >>> > >>> > Centos 6,latest update. Via init script >>> > >>> > On 14 Dec 2015 6:25 p.m., "Ken Rice" >> > > wrote: >>> > >>> > A)What platform are you running FreeSWITCH on? (eg: Debian 8 >>> etc) >>> > >>> > b)How are you starting FreeSWITCH? (eg: in the foreground or >>> > background with an init script) >>> > >>> > *From:*freeswitch-users-bounces at lists.freeswitch.org >>> > >>> > [mailto:freeswitch-users-bounces at lists.freeswitch.org >>> > ] *On >>> > Behalf Of *Vladislav Ivanov >>> > *Sent:* Monday, December 14, 2015 9:47 AM >>> > *To:* freeswitch-users at lists.freeswitch.org >>> > >>> > *Subject:* [Freeswitch-users] Thread failure with low CPU >>> >>> > utilization? >>> > >>> > Hello, >>> > >>> > I have 1.6.5 Freeswitch and I'm trying to test how much >>> > lines/cps it can handle on my test machine: >>> > >>> > CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz x2 (8 cores, 3 GHz) >>> > RAM: 32GB >>> > SSD: 500 GB >>> > >>> > I'm using call generator to check flood the freeswitch, but >>> when >>> > FS gets 1k sessions it sends >>> > [CRIT] switch_core_session.c:1781 Thread Failure! >>> > and the Star Wars quote... But the CPU load is less than 10% >>> > >>> > Ulimit is as follows: >>> > >>> > core file size (blocks, -c) 0 >>> > >>> > data seg size (kbytes, -d) unlimited >>> > >>> > scheduling priority (-e) 0 >>> > >>> > file size (blocks, -f) unlimited >>> > >>> > pending signals (-i) 128330 >>> > >>> > max locked memory (kbytes, -l) 64 >>> > >>> > max memory size (kbytes, -m) unlimited >>> > >>> > open files (-n) 32768 >>> > >>> > pipe size (512 bytes, -p) 8 >>> > >>> > POSIX message queues (bytes, -q) 819200 >>> > >>> > real-time priority (-r) 0 >>> > >>> > stack size (kbytes, -s) 2048 >>> > >>> > cpu time (seconds, -t) unlimited >>> > >>> > max user processes (-u) 32768 >>> > >>> > virtual memory (kbytes, -v) unlimited >>> > >>> > file locks (-x) unlimited >>> > >>> > >>> > Server is physical, not virtual, but I dont have the same issue >>> > with virtual freeswitch. >>> > >>> > Here is the "status" before the session limit: >>> > >>> > freeswitch at internal> status >>> > >>> > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 137 >>> > milliseconds, 603 microseconds >>> > >>> > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z >>> > 64bit) is ready >>> > >>> > 994 session(s) since startup >>> > >>> > 994 session(s) - peak 994, last 5min 994 >>> > >>> > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 >>> > >>> > 10000 session(s) max >>> > >>> > min idle cpu 10.00/96.77 >>> > >>> > Current Stack Size/Max 2048K/2048K >>> > >>> > freeswitch at internal> status >>> > >>> > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 370 >>> > milliseconds, 877 microseconds >>> > >>> > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z >>> > 64bit) is ready >>> > >>> > 1003 session(s) since startup >>> > >>> > 1003 session(s) - peak 1003, last 5min 1003 >>> > >>> > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 >>> > >>> > 993 session(s) max >>> > >>> > min idle cpu 10.00/96.77 >>> > >>> > Current Stack Size/Max 2048K/2048K >>> > >>> > freeswitch at internal> 2015-12-14 15:37:37.436968 [CRIT] >>> > switch_core_session.c:1781 Thread Failure! >>> > >>> > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1737 >>> > LUKE: I'm hit, but not bad. >>> > >>> > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1738 >>> > LUKE'S VOICE: Artoo, see what you can do with it. Hang on back >>> > there.... >>> > >>> > Green laserfire moves past the beeping little robot as his head >>> > turns. After a few beeps and a twist of his mechanical arm, >>> > >>> > Artoo reduces the max sessions to 993 thus, saving the switch >>> > from certain doom. >>> > >>> > Any help with that? Really strange error... >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> > >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > >>> >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> > >>> > >>> > >>> > >>> > -- >>> > >>> > Sincerely, >>> > >>> > Giovanni Maruzzelli >>> > Cell : +39-347-2665618 >>> > >>> > >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> > >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> >>> >>> -- >>> >>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>> >>> >>> >>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>> http://twitter.com/FreeSWITCH >>> >>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>> * >>> >>> ClueCon Weekly Development Call >>> >>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>> >>> >>> >>> https://www.youtube.com/watch?v=9XXgW34t40s >>> >>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> 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/20151215/5809dc92/attachment-0001.html From aferrari at mediainbox.net Tue Dec 15 06:35:14 2015 From: aferrari at mediainbox.net (Alejandro Ferrari) Date: Tue, 15 Dec 2015 00:35:14 -0300 Subject: [Freeswitch-users] Freeswitch over docker Message-ID: Hi all, Someone using Freeswitch with docker? I'll like to know the feedback if some use and if has some link to share. Thanks Alejandro -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/5ae871d4/attachment.html From anthony.minessale at gmail.com Tue Dec 15 23:31:43 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 15 Dec 2015 14:31:43 -0600 Subject: [Freeswitch-users] How to break endless_play? In-Reply-To: References: Message-ID: File a JIRA? you should not report issues on this list. On Sun, Dec 13, 2015 at 11:18 PM, ??? wrote: > The reason is endless_play can't be break. > I think that need to be break. > > 2015-12-14 12:16 GMT+08:00 ??? : > >> I use event socket endless_play file on an uuid. >> But endless_play seem to be could not be break by break cmd. >> when I call cmd in this order : endless_play - break - endless_play - >> break - endless_play - break - endless_play - break - .....?80 times will >> core? >> >> FS stack will grow, and will core? >> [image: ???? 1] >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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/20151215/f4689308/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 779419 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/f4689308/attachment-0001.png From lyle at bettervoice.com Tue Dec 15 23:43:15 2015 From: lyle at bettervoice.com (Lyle Pratt) Date: Tue, 15 Dec 2015 14:43:15 -0600 Subject: [Freeswitch-users] Freeswitch over docker Message-ID: YES! We maintain a Freeswitch Docker container and use it in production. We include all modules and make it super configurable. Relevant links: https://github.com/BetterVoice/freeswitch-container https://hub.docker.com/r/bettervoice/freeswitch-container/ Let us know if you have questions. Regards, Lyle Pratt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/41c0b894/attachment.html From krice at freeswitch.org Wed Dec 16 00:00:50 2015 From: krice at freeswitch.org (Ken Rice) Date: Tue, 15 Dec 2015 15:00:50 -0600 Subject: [Freeswitch-users] Freeswitch over docker In-Reply-To: References: Message-ID: <50dc01d1377b$ae0f7a10$0a2e6e30$@freeswitch.org> Please don?t promote 3rd party packaging/etc on the mailing list. While these are probably perfectly fine to use, the FreeSWITCH Team can in no way validate such things so theres the whole caveat emptor thing. If this is something you would like to contribute to the project, please doc the generation of these things on confluence and submit and needed patches/scripts via pull request so we can eval inclusion of them K From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Lyle Pratt Sent: Tuesday, December 15, 2015 2:43 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Freeswitch over docker YES! We maintain a Freeswitch Docker container and use it in production. We include all modules and make it super configurable. Relevant links: https://github.com/BetterVoice/freeswitch-container https://hub.docker.com/r/bettervoice/freeswitch-container/ Let us know if you have questions. Regards, Lyle Pratt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/4b9c7d90/attachment.html From deforceczt at gmail.com Wed Dec 16 00:38:36 2015 From: deforceczt at gmail.com (Vladislav Ivanov) Date: Tue, 15 Dec 2015 23:38:36 +0200 Subject: [Freeswitch-users] Thread failure with low CPU utilization? In-Reply-To: References: <42d301d1368b$e0ad68b0$a2083a10$@freeswitch.org> <566F18C3.90805@sofnet.com> Message-ID: I'm using the systemd file from https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video Just calling calls with 10 cps, low duration, should it slowly use the cpu? It really slowly eats all CPU, then drops all calls, repeats again... Shouldn't it be 10% cpu, nothing more for the same cps, no logs writing. Just simple minimal. 2015-12-15 22:22 GMT+02:00 Anthony Minessale : > More issues related to resource limits. > Check your allowed max sessions and sps in your config and any other > ulimits on the system that you may have too low. > > Its wise to have limits low enough that the calls start failing before > your box does. > > > On Tue, Dec 15, 2015 at 12:15 PM, Vladislav Ivanov > wrote: > >> Hey guys, >> >> I have a new problem that is happening with CPU load now. >> I have been testing freeswitch with sipp, and i'm encountering strange >> issue with same load. >> 1st time I test with 10 cps, 5 second duration calls, for just cps load. >> CPU idle is min idle cpu 10.00/84.67 >> Then I add CPS by 5, it should be enough power to be 15 cps on the >> machine when I have idle 84%... >> But my CPU goes heavily down, more and more down until it goes to 0 and >> spams: >> 2015-12-15 20:13:43.199451 [CRIT] mod_sofia.c:4406 Error Creating Session >> 2015-12-15 20:13:43.259702 [CRIT] mod_sofia.c:4406 Error Creating Session >> 2015-12-15 20:13:43.279578 [CRIT] mod_sofia.c:4406 Error Creating Session >> 2015-12-15 20:13:43.299562 [CRIT] mod_sofia.c:4406 Error Creating Session >> 2015-12-15 20:13:43.299562 [CRIT] mod_sofia.c:4406 Error Creating Session >> 2015-12-15 20:13:43.399496 [CRIT] mod_sofia.c:4406 Error Creating Session >> 2015-12-15 20:13:43.419667 [CRIT] mod_sofia.c:4406 Error Creating Session >> 2015-12-15 20:14:32.819449 [CRIT] mod_sofia.c:4406 Error Creating Session >> >> Anything I can do to debug or check why it is causing this? >> (Same is happening on Centos 6, Debian) >> OS: "Debian GNU/Linux 8 (jessie) >> FS: FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) >> >> I'm kinda lost at this point... >> >> 2015-12-15 19:21 GMT+02:00 Anthony Minessale > >: >> >>> 1000 threads is not really a show stopper =D >>> That is what the artoo message, it tells you that the new current thread >>> limit has been auto detected and that is the new max calls you can handle >>> henceforth. >>> >>> >>> On Tue, Dec 15, 2015 at 5:16 AM, Michael Giagnocavo >>> wrote: >>> >>>> Perhaps write a patch to detect these limits and then CRIT on start if >>>> they conflict with settings. >>>> >>>> >>>> >>>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Vladislav >>>> Ivanov >>>> *Sent:* Tuesday, 15 December, 2015 2:15 >>>> *To:* FreeSWITCH Users Help >>>> *Subject:* Re: [Freeswitch-users] Thread failure with low CPU >>>> utilization? >>>> >>>> >>>> >>>> Hey guys, >>>> >>>> Anthony was correct in this case, I ran freeswitch not from root, for >>>> some reason my /etc/security/limits.conf file line: >>>> >>>> * soft nproc 32768 >>>> >>>> * hard nproc 32768 >>>> >>>> was not propagated on freeswitch user... >>>> >>>> Added new line: >>>> >>>> freeswitch soft nproc 32768 >>>> >>>> freeswitch hard nproc 32768 >>>> >>>> and it worked fine from that. >>>> Thanks to you all! >>>> >>>> >>>> >>>> 2015-12-14 23:06 GMT+02:00 Anthony Minessale < >>>> anthony.minessale at gmail.com>: >>>> >>>> Are you running FS as root or a regular user, you need to check the >>>> ulimits of concurrent threads and some boxes have a hard limit of threads, >>>> its not all tied to CPU usage. >>>> >>>> >>>> >>>> >>>> >>>> On Mon, Dec 14, 2015 at 1:30 PM, Kevin Wormington >>>> wrote: >>>> >>>> This post >>>> http://unix.stackexchange.com/questions/47595/linux-max-threads-count >>>> has a simple program to check out how many threads can be created. You >>>> can run the test program as root and then as FS user and see if it's a >>>> ulimit type of problem. >>>> >>>> On 12/14/2015 01:08 PM, Michael Giagnocavo wrote: >>>> > Is there a reason to think that CentOS 6 would cause threads to fail >>>> to >>>> > spawn? This is basically just calling libapr, which is code from like >>>> 8 >>>> > years ago. >>>> > >>>> > Vladislav: This means it failed to create a thread >>>> (switch_thread_create >>>> > in switch_apr.c). FS generates a ton of threads. The only time I?ve >>>> seen >>>> > this was a long time ago on 32-bit Windows, since default stack of 1MB >>>> > means you hit address space limits pretty quickly. But on 64-bit, you >>>> > should be able to go all out. >>>> > >>>> > I?d start by adding some if?d printf?s to check the various things >>>> that >>>> > switch_thread_create does and try to pinpoint what is failing. If the >>>> > libapr call is failing, then you should be able to create a minimal >>>> > program that just spawns threads and see if that one is able to get >>>> > 1000+. From there I?d guess troubleshooting is gonna be the same as >>>> > figuring out why pthread_create fails and that should be generic to >>>> your >>>> > system. (Please post if you figure out why.) >>>> > >>>> > If other apps are able to spawn and keep thousands of threads and just >>>> > FS isn?t then I guess you?re unlucky? >>>> > >>>> > -Michael >>>> > >>>> > *From:*freeswitch-users-bounces at lists.freeswitch.org >>>> > [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of >>>> > *Giovanni Maruzzelli >>>> > *Sent:* Monday, 14 December, 2015 10:57 >>>> > *To:* FreeSWITCH Users Help >>>> > *Subject:* Re: [Freeswitch-users] Thread failure with low CPU >>>> utilization? >>>> > >>>> > centos 6 is not supported by FreeSWITCH 1.6 ! >>>> > >>>> > -giovanni >>>> > >>>> > On Mon, Dec 14, 2015 at 5:47 PM, Vladislav Ivanov < >>>> deforceczt at gmail.com >>>> > > wrote: >>>> > >>>> > Centos 6,latest update. Via init script >>>> > >>>> > On 14 Dec 2015 6:25 p.m., "Ken Rice" >>> > > wrote: >>>> > >>>> > A)What platform are you running FreeSWITCH on? (eg: Debian 8 >>>> etc) >>>> > >>>> > b)How are you starting FreeSWITCH? (eg: in the foreground or >>>> > background with an init script) >>>> > >>>> > *From:*freeswitch-users-bounces at lists.freeswitch.org >>>> > >>>> > [mailto:freeswitch-users-bounces at lists.freeswitch.org >>>> > ] *On >>>> > Behalf Of *Vladislav Ivanov >>>> > *Sent:* Monday, December 14, 2015 9:47 AM >>>> > *To:* freeswitch-users at lists.freeswitch.org >>>> > >>>> > *Subject:* [Freeswitch-users] Thread failure with low CPU >>>> >>>> > utilization? >>>> > >>>> > Hello, >>>> > >>>> > I have 1.6.5 Freeswitch and I'm trying to test how much >>>> > lines/cps it can handle on my test machine: >>>> > >>>> > CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz x2 (8 cores, 3 GHz) >>>> > RAM: 32GB >>>> > SSD: 500 GB >>>> > >>>> > I'm using call generator to check flood the freeswitch, but >>>> when >>>> > FS gets 1k sessions it sends >>>> > [CRIT] switch_core_session.c:1781 Thread Failure! >>>> > and the Star Wars quote... But the CPU load is less than 10% >>>> > >>>> > Ulimit is as follows: >>>> > >>>> > core file size (blocks, -c) 0 >>>> > >>>> > data seg size (kbytes, -d) unlimited >>>> > >>>> > scheduling priority (-e) 0 >>>> > >>>> > file size (blocks, -f) unlimited >>>> > >>>> > pending signals (-i) 128330 >>>> > >>>> > max locked memory (kbytes, -l) 64 >>>> > >>>> > max memory size (kbytes, -m) unlimited >>>> > >>>> > open files (-n) 32768 >>>> > >>>> > pipe size (512 bytes, -p) 8 >>>> > >>>> > POSIX message queues (bytes, -q) 819200 >>>> > >>>> > real-time priority (-r) 0 >>>> > >>>> > stack size (kbytes, -s) 2048 >>>> > >>>> > cpu time (seconds, -t) unlimited >>>> > >>>> > max user processes (-u) 32768 >>>> > >>>> > virtual memory (kbytes, -v) unlimited >>>> > >>>> > file locks (-x) unlimited >>>> > >>>> > >>>> > Server is physical, not virtual, but I dont have the same >>>> issue >>>> > with virtual freeswitch. >>>> > >>>> > Here is the "status" before the session limit: >>>> > >>>> > freeswitch at internal> status >>>> > >>>> > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 137 >>>> > milliseconds, 603 microseconds >>>> > >>>> > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z >>>> > 64bit) is ready >>>> > >>>> > 994 session(s) since startup >>>> > >>>> > 994 session(s) - peak 994, last 5min 994 >>>> > >>>> > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 >>>> > >>>> > 10000 session(s) max >>>> > >>>> > min idle cpu 10.00/96.77 >>>> > >>>> > Current Stack Size/Max 2048K/2048K >>>> > >>>> > freeswitch at internal> status >>>> > >>>> > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 370 >>>> > milliseconds, 877 microseconds >>>> > >>>> > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z >>>> > 64bit) is ready >>>> > >>>> > 1003 session(s) since startup >>>> > >>>> > 1003 session(s) - peak 1003, last 5min 1003 >>>> > >>>> > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 >>>> > >>>> > 993 session(s) max >>>> > >>>> > min idle cpu 10.00/96.77 >>>> > >>>> > Current Stack Size/Max 2048K/2048K >>>> > >>>> > freeswitch at internal> 2015-12-14 15:37:37.436968 [CRIT] >>>> > switch_core_session.c:1781 Thread Failure! >>>> > >>>> > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1737 >>>> > LUKE: I'm hit, but not bad. >>>> > >>>> > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1738 >>>> > LUKE'S VOICE: Artoo, see what you can do with it. Hang on back >>>> > there.... >>>> > >>>> > Green laserfire moves past the beeping little robot as his >>>> head >>>> > turns. After a few beeps and a twist of his mechanical arm, >>>> > >>>> > Artoo reduces the max sessions to 993 thus, saving the switch >>>> > from certain doom. >>>> > >>>> > Any help with that? Really strange error... >>>> > >>>> > >>>> _________________________________________________________________________ >>>> > Professional FreeSWITCH Consulting Services: >>>> >>>> > consulting at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > http://www.freeswitch.org >>>> > >>>> > >>>> > >>>> _________________________________________________________________________ >>>> > Professional FreeSWITCH Consulting Services: >>>> > consulting at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > >>>> >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > http://www.freeswitch.org >>>> > >>>> > >>>> > >>>> > >>>> > -- >>>> > >>>> > Sincerely, >>>> > >>>> > Giovanni Maruzzelli >>>> > Cell : +39-347-2665618 >>>> > >>>> > >>>> > >>>> > >>>> _________________________________________________________________________ >>>> > Professional FreeSWITCH Consulting Services: >>>> > consulting at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > http://www.freeswitch.org >>>> > >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>> >>>> >>>> >>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>> http://twitter.com/FreeSWITCH >>>> >>>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>>> * >>>> >>>> ClueCon Weekly Development Call >>>> >>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>> >>>> >>>> >>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>> >>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> 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/20151215/b4c636a9/attachment-0001.html From brian at freeswitch.org Wed Dec 16 02:12:33 2015 From: brian at freeswitch.org (Brian West) Date: Tue, 15 Dec 2015 17:12:33 -0600 Subject: [Freeswitch-users] FreeSWITCH vs Asterisk on Reddit... Message-ID: Interesting thread... https://www.reddit.com/r/VOIP/comments/3wy9h8/freeswitch_vs_asterisk/ Everyone should check it out. 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/20151215/e79e667a/attachment.html From lmorley at neny.cslimits.net Wed Dec 16 02:25:04 2015 From: lmorley at neny.cslimits.net (Larry Morley) Date: Tue, 15 Dec 2015 18:25:04 -0500 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: Stanislav, Sometime in the next few days I need to spend some quality time with that code, out of sheer curiosity if for no other reason. There are a few things in that code that have me - uh, stumped , to put it mildly. Would you do me a favor, and if you do hear back from the author / maintainer, let me know what he says? Or when he fixes it? Thanks , Larry On Dec 14, 2015 3:16 PM, "Stanislav Sinyagin" wrote: > Larry, here it's just a pointer that is 16bit aligned, and is given to a > function that tries to treat it as an array of 32bit values. See my new > comment in the ticket. We just need the module author to fix this, as it's > difficult to figure out why some ifdefs have "x" at the end. > On 14 Dec 2015 19:03, "Larry Morley" wrote: > >> Stanislav, >> >> I saw that; what I was saying was it looked to me like the processor was >> interpreting data as code and it happened to work out that the bit pattern >> for that data and for LDC/STC are the same. I've run into problems before >> where misaligned inductions have resulted in an ARM processor either >> ignoring the improperly aligned portion of an instruction or treating it as >> data. >> >> If you disassemble the code around where it traps, what does the listing >> show the processor is trying to execute? >> >> One additional thought - if you're concerned that calloc() or malloc() is >> returning a pointer that's improperly aligned, you could always supply >> your own temporarily and see if the problem goes away. >> >> - Larry >> On Dec 13, 2015 4:19 AM, "Stanislav Sinyagin" >> wrote: >> >>> 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 >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/abfeaf0b/attachment-0001.html From jaybinks at gmail.com Wed Dec 16 06:05:33 2015 From: jaybinks at gmail.com (jay binks) Date: Wed, 16 Dec 2015 13:05:33 +1000 Subject: [Freeswitch-users] FreeSWITCH vs Asterisk on Reddit... In-Reply-To: References: Message-ID: That whole thread kinda sums up reddit for me :/ what load of rubbish. On 16 December 2015 at 09:12, Brian West wrote: > Interesting thread... > > https://www.reddit.com/r/VOIP/comments/3wy9h8/freeswitch_vs_asterisk/ > > Everyone should check it out. > > 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 > -- Sincerely Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/e6b74306/attachment.html From shabbirabbasi92 at gmail.com Wed Dec 16 07:14:23 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Wed, 16 Dec 2015 09:14:23 +0500 Subject: [Freeswitch-users] mod_gsmopen - deadlock tty In-Reply-To: References: Message-ID: i am still working on it , and i found problums in my work and corrected it like in previus commit i was found that when i sends a ussd commands to a disconnected modem then cli gets hanged due to there was no check whethere modem is disconnected or connected,now i have added a check to check status connected or not, "How many modems are you using?" i am just playing with it with only two modems,i am not a Developer just trying to learn, i am using centos 7 64 bit, my system is not in production , just for experimental, and Discovery function in centos working fine On Tue, Dec 15, 2015 at 9:09 PM, Luiz Fernando Softov < fernando at softov.com.br> wrote: > My bad, i looked better and see that you have made a discovery function. > > How many modems are you using? > How many calls simultaneous? > It's working fine? no calls stuck after you unplug/plug modem? > > I have found errors in source (master). And have made a lot a tests, like: > unplug a modem in a middle of call > - try to make a call with a modem that no support voice > - send a sms at the same time you made a call > - receive a call from modem A and route to modem B > > There is more tests that i have made, and made changes to correct it. > > Anyway, since i use xml_curl to grab the attached modems, and some modems > can be removed/dettached or just have failure of power supply i > reload/dettached/remove in according with the system/user interaction. > > And, that find_ttyusb_devices, don't work in FreeBSD, witch is the SO that > i use *i can't user another system, i have made a lot of modifications in > kernel and have a complete custom system based on that called BrbOS, with > kernel encryption, custom drivers and other things. > > I make the control of calls using event_socket, and make custom > routes according with the time, cost, user, configuration, usage, > portability, destination... > > I need the system working that way, receive events when a modem cannot > make calls, and control the modem to reload/attach when i need. > So, because of it i create a daemon that i can control and know when a > modem changes. > > I have found, in freeBSD and debian, a commom problem > > Its like, when i start the system for the first time > > Lets consider this > ModemA (MA) - (ttyU0, ttyU1, ttyU2, ttyU3) > ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) > ModemC (MC) - (ttyU8, ttyU9, ttyU10) > ModemD (MD) - (ttyU11, ttyU12, ttyU13) > > > MA was unplugged/have power supply problem > > ModemA (MA) - > ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) > ModemC (MC) - (ttyU8, ttyU9, ttyU10) > ModemD (MD) - (ttyU11, ttyU12, ttyU13) > > > MC was unplugged/have power supply problem > > ModemA (MA) - > ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) > ModemC (MC) - > ModemD (MD) - (ttyU11, ttyU12, ttyU13) > > MC was plugged/redicovered > > ModemA (MA) - > ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) > ModemC (MC) - (ttyU0, ttyU1, ttyU2) > ModemD (MD) - (ttyU11, ttyU12, ttyU13) > > MA was plugged/redicovered > > ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) > ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) > ModemC (MC) - (ttyU0, ttyU1, ttyU2) > ModemD (MD) - (ttyU11, ttyU12, ttyU13) > > As you see, sometimes the modems don't get the tty sequence 1.2.3.4. They > get the sequence of free tty ports > And, it's just in this test, when i have modems with 4/3 ttys > Sometimes, the modem just RESET, and the tty was not free yet, so the > modem jump a number in sequence > > > MD was unplugged/have power supply problem > > ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) > ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) > ModemC (MC) - (ttyU0, ttyU1, ttyU2) > ModemD (MD) - > > > MD was on, but ttyU12 still oppened by FreeSwitch (mod_gsmopen) > > ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) > ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) > ModemC (MC) - (ttyU0, ttyU1, ttyU2) > ModemD (MD) - (ttyU11, ttyU13, ttyU14) > > > As you see, the discovery will not work sometimes, you need to change to > get all ttyports > not getting as (ttyFOUND + 1) and (ttyFOUND + 2) > > > And, like i said before, if you wan't to made changes i'm able to help or > to rewrite the module, just need someone to help > If you wan't, send me a e-mail or just reply here > > 2015-12-08 9:09 GMT-03:00 Shabbir abbasi : > >> 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 < >>>>>> fernando at softov.com.br>: >>>>>> >>>>>>> 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 >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/2c7d779f/attachment-0001.html From tknchris at gmail.com Wed Dec 16 08:37:37 2015 From: tknchris at gmail.com (chris) Date: Wed, 16 Dec 2015 00:37:37 -0500 Subject: [Freeswitch-users] FreeSWITCH vs Asterisk on Reddit... In-Reply-To: References: Message-ID: about on par with this one which was interesting: https://www.reddit.com/r/freeswitch/comments/3o5acr/i_failed_with_freeswitch/ On Tue, Dec 15, 2015 at 6:12 PM, Brian West wrote: > Interesting thread... > > https://www.reddit.com/r/VOIP/comments/3wy9h8/freeswitch_vs_asterisk/ > > Everyone should check it out. > > 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/20151216/6690aa0d/attachment.html From blake at cogents.io Wed Dec 16 08:57:07 2015 From: blake at cogents.io (Blake Priddy) Date: Tue, 15 Dec 2015 23:57:07 -0600 Subject: [Freeswitch-users] FreeSWITCH vs Asterisk on Reddit... In-Reply-To: References: Message-ID: This post made me angry. :( What do we need to do as a community to please these people?? Heck I'm all for making in depth YouTube videos. I'm a noob to freeswitch still. I'm sure I can dumb it down for people.. On Dec 15, 2015 11:41 PM, "chris" wrote: > about on par with this one which was interesting: > > > https://www.reddit.com/r/freeswitch/comments/3o5acr/i_failed_with_freeswitch/ > > On Tue, Dec 15, 2015 at 6:12 PM, Brian West wrote: > >> Interesting thread... >> >> https://www.reddit.com/r/VOIP/comments/3wy9h8/freeswitch_vs_asterisk/ >> >> Everyone should check it out. >> >> 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151215/1a7e6e63/attachment.html From krice at freeswitch.org Wed Dec 16 09:19:10 2015 From: krice at freeswitch.org (Ken Rice) Date: Wed, 16 Dec 2015 00:19:10 -0600 Subject: [Freeswitch-users] FreeSWITCH vs Asterisk on Reddit... In-Reply-To: References: Message-ID: <51f601d137c9$ae032190$0a0964b0$@freeswitch.org> That guy got cranky because he thought that the developers time was free? For some reason people think that before there is Free in the name or that it is open source, that the developers of the project are doing this for free. We all have families to feed. Unlike some open source projects, FreeSWITCH is not funded by millions of dollars of funding, every bit of funding comes from people using FreeSWITCH and contracting the FreeSWITCH Team to help them deploy, configure, or enhance the software. I can?t think of anyone of the supporters that has wanted to keep any code additions out of tree. So even if you don?t have a huge budget you can still help out Anthony, Brian, Mike, Me, and William. Contact us, let us help with your project. Sure, there may be a charge for that initial consultation, but it also allows us to dedicate time with you to engineer a plan to help you reach your goals. Want to send a little Christmas or Hanukkah gift to one of the Developers? Visit https://freeswitch.org/core-team/, Our wishlists are there. Want to but the dev?s dinner or something Similar? There?s a donate button right on the website. Want to help in other ways? Join the Docs Team and help document things on Confluence. We still have a several hundred pages on the old wiki that need to be clean up, updated and migrated to Confluence. Help us sort thru the bugs and test patches and pull requests. Anyone can comment on open tickets and add information? Want to be an official bug marshall? Email me (krice at freeswitch.org ) or brian at freeswitch.org off list and we?ll help get you started. Join the FreeSWITCH Team via HipChat at https://hipchat.freeswitch.org/ hang out meet the devs and chat with other FreeSWITCH users. Like IRC? Check out #FreeSWITCH on freenode.net Every Little Bit Helps! K From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of chris Sent: Tuesday, December 15, 2015 11:38 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FreeSWITCH vs Asterisk on Reddit... about on par with this one which was interesting: https://www.reddit.com/r/freeswitch/comments/3o5acr/i_failed_with_freeswitch/ On Tue, Dec 15, 2015 at 6:12 PM, Brian West > wrote: Interesting thread... https://www.reddit.com/r/VOIP/comments/3wy9h8/freeswitch_vs_asterisk/ Everyone should check it out. 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/20151216/11374c73/attachment-0001.html From khunter at thesummitgroup.com.au Wed Dec 16 03:48:03 2015 From: khunter at thesummitgroup.com.au (Kyle Hunter) Date: Wed, 16 Dec 2015 00:48:03 +0000 Subject: [Freeswitch-users] Dial plan variables Message-ID: Hey, I?ve currently got a dial plan set up to receive faxes which looks like: I?m just wondering what $destination_number variable is set to. In our SIP Header we?re sending a different ?SIP Display info? to what this variable is set to and I can?t seem to find what that variable is actually looking at. Thanks, Kyle Kyle Hunter | Network Engineer | The Summit Group E: khunter at thesummitgroup.com.au | W: The Summit Group (Australia) Pty Ltd | P: | Level 1, 39 Railway Road, Blackburn VIC 3130 The Summit Group (USA) LLC | P: 321 216 3844 | Suite 1003, 364E Main Street, Middletown DE 19709 Postal: P.O. Box 3225, Doncaster East VIC 3109 Follow us on Facebook | LinkedIn | Twitter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/9d763abb/attachment.html From lexxua at gmail.com Wed Dec 16 09:59:50 2015 From: lexxua at gmail.com (Volodymyr Fedorov) Date: Wed, 16 Dec 2015 07:59:50 +0100 Subject: [Freeswitch-users] Dial plan variables In-Reply-To: References: Message-ID: Hi, Even variable is not exist you can parse sip-headers and extract variables via regex: bellow example for parse to-header On Wed, Dec 16, 2015 at 1:48 AM, Kyle Hunter wrote: > Hey, > > > > I?ve currently got a dial plan set up to receive faxes which looks like: > data="/var/spool/fax/FAX-${destination_number}-${caller_id_number}-${uuid}.tif"/> > > > > I?m just wondering what $destination_number variable is set to. In our SIP > Header we?re sending a different ?SIP Display info? to what this variable > is set to and I can?t seem to find what that variable is actually looking > at. > > > > Thanks, > > Kyle > > > > * Kyle Hunter | Network Engineer | The Summit Group * > > E: khunter at thesummitgroup.com.au | W: > > The Summit Group (Australia) Pty Ltd | P: | Level 1, 39 Railway Road, > Blackburn VIC 3130 > The Summit Group (USA) LLC | P: 321 216 3844 | Suite 1003, 364E Main > Street, Middletown DE 19709 > Postal: P.O. Box 3225, Doncaster East VIC 3109 > > > > Follow us on Facebook | LinkedIn > | Twitter > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Best regards, Volodymyr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/690c85af/attachment.html From vbvbrj at gmail.com Wed Dec 16 10:19:06 2015 From: vbvbrj at gmail.com (Mimiko) Date: Wed, 16 Dec 2015 09:19:06 +0200 Subject: [Freeswitch-users] FreeSWITCH vs Asterisk on Reddit... In-Reply-To: References: Message-ID: <5671106A.50101@gmail.com> Hello. I want to mention that FreeSwitch is the only way to go now. Astersik being older, but lacks much of freeness. In my practice. I've installed freeswitch years ago and it was working without any glich since than. It is used mostly for a sensitive callcenter which handles thousand of calls. But also it is used for calling too. The only big problem relies in hardware. If it crashes its bad. Sometime I have to implement fault-tolerance. -- Mimiko desu. From jurij.ivo at gmail.com Wed Dec 16 10:32:43 2015 From: jurij.ivo at gmail.com (Jurijs Ivolga) Date: Wed, 16 Dec 2015 09:32:43 +0200 Subject: [Freeswitch-users] Dial plan variables In-Reply-To: References: Message-ID: Hi Kyle, destination_number is number what is called. If it is for inbound faxes, then destination_number variable will contain number which your clients calls to get into Freeswitch. More details about channel variables you can find below: https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables You can add line before and in console you will see all related to that call variables. It will looks like: 2015-12-16 02:20:45.581035 [INFO] mod_dptools.c:1711 CHANNEL_DATA: Channel-State: [CS_EXECUTE] Channel-Call-State: [RINGING] Channel-State-Number: [4] Channel-Name: [.....] .... .... .... Caller-Destination-Number: [Value which you are looking for] .... .... With kind regards, Jurijs 2015-12-16 8:59 GMT+02:00 Volodymyr Fedorov : > Hi, > Even variable is not exist you can parse sip-headers and extract variables > via regex: > bellow example for parse to-header > data="act_nmbr=${regex(${sip_h_To}|^\.*$|0%1)}"/> > > > > On Wed, Dec 16, 2015 at 1:48 AM, Kyle Hunter < > khunter at thesummitgroup.com.au> wrote: > >> Hey, >> >> >> >> I?ve currently got a dial plan set up to receive faxes which looks like: >> > data="/var/spool/fax/FAX-${destination_number}-${caller_id_number}-${uuid}.tif"/> >> >> >> >> I?m just wondering what $destination_number variable is set to. In our >> SIP Header we?re sending a different ?SIP Display info? to what this >> variable is set to and I can?t seem to find what that variable is actually >> looking at. >> >> >> >> Thanks, >> >> Kyle >> >> >> >> * Kyle Hunter | Network Engineer | The Summit Group * >> >> E: khunter at thesummitgroup.com.au | W: >> >> The Summit Group (Australia) Pty Ltd | P: | Level 1, 39 Railway Road, >> Blackburn VIC 3130 >> The Summit Group (USA) LLC | P: 321 216 3844 | Suite 1003, 364E Main >> Street, Middletown DE 19709 >> Postal: P.O. Box 3225, Doncaster East VIC 3109 >> >> >> >> Follow us on Facebook | >> LinkedIn | Twitter >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Best regards, > Volodymyr > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/95c84a86/attachment-0001.html From shabbirabbasi92 at gmail.com Wed Dec 16 12:06:26 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Wed, 16 Dec 2015 14:06:26 +0500 Subject: [Freeswitch-users] ! [rejected] master -> master (non-fast-forward) how to udate my changes Message-ID: i am working on some feature and unable to push error is -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/e1092831/attachment.html From shabbirabbasi92 at gmail.com Wed Dec 16 12:07:23 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Wed, 16 Dec 2015 14:07:23 +0500 Subject: [Freeswitch-users] ! [rejected] master -> master (non-fast-forward) how to udate my changes In-Reply-To: References: Message-ID: https://shabbirabbasi92 at freeswitch.org/stash/scm/~shabbirabbasi92/freeswitch.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to ' https://shabbirabbasi92 at freeswitch.org/stash/scm/~shabbirabbasi92/freeswitch.git ' hint: Updates were rejected because a pushed branch tip is behind its remote hint: counterpart. If you did not intend to push that branch, you may want to hint: specify branches to push or set the 'push.default' configuration variable hint: to 'simple', 'current' or 'upstream' to push only the current branch. On Wed, Dec 16, 2015 at 2:06 PM, Shabbir abbasi wrote: > i am working on some feature and unable to push > > error is > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/1488a093/attachment.html From shabbirabbasi92 at gmail.com Wed Dec 16 13:52:17 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Wed, 16 Dec 2015 15:52:17 +0500 Subject: [Freeswitch-users] mod_gsmopen - deadlock tty In-Reply-To: References: Message-ID: "It's working fine? no calls stuck after you unplug/plug modem? " Yes it is working fine ; i have set gsmopen_serial_sync_period=1 in gsmopen.conf due to this if i unplug modem then it is marked as disconnected and hangsup the call and after this discovery thread wakes up and try to find device after every 30 second if device found then it starts serial monitor thread and exits and it is not effects on other modems i have tried many times to unplug modem during calls and after calls but they discovered fine here, On Wed, Dec 16, 2015 at 9:14 AM, Shabbir abbasi wrote: > i am still working on it , and i found problums in my work and corrected > it like in previus commit i was found that when i sends a ussd commands to > a disconnected modem then cli gets hanged due to there was no check > whethere modem is disconnected or connected,now i have added a check to > check status connected or not, > > "How many modems are you using?" > i am just playing with it with only two modems,i am not a Developer just > trying to learn, i am using centos 7 64 bit, > my system is not in production , just for experimental, > and Discovery function in centos working fine > > > On Tue, Dec 15, 2015 at 9:09 PM, Luiz Fernando Softov < > fernando at softov.com.br> wrote: > >> My bad, i looked better and see that you have made a discovery function. >> >> How many modems are you using? >> How many calls simultaneous? >> It's working fine? no calls stuck after you unplug/plug modem? >> >> I have found errors in source (master). And have made a lot a tests, like: >> unplug a modem in a middle of call >> - try to make a call with a modem that no support voice >> - send a sms at the same time you made a call >> - receive a call from modem A and route to modem B >> >> There is more tests that i have made, and made changes to correct it. >> >> Anyway, since i use xml_curl to grab the attached modems, and some modems >> can be removed/dettached or just have failure of power supply i >> reload/dettached/remove in according with the system/user interaction. >> >> And, that find_ttyusb_devices, don't work in FreeBSD, witch is the SO >> that i use *i can't user another system, i have made a lot of modifications >> in kernel and have a complete custom system based on that called BrbOS, >> with kernel encryption, custom drivers and other things. >> >> I make the control of calls using event_socket, and make custom >> routes according with the time, cost, user, configuration, usage, >> portability, destination... >> >> I need the system working that way, receive events when a modem cannot >> make calls, and control the modem to reload/attach when i need. >> So, because of it i create a daemon that i can control and know when a >> modem changes. >> >> I have found, in freeBSD and debian, a commom problem >> >> Its like, when i start the system for the first time >> >> Lets consider this >> ModemA (MA) - (ttyU0, ttyU1, ttyU2, ttyU3) >> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >> ModemC (MC) - (ttyU8, ttyU9, ttyU10) >> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >> >> >> MA was unplugged/have power supply problem >> >> ModemA (MA) - >> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >> ModemC (MC) - (ttyU8, ttyU9, ttyU10) >> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >> >> >> MC was unplugged/have power supply problem >> >> ModemA (MA) - >> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >> ModemC (MC) - >> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >> >> MC was plugged/redicovered >> >> ModemA (MA) - >> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >> >> MA was plugged/redicovered >> >> ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) >> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >> >> As you see, sometimes the modems don't get the tty sequence 1.2.3.4. They >> get the sequence of free tty ports >> And, it's just in this test, when i have modems with 4/3 ttys >> Sometimes, the modem just RESET, and the tty was not free yet, so the >> modem jump a number in sequence >> >> >> MD was unplugged/have power supply problem >> >> ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) >> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >> ModemD (MD) - >> >> >> MD was on, but ttyU12 still oppened by FreeSwitch (mod_gsmopen) >> >> ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) >> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >> ModemD (MD) - (ttyU11, ttyU13, ttyU14) >> >> >> As you see, the discovery will not work sometimes, you need to change to >> get all ttyports >> not getting as (ttyFOUND + 1) and (ttyFOUND + 2) >> >> >> And, like i said before, if you wan't to made changes i'm able to help or >> to rewrite the module, just need someone to help >> If you wan't, send me a e-mail or just reply here >> >> 2015-12-08 9:09 GMT-03:00 Shabbir abbasi : >> >>> 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 < >>>>> gmaruzz at gmail.com> 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 < >>>>>>> fernando at softov.com.br>: >>>>>>> >>>>>>>> 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 >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/8b655dfe/attachment-0001.html From fernando at softov.com.br Wed Dec 16 15:23:27 2015 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Wed, 16 Dec 2015 09:23:27 -0300 Subject: [Freeswitch-users] mod_gsmopen - deadlock tty In-Reply-To: References: Message-ID: I got the problem of using many modems and losing the sync of tty ports. 1.2.3.4 That problem off ussd and another of sms I found too. I'm developer, and c programmer, Maybe we can work together to get best results. Em quarta-feira, 16 de dezembro de 2015, Shabbir abbasi < shabbirabbasi92 at gmail.com> escreveu: > "It's working fine? no calls stuck after you unplug/plug modem? > " > Yes it is working fine ; > i have set gsmopen_serial_sync_period=1 in gsmopen.conf due to this if i > unplug modem then it is marked as disconnected and hangsup the call > and after this discovery thread wakes up and try to find device after > every 30 second if device found then it starts serial monitor thread and > exits and it is not effects on other modems i have tried many times to > unplug modem during calls and after calls but they discovered fine here, > > On Wed, Dec 16, 2015 at 9:14 AM, Shabbir abbasi > wrote: > >> i am still working on it , and i found problums in my work and corrected >> it like in previus commit i was found that when i sends a ussd commands to >> a disconnected modem then cli gets hanged due to there was no check >> whethere modem is disconnected or connected,now i have added a check to >> check status connected or not, >> >> "How many modems are you using?" >> i am just playing with it with only two modems,i am not a Developer just >> trying to learn, i am using centos 7 64 bit, >> my system is not in production , just for experimental, >> and Discovery function in centos working fine >> >> >> On Tue, Dec 15, 2015 at 9:09 PM, Luiz Fernando Softov < >> fernando at softov.com.br >> > wrote: >> >>> My bad, i looked better and see that you have made a discovery function. >>> >>> How many modems are you using? >>> How many calls simultaneous? >>> It's working fine? no calls stuck after you unplug/plug modem? >>> >>> I have found errors in source (master). And have made a lot a tests, >>> like: >>> unplug a modem in a middle of call >>> - try to make a call with a modem that no support voice >>> - send a sms at the same time you made a call >>> - receive a call from modem A and route to modem B >>> >>> There is more tests that i have made, and made changes to correct it. >>> >>> Anyway, since i use xml_curl to grab the attached modems, and some >>> modems can be removed/dettached or just have failure of power supply i >>> reload/dettached/remove in according with the system/user interaction. >>> >>> And, that find_ttyusb_devices, don't work in FreeBSD, witch is the SO >>> that i use *i can't user another system, i have made a lot of modifications >>> in kernel and have a complete custom system based on that called BrbOS, >>> with kernel encryption, custom drivers and other things. >>> >>> I make the control of calls using event_socket, and make custom >>> routes according with the time, cost, user, configuration, usage, >>> portability, destination... >>> >>> I need the system working that way, receive events when a modem cannot >>> make calls, and control the modem to reload/attach when i need. >>> So, because of it i create a daemon that i can control and know when a >>> modem changes. >>> >>> I have found, in freeBSD and debian, a commom problem >>> >>> Its like, when i start the system for the first time >>> >>> Lets consider this >>> ModemA (MA) - (ttyU0, ttyU1, ttyU2, ttyU3) >>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>> ModemC (MC) - (ttyU8, ttyU9, ttyU10) >>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>> >>> >>> MA was unplugged/have power supply problem >>> >>> ModemA (MA) - >>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>> ModemC (MC) - (ttyU8, ttyU9, ttyU10) >>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>> >>> >>> MC was unplugged/have power supply problem >>> >>> ModemA (MA) - >>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>> ModemC (MC) - >>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>> >>> MC was plugged/redicovered >>> >>> ModemA (MA) - >>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>> >>> MA was plugged/redicovered >>> >>> ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) >>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>> >>> As you see, sometimes the modems don't get the tty sequence 1.2.3.4. >>> They get the sequence of free tty ports >>> And, it's just in this test, when i have modems with 4/3 ttys >>> Sometimes, the modem just RESET, and the tty was not free yet, so the >>> modem jump a number in sequence >>> >>> >>> MD was unplugged/have power supply problem >>> >>> ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) >>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>> ModemD (MD) - >>> >>> >>> MD was on, but ttyU12 still oppened by FreeSwitch (mod_gsmopen) >>> >>> ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) >>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>> ModemD (MD) - (ttyU11, ttyU13, ttyU14) >>> >>> >>> As you see, the discovery will not work sometimes, you need to change to >>> get all ttyports >>> not getting as (ttyFOUND + 1) and (ttyFOUND + 2) >>> >>> >>> And, like i said before, if you wan't to made changes i'm able to help >>> or to rewrite the module, just need someone to help >>> If you wan't, send me a e-mail or just reply here >>> >>> 2015-12-08 9:09 GMT-03:00 Shabbir abbasi >> >: >>> >>>> 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 < >>>>>> gmaruzz at gmail.com >>>>>> > 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 < >>>>>>>> fernando at softov.com.br >>>>>>>> >: >>>>>>>> >>>>>>>>> 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 >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/8830e58f/attachment-0001.html From shabbirabbasi92 at gmail.com Wed Dec 16 16:17:03 2015 From: shabbirabbasi92 at gmail.com (Shabbir abbasi) Date: Wed, 16 Dec 2015 18:17:03 +0500 Subject: [Freeswitch-users] mod_gsmopen - deadlock tty In-Reply-To: References: Message-ID: today i have solved about sms and ussd problem and aded a check in ussd and sms section to check status of dongle connected or not if connected then send ussd or sms otherwise display that dongle is not connected ,and got success; and commited today you can check that my work on https://freeswitch.org/stash/users/shabbirabbasi92/repos/freeswitch/diff/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp?until=3b538d0c92f79c391c7eb2777f1d8fa37205c549&at=refs%2Fheads%2Ffeature%2FFS-8626-auto-reconnect-if-dongle-disconnected On Wed, Dec 16, 2015 at 5:23 PM, Luiz Fernando Softov < fernando at softov.com.br> wrote: > I got the problem of using many modems and losing the sync of tty ports. > 1.2.3.4 > > That problem off ussd and another of sms I found too. > > I'm developer, and c programmer, > > Maybe we can work together to get best results. > > Em quarta-feira, 16 de dezembro de 2015, Shabbir abbasi < > shabbirabbasi92 at gmail.com> escreveu: > >> "It's working fine? no calls stuck after you unplug/plug modem? >> " >> Yes it is working fine ; >> i have set gsmopen_serial_sync_period=1 in gsmopen.conf due to this if >> i unplug modem then it is marked as disconnected and hangsup the call >> and after this discovery thread wakes up and try to find device after >> every 30 second if device found then it starts serial monitor thread and >> exits and it is not effects on other modems i have tried many times to >> unplug modem during calls and after calls but they discovered fine here, >> >> On Wed, Dec 16, 2015 at 9:14 AM, Shabbir abbasi < >> shabbirabbasi92 at gmail.com> wrote: >> >>> i am still working on it , and i found problums in my work and corrected >>> it like in previus commit i was found that when i sends a ussd commands to >>> a disconnected modem then cli gets hanged due to there was no check >>> whethere modem is disconnected or connected,now i have added a check to >>> check status connected or not, >>> >>> "How many modems are you using?" >>> i am just playing with it with only two modems,i am not a Developer just >>> trying to learn, i am using centos 7 64 bit, >>> my system is not in production , just for experimental, >>> and Discovery function in centos working fine >>> >>> >>> On Tue, Dec 15, 2015 at 9:09 PM, Luiz Fernando Softov < >>> fernando at softov.com.br> wrote: >>> >>>> My bad, i looked better and see that you have made a discovery function. >>>> >>>> How many modems are you using? >>>> How many calls simultaneous? >>>> It's working fine? no calls stuck after you unplug/plug modem? >>>> >>>> I have found errors in source (master). And have made a lot a tests, >>>> like: >>>> unplug a modem in a middle of call >>>> - try to make a call with a modem that no support voice >>>> - send a sms at the same time you made a call >>>> - receive a call from modem A and route to modem B >>>> >>>> There is more tests that i have made, and made changes to correct it. >>>> >>>> Anyway, since i use xml_curl to grab the attached modems, and some >>>> modems can be removed/dettached or just have failure of power supply i >>>> reload/dettached/remove in according with the system/user interaction. >>>> >>>> And, that find_ttyusb_devices, don't work in FreeBSD, witch is the SO >>>> that i use *i can't user another system, i have made a lot of modifications >>>> in kernel and have a complete custom system based on that called BrbOS, >>>> with kernel encryption, custom drivers and other things. >>>> >>>> I make the control of calls using event_socket, and make custom >>>> routes according with the time, cost, user, configuration, usage, >>>> portability, destination... >>>> >>>> I need the system working that way, receive events when a modem cannot >>>> make calls, and control the modem to reload/attach when i need. >>>> So, because of it i create a daemon that i can control and know when a >>>> modem changes. >>>> >>>> I have found, in freeBSD and debian, a commom problem >>>> >>>> Its like, when i start the system for the first time >>>> >>>> Lets consider this >>>> ModemA (MA) - (ttyU0, ttyU1, ttyU2, ttyU3) >>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>> ModemC (MC) - (ttyU8, ttyU9, ttyU10) >>>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>>> >>>> >>>> MA was unplugged/have power supply problem >>>> >>>> ModemA (MA) - >>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>> ModemC (MC) - (ttyU8, ttyU9, ttyU10) >>>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>>> >>>> >>>> MC was unplugged/have power supply problem >>>> >>>> ModemA (MA) - >>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>> ModemC (MC) - >>>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>>> >>>> MC was plugged/redicovered >>>> >>>> ModemA (MA) - >>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>>> >>>> MA was plugged/redicovered >>>> >>>> ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) >>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>>> >>>> As you see, sometimes the modems don't get the tty sequence 1.2.3.4. >>>> They get the sequence of free tty ports >>>> And, it's just in this test, when i have modems with 4/3 ttys >>>> Sometimes, the modem just RESET, and the tty was not free yet, so the >>>> modem jump a number in sequence >>>> >>>> >>>> MD was unplugged/have power supply problem >>>> >>>> ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) >>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>>> ModemD (MD) - >>>> >>>> >>>> MD was on, but ttyU12 still oppened by FreeSwitch (mod_gsmopen) >>>> >>>> ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) >>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>>> ModemD (MD) - (ttyU11, ttyU13, ttyU14) >>>> >>>> >>>> As you see, the discovery will not work sometimes, you need to change >>>> to get all ttyports >>>> not getting as (ttyFOUND + 1) and (ttyFOUND + 2) >>>> >>>> >>>> And, like i said before, if you wan't to made changes i'm able to help >>>> or to rewrite the module, just need someone to help >>>> If you wan't, send me a e-mail or just reply here >>>> >>>> 2015-12-08 9:09 GMT-03:00 Shabbir abbasi : >>>> >>>>> 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 < >>>>>>> gmaruzz at gmail.com> 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 < >>>>>>>>> fernando at softov.com.br>: >>>>>>>>> >>>>>>>>>> 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 < >>>>>>>>>>>> gmaruzz at gmail.com>: >>>>>>>>>>>> >>>>>>>>>>>>> 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 >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/f2b9cf47/attachment-0001.html From ashwinrkjain at gmail.com Wed Dec 16 16:55:32 2015 From: ashwinrkjain at gmail.com (Ashwin Jain) Date: Wed, 16 Dec 2015 19:25:32 +0530 Subject: [Freeswitch-users] Who answered the call Message-ID: Hi all, We have implemented call failover using '|' in bridge application. We are using javascript dial plan, and we want to have a callback when one of the user in bridge string answers the call with the data who answered the call. Please help. -- Thanks and Regards, Ashwin Jain -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/f0ce9a2b/attachment.html From mgg at giagnocavo.net Wed Dec 16 18:35:07 2015 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Wed, 16 Dec 2015 15:35:07 +0000 Subject: [Freeswitch-users] Who answered the call In-Reply-To: References: Message-ID: One way: You can set a variable then look it up off the channel. Look at the bridge/originate syntax and how to shove per-session values in. -Michael From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ashwin Jain Sent: Wednesday, 16 December, 2015 7:56 To: FreeSWITCH Users Help Subject: [Freeswitch-users] Who answered the call Hi all, We have implemented call failover using '|' in bridge application. We are using javascript dial plan, and we want to have a callback when one of the user in bridge string answers the call with the data who answered the call. Please help. -- Thanks and Regards, Ashwin Jain -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/1a7e6ad9/attachment.html From fernando at softov.com.br Wed Dec 16 19:03:57 2015 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Wed, 16 Dec 2015 13:03:57 -0300 Subject: [Freeswitch-users] mod_gsmopen - deadlock tty In-Reply-To: References: Message-ID: How many modems are you using in your test? Are they the same model? Can you test with modems of different model, like E160 (u3g) and E303 (umodem)? I figure that if the ports are out of order you will have problems, like i said before. You need to check all ports, but the "audio" port don't accept command, and sometimes that port isn't the sequence like ttyU1 ttyU2 ttyU3 sometimes its like ttyU1 ttyU4 ttyU5 or ttyU2 ttyU3 ttyU7 I made changes in my source like you made, and i was thinking that is solved, but when i'm testing with 10 modems i figure the problem. dev.umodem.0.%pnpinfo: vendor=0x12d1 product=0x1c05 devclass=0x00 devsubclass=0x00 sernum="" release=0x0102 mode=host intclass=0x02 intsubclass=0x02 intprotocol=0xff ttyname=U0 ttyports=1 dev.umodem.0.%parent: uhub5 dev.umodem.0.ttyname: U0 dev.umodem.0.ttyports: 1 dev.umodem.1.%desc: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 3 dev.umodem.1.%driver: umodem dev.umodem.1.%location: bus=0 hubaddr=2 port=1 devaddr=3 interface=1 dev.umodem.1.%pnpinfo: vendor=0x12d1 product=0x1c05 devclass=0x00 devsubclass=0x00 sernum="" release=0x0102 mode=host intclass=0x02 intsubclass=0x02 intprotocol=0xff ttyname=U1 ttyports=1 dev.umodem.1.%parent: uhub5 dev.umodem.1.ttyname: U1 dev.umodem.1.ttyports: 1 dev.umodem.2.%desc: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 3 dev.umodem.2.%driver: umodem dev.umodem.2.%location: bus=0 hubaddr=2 port=1 devaddr=3 interface=2 dev.umodem.2.%pnpinfo: vendor=0x12d1 product=0x1c05 devclass=0x00 devsubclass=0x00 sernum="" release=0x0102 mode=host intclass=0x02 intsubclass=0x02 intprotocol=0xff ttyname=U2 ttyports=1 dev.umodem.2.%parent: uhub5 dev.umodem.2.ttyname: U2 dev.umodem.2.ttyports: 1 dev.umodem.3.%desc: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 7 dev.umodem.3.%driver: umodem dev.umodem.3.%location: bus=0 hubaddr=6 port=1 devaddr=7 interface=0 dev.umodem.3.%pnpinfo: vendor=0x12d1 product=0x1c05 devclass=0x00 devsubclass=0x00 sernum="" release=0x0102 mode=host intclass=0x02 intsubclass=0x02 intprotocol=0xff ttyname=U5 ttyports=1 dev.umodem.3.%parent: uhub7 dev.umodem.3.ttyname: U5 dev.umodem.3.ttyports: 1 dev.umodem.4.%desc: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 7 dev.umodem.4.%driver: umodem dev.umodem.4.%location: bus=0 hubaddr=6 port=1 devaddr=7 interface=1 dev.umodem.4.%pnpinfo: vendor=0x12d1 product=0x1c05 devclass=0x00 devsubclass=0x00 sernum="" release=0x0102 mode=host intclass=0x02 intsubclass=0x02 intprotocol=0xff ttyname=U8 ttyports=1 dev.umodem.4.%parent: uhub7 dev.umodem.4.ttyname: U8 dev.umodem.4.ttyports: 1 dev.umodem.5.%desc: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 7 dev.umodem.5.%driver: umodem dev.umodem.5.%location: bus=0 hubaddr=6 port=1 devaddr=7 interface=2 dev.umodem.5.%pnpinfo: vendor=0x12d1 product=0x1c05 devclass=0x00 devsubclass=0x00 sernum="" release=0x0102 mode=host intclass=0x02 intsubclass=0x02 intprotocol=0xff ttyname=U9 ttyports=1 dev.umodem.5.%parent: uhub7 dev.umodem.5.ttyname: U9 dev.umodem.5.ttyports: 1 As you can see, the tty ports aren't in sequence I'm using libusb to grab info about usb and sysctl to grab dev info then i correlate info and know the correct port * it's a external daemon, that have control of the system like attach/dettach, interface, events, alarms * more like a GUI, to user don't need to make changes in files I don't know if in linux you can make in same way But you need to make more tests, with more modems of different types, call a RESET, make problems like power supply My system need to work that way, because it's dynamically. I have people using with with 32 modems and gateways, with 40 calls simultaneous, and for now it's working fine. Just sometimes the call drops, but i think it's the power supply When occur i get TTY out of sequence, because the time that TTY port is unlocked and closed isn't the same time that the modem arrive and get new TTYs 2015-12-16 10:17 GMT-03:00 Shabbir abbasi : > today i have solved about sms and ussd problem and aded a check in ussd > and sms section to check status of dongle connected or not if connected > then send ussd or sms otherwise display that dongle is not connected ,and > got success; > and commited today you can check that my work on > > https://freeswitch.org/stash/users/shabbirabbasi92/repos/freeswitch/diff/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp?until=3b538d0c92f79c391c7eb2777f1d8fa37205c549&at=refs%2Fheads%2Ffeature%2FFS-8626-auto-reconnect-if-dongle-disconnected > > > On Wed, Dec 16, 2015 at 5:23 PM, Luiz Fernando Softov < > fernando at softov.com.br> wrote: > >> I got the problem of using many modems and losing the sync of tty ports. >> 1.2.3.4 >> >> That problem off ussd and another of sms I found too. >> >> I'm developer, and c programmer, >> >> Maybe we can work together to get best results. >> >> Em quarta-feira, 16 de dezembro de 2015, Shabbir abbasi < >> shabbirabbasi92 at gmail.com> escreveu: >> >>> "It's working fine? no calls stuck after you unplug/plug modem? >>> " >>> Yes it is working fine ; >>> i have set gsmopen_serial_sync_period=1 in gsmopen.conf due to this if >>> i unplug modem then it is marked as disconnected and hangsup the call >>> and after this discovery thread wakes up and try to find device after >>> every 30 second if device found then it starts serial monitor thread and >>> exits and it is not effects on other modems i have tried many times to >>> unplug modem during calls and after calls but they discovered fine here, >>> >>> On Wed, Dec 16, 2015 at 9:14 AM, Shabbir abbasi < >>> shabbirabbasi92 at gmail.com> wrote: >>> >>>> i am still working on it , and i found problums in my work and >>>> corrected it like in previus commit i was found that when i sends a ussd >>>> commands to a disconnected modem then cli gets hanged due to there was no >>>> check whethere modem is disconnected or connected,now i have added a check >>>> to check status connected or not, >>>> >>>> "How many modems are you using?" >>>> i am just playing with it with only two modems,i am not a Developer >>>> just trying to learn, i am using centos 7 64 bit, >>>> my system is not in production , just for experimental, >>>> and Discovery function in centos working fine >>>> >>>> >>>> On Tue, Dec 15, 2015 at 9:09 PM, Luiz Fernando Softov < >>>> fernando at softov.com.br> wrote: >>>> >>>>> My bad, i looked better and see that you have made a discovery >>>>> function. >>>>> >>>>> How many modems are you using? >>>>> How many calls simultaneous? >>>>> It's working fine? no calls stuck after you unplug/plug modem? >>>>> >>>>> I have found errors in source (master). And have made a lot a tests, >>>>> like: >>>>> unplug a modem in a middle of call >>>>> - try to make a call with a modem that no support voice >>>>> - send a sms at the same time you made a call >>>>> - receive a call from modem A and route to modem B >>>>> >>>>> There is more tests that i have made, and made changes to correct it. >>>>> >>>>> Anyway, since i use xml_curl to grab the attached modems, and some >>>>> modems can be removed/dettached or just have failure of power supply i >>>>> reload/dettached/remove in according with the system/user interaction. >>>>> >>>>> And, that find_ttyusb_devices, don't work in FreeBSD, witch is the SO >>>>> that i use *i can't user another system, i have made a lot of modifications >>>>> in kernel and have a complete custom system based on that called BrbOS, >>>>> with kernel encryption, custom drivers and other things. >>>>> >>>>> I make the control of calls using event_socket, and make custom >>>>> routes according with the time, cost, user, configuration, usage, >>>>> portability, destination... >>>>> >>>>> I need the system working that way, receive events when a modem cannot >>>>> make calls, and control the modem to reload/attach when i need. >>>>> So, because of it i create a daemon that i can control and know when a >>>>> modem changes. >>>>> >>>>> I have found, in freeBSD and debian, a commom problem >>>>> >>>>> Its like, when i start the system for the first time >>>>> >>>>> Lets consider this >>>>> ModemA (MA) - (ttyU0, ttyU1, ttyU2, ttyU3) >>>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>>> ModemC (MC) - (ttyU8, ttyU9, ttyU10) >>>>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>>>> >>>>> >>>>> MA was unplugged/have power supply problem >>>>> >>>>> ModemA (MA) - >>>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>>> ModemC (MC) - (ttyU8, ttyU9, ttyU10) >>>>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>>>> >>>>> >>>>> MC was unplugged/have power supply problem >>>>> >>>>> ModemA (MA) - >>>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>>> ModemC (MC) - >>>>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>>>> >>>>> MC was plugged/redicovered >>>>> >>>>> ModemA (MA) - >>>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>>>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>>>> >>>>> MA was plugged/redicovered >>>>> >>>>> ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) >>>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>>>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>>>> >>>>> As you see, sometimes the modems don't get the tty sequence 1.2.3.4. >>>>> They get the sequence of free tty ports >>>>> And, it's just in this test, when i have modems with 4/3 ttys >>>>> Sometimes, the modem just RESET, and the tty was not free yet, so the >>>>> modem jump a number in sequence >>>>> >>>>> >>>>> MD was unplugged/have power supply problem >>>>> >>>>> ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) >>>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>>>> ModemD (MD) - >>>>> >>>>> >>>>> MD was on, but ttyU12 still oppened by FreeSwitch (mod_gsmopen) >>>>> >>>>> ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) >>>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>>>> ModemD (MD) - (ttyU11, ttyU13, ttyU14) >>>>> >>>>> >>>>> As you see, the discovery will not work sometimes, you need to change >>>>> to get all ttyports >>>>> not getting as (ttyFOUND + 1) and (ttyFOUND + 2) >>>>> >>>>> >>>>> And, like i said before, if you wan't to made changes i'm able to help >>>>> or to rewrite the module, just need someone to help >>>>> If you wan't, send me a e-mail or just reply here >>>>> >>>>> 2015-12-08 9:09 GMT-03:00 Shabbir abbasi : >>>>> >>>>>> 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 < >>>>>>>> gmaruzz at gmail.com> 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 < >>>>>>>>>> fernando at softov.com.br>: >>>>>>>>>> >>>>>>>>>>> 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 < >>>>>>>>>>> gmaruzz at gmail.com>: >>>>>>>>>>> >>>>>>>>>>>> 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 < >>>>>>>>>>>>> gmaruzz at gmail.com>: >>>>>>>>>>>>> >>>>>>>>>>>>>> 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 >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/7ec20d17/attachment-0001.html From fernando at softov.com.br Wed Dec 16 19:10:48 2015 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Wed, 16 Dec 2015 13:10:48 -0300 Subject: [Freeswitch-users] mod_gsmopen - deadlock tty In-Reply-To: References: Message-ID: There is prints of the interface i said before http://wiki.brbyte.com/images/8/81/VoiprAppDispositivosModem.png http://wiki.brbyte.com/images/c/cc/VoiprAppDispositivosModemInfo.png http://wiki.brbyte.com/images/9/94/VoiprAppDispositivosModemAlarm.png http://wiki.brbyte.com/images/a/a0/VoiprAppDispositivosModemUSSD.png http://wiki.brbyte.com/images/6/63/VoiprAppDispositivosModemSMS.png 2015-12-16 10:17 GMT-03:00 Shabbir abbasi : > today i have solved about sms and ussd problem and aded a check in ussd > and sms section to check status of dongle connected or not if connected > then send ussd or sms otherwise display that dongle is not connected ,and > got success; > and commited today you can check that my work on > > https://freeswitch.org/stash/users/shabbirabbasi92/repos/freeswitch/diff/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp?until=3b538d0c92f79c391c7eb2777f1d8fa37205c549&at=refs%2Fheads%2Ffeature%2FFS-8626-auto-reconnect-if-dongle-disconnected > > > On Wed, Dec 16, 2015 at 5:23 PM, Luiz Fernando Softov < > fernando at softov.com.br> wrote: > >> I got the problem of using many modems and losing the sync of tty ports. >> 1.2.3.4 >> >> That problem off ussd and another of sms I found too. >> >> I'm developer, and c programmer, >> >> Maybe we can work together to get best results. >> >> Em quarta-feira, 16 de dezembro de 2015, Shabbir abbasi < >> shabbirabbasi92 at gmail.com> escreveu: >> >>> "It's working fine? no calls stuck after you unplug/plug modem? >>> " >>> Yes it is working fine ; >>> i have set gsmopen_serial_sync_period=1 in gsmopen.conf due to this if >>> i unplug modem then it is marked as disconnected and hangsup the call >>> and after this discovery thread wakes up and try to find device after >>> every 30 second if device found then it starts serial monitor thread and >>> exits and it is not effects on other modems i have tried many times to >>> unplug modem during calls and after calls but they discovered fine here, >>> >>> On Wed, Dec 16, 2015 at 9:14 AM, Shabbir abbasi < >>> shabbirabbasi92 at gmail.com> wrote: >>> >>>> i am still working on it , and i found problums in my work and >>>> corrected it like in previus commit i was found that when i sends a ussd >>>> commands to a disconnected modem then cli gets hanged due to there was no >>>> check whethere modem is disconnected or connected,now i have added a check >>>> to check status connected or not, >>>> >>>> "How many modems are you using?" >>>> i am just playing with it with only two modems,i am not a Developer >>>> just trying to learn, i am using centos 7 64 bit, >>>> my system is not in production , just for experimental, >>>> and Discovery function in centos working fine >>>> >>>> >>>> On Tue, Dec 15, 2015 at 9:09 PM, Luiz Fernando Softov < >>>> fernando at softov.com.br> wrote: >>>> >>>>> My bad, i looked better and see that you have made a discovery >>>>> function. >>>>> >>>>> How many modems are you using? >>>>> How many calls simultaneous? >>>>> It's working fine? no calls stuck after you unplug/plug modem? >>>>> >>>>> I have found errors in source (master). And have made a lot a tests, >>>>> like: >>>>> unplug a modem in a middle of call >>>>> - try to make a call with a modem that no support voice >>>>> - send a sms at the same time you made a call >>>>> - receive a call from modem A and route to modem B >>>>> >>>>> There is more tests that i have made, and made changes to correct it. >>>>> >>>>> Anyway, since i use xml_curl to grab the attached modems, and some >>>>> modems can be removed/dettached or just have failure of power supply i >>>>> reload/dettached/remove in according with the system/user interaction. >>>>> >>>>> And, that find_ttyusb_devices, don't work in FreeBSD, witch is the SO >>>>> that i use *i can't user another system, i have made a lot of modifications >>>>> in kernel and have a complete custom system based on that called BrbOS, >>>>> with kernel encryption, custom drivers and other things. >>>>> >>>>> I make the control of calls using event_socket, and make custom >>>>> routes according with the time, cost, user, configuration, usage, >>>>> portability, destination... >>>>> >>>>> I need the system working that way, receive events when a modem cannot >>>>> make calls, and control the modem to reload/attach when i need. >>>>> So, because of it i create a daemon that i can control and know when a >>>>> modem changes. >>>>> >>>>> I have found, in freeBSD and debian, a commom problem >>>>> >>>>> Its like, when i start the system for the first time >>>>> >>>>> Lets consider this >>>>> ModemA (MA) - (ttyU0, ttyU1, ttyU2, ttyU3) >>>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>>> ModemC (MC) - (ttyU8, ttyU9, ttyU10) >>>>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>>>> >>>>> >>>>> MA was unplugged/have power supply problem >>>>> >>>>> ModemA (MA) - >>>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>>> ModemC (MC) - (ttyU8, ttyU9, ttyU10) >>>>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>>>> >>>>> >>>>> MC was unplugged/have power supply problem >>>>> >>>>> ModemA (MA) - >>>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>>> ModemC (MC) - >>>>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>>>> >>>>> MC was plugged/redicovered >>>>> >>>>> ModemA (MA) - >>>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>>>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>>>> >>>>> MA was plugged/redicovered >>>>> >>>>> ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) >>>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>>>> ModemD (MD) - (ttyU11, ttyU12, ttyU13) >>>>> >>>>> As you see, sometimes the modems don't get the tty sequence 1.2.3.4. >>>>> They get the sequence of free tty ports >>>>> And, it's just in this test, when i have modems with 4/3 ttys >>>>> Sometimes, the modem just RESET, and the tty was not free yet, so the >>>>> modem jump a number in sequence >>>>> >>>>> >>>>> MD was unplugged/have power supply problem >>>>> >>>>> ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) >>>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>>>> ModemD (MD) - >>>>> >>>>> >>>>> MD was on, but ttyU12 still oppened by FreeSwitch (mod_gsmopen) >>>>> >>>>> ModemA (MA) - (ttyU3, ttyU8, ttyU9, ttyU10) >>>>> ModemB (MB) - (ttyU4, ttyU5, ttyU6, ttyU7) >>>>> ModemC (MC) - (ttyU0, ttyU1, ttyU2) >>>>> ModemD (MD) - (ttyU11, ttyU13, ttyU14) >>>>> >>>>> >>>>> As you see, the discovery will not work sometimes, you need to change >>>>> to get all ttyports >>>>> not getting as (ttyFOUND + 1) and (ttyFOUND + 2) >>>>> >>>>> >>>>> And, like i said before, if you wan't to made changes i'm able to help >>>>> or to rewrite the module, just need someone to help >>>>> If you wan't, send me a e-mail or just reply here >>>>> >>>>> 2015-12-08 9:09 GMT-03:00 Shabbir abbasi : >>>>> >>>>>> 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 < >>>>>>>> gmaruzz at gmail.com> 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 < >>>>>>>>>> fernando at softov.com.br>: >>>>>>>>>> >>>>>>>>>>> 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 < >>>>>>>>>>> gmaruzz at gmail.com>: >>>>>>>>>>> >>>>>>>>>>>> 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 < >>>>>>>>>>>>> gmaruzz at gmail.com>: >>>>>>>>>>>>> >>>>>>>>>>>>>> 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 >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/0014055b/attachment-0001.html From krice at freeswitch.org Wed Dec 16 19:51:41 2015 From: krice at freeswitch.org (Ken Rice) Date: Wed, 16 Dec 2015 16:51:41 +0000 Subject: [Freeswitch-users] =?utf-8?q?FreeSWITCH_Week_in_Review_=28Master_?= =?utf-8?q?Branch=29_December_5th_=E2=80=93_December_12th?= Message-ID: <5671969d94b11_2c9b52d334780b@resque-worker.8.mail> New Post on freeswitch.org from Kathleen King check it out at http://ift.tt/1P8dyo3 FreeSWITCH Week in Review (Master Branch) December 5th ? December 12th This week the verto communicator had some new updates to the administrator menu and the core added a new origination_audio_mode variable. Join us?Wednesdays at 12:00 CT for some more FreeSWITCH fun! This week we have Italo Rossi and the Evolux call center team! And, head over to freeswitch.com to learn more about FreeSWITCH support. New features that were added: FS-8616 [verto_communicator] A new menu for moderator, added gain buttons, and removed the 3-dot-button, moving its behavior to member-name div FS-8632 [core] Add origination_audio_mode originate variable with options for sendonly, recvonly or sendrecv Improvements in build system, cross platform support, and packaging: FS-8293 [verto] Add quality level 0 to conference (default is 1) and fix some logic in auto bandwidth The following bugs were squashed: FS-8625 [core] Fixed a segfault caused by an external incoming call from Google Voice. FS-8642 [core] Fixed CF_VIDEO_READY being set on non-video calls FS-8603 [verto_communicator] Added device validation to prevent lost microphones after reset FS-8640 [verto_communicator] Don?t clear conference member reservation id on members that don?t have a reservation ID FS-8633 [mod_verto] Fix for the first verto to join a conference does not get ?conference-livearray-join? event FS-8621 [mod_av] Fixed H264 HD1080P video quality issues FS-8631 [mod_db] Updated the regex to allow DSN to match the rest of FS code FS-8643 [mod_sofia] Fixed some memory leaks ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/41820bc0/attachment.html From rtreleaven at bunnykick.ca Wed Dec 16 19:59:48 2015 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Wed, 16 Dec 2015 11:59:48 -0500 Subject: [Freeswitch-users] FreeSWITCH vs Asterisk on Reddit... In-Reply-To: References: Message-ID: To paraphrase the Rick Masters from the movie "To Live and Die in L. A." "...if you can't come up with the front money you're not for real." On Wed, Dec 16, 2015 at 12:37 AM, chris wrote: > about on par with this one which was interesting: > > > https://www.reddit.com/r/freeswitch/comments/3o5acr/i_failed_with_freeswitch/ > > On Tue, Dec 15, 2015 at 6:12 PM, Brian West wrote: > >> Interesting thread... >> >> https://www.reddit.com/r/VOIP/comments/3wy9h8/freeswitch_vs_asterisk/ >> >> Everyone should check it out. >> >> 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/8e10f4b1/attachment.html From ashwinrkjain at gmail.com Wed Dec 16 21:58:40 2015 From: ashwinrkjain at gmail.com (Ashwin Jain) Date: Thu, 17 Dec 2015 00:28:40 +0530 Subject: [Freeswitch-users] Who answered the call In-Reply-To: References: Message-ID: Thanks Micheal for the help. On Wed, Dec 16, 2015 at 9:05 PM, Michael Giagnocavo wrote: > One way: You can set a variable then look it up off the channel. Look at > the bridge/originate syntax and how to shove per-session values in. > > > > -Michael > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Ashwin Jain > *Sent:* Wednesday, 16 December, 2015 7:56 > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] Who answered the call > > > > Hi all, > > > > We have implemented call failover using '|' in bridge application. We are > using javascript dial plan, and we want to have a callback when one of the > user in bridge string answers the call with the data who answered the call. > > > > Please help. > > > > -- > > Thanks and Regards, > Ashwin Jain > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Thanks and Regards, Ashwin Jain -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151217/365fca1f/attachment.html From lmorley at neny.cslimits.net Wed Dec 16 23:57:27 2015 From: lmorley at neny.cslimits.net (Larry Morley) Date: Wed, 16 Dec 2015 15:57:27 -0500 Subject: [Freeswitch-users] FreeSWITCH vs Asterisk on Reddit... In-Reply-To: <51f601d137c9$ae032190$0a0964b0$@freeswitch.org> References: <51f601d137c9$ae032190$0a0964b0$@freeswitch.org> Message-ID: Regarding this portion of Ken's comment in particular: "... people think that before there is Free in the name or that it is open source, that the developers of the project are doing this for free. ..." That attitude by no means applies to open source software alone; it's been my experience that you'll most certainly find the same attitudes and erroneous beliefs in play, in the realms of free works in general - e.g., free or public domain hardware, software, artwork, music, writing, circuit designs. Those attitudes and beliefs are the reason why it's so uncommon for companies to offer free phone based technical support anymore. They're the reason why when you do find phone based tech support, or, for example, report a trouble to a phone company, cable company, ITSP, etc., the response you get is tiered. In the former, they know there's a good chance that the real reason for the call is because the caller didn't want to bother reading the documentation supplied with the product. Which, over time, has resulted in less documentation being supplied with many products - I've witnessed first hand "the bean counters" opting to not spend what they would have in years past to hire technical writers, choosing instead to have an intern or recent hire produce something the company can put in the box. I firmly believe these attitudes stem from a sense of entitlement. And a belief on the part of some that their time, their problem, their existence, is more important than anyone else's. Fortunately, I also know that history is a cyclical beast, and that at some point, the attitudes and fundamental beliefs of perhaps not everyone, but at least of the greater society, will likely return, for a while at any rate - for history is cyclical - to a point where, bearing in mind that only a healthy, whole, grounded person has the ability to give of themselves let alone anything with giving - people will tend to be far more concerned with what they can contribute to others, both now and for posterity - and will choose to act in accordance with their beliefs of their own accord, their own free wills - than with what they themselves can accumulate and with what others can do for them. I welcome the arrival of that day. Larry Morley On Dec 16, 2015 01:20, "Ken Rice" wrote: > > That guy got cranky because he thought that the developers time was free? For some reason people think that before there is Free in the name or that it is open source, that the developers of the project are doing this for free. We all have families to feed. Unlike some open source projects, FreeSWITCH is not funded by millions of dollars of funding, every bit of funding comes from people using FreeSWITCH and contracting the FreeSWITCH Team to help them deploy, configure, or enhance the software. I can?t think of anyone of the supporters that has wanted to keep any code additions out of tree. > > > > So even if you don?t have a huge budget you can still help out Anthony, Brian, Mike, Me, and William. Contact us, let us help with your project. Sure, there may be a charge for that initial consultation, but it also allows us to dedicate time with you to engineer a plan to help you reach your goals. > > > > Want to send a little Christmas or Hanukkah gift to one of the Developers? Visit https://freeswitch.org/core-team/, Our wishlists are there. > > Want to but the dev?s dinner or something Similar? There?s a donate button right on the website. > > > > Want to help in other ways? > > Join the Docs Team and help document things on Confluence. We still have a several hundred pages on the old wiki that need to be clean up, updated and migrated to Confluence. > > Help us sort thru the bugs and test patches and pull requests. Anyone can comment on open tickets and add information? Want to be an official bug marshall? Email me (krice at freeswitch.org) or brian at freeswitch.org off list and we?ll help get you started. > > Join the FreeSWITCH Team via HipChat at https://hipchat.freeswitch.org/ hang out meet the devs and chat with other FreeSWITCH users. > > Like IRC? Check out #FreeSWITCH on freenode.net > > > > Every Little Bit Helps! > > > > K > > > > > > > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto: freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of chris > Sent: Tuesday, December 15, 2015 11:38 PM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] FreeSWITCH vs Asterisk on Reddit... > > > > about on par with this one which was interesting: > > > > https://www.reddit.com/r/freeswitch/comments/3o5acr/i_failed_with_freeswitch/ > > > > On Tue, Dec 15, 2015 at 6:12 PM, Brian West wrote: >> >> Interesting thread... >> >> >> >> https://www.reddit.com/r/VOIP/comments/3wy9h8/freeswitch_vs_asterisk/ >> >> >> >> Everyone should check it out. >> >> >> >> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/e9b1f5ab/attachment-0001.html From ssinyagin at gmail.com Thu Dec 17 01:29:55 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Wed, 16 Dec 2015 23:29:55 +0100 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: I tried to reach Steve on Sunday, but no success so far. On Wed, Dec 16, 2015 at 12:25 AM, Larry Morley wrote: > Stanislav, > > Sometime in the next few days I need to spend some quality time with that > code, out of sheer curiosity if for no other reason. There are a few things > in that code that have me - uh, stumped , to put it mildly. > > Would you do me a favor, and if you do hear back from the author / > maintainer, let me know what he says? Or when he fixes it? > > Thanks , > Larry > > On Dec 14, 2015 3:16 PM, "Stanislav Sinyagin" wrote: >> >> Larry, here it's just a pointer that is 16bit aligned, and is given to a >> function that tries to treat it as an array of 32bit values. See my new >> comment in the ticket. We just need the module author to fix this, as it's >> difficult to figure out why some ifdefs have "x" at the end. >> >> On 14 Dec 2015 19:03, "Larry Morley" wrote: >>> >>> Stanislav, >>> >>> I saw that; what I was saying was it looked to me like the processor was >>> interpreting data as code and it happened to work out that the bit pattern >>> for that data and for LDC/STC are the same. I've run into problems before >>> where misaligned inductions have resulted in an ARM processor either >>> ignoring the improperly aligned portion of an instruction or treating it as >>> data. >>> >>> If you disassemble the code around where it traps, what does the listing >>> show the processor is trying to execute? >>> >>> One additional thought - if you're concerned that calloc() or malloc() is >>> returning a pointer that's improperly aligned, you could always supply >>> your own temporarily and see if the problem goes away. >>> >>> - Larry >>> >>> On Dec 13, 2015 4:19 AM, "Stanislav Sinyagin" >>> wrote: >>>> >>>> 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 >>>>>> > >>>>>> > 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 >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Thu Dec 17 02:46:51 2015 From: lmorley at neny.cslimits.net (Larry Morley) Date: Wed, 16 Dec 2015 18:46:51 -0500 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: Hi, Stanislav, Okay, I'll take a stab at it some time between tonight and tomorrow, then. You still have access to the equipment at Scaleway, right? BTW it shouldn't matter, but, what version of spandsp, what Linux distro, what libc is on that host, etc.? Also, could you send me the output of "gcc -v" and "uname -i"? Thanks. - Larry On Dec 16, 2015 17:31, "Stanislav Sinyagin" wrote: > I tried to reach Steve on Sunday, but no success so far. > > On Wed, Dec 16, 2015 at 12:25 AM, Larry Morley > wrote: > > Stanislav, > > > > Sometime in the next few days I need to spend some quality time with > that > > code, out of sheer curiosity if for no other reason. There are a few > things > > in that code that have me - uh, stumped , to put it mildly. > > > > Would you do me a favor, and if you do hear back from the author / > > maintainer, let me know what he says? Or when he fixes it? > > > > Thanks , > > Larry > > > > On Dec 14, 2015 3:16 PM, "Stanislav Sinyagin" > wrote: > >> > >> Larry, here it's just a pointer that is 16bit aligned, and is given to a > >> function that tries to treat it as an array of 32bit values. See my new > >> comment in the ticket. We just need the module author to fix this, as > it's > >> difficult to figure out why some ifdefs have "x" at the end. > >> > >> On 14 Dec 2015 19:03, "Larry Morley" wrote: > >>> > >>> Stanislav, > >>> > >>> I saw that; what I was saying was it looked to me like the processor > was > >>> interpreting data as code and it happened to work out that the bit > pattern > >>> for that data and for LDC/STC are the same. I've run into problems > before > >>> where misaligned inductions have resulted in an ARM processor either > >>> ignoring the improperly aligned portion of an instruction or treating > it as > >>> data. > >>> > >>> If you disassemble the code around where it traps, what does the > listing > >>> show the processor is trying to execute? > >>> > >>> One additional thought - if you're concerned that calloc() or malloc() > is > >>> returning a pointer that's improperly aligned, you could always > supply > >>> your own temporarily and see if the problem goes away. > >>> > >>> - Larry > >>> > >>> On Dec 13, 2015 4:19 AM, "Stanislav Sinyagin" > >>> wrote: > >>>> > >>>> 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 > >>>>>> > > >>>>>> > 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 > >>>>> > >>>>> > >>>>> > >>>>> > _________________________________________________________________________ > >>>>> Professional FreeSWITCH Consulting Services: > >>>>> consulting at freeswitch.org > >>>>> http://www.freeswitchsolutions.com > >>>>> > >>>>> Official FreeSWITCH Sites > >>>>> http://www.freeswitch.org > >>>>> http://confluence.freeswitch.org > >>>>> http://www.cluecon.com > >>>>> > >>>>> FreeSWITCH-users mailing list > >>>>> FreeSWITCH-users at lists.freeswitch.org > >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>>> > >>>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>>> http://www.freeswitch.org > >>>> > >>>> > >>>> > >>>> > _________________________________________________________________________ > >>>> Professional FreeSWITCH Consulting Services: > >>>> consulting at freeswitch.org > >>>> http://www.freeswitchsolutions.com > >>>> > >>>> Official FreeSWITCH Sites > >>>> http://www.freeswitch.org > >>>> http://confluence.freeswitch.org > >>>> http://www.cluecon.com > >>>> > >>>> FreeSWITCH-users mailing list > >>>> FreeSWITCH-users at lists.freeswitch.org > >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>> http://www.freeswitch.org > >>> > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/5edee97f/attachment-0001.html From mike at jerris.com Thu Dec 17 02:56:11 2015 From: mike at jerris.com (Michael Jerris) Date: Wed, 16 Dec 2015 18:56:11 -0500 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: The spandsp is always the version in our tree, which is not a release version of spandsp. It is maintained by the maintainer of spandsp and is far ahead of any release version by multiple years. Its still not released due to changing api that is being worked on, but will at some point in the future, at which point we will shift to system packages for it. > On Dec 16, 2015, at 6:46 PM, Larry Morley wrote: > > Hi, Stanislav, > > Okay, I'll take a stab at it some time between tonight and tomorrow, then. > > You still have access to the equipment at Scaleway, right? > > BTW it shouldn't matter, but, what version of spandsp, what Linux distro, what libc is on that host, etc.? Also, could you send me the output of "gcc -v" and "uname -i"? Thanks. > > - Larry > > On Dec 16, 2015 17:31, "Stanislav Sinyagin" > wrote: > I tried to reach Steve on Sunday, but no success so far. > > On Wed, Dec 16, 2015 at 12:25 AM, Larry Morley > > wrote: > > Stanislav, > > > > Sometime in the next few days I need to spend some quality time with that > > code, out of sheer curiosity if for no other reason. There are a few things > > in that code that have me - uh, stumped , to put it mildly. > > > > Would you do me a favor, and if you do hear back from the author / > > maintainer, let me know what he says? Or when he fixes it? > > > > Thanks , > > Larry > > > > On Dec 14, 2015 3:16 PM, "Stanislav Sinyagin" > wrote: > >> > >> Larry, here it's just a pointer that is 16bit aligned, and is given to a > >> function that tries to treat it as an array of 32bit values. See my new > >> comment in the ticket. We just need the module author to fix this, as it's > >> difficult to figure out why some ifdefs have "x" at the end. > >> > >> On 14 Dec 2015 19:03, "Larry Morley" > wrote: > >>> > >>> Stanislav, > >>> > >>> I saw that; what I was saying was it looked to me like the processor was > >>> interpreting data as code and it happened to work out that the bit pattern > >>> for that data and for LDC/STC are the same. I've run into problems before > >>> where misaligned inductions have resulted in an ARM processor either > >>> ignoring the improperly aligned portion of an instruction or treating it as > >>> data. > >>> > >>> If you disassemble the code around where it traps, what does the listing > >>> show the processor is trying to execute? > >>> > >>> One additional thought - if you're concerned that calloc() or malloc() is > >>> returning a pointer that's improperly aligned, you could always supply > >>> your own temporarily and see if the problem goes away. > >>> > >>> - Larry > >>> > >>> On Dec 13, 2015 4:19 AM, "Stanislav Sinyagin" > > >>> wrote: > >>>> > >>>> 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 > >>>>>> > > > >>>>>> > 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. > >>>>>> >>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/6b86f01a/attachment.html From ssinyagin at gmail.com Thu Dec 17 03:36:08 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 17 Dec 2015 01:36:08 +0100 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: Hi Larry, yes, I'm actually running my production PBX at scaleway now. I'm just not using fax :) This is spandsp from FreeSWITCH master branch source tree, and the build procedure is described in confluence. It's a standard Debian 8. I have also daily debs for ARM in my private repo. If needed, I can create a new host for your tests. But so far, the source of the error is already clear, and we only need to understand the reasoning why there are "x" at the end of ifdefs in so many places. They seem to be placed there on purpose. On 17 Dec 2015 00:47, "Larry Morley" wrote: > Hi, Stanislav, > > Okay, I'll take a stab at it some time between tonight and tomorrow, then. > > You still have access to the equipment at Scaleway, right? > > BTW it shouldn't matter, but, what version of spandsp, what Linux distro, > what libc is on that host, etc.? Also, could you send me the output of "gcc > -v" and "uname -i"? Thanks. > > - Larry > On Dec 16, 2015 17:31, "Stanislav Sinyagin" wrote: > >> I tried to reach Steve on Sunday, but no success so far. >> >> On Wed, Dec 16, 2015 at 12:25 AM, Larry Morley >> wrote: >> > Stanislav, >> > >> > Sometime in the next few days I need to spend some quality time with >> that >> > code, out of sheer curiosity if for no other reason. There are a few >> things >> > in that code that have me - uh, stumped , to put it mildly. >> > >> > Would you do me a favor, and if you do hear back from the author / >> > maintainer, let me know what he says? Or when he fixes it? >> > >> > Thanks , >> > Larry >> > >> > On Dec 14, 2015 3:16 PM, "Stanislav Sinyagin" >> wrote: >> >> >> >> Larry, here it's just a pointer that is 16bit aligned, and is given to >> a >> >> function that tries to treat it as an array of 32bit values. See my new >> >> comment in the ticket. We just need the module author to fix this, as >> it's >> >> difficult to figure out why some ifdefs have "x" at the end. >> >> >> >> On 14 Dec 2015 19:03, "Larry Morley" >> wrote: >> >>> >> >>> Stanislav, >> >>> >> >>> I saw that; what I was saying was it looked to me like the processor >> was >> >>> interpreting data as code and it happened to work out that the bit >> pattern >> >>> for that data and for LDC/STC are the same. I've run into problems >> before >> >>> where misaligned inductions have resulted in an ARM processor either >> >>> ignoring the improperly aligned portion of an instruction or treating >> it as >> >>> data. >> >>> >> >>> If you disassemble the code around where it traps, what does the >> listing >> >>> show the processor is trying to execute? >> >>> >> >>> One additional thought - if you're concerned that calloc() or >> malloc() is >> >>> returning a pointer that's improperly aligned, you could always >> supply >> >>> your own temporarily and see if the problem goes away. >> >>> >> >>> - Larry >> >>> >> >>> On Dec 13, 2015 4:19 AM, "Stanislav Sinyagin" >> >>> wrote: >> >>>> >> >>>> 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 >> >>>>>> > >> >>>>>> > 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 >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> _________________________________________________________________________ >> >>>>> Professional FreeSWITCH Consulting Services: >> >>>>> consulting at freeswitch.org >> >>>>> http://www.freeswitchsolutions.com >> >>>>> >> >>>>> Official FreeSWITCH Sites >> >>>>> http://www.freeswitch.org >> >>>>> http://confluence.freeswitch.org >> >>>>> http://www.cluecon.com >> >>>>> >> >>>>> FreeSWITCH-users mailing list >> >>>>> FreeSWITCH-users at lists.freeswitch.org >> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>>> >> >>>>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>>> http://www.freeswitch.org >> >>>> >> >>>> >> >>>> >> >>>> >> _________________________________________________________________________ >> >>>> Professional FreeSWITCH Consulting Services: >> >>>> consulting at freeswitch.org >> >>>> http://www.freeswitchsolutions.com >> >>>> >> >>>> Official FreeSWITCH Sites >> >>>> http://www.freeswitch.org >> >>>> http://confluence.freeswitch.org >> >>>> http://www.cluecon.com >> >>>> >> >>>> FreeSWITCH-users mailing list >> >>>> FreeSWITCH-users at lists.freeswitch.org >> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>> http://www.freeswitch.org >> >>> >> >>> >> >>> >> _________________________________________________________________________ >> >>> Professional FreeSWITCH Consulting Services: >> >>> consulting at freeswitch.org >> >>> http://www.freeswitchsolutions.com >> >>> >> >>> Official FreeSWITCH Sites >> >>> http://www.freeswitch.org >> >>> http://confluence.freeswitch.org >> >>> http://www.cluecon.com >> >>> >> >>> FreeSWITCH-users mailing list >> >>> FreeSWITCH-users at lists.freeswitch.org >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> http://www.freeswitch.org >> >> >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151217/db07d6c7/attachment-0001.html From lmorley at neny.cslimits.net Thu Dec 17 06:14:05 2015 From: lmorley at neny.cslimits.net (Larry Morley) Date: Wed, 16 Dec 2015 22:14:05 -0500 Subject: [Freeswitch-users] Debian packages for ARM/MIPS/POWERPC In-Reply-To: References: Message-ID: Mike: thanks; that clears up a few things. Stanislav: if it wouldn't be too much trouble, could you spin up a host that I could use for a few days? If you could set it up so it's a mirror image of yours, that'd be great. Thanks Larry On Dec 16, 2015 19:37, "Stanislav Sinyagin" wrote: > Hi Larry, yes, I'm actually running my production PBX at scaleway now. I'm > just not using fax :) > > This is spandsp from FreeSWITCH master branch source tree, and the build > procedure is described in confluence. It's a standard Debian 8. I have also > daily debs for ARM in my private repo. If needed, I can create a new host > for your tests. > > But so far, the source of the error is already clear, and we only need to > understand the reasoning why there are "x" at the end of ifdefs in so many > places. They seem to be placed there on purpose. > > On 17 Dec 2015 00:47, "Larry Morley" wrote: > >> Hi, Stanislav, >> >> Okay, I'll take a stab at it some time between tonight and tomorrow, then. >> >> You still have access to the equipment at Scaleway, right? >> >> BTW it shouldn't matter, but, what version of spandsp, what Linux distro, >> what libc is on that host, etc.? Also, could you send me the output of "gcc >> -v" and "uname -i"? Thanks. >> >> - Larry >> On Dec 16, 2015 17:31, "Stanislav Sinyagin" wrote: >> >>> I tried to reach Steve on Sunday, but no success so far. >>> >>> On Wed, Dec 16, 2015 at 12:25 AM, Larry Morley >>> wrote: >>> > Stanislav, >>> > >>> > Sometime in the next few days I need to spend some quality time with >>> that >>> > code, out of sheer curiosity if for no other reason. There are a few >>> things >>> > in that code that have me - uh, stumped , to put it mildly. >>> > >>> > Would you do me a favor, and if you do hear back from the author / >>> > maintainer, let me know what he says? Or when he fixes it? >>> > >>> > Thanks , >>> > Larry >>> > >>> > On Dec 14, 2015 3:16 PM, "Stanislav Sinyagin" >>> wrote: >>> >> >>> >> Larry, here it's just a pointer that is 16bit aligned, and is given >>> to a >>> >> function that tries to treat it as an array of 32bit values. See my >>> new >>> >> comment in the ticket. We just need the module author to fix this, as >>> it's >>> >> difficult to figure out why some ifdefs have "x" at the end. >>> >> >>> >> On 14 Dec 2015 19:03, "Larry Morley" >>> wrote: >>> >>> >>> >>> Stanislav, >>> >>> >>> >>> I saw that; what I was saying was it looked to me like the >>> processor was >>> >>> interpreting data as code and it happened to work out that the bit >>> pattern >>> >>> for that data and for LDC/STC are the same. I've run into problems >>> before >>> >>> where misaligned inductions have resulted in an ARM processor either >>> >>> ignoring the improperly aligned portion of an instruction or >>> treating it as >>> >>> data. >>> >>> >>> >>> If you disassemble the code around where it traps, what does the >>> listing >>> >>> show the processor is trying to execute? >>> >>> >>> >>> One additional thought - if you're concerned that calloc() or >>> malloc() is >>> >>> returning a pointer that's improperly aligned, you could always >>> supply >>> >>> your own temporarily and see if the problem goes away. >>> >>> >>> >>> - Larry >>> >>> >>> >>> On Dec 13, 2015 4:19 AM, "Stanislav Sinyagin" >>> >>> wrote: >>> >>>> >>> >>>> 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 >>> >>>>>> > >>> >>>>>> > 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 >>> >>>>> >>> >>>>> >>> >>>>> >>> >>>>> >>> _________________________________________________________________________ >>> >>>>> Professional FreeSWITCH Consulting Services: >>> >>>>> consulting at freeswitch.org >>> >>>>> http://www.freeswitchsolutions.com >>> >>>>> >>> >>>>> Official FreeSWITCH Sites >>> >>>>> http://www.freeswitch.org >>> >>>>> http://confluence.freeswitch.org >>> >>>>> http://www.cluecon.com >>> >>>>> >>> >>>>> FreeSWITCH-users mailing list >>> >>>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>>> >>> >>>>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>>> http://www.freeswitch.org >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> _________________________________________________________________________ >>> >>>> Professional FreeSWITCH Consulting Services: >>> >>>> consulting at freeswitch.org >>> >>>> http://www.freeswitchsolutions.com >>> >>>> >>> >>>> Official FreeSWITCH Sites >>> >>>> http://www.freeswitch.org >>> >>>> http://confluence.freeswitch.org >>> >>>> http://www.cluecon.com >>> >>>> >>> >>>> FreeSWITCH-users mailing list >>> >>>> FreeSWITCH-users at lists.freeswitch.org >>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>>> http://www.freeswitch.org >>> >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> >>> Professional FreeSWITCH Consulting Services: >>> >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> >>> >>> Official FreeSWITCH Sites >>> >>> http://www.freeswitch.org >>> >>> http://confluence.freeswitch.org >>> >>> http://www.cluecon.com >>> >>> >>> >>> FreeSWITCH-users mailing list >>> >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>> http://www.freeswitch.org >>> >> >>> >> >>> >> >>> _________________________________________________________________________ >>> >> Professional FreeSWITCH Consulting Services: >>> >> consulting at freeswitch.org >>> >> http://www.freeswitchsolutions.com >>> >> >>> >> Official FreeSWITCH Sites >>> >> http://www.freeswitch.org >>> >> http://confluence.freeswitch.org >>> >> http://www.cluecon.com >>> >> >>> >> FreeSWITCH-users mailing list >>> >> FreeSWITCH-users at lists.freeswitch.org >>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> http://www.freeswitch.org >>> > >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/3d160bfb/attachment-0001.html From rutu.patel at inextrix.com Thu Dec 17 07:53:55 2015 From: rutu.patel at inextrix.com (Rutu Patel) Date: Thu, 17 Dec 2015 10:23:55 +0530 Subject: [Freeswitch-users] Voicemail with database In-Reply-To: References: Message-ID: Hi Chris, Thanks for the reply.It helped me to solve my query. -- Thanks, Rutu Patel On Mon, Dec 14, 2015 at 11:56 AM, Chris Tunbridge wrote: > Created Date is the created_epoch field, you will have to convert this, > and the read is the read_epoch, both of these fields are Unix Timestamps. > > On Sat, Dec 12, 2015 at 12:36 AM, Rutu Patel > wrote: > >> 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 >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151217/bf1fa6a6/attachment.html From brian at freeswitch.org Thu Dec 17 17:46:46 2015 From: brian at freeswitch.org (Brian West) Date: Thu, 17 Dec 2015 08:46:46 -0600 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> Message-ID: Has anyone had a chance to review the JIRA and the git repo? I've put up some samples of what I think we need to do, I really do want input on this, because once this is done, if you complain about how its done... I'm gonna sigh and say 'see this is why I asked for input'! :) Happy ! Thanks, On Tue, Dec 8, 2015 at 2:24 PM, Brian West wrote: > I've started jotting down some notes: > > > https://docs.google.com/document/d/1Y7IN7wXU28Eu3T4DUDvIwI8O77V2PW5oT-V-7GYPNN8/edit?usp=sharing > > Input anyone? > > On Tue, Dec 8, 2015 at 8:02 AM, Stanislav Sinyagin > wrote: > >> install hipchat application to your desktop or your phone, and login to >> hipchat.freeswitch.org wit your jira account >> >> >> >> On Tue, Dec 8, 2015 at 2:34 PM, Victor Medina > > wrote: >> >>> How do I join? >>> >>> 2015-12-07 12:50 GMT-04:30 Ken Rice : >>> >>>> Unsubscribe instructions are linked in the footer of every email to the >>>> list. >>>> >>>> >>>> >>>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Paul >>>> Klenk >>>> *Sent:* Monday, December 7, 2015 11:02 AM >>>> *To:* FreeSWITCH Users Help >>>> *Subject:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >>>> >>>> >>>> >>>> unsubscribe >>>> >>>> >>>> >>>> On Mon, Dec 7, 2015 at 5:57 PM, Brian West >>>> wrote: >>>> >>>> FreeSWITCHers, >>>> >>>> >>>> >>>> FS-8609 is raised to get a rough outline of a completely new config >>>> sample that will be used in 1.8, So we are reaching out to the community >>>> for input and direction, I have also created a hipchat room FS-8609 on >>>> hipchat.freeswitch.org if you wish to join in. Lets start the >>>> discussion on this topic. >>>> >>>> >>>> >>>> Thanks, >>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> *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 > -- *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/20151217/bd7bff87/attachment-0001.html From carlosj.gf at gmail.com Thu Dec 17 20:21:47 2015 From: carlosj.gf at gmail.com (=?UTF-8?Q?Carlos_Gonz=C3=A1lez_Florido?=) Date: Thu, 17 Dec 2015 18:21:47 +0100 Subject: [Freeswitch-users] Understanding BW test in verto protocol Message-ID: Hello, we are developing an open source, distributed, scalable media processing framework (using excellent Freeswitch as the media core) and we are implementing a Verto protocol proxy as part of it. We have some doubts related to the bandwidth test implemented in 1.6.5. Please tell me if I am correct: 1. First, the client sends "#SPU (number1)" where number1 is the amount of bytes it is going to send next with "#SPB" messages (262.144 in my case). 2. Then it finishes with a "#SPE" message. 3. The server answers then with a #SPU (number2), and seems to send 10x bytes (2.621.440 in my case) What does number2 mean? 4. Then, the server finishes with a "#SPD (number3)". Again, what does number3 mean? More questions would be: - Is it possible to put several (many) of concurrent 'invites' over the same verto connection or you really need to open a new connection for each call? Would it be efficient? - Is it possible to 'insert' a channel into Freeswitch without using any endpoint? (Verto or SIP) I mean, an API for sending an SDP and destination number (over the event socket connection for example) and getting a reply SDP from Freeswitch? Thank you very much in advance, Carlos Gonzalez. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151217/f55cf9d0/attachment.html From luis.daniel.lucio at gmail.com Thu Dec 17 20:24:30 2015 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Thu, 17 Dec 2015 12:24:30 -0500 Subject: [Freeswitch-users] Thread failure with low CPU utilization? In-Reply-To: References: <42d301d1368b$e0ad68b0$a2083a10$@freeswitch.org> <566F18C3.90805@sofnet.com> Message-ID: Just to give more info about this, I had an issue with simultaneous calls and db connection. Seems that adding entries in limit was the bootle neck. ulimit command was used as well. 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-15 16:38 GMT-05:00 Vladislav Ivanov : > I'm using the systemd file from > https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video > > Just calling calls with 10 cps, low duration, should it slowly use the > cpu? It really slowly eats all CPU, then drops all calls, repeats again... > Shouldn't it be 10% cpu, nothing more for the same cps, no logs writing. > Just simple minimal. > > 2015-12-15 22:22 GMT+02:00 Anthony Minessale > : > >> More issues related to resource limits. >> Check your allowed max sessions and sps in your config and any other >> ulimits on the system that you may have too low. >> >> Its wise to have limits low enough that the calls start failing before >> your box does. >> >> >> On Tue, Dec 15, 2015 at 12:15 PM, Vladislav Ivanov >> wrote: >> >>> Hey guys, >>> >>> I have a new problem that is happening with CPU load now. >>> I have been testing freeswitch with sipp, and i'm encountering strange >>> issue with same load. >>> 1st time I test with 10 cps, 5 second duration calls, for just cps load. >>> CPU idle is min idle cpu 10.00/84.67 >>> Then I add CPS by 5, it should be enough power to be 15 cps on the >>> machine when I have idle 84%... >>> But my CPU goes heavily down, more and more down until it goes to 0 and >>> spams: >>> 2015-12-15 20:13:43.199451 [CRIT] mod_sofia.c:4406 Error Creating Session >>> 2015-12-15 20:13:43.259702 [CRIT] mod_sofia.c:4406 Error Creating Session >>> 2015-12-15 20:13:43.279578 [CRIT] mod_sofia.c:4406 Error Creating Session >>> 2015-12-15 20:13:43.299562 [CRIT] mod_sofia.c:4406 Error Creating Session >>> 2015-12-15 20:13:43.299562 [CRIT] mod_sofia.c:4406 Error Creating Session >>> 2015-12-15 20:13:43.399496 [CRIT] mod_sofia.c:4406 Error Creating Session >>> 2015-12-15 20:13:43.419667 [CRIT] mod_sofia.c:4406 Error Creating Session >>> 2015-12-15 20:14:32.819449 [CRIT] mod_sofia.c:4406 Error Creating Session >>> >>> Anything I can do to debug or check why it is causing this? >>> (Same is happening on Centos 6, Debian) >>> OS: "Debian GNU/Linux 8 (jessie) >>> FS: FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) >>> >>> I'm kinda lost at this point... >>> >>> 2015-12-15 19:21 GMT+02:00 Anthony Minessale < >>> anthony.minessale at gmail.com>: >>> >>>> 1000 threads is not really a show stopper =D >>>> That is what the artoo message, it tells you that the new current >>>> thread limit has been auto detected and that is the new max calls you can >>>> handle henceforth. >>>> >>>> >>>> On Tue, Dec 15, 2015 at 5:16 AM, Michael Giagnocavo >>> > wrote: >>>> >>>>> Perhaps write a patch to detect these limits and then CRIT on start if >>>>> they conflict with settings. >>>>> >>>>> >>>>> >>>>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>>>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Vladislav >>>>> Ivanov >>>>> *Sent:* Tuesday, 15 December, 2015 2:15 >>>>> *To:* FreeSWITCH Users Help >>>>> *Subject:* Re: [Freeswitch-users] Thread failure with low CPU >>>>> utilization? >>>>> >>>>> >>>>> >>>>> Hey guys, >>>>> >>>>> Anthony was correct in this case, I ran freeswitch not from root, for >>>>> some reason my /etc/security/limits.conf file line: >>>>> >>>>> * soft nproc 32768 >>>>> >>>>> * hard nproc 32768 >>>>> >>>>> was not propagated on freeswitch user... >>>>> >>>>> Added new line: >>>>> >>>>> freeswitch soft nproc 32768 >>>>> >>>>> freeswitch hard nproc 32768 >>>>> >>>>> and it worked fine from that. >>>>> Thanks to you all! >>>>> >>>>> >>>>> >>>>> 2015-12-14 23:06 GMT+02:00 Anthony Minessale < >>>>> anthony.minessale at gmail.com>: >>>>> >>>>> Are you running FS as root or a regular user, you need to check the >>>>> ulimits of concurrent threads and some boxes have a hard limit of threads, >>>>> its not all tied to CPU usage. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Mon, Dec 14, 2015 at 1:30 PM, Kevin Wormington >>>>> wrote: >>>>> >>>>> This post >>>>> http://unix.stackexchange.com/questions/47595/linux-max-threads-count >>>>> has a simple program to check out how many threads can be created. You >>>>> can run the test program as root and then as FS user and see if it's a >>>>> ulimit type of problem. >>>>> >>>>> On 12/14/2015 01:08 PM, Michael Giagnocavo wrote: >>>>> > Is there a reason to think that CentOS 6 would cause threads to fail >>>>> to >>>>> > spawn? This is basically just calling libapr, which is code from >>>>> like 8 >>>>> > years ago. >>>>> > >>>>> > Vladislav: This means it failed to create a thread >>>>> (switch_thread_create >>>>> > in switch_apr.c). FS generates a ton of threads. The only time I?ve >>>>> seen >>>>> > this was a long time ago on 32-bit Windows, since default stack of >>>>> 1MB >>>>> > means you hit address space limits pretty quickly. But on 64-bit, you >>>>> > should be able to go all out. >>>>> > >>>>> > I?d start by adding some if?d printf?s to check the various things >>>>> that >>>>> > switch_thread_create does and try to pinpoint what is failing. If the >>>>> > libapr call is failing, then you should be able to create a minimal >>>>> > program that just spawns threads and see if that one is able to get >>>>> > 1000+. From there I?d guess troubleshooting is gonna be the same as >>>>> > figuring out why pthread_create fails and that should be generic to >>>>> your >>>>> > system. (Please post if you figure out why.) >>>>> > >>>>> > If other apps are able to spawn and keep thousands of threads and >>>>> just >>>>> > FS isn?t then I guess you?re unlucky? >>>>> > >>>>> > -Michael >>>>> > >>>>> > *From:*freeswitch-users-bounces at lists.freeswitch.org >>>>> > [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of >>>>> > *Giovanni Maruzzelli >>>>> > *Sent:* Monday, 14 December, 2015 10:57 >>>>> > *To:* FreeSWITCH Users Help >>>>> > *Subject:* Re: [Freeswitch-users] Thread failure with low CPU >>>>> utilization? >>>>> > >>>>> > centos 6 is not supported by FreeSWITCH 1.6 ! >>>>> > >>>>> > -giovanni >>>>> > >>>>> > On Mon, Dec 14, 2015 at 5:47 PM, Vladislav Ivanov < >>>>> deforceczt at gmail.com >>>>> > > wrote: >>>>> > >>>>> > Centos 6,latest update. Via init script >>>>> > >>>>> > On 14 Dec 2015 6:25 p.m., "Ken Rice" >>>> > > wrote: >>>>> > >>>>> > A)What platform are you running FreeSWITCH on? (eg: Debian 8 >>>>> etc) >>>>> > >>>>> > b)How are you starting FreeSWITCH? (eg: in the foreground or >>>>> > background with an init script) >>>>> > >>>>> > *From:*freeswitch-users-bounces at lists.freeswitch.org >>>>> > >>>>> > [mailto:freeswitch-users-bounces at lists.freeswitch.org >>>>> > ] *On >>>>> > Behalf Of *Vladislav Ivanov >>>>> > *Sent:* Monday, December 14, 2015 9:47 AM >>>>> > *To:* freeswitch-users at lists.freeswitch.org >>>>> > >>>>> > *Subject:* [Freeswitch-users] Thread failure with low CPU >>>>> >>>>> > utilization? >>>>> > >>>>> > Hello, >>>>> > >>>>> > I have 1.6.5 Freeswitch and I'm trying to test how much >>>>> > lines/cps it can handle on my test machine: >>>>> > >>>>> > CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz x2 (8 cores, 3 >>>>> GHz) >>>>> > RAM: 32GB >>>>> > SSD: 500 GB >>>>> > >>>>> > I'm using call generator to check flood the freeswitch, but >>>>> when >>>>> > FS gets 1k sessions it sends >>>>> > [CRIT] switch_core_session.c:1781 Thread Failure! >>>>> > and the Star Wars quote... But the CPU load is less than 10% >>>>> > >>>>> > Ulimit is as follows: >>>>> > >>>>> > core file size (blocks, -c) 0 >>>>> > >>>>> > data seg size (kbytes, -d) unlimited >>>>> > >>>>> > scheduling priority (-e) 0 >>>>> > >>>>> > file size (blocks, -f) unlimited >>>>> > >>>>> > pending signals (-i) 128330 >>>>> > >>>>> > max locked memory (kbytes, -l) 64 >>>>> > >>>>> > max memory size (kbytes, -m) unlimited >>>>> > >>>>> > open files (-n) 32768 >>>>> > >>>>> > pipe size (512 bytes, -p) 8 >>>>> > >>>>> > POSIX message queues (bytes, -q) 819200 >>>>> > >>>>> > real-time priority (-r) 0 >>>>> > >>>>> > stack size (kbytes, -s) 2048 >>>>> > >>>>> > cpu time (seconds, -t) unlimited >>>>> > >>>>> > max user processes (-u) 32768 >>>>> > >>>>> > virtual memory (kbytes, -v) unlimited >>>>> > >>>>> > file locks (-x) unlimited >>>>> > >>>>> > >>>>> > Server is physical, not virtual, but I dont have the same >>>>> issue >>>>> > with virtual freeswitch. >>>>> > >>>>> > Here is the "status" before the session limit: >>>>> > >>>>> > freeswitch at internal> status >>>>> > >>>>> > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 137 >>>>> > milliseconds, 603 microseconds >>>>> > >>>>> > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z >>>>> > 64bit) is ready >>>>> > >>>>> > 994 session(s) since startup >>>>> > >>>>> > 994 session(s) - peak 994, last 5min 994 >>>>> > >>>>> > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 >>>>> > >>>>> > 10000 session(s) max >>>>> > >>>>> > min idle cpu 10.00/96.77 >>>>> > >>>>> > Current Stack Size/Max 2048K/2048K >>>>> > >>>>> > freeswitch at internal> status >>>>> > >>>>> > UP 0 years, 0 days, 0 hours, 0 minutes, 56 seconds, 370 >>>>> > milliseconds, 877 microseconds >>>>> > >>>>> > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z >>>>> > 64bit) is ready >>>>> > >>>>> > 1003 session(s) since startup >>>>> > >>>>> > 1003 session(s) - peak 1003, last 5min 1003 >>>>> > >>>>> > 40 session(s) per Sec out of max 200, peak 41, last 5min 41 >>>>> > >>>>> > 993 session(s) max >>>>> > >>>>> > min idle cpu 10.00/96.77 >>>>> > >>>>> > Current Stack Size/Max 2048K/2048K >>>>> > >>>>> > freeswitch at internal> 2015-12-14 15:37:37.436968 [CRIT] >>>>> > switch_core_session.c:1781 Thread Failure! >>>>> > >>>>> > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1737 >>>>> > LUKE: I'm hit, but not bad. >>>>> > >>>>> > 2015-12-14 15:37:37.436968 [CRIT] switch_core_session.c:1738 >>>>> > LUKE'S VOICE: Artoo, see what you can do with it. Hang on >>>>> back >>>>> > there.... >>>>> > >>>>> > Green laserfire moves past the beeping little robot as his >>>>> head >>>>> > turns. After a few beeps and a twist of his mechanical arm, >>>>> > >>>>> > Artoo reduces the max sessions to 993 thus, saving the switch >>>>> > from certain doom. >>>>> > >>>>> > Any help with that? Really strange error... >>>>> > >>>>> > >>>>> _________________________________________________________________________ >>>>> > Professional FreeSWITCH Consulting Services: >>>>> >>>>> > consulting at freeswitch.org >>>>> > http://www.freeswitchsolutions.com >>>>> > >>>>> > Official FreeSWITCH Sites >>>>> > http://www.freeswitch.org >>>>> > http://confluence.freeswitch.org >>>>> > http://www.cluecon.com >>>>> > >>>>> > FreeSWITCH-users mailing list >>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>> > >>>>> > >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> > http://www.freeswitch.org >>>>> > >>>>> > >>>>> > >>>>> _________________________________________________________________________ >>>>> > Professional FreeSWITCH Consulting Services: >>>>> > consulting at freeswitch.org >>>>> > http://www.freeswitchsolutions.com >>>>> > >>>>> > Official FreeSWITCH Sites >>>>> > http://www.freeswitch.org >>>>> > http://confluence.freeswitch.org >>>>> > http://www.cluecon.com >>>>> > >>>>> > FreeSWITCH-users mailing list >>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>> > >>>>> >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> > http://www.freeswitch.org >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > -- >>>>> > >>>>> > Sincerely, >>>>> > >>>>> > Giovanni Maruzzelli >>>>> > Cell : +39-347-2665618 >>>>> > >>>>> > >>>>> > >>>>> > >>>>> _________________________________________________________________________ >>>>> > Professional FreeSWITCH Consulting Services: >>>>> > consulting at freeswitch.org >>>>> > http://www.freeswitchsolutions.com >>>>> > >>>>> > Official FreeSWITCH Sites >>>>> > http://www.freeswitch.org >>>>> > http://confluence.freeswitch.org >>>>> > http://www.cluecon.com >>>>> > >>>>> > FreeSWITCH-users mailing list >>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> > http://www.freeswitch.org >>>>> > >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>> >>>>> >>>>> >>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>> http://twitter.com/FreeSWITCH >>>>> >>>>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>>>> * >>>>> >>>>> ClueCon Weekly Development Call >>>>> >>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>> >>>>> >>>>> >>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>> >>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>> >>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>> http://twitter.com/FreeSWITCH >>>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>>> * >>>> >>>> ClueCon Weekly Development Call >>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>> >>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >> >> ? http://freeswitch.org/ ? http://cluecon.com/ ? >> http://twitter.com/FreeSWITCH >> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151217/4df34cb7/attachment-0001.html From spencer at whiteskycommunications.com Thu Dec 17 21:12:28 2015 From: spencer at whiteskycommunications.com (Spencer Thomason) Date: Thu, 17 Dec 2015 18:12:28 +0000 Subject: [Freeswitch-users] Solaris Performance Message-ID: <73725B7E-CCD3-44C6-A651-EDA15910FE8A@whiteskycommunications.com> Hello all, I?m working on getting FreeSWITCH optimized and running well on Solaris. Can anyone using this platform or derivatives please test https://freeswitch.org/jira/browse/FS-8666 I saw a huge jump in performance on SPARC and I?m curious if this should be applied to X86 as well. Thanks! Spencer -- Spencer Thomason Senior Network Engineer WhiteSky Communications [o] 714.786.5356 [c] 714.620.5875 [24x7] 866.755.8593 | support at whiteskycommunications.com [WhiteSky Communications] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151217/a607413d/attachment.html From t.mahe at b-and-c.net Thu Dec 17 21:13:05 2015 From: t.mahe at b-and-c.net (=?UTF-8?Q?Tristan_Mah=c3=a9?=) Date: Thu, 17 Dec 2015 10:13:05 -0800 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> Message-ID: <5672FB31.8060808@b-and-c.net> Hi Brian, For my configs, I'm usually trying to respect the following layout: conf/mods/modscategory/nameofmod conf/core for core config Example: conf/freeswitch.xml conf/core/vars.xml conf/core/switch.conf.xml conf/core/modules.conf.xml conf/mod/dialplans/xml/internal.xml conf/mod/endpoints/sofia/sofia.global.conf conf/mod/endpoints/sofia/sip_profiles/internal.xml My 2 cents... Best, Gled. On 12/17/2015 06:46 AM, Brian West wrote: > Has anyone had a chance to review the JIRA and the git repo? I've put > up some samples of what I think we need to do, I really do want input > on this, because once this is done, if you complain about how its > done... I'm gonna sigh and say 'see this is why I asked for input'! :) > > Happy ! > > Thanks, > > On Tue, Dec 8, 2015 at 2:24 PM, Brian West > wrote: > > I've started jotting down some notes: > > https://docs.google.com/document/d/1Y7IN7wXU28Eu3T4DUDvIwI8O77V2PW5oT-V-7GYPNN8/edit?usp=sharing > > Input anyone? > > On Tue, Dec 8, 2015 at 8:02 AM, Stanislav Sinyagin > > wrote: > > install hipchat application to your desktop or your phone, and > login to hipchat.freeswitch.org > wit your jira account > > > > On Tue, Dec 8, 2015 at 2:34 PM, Victor Medina > > wrote: > > How do I join? > > 2015-12-07 12:50 GMT-04:30 Ken Rice >: > > Unsubscribe instructions are linked in the footer of > every email to the list. > > > > *From:*freeswitch-users-bounces at lists.freeswitch.org > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > ] *On > Behalf Of *Paul Klenk > *Sent:* Monday, December 7, 2015 11:02 AM > *To:* FreeSWITCH Users Help > > > *Subject:* Re: [Freeswitch-users] FreeSWITCH 1.8 New > Configs > > > > unsubscribe > > > > On Mon, Dec 7, 2015 at 5:57 PM, Brian West > > > wrote: > > FreeSWITCHers, > > > > FS-8609 is raised to get a rough outline of a > completely new config sample that will be used in > 1.8, So we are reaching out to the community for > input and direction, I have also created a hipchat > room FS-8609 on hipchat.freeswitch.org > if you wish to > join in. Lets start the discussion on this topic. > > > > Thanks, > > > > -- > > */Brian West/* > brian at freeswitch.org > > */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 > > > > > -- > > */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/20151217/6d63a708/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/20151217/6d63a708/attachment-0001.bin From mike at jerris.com Thu Dec 17 21:24:37 2015 From: mike at jerris.com (Michael Jerris) Date: Thu, 17 Dec 2015 13:24:37 -0500 Subject: [Freeswitch-users] Solaris Performance In-Reply-To: <73725B7E-CCD3-44C6-A651-EDA15910FE8A@whiteskycommunications.com> References: <73725B7E-CCD3-44C6-A651-EDA15910FE8A@whiteskycommunications.com> Message-ID: <57EDCAB0-2312-44D2-A76A-B60D76E50250@jerris.com> Yes please? I?d like to see results on this. > On Dec 17, 2015, at 1:12 PM, Spencer Thomason wrote: > > Hello all, > I?m working on getting FreeSWITCH optimized and running well on Solaris. Can anyone using this platform or derivatives please test > https://freeswitch.org/jira/browse/FS-8666 > > I saw a huge jump in performance on SPARC and I?m curious if this should be applied to X86 as well. > > Thanks! > Spencer > > -- > Spencer Thomason > Senior Network Engineer > WhiteSky Communications > [o] 714.786.5356 > [c] 714.620.5875 > [24x7] 866.755.8593 | support at whiteskycommunications.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/20151217/91b0a3fd/attachment.html From christian.hoene at symonics.com Thu Dec 17 21:35:31 2015 From: christian.hoene at symonics.com (Christian Hoene) Date: Thu, 17 Dec 2015 19:35:31 +0100 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: <5672FB31.8060808@b-and-c.net> References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> <5672FB31.8060808@b-and-c.net> Message-ID: <00bc01d138f9$b5997400$20cc5c00$@symonics.com> Hi all, I like the way Spring boot is doing all the configs: http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config The idea behind it is to be opinionated out of the box, but get out of the way quickly as requirements start to diverge from the defaults. And get rid of txml. But then again, it is wish list time, isn?t it? Enjoy the holidays Christian Von: Tristan Mah? [mailto:t.mahe at b-and-c.net] Gesendet: Donnerstag, 17. Dezember 2015 19:13 An: freeswitch-users at lists.freeswitch.org Betreff: Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs Hi Brian, For my configs, I'm usually trying to respect the following layout: conf/mods/modscategory/nameofmod conf/core for core config Example: conf/freeswitch.xml conf/core/vars.xml conf/core/switch.conf.xml conf/core/modules.conf.xml conf/mod/dialplans/xml/internal.xml conf/mod/endpoints/sofia/sofia.global.conf conf/mod/endpoints/sofia/sip_profiles/internal.xml My 2 cents... Best, Gled. On 12/17/2015 06:46 AM, Brian West wrote: Has anyone had a chance to review the JIRA and the git repo? I've put up some samples of what I think we need to do, I really do want input on this, because once this is done, if you complain about how its done... I'm gonna sigh and say 'see this is why I asked for input'! :) Happy ! Thanks, On Tue, Dec 8, 2015 at 2:24 PM, Brian West > wrote: I've started jotting down some notes: https://docs.google.com/document/d/1Y7IN7wXU28Eu3T4DUDvIwI8O77V2PW5oT-V-7GYPNN8/edit?usp=sharing Input anyone? On Tue, Dec 8, 2015 at 8:02 AM, Stanislav Sinyagin > wrote: install hipchat application to your desktop or your phone, and login to hipchat.freeswitch.org wit your jira account On Tue, Dec 8, 2015 at 2:34 PM, Victor Medina > wrote: How do I join? 2015-12-07 12:50 GMT-04:30 Ken Rice >: Unsubscribe instructions are linked in the footer of every email to the list. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Paul Klenk Sent: Monday, December 7, 2015 11:02 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs unsubscribe On Mon, Dec 7, 2015 at 5:57 PM, Brian West > wrote: FreeSWITCHers, FS-8609 is raised to get a rough outline of a completely new config sample that will be used in 1.8, So we are reaching out to the community for input and direction, I have also created a hipchat room FS-8609 on hipchat.freeswitch.org if you wish to join in. Lets start the discussion on this topic. Thanks, -- Brian West brian at freeswitch.org 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 -- 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/20151217/7427a90e/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 823 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151217/7427a90e/attachment-0001.jpe From ajohnston at alertsolutions.com Thu Dec 17 21:59:02 2015 From: ajohnston at alertsolutions.com (Adam Johnston) Date: Thu, 17 Dec 2015 13:59:02 -0500 Subject: [Freeswitch-users] core dump on playback after "Decode Codec is not initialized!" log message Message-ID: I was going to file a JIRA, but I'm not running on most recent commit of FreeSWITCH. I have not been able to reproduce this issue on-demand, but it has happened sporadically in both 1.4 and as of yesterday 1.7. A FreeSWITCH box will be running any number of calls (I've seen this happen with a handful and with hundreds) and will crash on WAV playback. The second-to-last message in the log file has been: [ERR] switch_core_codec.c:784 Decode Codec is not initialized! in every instance of this failure. Our use case is we originate calls via mod_event_socket and with an inline dialplan that starts spandsp_start_tone_detect (for beep detection) and then plays a playback string of silence followed by one or more WAVs (8-bit u-law). I have not been able to narrow the culprit down to one specific call. In the most recent crash all calls had negotiated to PCMU or PCMA. Any thoughts on how I could reproduce this so I can file a proper bug report? Some more info is below, and I'd be happy to provide any more information I can. info: * Amazon EC2 c4.xlarge instance * Debian 8.2 (jessie) * commit 2cb7188c1733a6524e5852f95bb71f12e0ffcc18 * FreeSWITCH version: 1.7.0+git~20151209T003048Z~2cb7188c17~64bit (git 2cb7188 2015-12-09 00:30:48Z 64bit) stack trace: #0 0x00007fe06a4a3750 in switch_core_session_read_frame (session=0x7fe0259a9078, frame=0x7fdfe0dd6090, flags=1641139939, stream_id=1762346489) at src/switch_core_io.c:501 #1 0x00007fe06a52934a in switch_ivr_play_file (session=0x7fe0259a9078, fh=0x7fdfe0dd6850, file=0x7fdfe0dd6810 "", args=0x7fe0690b45f9 <__lll_unlock_wake_private+25>, args at entry=0x7fdfe0dd6810) at src/switch_ivr_play_say.c:1721 #2 0x00007fe061362343 in playback_function (session=0x7fe0259a9078, data=) at mod_dptools.c:2810 #3 0x00007fe06a49e81a in switch_core_session_exec (session=0x7fe0259a9078, application_interface=0xba4340, arg=0x7fe0259a5170 "silence_stream://1000!718946f17f2b6e4638d510540952d58e.wav!silence_stream://5000") at src/switch_core_session.c:2783 #4 0x00007fe06a49edb8 in switch_core_session_execute_application_get_flags (session=0x0, app=0x7fe0259a5160 "playback", arg=0x7fe0259a5170 "silence_stream://1000!718946f17f2b6e4638d510540952d58e.wav!silence_stream://5000", flags=0x0) at src/switch_core_session.c:2653 #5 0x00007fe06a4a1d42 in switch_core_standard_on_execute (session=) at src/switch_core_state_machine.c:283 #6 switch_core_session_run (session=0x7fe0259a9078) at src/switch_core_state_machine.c:539 #7 0x00007fe06a49c0be in switch_core_session_thread (thread=, obj=0x7fe0259a9078) at src/switch_core_session.c:1629 #8 0x00007fe06a497e5d in switch_core_session_thread_pool_worker (thread=0x7fe0259cdd80, obj=0x0) at src/switch_core_session.c:1692 #9 0x00007fe06a579590 in dummy_worker (opaque=0x7fe0259cdd80) at threadproc/unix/thread.c:151 #10 0x00007fe0699ce0a4 in start_thread (arg=0x7fdfe0dd7700) at pthread_create.c:309 #11 0x00007fe0690a804d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thank you, Adam Johnston -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151217/ea6b033a/attachment.html From anthony.minessale at gmail.com Thu Dec 17 22:17:06 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 17 Dec 2015 13:17:06 -0600 Subject: [Freeswitch-users] core dump on playback after "Decode Codec is not initialized!" log message In-Reply-To: References: Message-ID: Do you have the logs with full debugging enabled so you could take the uuid of the crashed call and compare it to the logs? Maybe also with the SIP trace enabled. On Thu, Dec 17, 2015 at 12:59 PM, Adam Johnston < ajohnston at alertsolutions.com> wrote: > I was going to file a JIRA, but I'm not running on most recent commit of > FreeSWITCH. > > I have not been able to reproduce this issue on-demand, but it has > happened sporadically in both 1.4 and as of yesterday 1.7. > > A FreeSWITCH box will be running any number of calls (I've seen this > happen with a handful and with hundreds) and will crash on WAV playback. > The second-to-last message in the log file has been: > > [ERR] switch_core_codec.c:784 Decode Codec is not initialized! > > in every instance of this failure. > > Our use case is we originate calls via mod_event_socket and with an inline > dialplan that starts spandsp_start_tone_detect (for beep detection) and > then plays a playback string of silence followed by one or more WAVs (8-bit > u-law). I have not been able to narrow the culprit down to one specific > call. In the most recent crash all calls had negotiated to PCMU or PCMA. > > Any thoughts on how I could reproduce this so I can file a proper bug > report? Some more info is below, and I'd be happy to provide any more > information I can. > > info: > > * Amazon EC2 c4.xlarge instance > * Debian 8.2 (jessie) > * commit 2cb7188c1733a6524e5852f95bb71f12e0ffcc18 > * FreeSWITCH version: 1.7.0+git~20151209T003048Z~2cb7188c17~64bit (git > 2cb7188 2015-12-09 00:30:48Z 64bit) > > stack trace: > #0 0x00007fe06a4a3750 in switch_core_session_read_frame > (session=0x7fe0259a9078, frame=0x7fdfe0dd6090, flags=1641139939, > stream_id=1762346489) at src/switch_core_io.c:501 > #1 0x00007fe06a52934a in switch_ivr_play_file (session=0x7fe0259a9078, > fh=0x7fdfe0dd6850, file=0x7fdfe0dd6810 "", args=0x7fe0690b45f9 > <__lll_unlock_wake_private+25>, args at entry=0x7fdfe0dd6810) at > src/switch_ivr_play_say.c:1721 > #2 0x00007fe061362343 in playback_function (session=0x7fe0259a9078, > data=) at mod_dptools.c:2810 > #3 0x00007fe06a49e81a in switch_core_session_exec > (session=0x7fe0259a9078, application_interface=0xba4340, arg=0x7fe0259a5170 > "silence_stream://1000!718946f17f2b6e4638d510540952d58e.wav!silence_stream://5000") > at src/switch_core_session.c:2783 > #4 0x00007fe06a49edb8 in > switch_core_session_execute_application_get_flags (session=0x0, > app=0x7fe0259a5160 "playback", arg=0x7fe0259a5170 > "silence_stream://1000!718946f17f2b6e4638d510540952d58e.wav!silence_stream://5000", > flags=0x0) at src/switch_core_session.c:2653 > #5 0x00007fe06a4a1d42 in switch_core_standard_on_execute > (session=) at src/switch_core_state_machine.c:283 > #6 switch_core_session_run (session=0x7fe0259a9078) at > src/switch_core_state_machine.c:539 > #7 0x00007fe06a49c0be in switch_core_session_thread (thread= out>, obj=0x7fe0259a9078) at src/switch_core_session.c:1629 > #8 0x00007fe06a497e5d in switch_core_session_thread_pool_worker > (thread=0x7fe0259cdd80, obj=0x0) at src/switch_core_session.c:1692 > #9 0x00007fe06a579590 in dummy_worker (opaque=0x7fe0259cdd80) at > threadproc/unix/thread.c:151 > #10 0x00007fe0699ce0a4 in start_thread (arg=0x7fdfe0dd7700) at > pthread_create.c:309 > #11 0x00007fe0690a804d in clone () at > ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 > > Thank you, > Adam Johnston > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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/20151217/e3ab58b7/attachment.html From anthony.minessale at gmail.com Thu Dec 17 22:23:45 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 17 Dec 2015 13:23:45 -0600 Subject: [Freeswitch-users] core dump on playback after "Decode Codec is not initialized!" log message In-Reply-To: References: Message-ID: Also load that core into gdb again and do: print *read_frame print **frame print session->raw_read_frame On Thu, Dec 17, 2015 at 1:17 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > Do you have the logs with full debugging enabled so you could take the > uuid of the crashed call and compare it to the logs? > Maybe also with the SIP trace enabled. > > > > On Thu, Dec 17, 2015 at 12:59 PM, Adam Johnston < > ajohnston at alertsolutions.com> wrote: > >> I was going to file a JIRA, but I'm not running on most recent commit of >> FreeSWITCH. >> >> I have not been able to reproduce this issue on-demand, but it has >> happened sporadically in both 1.4 and as of yesterday 1.7. >> >> A FreeSWITCH box will be running any number of calls (I've seen this >> happen with a handful and with hundreds) and will crash on WAV playback. >> The second-to-last message in the log file has been: >> >> [ERR] switch_core_codec.c:784 Decode Codec is not initialized! >> >> in every instance of this failure. >> >> Our use case is we originate calls via mod_event_socket and with an >> inline dialplan that starts spandsp_start_tone_detect (for beep detection) >> and then plays a playback string of silence followed by one or more WAVs >> (8-bit u-law). I have not been able to narrow the culprit down to one >> specific call. In the most recent crash all calls had negotiated to PCMU or >> PCMA. >> >> Any thoughts on how I could reproduce this so I can file a proper bug >> report? Some more info is below, and I'd be happy to provide any more >> information I can. >> >> info: >> >> * Amazon EC2 c4.xlarge instance >> * Debian 8.2 (jessie) >> * commit 2cb7188c1733a6524e5852f95bb71f12e0ffcc18 >> * FreeSWITCH version: 1.7.0+git~20151209T003048Z~2cb7188c17~64bit (git >> 2cb7188 2015-12-09 00:30:48Z 64bit) >> >> stack trace: >> #0 0x00007fe06a4a3750 in switch_core_session_read_frame >> (session=0x7fe0259a9078, frame=0x7fdfe0dd6090, flags=1641139939, >> stream_id=1762346489) at src/switch_core_io.c:501 >> #1 0x00007fe06a52934a in switch_ivr_play_file (session=0x7fe0259a9078, >> fh=0x7fdfe0dd6850, file=0x7fdfe0dd6810 "", args=0x7fe0690b45f9 >> <__lll_unlock_wake_private+25>, args at entry=0x7fdfe0dd6810) at >> src/switch_ivr_play_say.c:1721 >> #2 0x00007fe061362343 in playback_function (session=0x7fe0259a9078, >> data=) at mod_dptools.c:2810 >> #3 0x00007fe06a49e81a in switch_core_session_exec >> (session=0x7fe0259a9078, application_interface=0xba4340, arg=0x7fe0259a5170 >> "silence_stream://1000!718946f17f2b6e4638d510540952d58e.wav!silence_stream://5000") >> at src/switch_core_session.c:2783 >> #4 0x00007fe06a49edb8 in >> switch_core_session_execute_application_get_flags (session=0x0, >> app=0x7fe0259a5160 "playback", arg=0x7fe0259a5170 >> "silence_stream://1000!718946f17f2b6e4638d510540952d58e.wav!silence_stream://5000", >> flags=0x0) at src/switch_core_session.c:2653 >> #5 0x00007fe06a4a1d42 in switch_core_standard_on_execute >> (session=) at src/switch_core_state_machine.c:283 >> #6 switch_core_session_run (session=0x7fe0259a9078) at >> src/switch_core_state_machine.c:539 >> #7 0x00007fe06a49c0be in switch_core_session_thread (thread=> out>, obj=0x7fe0259a9078) at src/switch_core_session.c:1629 >> #8 0x00007fe06a497e5d in switch_core_session_thread_pool_worker >> (thread=0x7fe0259cdd80, obj=0x0) at src/switch_core_session.c:1692 >> #9 0x00007fe06a579590 in dummy_worker (opaque=0x7fe0259cdd80) at >> threadproc/unix/thread.c:151 >> #10 0x00007fe0699ce0a4 in start_thread (arg=0x7fdfe0dd7700) at >> pthread_create.c:309 >> #11 0x00007fe0690a804d in clone () at >> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >> >> Thank you, >> Adam Johnston >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> 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 > -- 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/20151217/bad53d62/attachment-0001.html From anthony.minessale at gmail.com Thu Dec 17 22:24:39 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 17 Dec 2015 13:24:39 -0600 Subject: [Freeswitch-users] core dump on playback after "Decode Codec is not initialized!" log message In-Reply-To: References: Message-ID: Oh and put that all in a JIRA, Its easier to close a JIRA for being incomplete than it is to try do debug things over a mailing list so always opt for the JIRA..... On Thu, Dec 17, 2015 at 1:23 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > Also load that core into gdb again and do: > > print *read_frame > print **frame > print session->raw_read_frame > > > On Thu, Dec 17, 2015 at 1:17 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> Do you have the logs with full debugging enabled so you could take the >> uuid of the crashed call and compare it to the logs? >> Maybe also with the SIP trace enabled. >> >> >> >> On Thu, Dec 17, 2015 at 12:59 PM, Adam Johnston < >> ajohnston at alertsolutions.com> wrote: >> >>> I was going to file a JIRA, but I'm not running on most recent commit of >>> FreeSWITCH. >>> >>> I have not been able to reproduce this issue on-demand, but it has >>> happened sporadically in both 1.4 and as of yesterday 1.7. >>> >>> A FreeSWITCH box will be running any number of calls (I've seen this >>> happen with a handful and with hundreds) and will crash on WAV playback. >>> The second-to-last message in the log file has been: >>> >>> [ERR] switch_core_codec.c:784 Decode Codec is not initialized! >>> >>> in every instance of this failure. >>> >>> Our use case is we originate calls via mod_event_socket and with an >>> inline dialplan that starts spandsp_start_tone_detect (for beep detection) >>> and then plays a playback string of silence followed by one or more WAVs >>> (8-bit u-law). I have not been able to narrow the culprit down to one >>> specific call. In the most recent crash all calls had negotiated to PCMU or >>> PCMA. >>> >>> Any thoughts on how I could reproduce this so I can file a proper bug >>> report? Some more info is below, and I'd be happy to provide any more >>> information I can. >>> >>> info: >>> >>> * Amazon EC2 c4.xlarge instance >>> * Debian 8.2 (jessie) >>> * commit 2cb7188c1733a6524e5852f95bb71f12e0ffcc18 >>> * FreeSWITCH version: 1.7.0+git~20151209T003048Z~2cb7188c17~64bit (git >>> 2cb7188 2015-12-09 00:30:48Z 64bit) >>> >>> stack trace: >>> #0 0x00007fe06a4a3750 in switch_core_session_read_frame >>> (session=0x7fe0259a9078, frame=0x7fdfe0dd6090, flags=1641139939, >>> stream_id=1762346489) at src/switch_core_io.c:501 >>> #1 0x00007fe06a52934a in switch_ivr_play_file (session=0x7fe0259a9078, >>> fh=0x7fdfe0dd6850, file=0x7fdfe0dd6810 "", args=0x7fe0690b45f9 >>> <__lll_unlock_wake_private+25>, args at entry=0x7fdfe0dd6810) at >>> src/switch_ivr_play_say.c:1721 >>> #2 0x00007fe061362343 in playback_function (session=0x7fe0259a9078, >>> data=) at mod_dptools.c:2810 >>> #3 0x00007fe06a49e81a in switch_core_session_exec >>> (session=0x7fe0259a9078, application_interface=0xba4340, arg=0x7fe0259a5170 >>> "silence_stream://1000!718946f17f2b6e4638d510540952d58e.wav!silence_stream://5000") >>> at src/switch_core_session.c:2783 >>> #4 0x00007fe06a49edb8 in >>> switch_core_session_execute_application_get_flags (session=0x0, >>> app=0x7fe0259a5160 "playback", arg=0x7fe0259a5170 >>> "silence_stream://1000!718946f17f2b6e4638d510540952d58e.wav!silence_stream://5000", >>> flags=0x0) at src/switch_core_session.c:2653 >>> #5 0x00007fe06a4a1d42 in switch_core_standard_on_execute >>> (session=) at src/switch_core_state_machine.c:283 >>> #6 switch_core_session_run (session=0x7fe0259a9078) at >>> src/switch_core_state_machine.c:539 >>> #7 0x00007fe06a49c0be in switch_core_session_thread (thread=>> out>, obj=0x7fe0259a9078) at src/switch_core_session.c:1629 >>> #8 0x00007fe06a497e5d in switch_core_session_thread_pool_worker >>> (thread=0x7fe0259cdd80, obj=0x0) at src/switch_core_session.c:1692 >>> #9 0x00007fe06a579590 in dummy_worker (opaque=0x7fe0259cdd80) at >>> threadproc/unix/thread.c:151 >>> #10 0x00007fe0699ce0a4 in start_thread (arg=0x7fdfe0dd7700) at >>> pthread_create.c:309 >>> #11 0x00007fe0690a804d in clone () at >>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>> >>> Thank you, >>> Adam Johnston >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> 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 >> > > > > -- > 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 > -- 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/20151217/9dd7b02d/attachment.html From brian at freeswitch.org Thu Dec 17 22:44:27 2015 From: brian at freeswitch.org (Brian West) Date: Thu, 17 Dec 2015 13:44:27 -0600 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: <00bc01d138f9$b5997400$20cc5c00$@symonics.com> References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> <5672FB31.8060808@b-and-c.net> <00bc01d138f9$b5997400$20cc5c00$@symonics.com> Message-ID: https://freeswitch.org/jira/browse/FS-8609 Review the doc and git repo, input comments on this jira and you can even issue pull requests against the repo for the upcoming configs. On Thu, Dec 17, 2015 at 12:35 PM, Christian Hoene < christian.hoene at symonics.com> wrote: > Hi all, > > > > I like the way Spring boot is doing all the configs: > > > http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config > > The idea behind it is to be opinionated out of the box, but get out of the > way quickly as requirements start to diverge from the defaults. > > > > And get rid of txml. > > > > But then again, it is wish list time, isn?t it? > > > > Enjoy the holidays > > > > Christian > > > > > > *Von:* Tristan Mah? [mailto:t.mahe at b-and-c.net] > *Gesendet:* Donnerstag, 17. Dezember 2015 19:13 > *An:* freeswitch-users at lists.freeswitch.org > *Betreff:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs > > > > Hi Brian, > > For my configs, I'm usually trying to respect the following layout: > > conf/mods/modscategory/nameofmod > conf/core for core config > > Example: > > conf/freeswitch.xml > conf/core/vars.xml > conf/core/switch.conf.xml > conf/core/modules.conf.xml > conf/mod/dialplans/xml/internal.xml > conf/mod/endpoints/sofia/sofia.global.conf > conf/mod/endpoints/sofia/sip_profiles/internal.xml > > My 2 cents... > > Best, > > Gled. > > On 12/17/2015 06:46 AM, Brian West wrote: > > Has anyone had a chance to review the JIRA and the git repo? I've put up > some samples of what I think we need to do, I really do want input on this, > because once this is done, if you complain about how its done... I'm gonna > sigh and say 'see this is why I asked for input'! :) > > > > Happy ! > > > > Thanks, > > > > On Tue, Dec 8, 2015 at 2:24 PM, Brian West wrote: > > I've started jotting down some notes: > > > > > https://docs.google.com/document/d/1Y7IN7wXU28Eu3T4DUDvIwI8O77V2PW5oT-V-7GYPNN8/edit?usp=sharing > > > > Input anyone? > > > > On Tue, Dec 8, 2015 at 8:02 AM, Stanislav Sinyagin > wrote: > > install hipchat application to your desktop or your phone, and login to > hipchat.freeswitch.org wit your jira account > > > > On Tue, Dec 8, 2015 at 2:34 PM, Victor Medina > wrote: > > How do I join? > > > > 2015-12-07 12:50 GMT-04:30 Ken Rice : > > Unsubscribe instructions are linked in the footer of every email to the > list. > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Paul Klenk > *Sent:* Monday, December 7, 2015 11:02 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs > > > > unsubscribe > > > > On Mon, Dec 7, 2015 at 5:57 PM, Brian West wrote: > > FreeSWITCHers, > > > > FS-8609 is raised to get a rough outline of a completely new config sample > that will be used in 1.8, So we are reaching out to the community for input > and direction, I have also created a hipchat room FS-8609 on > hipchat.freeswitch.org if you wish to join in. Lets start the discussion > on this topic. > > > > Thanks, > > > > -- > > *Brian West* > brian at freeswitch.org > > [image: Das Bild wurde vom Absender entfernt.] > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > > > [image: Das Bild wurde vom Absender entfernt.] > > V?ctor E. Medina M. > > Platform Architect / Chief Infrastructure > > +58424 291 4561 > BB #79A8AFA2 > @VMCibersys > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > -- > > *Brian West* > brian at freeswitch.org > > [image: Das Bild wurde vom Absender entfernt.] > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > > > > -- > > *Brian West* > brian at freeswitch.org > > [image: Das Bild wurde vom Absender entfernt.] > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151217/5519df84/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD000.jpg Type: image/jpeg Size: 823 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151217/5519df84/attachment-0001.jpg From ajohnston at alertsolutions.com Thu Dec 17 23:17:19 2015 From: ajohnston at alertsolutions.com (Adam Johnston) Date: Thu, 17 Dec 2015 15:17:19 -0500 Subject: [Freeswitch-users] core dump on playback after "Decode Codec is not initialized!" log message In-Reply-To: References: Message-ID: JIRA created: https://freeswitch.org/jira/browse/FS-8673 ------------------------------ *Adam Johnston* *Software Engineer* *Tel:* (800) 929-1643 *Email: *ajohnston at alertsolutions.com On Thu, Dec 17, 2015 at 2:24 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > Oh and put that all in a JIRA, Its easier to close a JIRA for being > incomplete than it is to try do debug things over a mailing list so always > opt for the JIRA..... > > On Thu, Dec 17, 2015 at 1:23 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> Also load that core into gdb again and do: >> >> print *read_frame >> print **frame >> print session->raw_read_frame >> >> >> On Thu, Dec 17, 2015 at 1:17 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> Do you have the logs with full debugging enabled so you could take the >>> uuid of the crashed call and compare it to the logs? >>> Maybe also with the SIP trace enabled. >>> >>> >>> >>> On Thu, Dec 17, 2015 at 12:59 PM, Adam Johnston < >>> ajohnston at alertsolutions.com> wrote: >>> >>>> I was going to file a JIRA, but I'm not running on most recent commit >>>> of FreeSWITCH. >>>> >>>> I have not been able to reproduce this issue on-demand, but it has >>>> happened sporadically in both 1.4 and as of yesterday 1.7. >>>> >>>> A FreeSWITCH box will be running any number of calls (I've seen this >>>> happen with a handful and with hundreds) and will crash on WAV playback. >>>> The second-to-last message in the log file has been: >>>> >>>> [ERR] switch_core_codec.c:784 Decode Codec is not initialized! >>>> >>>> in every instance of this failure. >>>> >>>> Our use case is we originate calls via mod_event_socket and with an >>>> inline dialplan that starts spandsp_start_tone_detect (for beep detection) >>>> and then plays a playback string of silence followed by one or more WAVs >>>> (8-bit u-law). I have not been able to narrow the culprit down to one >>>> specific call. In the most recent crash all calls had negotiated to PCMU or >>>> PCMA. >>>> >>>> Any thoughts on how I could reproduce this so I can file a proper bug >>>> report? Some more info is below, and I'd be happy to provide any more >>>> information I can. >>>> >>>> info: >>>> >>>> * Amazon EC2 c4.xlarge instance >>>> * Debian 8.2 (jessie) >>>> * commit 2cb7188c1733a6524e5852f95bb71f12e0ffcc18 >>>> * FreeSWITCH version: 1.7.0+git~20151209T003048Z~2cb7188c17~64bit (git >>>> 2cb7188 2015-12-09 00:30:48Z 64bit) >>>> >>>> stack trace: >>>> #0 0x00007fe06a4a3750 in switch_core_session_read_frame >>>> (session=0x7fe0259a9078, frame=0x7fdfe0dd6090, flags=1641139939, >>>> stream_id=1762346489) at src/switch_core_io.c:501 >>>> #1 0x00007fe06a52934a in switch_ivr_play_file (session=0x7fe0259a9078, >>>> fh=0x7fdfe0dd6850, file=0x7fdfe0dd6810 "", args=0x7fe0690b45f9 >>>> <__lll_unlock_wake_private+25>, args at entry=0x7fdfe0dd6810) at >>>> src/switch_ivr_play_say.c:1721 >>>> #2 0x00007fe061362343 in playback_function (session=0x7fe0259a9078, >>>> data=) at mod_dptools.c:2810 >>>> #3 0x00007fe06a49e81a in switch_core_session_exec >>>> (session=0x7fe0259a9078, application_interface=0xba4340, arg=0x7fe0259a5170 >>>> "silence_stream://1000!718946f17f2b6e4638d510540952d58e.wav!silence_stream://5000") >>>> at src/switch_core_session.c:2783 >>>> #4 0x00007fe06a49edb8 in >>>> switch_core_session_execute_application_get_flags (session=0x0, >>>> app=0x7fe0259a5160 "playback", arg=0x7fe0259a5170 >>>> "silence_stream://1000!718946f17f2b6e4638d510540952d58e.wav!silence_stream://5000", >>>> flags=0x0) at src/switch_core_session.c:2653 >>>> #5 0x00007fe06a4a1d42 in switch_core_standard_on_execute >>>> (session=) at src/switch_core_state_machine.c:283 >>>> #6 switch_core_session_run (session=0x7fe0259a9078) at >>>> src/switch_core_state_machine.c:539 >>>> #7 0x00007fe06a49c0be in switch_core_session_thread (thread=>>> out>, obj=0x7fe0259a9078) at src/switch_core_session.c:1629 >>>> #8 0x00007fe06a497e5d in switch_core_session_thread_pool_worker >>>> (thread=0x7fe0259cdd80, obj=0x0) at src/switch_core_session.c:1692 >>>> #9 0x00007fe06a579590 in dummy_worker (opaque=0x7fe0259cdd80) at >>>> threadproc/unix/thread.c:151 >>>> #10 0x00007fe0699ce0a4 in start_thread (arg=0x7fdfe0dd7700) at >>>> pthread_create.c:309 >>>> #11 0x00007fe0690a804d in clone () at >>>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>>> >>>> Thank you, >>>> Adam Johnston >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> 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 >>> >> >> >> >> -- >> 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 >> > > > > -- > 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/20151217/b450ce8c/attachment.html From ayobami at programmer.net Wed Dec 16 17:54:18 2015 From: ayobami at programmer.net (ayobami) Date: Wed, 16 Dec 2015 07:54:18 -0700 (MST) Subject: [Freeswitch-users] No audio when using Cisco IP Phone 7942 with Freeswitch Message-ID: <1450277658639-7596195.post@n2.nabble.com> I have a Freeswitch installation with various models of IP phones, all models work fine except the 7942 model that when call is placed through to from other models, there will be no audio. However, if the 7942 initiates call to any other model the audio is fine in both directions. The network is not behind NAT as other devices work fine on the network, what could be the problem,? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/No-audio-when-using-Cisco-IP-Phone-7942-with-Freeswitch-tp7596195.html Sent from the freeswitch-users mailing list archive at Nabble.com. From colton.conor at gmail.com Wed Dec 16 19:14:27 2015 From: colton.conor at gmail.com (Colton Conor) Date: Wed, 16 Dec 2015 10:14:27 -0600 Subject: [Freeswitch-users] List URI BLF Config Unique to Broadsoft or Can be Done in Freeswitch? Message-ID: I asked this question on the VoiceOPs lists, but have not received a response. Considering jumping from Broadsoft to a FreeSwitch based platform. Wanted to know the following: Is the way Broadsoft implements Busy Lamp Field (BLF) with a list URI unique only to Broadsoft? I believe I am talking about Enhance BLF. In the configuration of BLF on a Polycom phone using Broadsoft there is a Broadsoft List URI field. The same is true with Yealink, Gigaset, Cisco, and other phones. Here is a configure guide for a Polycom 4.3.2 Busy Lamp Field Configuration http://community.polycom.com/polycom/attachments/polycom/VoIP/8977/1/PartnerConfigGuide_Polycom_UCSoftwareDevices-VVX.pdf Here is the config guide for a Yealink with screenshots of what the Broadsoft screens look like. Basically from the Broadsoft interface you can decide which users to monitor, and it it will instantly and dynamically update the List URI with the monitored users. Not need to change anything in the phone configure file (assuming you aready have the list uri in there) http://www.yealink.com/Upload/UCOne/features/Quick_Setup_BLF_List_on_Yealink_IP_Phones_with_BroadSoft_UC_ONE_v1.0.pdf On other platforms, freeswitch for example, enhanced BLF is not configured with a list. Instead, each line you want to monitor, needs to be added in the config file. The phone then has to be rebooted, and the new config file has to be loaded. Here is what the freeswitch wiki shows: https://wiki.freeswitch.org/wiki/Polycom_Presence_Setup *Enhanced BLF* provides ringing indication and directed call pick-up capability. Once a productivity license has been installed, the BLF configuration can be added to the phone1.cfg(resp. in a phone-specific settings file like "${MAC}-settings.cfg). The following should be configured at the phone's file (e.g. phone1.cfg or *MAC-address*-settings.cfg): And finally, the following line should be added into local-sip.cfg: On a FreeSWITCH installation with a default-dialplan, "intercept-ext" in conf/dialplan/default.xml is configured to catch ***${destination_number}*. Pressing the line-button on a ringing extension will cause the phone to call intercept-ext with ** and the ringing extension and the phone will be connected to the caller - a perfect setup for an attendant console. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151216/cb406a8b/attachment.html From colton.conor at gmail.com Thu Dec 17 18:11:24 2015 From: colton.conor at gmail.com (Colton Conor) Date: Thu, 17 Dec 2015 09:11:24 -0600 Subject: [Freeswitch-users] Commercial Communications Platforms with Freeswitch at the Core Message-ID: What commercial commutations platforms exist that have freeswitch at the core of their platform? Something that could handle full class 5 capabilities and hosted PBX capabilities similar to what you would find from a Broadsoft, Metaswitch, or Netsapiens platform? I know freeswitch is opensource so technically we could build our own, but we have no interest in building and maintaining our own platform. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151217/c6fe92b2/attachment.html From max at nysolutions.com Fri Dec 18 01:09:22 2015 From: max at nysolutions.com (Moishe Grunstein) Date: Thu, 17 Dec 2015 22:09:22 +0000 Subject: [Freeswitch-users] No audio when using Cisco IP Phone 7942 with Freeswitch In-Reply-To: <1450277658639-7596195.post@n2.nabble.com> References: <1450277658639-7596195.post@n2.nabble.com> Message-ID: <21679cf5644d4fdd8bbc7623f6e5f464@nysolutions.com> Can you check what codecs are being negotiated on a good and a bad call. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of ayobami Sent: Wednesday, December 16, 2015 9:54 AM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] No audio when using Cisco IP Phone 7942 with Freeswitch I have a Freeswitch installation with various models of IP phones, all models work fine except the 7942 model that when call is placed through to from other models, there will be no audio. However, if the 7942 initiates call to any other model the audio is fine in both directions. The network is not behind NAT as other devices work fine on the network, what could be the problem,? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/No-audio-when-using-Cisco-IP-Phone-7942-with-Freeswitch-tp7596195.html Sent from the freeswitch-users mailing list archive at Nabble.com. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From ayobami at programmer.net Fri Dec 18 01:31:06 2015 From: ayobami at programmer.net (Ayobami Adewole) Date: Thu, 17 Dec 2015 23:31:06 +0100 Subject: [Freeswitch-users] No audio when using Cisco IP Phone 7942 with Freeswitch In-Reply-To: <21679cf5644d4fdd8bbc7623f6e5f464@nysolutions.com> Message-ID: <160e44e5-97be-437c-8bc0-d708af08671d@email.android.com> The codecs in use in both cases is G711 ulaw, traffic capture using wireshark reveals that there was no rtp port negotiations, the reason for no audio, but if the 7942 initiates call port negotiation is done and audio is good. On Dec 17, 2015 11:09 PM, Moishe Grunstein wrote: > > Can you check what codecs are being negotiated on a good and a bad call. > > Thanks, > > Moishe Grunstein > Tornado Computer Systems, Inc. > 212.400.7650 888.IPPBX.US > Service Request Email: support at nysolutions.com > > Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of ayobami > Sent: Wednesday, December 16, 2015 9:54 AM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] No audio when using Cisco IP Phone 7942 with Freeswitch > > I have a Freeswitch installation with various models of IP phones, all models work fine except the 7942 model that when call is placed through to? from other models, there will be no audio. However, if the 7942 initiates call to any other model the audio is fine in both directions. The network is not behind NAT as other devices work fine on the network, what could be the problem,? > > > > -- > View this message in context: http://freeswitch-users.2379917.n2.nabble.com/No-audio-when-using-Cisco-IP-Phone-7942-with-Freeswitch-tp7596195.html > Sent from the freeswitch-users mailing list archive at Nabble.com. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From mike at jerris.com Fri Dec 18 01:35:28 2015 From: mike at jerris.com (Michael Jerris) Date: Thu, 17 Dec 2015 17:35:28 -0500 Subject: [Freeswitch-users] No audio when using Cisco IP Phone 7942 with Freeswitch In-Reply-To: <160e44e5-97be-437c-8bc0-d708af08671d@email.android.com> References: <160e44e5-97be-437c-8bc0-d708af08671d@email.android.com> Message-ID: This description doesn?t make any sense, can you paste the actual sip trace? > On Dec 17, 2015, at 5:31 PM, Ayobami Adewole wrote: > > The codecs in use in both cases is G711 ulaw, traffic capture using wireshark reveals that there was no rtp port negotiations, the reason for no audio, but if the 7942 initiates call port negotiation is done and audio is good. > > On Dec 17, 2015 11:09 PM, Moishe Grunstein wrote: >> >> Can you check what codecs are being negotiated on a good and a bad call. >> >> Thanks, >> >> Moishe Grunstein >> Tornado Computer Systems, Inc. >> 212.400.7650 888.IPPBX.US >> Service Request Email: support at nysolutions.com >> >> Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS >> >> -----Original Message----- >> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of ayobami >> Sent: Wednesday, December 16, 2015 9:54 AM >> To: freeswitch-users at lists.freeswitch.org >> Subject: [Freeswitch-users] No audio when using Cisco IP Phone 7942 with Freeswitch >> >> I have a Freeswitch installation with various models of IP phones, all models work fine except the 7942 model that when call is placed through to from other models, there will be no audio. However, if the 7942 initiates call to any other model the audio is fine in both directions. The network is not behind NAT as other devices work fine on the network, what could be the problem,? >> >> >> >> -- >> View this message in context: http://freeswitch-users.2379917.n2.nabble.com/No-audio-when-using-Cisco-IP-Phone-7942-with-Freeswitch-tp7596195.html >> Sent from the freeswitch-users mailing list archive at Nabble.com. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 carlosj.gf at gmail.com Fri Dec 18 01:52:24 2015 From: carlosj.gf at gmail.com (=?UTF-8?Q?Carlos_Gonz=C3=A1lez_Florido?=) Date: Thu, 17 Dec 2015 23:52:24 +0100 Subject: [Freeswitch-users] Commercial Communications Platforms with Freeswitch at the Core In-Reply-To: References: Message-ID: We are building such a distributed, scalable and highly available platform based on Freeswitch, but it doesn't have yet full class 5 capabilities. Right now is focused on transcoding and video MCU, but a class-5 server is on the roadmap. Most of it will be open source. Please contact me for additional details. On Thu, Dec 17, 2015 at 4:11 PM, Colton Conor wrote: > > What commercial commutations platforms exist that have freeswitch at the core of their platform? Something that could handle full class 5 capabilities and hosted PBX capabilities similar to what you would find from a Broadsoft, Metaswitch, or Netsapiens platform? > > I know freeswitch is opensource so technically we could build our own, but we have no interest in building and maintaining our own platform. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151217/f3b67bb5/attachment.html From ssinyagin at gmail.com Fri Dec 18 02:06:47 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Fri, 18 Dec 2015 00:06:47 +0100 Subject: [Freeswitch-users] Commercial Communications Platforms with Freeswitch at the Core In-Reply-To: References: Message-ID: as far as I read somewhere, these guys base their software on top of FreeSWITCH. But I never looked deeper into their solution: http://www.kolmisoft.com/ Also I know these guys, and their platform is also based on FreeSWITCH: http://webitel.com/ On Thu, Dec 17, 2015 at 4:11 PM, Colton Conor wrote: > What commercial commutations platforms exist that have freeswitch at the > core of their platform? Something that could handle full class 5 > capabilities and hosted PBX capabilities similar to what you would find from > a Broadsoft, Metaswitch, or Netsapiens platform? > > I know freeswitch is opensource so technically we could build our own, but > we have no interest in building and maintaining our own platform. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 joelists at tm.net.uk Fri Dec 18 02:10:46 2015 From: joelists at tm.net.uk (Joseph Waite) Date: Thu, 17 Dec 2015 23:10:46 +0000 Subject: [Freeswitch-users] Commercial Communications Platforms with Freeswitch at the Core In-Reply-To: References: Message-ID: Check out FusionPBX. It's open source but will do most/all of what you want. There is commercial support available! Regards Joe Waite > On 17 Dec 2015, at 15:11, Colton Conor wrote: > > What commercial commutations platforms exist that have freeswitch at the core of their platform? Something that could handle full class 5 capabilities and hosted PBX capabilities similar to what you would find from a Broadsoft, Metaswitch, or Netsapiens platform? > > I know freeswitch is opensource so technically we could build our own, but we have no interest in building and maintaining our own platform. > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 a.m.morozov at gmail.com Fri Dec 18 16:43:13 2015 From: a.m.morozov at gmail.com (=?UTF-8?B?0JDQu9C10LrRgdC10Lkg0JzQvtGA0L7Qt9C+0LI=?=) Date: Fri, 18 Dec 2015 16:43:13 +0300 Subject: [Freeswitch-users] DTMF Volume too low Message-ID: Hello. We have encountered a problem. We use bind_digit_action application to activate a number of features. To still have ability to pass DTMF signals between A_leg and B_leg, we use send_dtmf application. This is a part of our dialplan. All work well but one snag - our customers from time to time complain inability to interact whith IVR. During debugging we have discovered that Freeswitch generates DTMF signals with volume = 13. The problem is that a lot of popular PBX and call managers (for example Cisco UCM) do not recognize DTMF with such low volume. Is it possible to set this value in freeswitch as we need or this parameter is not configurable? -- WBR Alex M. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151218/bf6120d8/attachment.html From colton.conor at gmail.com Fri Dec 18 17:38:36 2015 From: colton.conor at gmail.com (Colton Conor) Date: Fri, 18 Dec 2015 08:38:36 -0600 Subject: [Freeswitch-users] Commercial Communications Platforms with Freeswitch at the Core In-Reply-To: References: Message-ID: >From what I can tell, Kolmisoft only uses Freeswitch in the Class 4 M2 product. Seems there class five product is based off of asterisk, but I could be wrong. http://wiki.kolmisoft.com/index.php/M2_Switch I have never heard of webitel before. I used FusionPBX log ago, and was impressed back then. It did have a lot of bugs, but I know there has been a ton of active development since then. Maybe I should give it another shot with commercial support. My userbase said the web interface was hard to navigate from what I remember. A side question with fusionPBX would be can you setup a scaleable and highly redundant platform just with freeswitch? Correct me if I am wrong but Fusion PBX is a GUI that sits on-top of Freeswitch. Other platforms I have seen usually have some version of SER sitting in-front of free switch acting as a media server. Fusion seems to just use Freeswitch. On Thu, Dec 17, 2015 at 5:06 PM, Stanislav Sinyagin wrote: > as far as I read somewhere, these guys base their software on top of > FreeSWITCH. But I never looked deeper into their solution: > http://www.kolmisoft.com/ > > Also I know these guys, and their platform is also based on > FreeSWITCH: http://webitel.com/ > > > > On Thu, Dec 17, 2015 at 4:11 PM, Colton Conor > wrote: > > What commercial commutations platforms exist that have freeswitch at the > > core of their platform? Something that could handle full class 5 > > capabilities and hosted PBX capabilities similar to what you would find > from > > a Broadsoft, Metaswitch, or Netsapiens platform? > > > > I know freeswitch is opensource so technically we could build our own, > but > > we have no interest in building and maintaining our own platform. > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151218/15fb01cf/attachment.html From khunter at thesummitgroup.com.au Fri Dec 18 03:28:47 2015 From: khunter at thesummitgroup.com.au (Kyle Hunter) Date: Fri, 18 Dec 2015 00:28:47 +0000 Subject: [Freeswitch-users] Dial plan variables In-Reply-To: References: Message-ID: Thanks ? I?ve now found out I?m going to need to use sip_to_display instead. However I?ve found this weirdness occurring: When Running the first line the fax gets stored using the correct number: d1841980-a51a-11e5-891a-4f40b9cf9e3e EXECUTE sofia/external/61344443333 at pbx1pbx.internal rxfax(/var/spool/fax/FAX-61799997777-61344443333-d1841980-a51a-11e5-891a-4f40b9cf9e3e.tif) But the second line: d1841980-a51a-11e5-891a-4f40b9cf9e3e EXECUTE sofia/external/61344443333 at pbx1pbx.internal system(php /var/www/newfax.php FAX-61344443333-61344443333-d1841980-a51a-11e5-891a-4f40b9cf9e3e.tif && echo 1) Is this the expected behaviour? Thanks Kyle. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Jurijs Ivolga Sent: Wednesday, 16 December 2015 6:33 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Dial plan variables Hi Kyle, destination_number is number what is called. If it is for inbound faxes, then destination_number variable will contain number which your clients calls to get into Freeswitch. More details about channel variables you can find below: https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables You can add line before and in console you will see all related to that call variables. It will looks like: 2015-12-16 02:20:45.581035 [INFO] mod_dptools.c:1711 CHANNEL_DATA: Channel-State: [CS_EXECUTE] Channel-Call-State: [RINGING] Channel-State-Number: [4] Channel-Name: [.....] .... .... .... Caller-Destination-Number: [Value which you are looking for] .... .... With kind regards, Jurijs 2015-12-16 8:59 GMT+02:00 Volodymyr Fedorov >: Hi, Even variable is not exist you can parse sip-headers and extract variables via regex: bellow example for parse to-header On Wed, Dec 16, 2015 at 1:48 AM, Kyle Hunter > wrote: Hey, I?ve currently got a dial plan set up to receive faxes which looks like: I?m just wondering what $destination_number variable is set to. In our SIP Header we?re sending a different ?SIP Display info? to what this variable is set to and I can?t seem to find what that variable is actually looking at. Thanks, Kyle Kyle Hunter | Network Engineer | The Summit Group E: khunter at thesummitgroup.com.au | W: The Summit Group (Australia) Pty Ltd | P: | Level 1, 39 Railway Road, Blackburn VIC 3130 The Summit Group (USA) LLC | P: 321 216 3844 | Suite 1003, 364E Main Street, Middletown DE 19709 Postal: P.O. Box 3225, Doncaster East VIC 3109 Follow us on Facebook | LinkedIn | Twitter Kyle Hunter | Network Engineer | The Summit Group E: khunter at thesummitgroup.com.au | W: The Summit Group (Australia) Pty Ltd | P: | Level 1, 39 Railway Road, Blackburn VIC 3130 The Summit Group (USA) LLC | P: 321 216 3844 | Suite 1003, 364E Main Street, Middletown DE 19709 Postal: P.O. Box 3225, Doncaster East VIC 3109 Follow us on Facebook | LinkedIn | Twitter _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Best regards, Volodymyr _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151218/967ba7ac/attachment-0001.html From ayobami at programmer.net Fri Dec 18 11:25:29 2015 From: ayobami at programmer.net (Ayobami Adewole) Date: Fri, 18 Dec 2015 09:25:29 +0100 Subject: [Freeswitch-users] =?utf-8?q?No_audio_when_using_Cisco_IP_Phone_7?= =?utf-8?q?942=09with_Freeswitch?= In-Reply-To: References: <160e44e5-97be-437c-8bc0-d708af08671d@email.android.com>, Message-ID: An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151218/2fabdcb0/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: 7942-to-other-models.png Type: image/png Size: 19401 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151218/2fabdcb0/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: Other-models-to-7942.png Type: image/png Size: 13466 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151218/2fabdcb0/attachment-0003.png -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: sip-trace.txt Url: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151218/2fabdcb0/attachment-0001.txt From ssinyagin at gmail.com Sun Dec 20 01:54:14 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sat, 19 Dec 2015 23:54:14 +0100 Subject: [Freeswitch-users] Commercial Communications Platforms with Freeswitch at the Core In-Reply-To: References: Message-ID: Webitel product is relatively new, and they started promoting it only recently. They use node.js as the application core, and FreeSWITCH for call handling. They publish some of their code at github. There's also 2600hz Kazoo, and it's fully open source. But you either spend months on learning erlang and their system, or pay to 2600hz to build your system and do the training. The dialplan editing in FusionPBX requires you to know FreeSWITCH internals. So, why bother and not doing it directly in XML? What we really need is an open-source and open-design platform for multi-tenant and fault-tolerant solution, or maybe two solutions, targeting business PBX hosting and residential PSTN services. It should be easy to extend with third-party modules and easy to maintain. We only need to find the cash and the proper team to implement this :-) On Fri, Dec 18, 2015 at 3:38 PM, Colton Conor wrote: > From what I can tell, Kolmisoft only uses Freeswitch in the Class 4 M2 > product. Seems there class five product is based off of asterisk, but I > could be wrong. http://wiki.kolmisoft.com/index.php/M2_Switch > > I have never heard of webitel before. > > I used FusionPBX log ago, and was impressed back then. It did have a lot of > bugs, but I know there has been a ton of active development since then. > Maybe I should give it another shot with commercial support. My userbase > said the web interface was hard to navigate from what I remember. A side > question with fusionPBX would be can you setup a scaleable and highly > redundant platform just with freeswitch? Correct me if I am wrong but Fusion > PBX is a GUI that sits on-top of Freeswitch. Other platforms I have seen > usually have some version of SER sitting in-front of free switch acting as a > media server. Fusion seems to just use Freeswitch. > > On Thu, Dec 17, 2015 at 5:06 PM, Stanislav Sinyagin > wrote: >> >> as far as I read somewhere, these guys base their software on top of >> FreeSWITCH. But I never looked deeper into their solution: >> http://www.kolmisoft.com/ >> >> Also I know these guys, and their platform is also based on >> FreeSWITCH: http://webitel.com/ >> >> >> >> On Thu, Dec 17, 2015 at 4:11 PM, Colton Conor >> wrote: >> > What commercial commutations platforms exist that have freeswitch at the >> > core of their platform? Something that could handle full class 5 >> > capabilities and hosted PBX capabilities similar to what you would find >> > from >> > a Broadsoft, Metaswitch, or Netsapiens platform? >> > >> > I know freeswitch is opensource so technically we could build our own, >> > but >> > we have no interest in building and maintaining our own platform. >> > >> > >> > _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From luis.daniel.lucio at gmail.com Sun Dec 20 01:58:58 2015 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Sat, 19 Dec 2015 17:58:58 -0500 Subject: [Freeswitch-users] Commercial Communications Platforms with Freeswitch at the Core In-Reply-To: References: Message-ID: I can help you with the fusionpbx. I do support, and yes, there is a way to make it work on lost balancing. Contact me Le 19 d?c. 2015 2:50 PM, "Colton Conor" a ?crit : > From what I can tell, Kolmisoft only uses Freeswitch in the Class 4 M2 > product. Seems there class five product is based off of asterisk, but I > could be wrong. http://wiki.kolmisoft.com/index.php/M2_Switch > > I have never heard of webitel before. > > I used FusionPBX log ago, and was impressed back then. It did have a lot > of bugs, but I know there has been a ton of active development since then. > Maybe I should give it another shot with commercial support. My userbase > said the web interface was hard to navigate from what I remember. A side > question with fusionPBX would be can you setup a scaleable and highly > redundant platform just with freeswitch? Correct me if I am wrong but > Fusion PBX is a GUI that sits on-top of Freeswitch. Other platforms I have > seen usually have some version of SER sitting in-front of free switch > acting as a media server. Fusion seems to just use Freeswitch. > > On Thu, Dec 17, 2015 at 5:06 PM, Stanislav Sinyagin > wrote: > >> as far as I read somewhere, these guys base their software on top of >> FreeSWITCH. But I never looked deeper into their solution: >> http://www.kolmisoft.com/ >> >> Also I know these guys, and their platform is also based on >> FreeSWITCH: http://webitel.com/ >> >> >> >> On Thu, Dec 17, 2015 at 4:11 PM, Colton Conor >> wrote: >> > What commercial commutations platforms exist that have freeswitch at the >> > core of their platform? Something that could handle full class 5 >> > capabilities and hosted PBX capabilities similar to what you would find >> from >> > a Broadsoft, Metaswitch, or Netsapiens platform? >> > >> > I know freeswitch is opensource so technically we could build our own, >> but >> > we have no interest in building and maintaining our own platform. >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151219/dedc96e6/attachment.html From fernando at softov.com.br Sun Dec 20 04:38:20 2015 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Sat, 19 Dec 2015 22:38:20 -0300 Subject: [Freeswitch-users] Commercial Communications Platforms with Freeswitch at the Core In-Reply-To: References: Message-ID: You can try http://voipr.brbyte.com/index/index/locale/en It's a solution made by me using freeSwitch. 2015-12-19 19:58 GMT-03:00 Luis Daniel Lucio Quiroz < luis.daniel.lucio at gmail.com>: > I can help you with the fusionpbx. I do support, and yes, there is a way > to make it work on lost balancing. > > Contact me > Le 19 d?c. 2015 2:50 PM, "Colton Conor" a ?crit : > >> From what I can tell, Kolmisoft only uses Freeswitch in the Class 4 M2 >> product. Seems there class five product is based off of asterisk, but I >> could be wrong. http://wiki.kolmisoft.com/index.php/M2_Switch >> >> I have never heard of webitel before. >> >> I used FusionPBX log ago, and was impressed back then. It did have a lot >> of bugs, but I know there has been a ton of active development since then. >> Maybe I should give it another shot with commercial support. My userbase >> said the web interface was hard to navigate from what I remember. A side >> question with fusionPBX would be can you setup a scaleable and highly >> redundant platform just with freeswitch? Correct me if I am wrong but >> Fusion PBX is a GUI that sits on-top of Freeswitch. Other platforms I have >> seen usually have some version of SER sitting in-front of free switch >> acting as a media server. Fusion seems to just use Freeswitch. >> >> On Thu, Dec 17, 2015 at 5:06 PM, Stanislav Sinyagin >> wrote: >> >>> as far as I read somewhere, these guys base their software on top of >>> FreeSWITCH. But I never looked deeper into their solution: >>> http://www.kolmisoft.com/ >>> >>> Also I know these guys, and their platform is also based on >>> FreeSWITCH: http://webitel.com/ >>> >>> >>> >>> On Thu, Dec 17, 2015 at 4:11 PM, Colton Conor >>> wrote: >>> > What commercial commutations platforms exist that have freeswitch at >>> the >>> > core of their platform? Something that could handle full class 5 >>> > capabilities and hosted PBX capabilities similar to what you would >>> find from >>> > a Broadsoft, Metaswitch, or Netsapiens platform? >>> > >>> > I know freeswitch is opensource so technically we could build our own, >>> but >>> > we have no interest in building and maintaining our own platform. >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151219/21227456/attachment-0001.html From colton.conor at gmail.com Mon Dec 21 04:04:29 2015 From: colton.conor at gmail.com (Colton Conor) Date: Sun, 20 Dec 2015 19:04:29 -0600 Subject: [Freeswitch-users] Commercial Communications Platforms with Freeswitch at the Core In-Reply-To: References: Message-ID: >From what I can tell, Kolmisoft only uses Freeswitch in the Class 4 M2 product. Seems there class five product is based off of asterisk, but I could be wrong. http://wiki.kolmisoft.com/index.php/M2_Switch I have never heard of webitel before. I used FusionPBX log ago, and was impressed back then. It did have a lot of bugs, but I know there has been a ton of active development since then. Maybe I should give it another shot with commercial support. My userbase said the web interface was hard to navigate from what I remember. A side question with fusionPBX would be can you setup a scaleable and highly redundant platform just with freeswitch? Correct me if I am wrong but Fusion PBX is a GUI that sits on-top of Freeswitch. Other platforms I have seen usually have some version of SER sitting in-front of free switch acting as a media server. Fusion seems to just use Freeswitch. On Thu, Dec 17, 2015 at 5:06 PM, Stanislav Sinyagin wrote: > as far as I read somewhere, these guys base their software on top of > FreeSWITCH. But I never looked deeper into their solution: > http://www.kolmisoft.com/ > > Also I know these guys, and their platform is also based on > FreeSWITCH: http://webitel.com/ > > > > On Thu, Dec 17, 2015 at 4:11 PM, Colton Conor > wrote: > > What commercial commutations platforms exist that have freeswitch at the > > core of their platform? Something that could handle full class 5 > > capabilities and hosted PBX capabilities similar to what you would find > from > > a Broadsoft, Metaswitch, or Netsapiens platform? > > > > I know freeswitch is opensource so technically we could build our own, > but > > we have no interest in building and maintaining our own platform. > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151220/d24a51ed/attachment.html From luis.daniel.lucio at gmail.com Mon Dec 21 10:54:37 2015 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Mon, 21 Dec 2015 02:54:37 -0500 Subject: [Freeswitch-users] Commercial Communications Platforms with Freeswitch at the Core In-Reply-To: References: Message-ID: Dear Colton, Regardless the technology, is this what you are looking for? https://okay.com.mx/en/entrepreneurs/balancing-clustering-and-high-availability-with-fusionpbx.html Luis Daniel Lucio Quiroz CISSP, CISM, CISA Linux, VoIP and much more fun www.okay.com.mx Need LCR? Check out LCR for FusionPBX with FreeSWITCH Need Billing? Check out Billing for FusionPBX with FreeSWITCH 2015-12-20 20:04 GMT-05:00 Colton Conor : > From what I can tell, Kolmisoft only uses Freeswitch in the Class 4 M2 > product. Seems there class five product is based off of asterisk, but I > could be wrong. http://wiki.kolmisoft.com/index.php/M2_Switch > > I have never heard of webitel before. > > I used FusionPBX log ago, and was impressed back then. It did have a lot > of bugs, but I know there has been a ton of active development since then. > Maybe I should give it another shot with commercial support. My userbase > said the web interface was hard to navigate from what I remember. A side > question with fusionPBX would be can you setup a scaleable and highly > redundant platform just with freeswitch? Correct me if I am wrong but > Fusion PBX is a GUI that sits on-top of Freeswitch. Other platforms I have > seen usually have some version of SER sitting in-front of free switch > acting as a media server. Fusion seems to just use Freeswitch. > > On Thu, Dec 17, 2015 at 5:06 PM, Stanislav Sinyagin > wrote: > >> as far as I read somewhere, these guys base their software on top of >> FreeSWITCH. But I never looked deeper into their solution: >> http://www.kolmisoft.com/ >> >> Also I know these guys, and their platform is also based on >> FreeSWITCH: http://webitel.com/ >> >> >> >> On Thu, Dec 17, 2015 at 4:11 PM, Colton Conor >> wrote: >> > What commercial commutations platforms exist that have freeswitch at the >> > core of their platform? Something that could handle full class 5 >> > capabilities and hosted PBX capabilities similar to what you would find >> from >> > a Broadsoft, Metaswitch, or Netsapiens platform? >> > >> > I know freeswitch is opensource so technically we could build our own, >> but >> > we have no interest in building and maintaining our own platform. >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151221/41fc40e6/attachment.html From a.m.morozov at gmail.com Mon Dec 21 13:40:20 2015 From: a.m.morozov at gmail.com (=?UTF-8?B?0JDQu9C10LrRgdC10Lkg0JzQvtGA0L7Qt9C+0LI=?=) Date: Mon, 21 Dec 2015 13:40:20 +0300 Subject: [Freeswitch-users] thrubles whith DTMF Message-ID: Hello. We have encountered a problem. We use bind_digit_action application to activate a number of features. To still have ability to pass DTMF signals between A_leg and B_leg, we use send_dtmf application. This is a part of our dialplan in the attached file. All work well but one snag - our customers from time to time complain inability to interact whith IVR. During debugging we have discovered that Freeswitch generates DTMF signals with volume = 13. The problem is that a lot of popular PBX and call managers (for example Cisco UCM) do not recognize DTMF with such low volume. Is it possible to set this value in freeswitch as we need or this parameter is not configurable? WBR Alex M -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151221/4367db0a/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: send_dtmf.xml Type: text/xml Size: 701 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151221/4367db0a/attachment.xml From krc at retrospekt.dk Mon Dec 21 13:44:11 2015 From: krc at retrospekt.dk (Kim Rostgaard Christensen) Date: Mon, 21 Dec 2015 11:44:11 +0100 Subject: [Freeswitch-users] No early media or signaling to PSTN Message-ID: <5677D7FB.9090404@retrospekt.dk> Greetings I'm having some problems with getting sensible behavior when receiving calls through an external SIP->PTSN trunk. What we are experiencing: - Through ring_ready and sleep (the ringtone var is set prior), there is only silence. After the call is answered (dialplan answer), the following playback is delayed for about 10s. - When answering without ring_ready, the playback is also delayed ~10s - When using answer and playback ring-tone, everything is working, but leaves us in a sort of "dirty" state when directing the call further. It also means that we send a call directly to "unallocated", but need to playback ring tones beforehand. Can anyone provide me with some tips on how to debug this this issue further? Is it a firewall issue (everything is swell both in- and outbound), do I need to execute additional applications, or setup my gateway in a specific way? Best regards -- Kim Rostgaard Christensen | krc at retrospekt.dk | http://retrospekt.dk From s.safarov at gmail.com Mon Dec 21 15:39:38 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Mon, 21 Dec 2015 15:39:38 +0300 Subject: [Freeswitch-users] No audio when using Cisco IP Phone 7942 with Freeswitch In-Reply-To: References: <160e44e5-97be-437c-8bc0-d708af08671d@email.android.com> Message-ID: For call from 7942 all messages duplicatet. It is network error or inprober packet cupture. Fro call to 7942 png show failed call but sip trace show success call. This captures made for differenc calls. Could you please send raw wireshark pcap file. To capture packets use command tcpdmp -ni host or host -s 65535 -w /tmp/need_to_send.pcap On Fri, Dec 18, 2015 at 11:25 AM, Ayobami Adewole wrote: > Attached is the sip trace and the wireshark pcap captures. > > > *Sent:* Thursday, December 17, 2015 at 11:35 PM > *From:* "Michael Jerris" > *To:* "FreeSWITCH Users Help" > *Subject:* Re: [Freeswitch-users] No audio when using Cisco IP Phone 7942 > with Freeswitch > This description doesn?t make any sense, can you paste the actual sip > trace? > > > On Dec 17, 2015, at 5:31 PM, Ayobami Adewole > wrote: > > > > The codecs in use in both cases is G711 ulaw, traffic capture using > wireshark reveals that there was no rtp port negotiations, the reason for > no audio, but if the 7942 initiates call port negotiation is done and audio > is good. > > > > On Dec 17, 2015 11:09 PM, Moishe Grunstein wrote: > >> > >> Can you check what codecs are being negotiated on a good and a bad call. > >> > >> Thanks, > >> > >> Moishe Grunstein > >> Tornado Computer Systems, Inc. > >> 212.400.7650 888.IPPBX.US > >> Service Request Email: support at nysolutions.com > >> > >> Computer Networking * Managed Services * IP Video Surveillance * > Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * > Network Security * Site Surveys * CMS > >> > >> -----Original Message----- > >> From: freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of ayobami > >> Sent: Wednesday, December 16, 2015 9:54 AM > >> To: freeswitch-users at lists.freeswitch.org > >> Subject: [Freeswitch-users] No audio when using Cisco IP Phone 7942 > with Freeswitch > >> > >> I have a Freeswitch installation with various models of IP phones, all > models work fine except the 7942 model that when call is placed through to > from other models, there will be no audio. However, if the 7942 initiates > call to any other model the audio is fine in both directions. The network > is not behind NAT as other devices work fine on the network, what could be > the problem,? > >> > >> > >> > >> -- > >> View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/No-audio-when-using-Cisco-IP-Phone-7942-with-Freeswitch-tp7596195.html > >> Sent from the freeswitch-users mailing list archive at Nabble.com. > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151221/594778e8/attachment.html From rtreleaven at bunnykick.ca Mon Dec 21 16:32:06 2015 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Mon, 21 Dec 2015 08:32:06 -0500 Subject: [Freeswitch-users] Commercial Communications Platforms with Freeswitch at the Core In-Reply-To: References: Message-ID: Have you looked at Sangoma's offerings? On Mon, Dec 21, 2015 at 2:54 AM, Luis Daniel Lucio Quiroz < luis.daniel.lucio at gmail.com> wrote: > Dear Colton, > > Regardless the technology, is this what you are looking for? > https://okay.com.mx/en/entrepreneurs/balancing-clustering-and-high-availability-with-fusionpbx.html > > > Luis Daniel Lucio Quiroz > CISSP, CISM, CISA > Linux, VoIP and much more fun > www.okay.com.mx > > Need LCR? Check out LCR for FusionPBX with FreeSWITCH > Need Billing? Check out Billing for FusionPBX with FreeSWITCH > > 2015-12-20 20:04 GMT-05:00 Colton Conor : > >> From what I can tell, Kolmisoft only uses Freeswitch in the Class 4 M2 >> product. Seems there class five product is based off of asterisk, but I >> could be wrong. http://wiki.kolmisoft.com/index.php/M2_Switch >> >> I have never heard of webitel before. >> >> I used FusionPBX log ago, and was impressed back then. It did have a lot >> of bugs, but I know there has been a ton of active development since then. >> Maybe I should give it another shot with commercial support. My userbase >> said the web interface was hard to navigate from what I remember. A side >> question with fusionPBX would be can you setup a scaleable and highly >> redundant platform just with freeswitch? Correct me if I am wrong but >> Fusion PBX is a GUI that sits on-top of Freeswitch. Other platforms I have >> seen usually have some version of SER sitting in-front of free switch >> acting as a media server. Fusion seems to just use Freeswitch. >> >> On Thu, Dec 17, 2015 at 5:06 PM, Stanislav Sinyagin >> wrote: >> >>> as far as I read somewhere, these guys base their software on top of >>> FreeSWITCH. But I never looked deeper into their solution: >>> http://www.kolmisoft.com/ >>> >>> Also I know these guys, and their platform is also based on >>> FreeSWITCH: http://webitel.com/ >>> >>> >>> >>> On Thu, Dec 17, 2015 at 4:11 PM, Colton Conor >>> wrote: >>> > What commercial commutations platforms exist that have freeswitch at >>> the >>> > core of their platform? Something that could handle full class 5 >>> > capabilities and hosted PBX capabilities similar to what you would >>> find from >>> > a Broadsoft, Metaswitch, or Netsapiens platform? >>> > >>> > I know freeswitch is opensource so technically we could build our own, >>> but >>> > we have no interest in building and maintaining our own platform. >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151221/4e5ad41e/attachment-0001.html From gb at cm.nl Mon Dec 21 18:32:36 2015 From: gb at cm.nl (Grant Bagdasarian) Date: Mon, 21 Dec 2015 15:32:36 +0000 Subject: [Freeswitch-users] measure call quality Message-ID: <92b1dc220bd34297887ed6337df1bca4@CM-EX-V01.cm.local> Hello, Is it possible to show channel stats in freeswitch, like on asterisk (sip show channelstats)? Or perhaps another way of measuring call quality? Regards, Grant -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151221/d39eb0e6/attachment.html From v.kovalyshyn at gmail.com Fri Dec 18 11:22:32 2015 From: v.kovalyshyn at gmail.com (Vitaly Kovalyshyn) Date: Fri, 18 Dec 2015 10:22:32 +0200 Subject: [Freeswitch-users] Commercial Communications Platforms with Freeswitch at the Core In-Reply-To: References: Message-ID: <71C1546B-C76D-42F4-BAB9-3E21C7D94348@gmail.com> Hi! We are small team from Ukraine. We are working on a scalable, distributed, cloud-based VoIP telephony platform based on FreeSWITCH 1.6 and Docker: http://webitel.ua/bpmonline-webitel-callmanager/ (with CRM) http://webitel.com/ Work is still in progress. But, we already have customers on it. Our project is open source. You can try it: https://github.com/webitel/orchestration I'm working on documentation: http://api.webitel.com/ Webitel Engine has REST API and JavaScript library for an any web based client. Call routing is in JSON scheme. Examples: https://github.com/kovalyshyn/webinars/tree/master/webinar_3/acr Reports example: http://kovalyshyn.pp.ua/1164.html web ui review: http://kovalyshyn.pp.ua/1145.html I will be happy to answer any question you may have. Have a nice day! Best regards, Vitaly Kovalyshyn http://kovalyshyn.pp.ua/ Twitter: @kovalyshyn http://???????.???/ > On 17 ????. 2015 ?., at 17:11, Colton Conor wrote: > > What commercial commutations platforms exist that have freeswitch at the core of their platform? Something that could handle full class 5 capabilities and hosted PBX capabilities similar to what you would find from a Broadsoft, Metaswitch, or Netsapiens platform? > > I know freeswitch is opensource so technically we could build our own, but we have no interest in building and maintaining our own platform. > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151218/599b968e/attachment.html From luis.daniel.lucio at gmail.com Mon Dec 21 18:41:03 2015 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Mon, 21 Dec 2015 10:41:03 -0500 Subject: [Freeswitch-users] measure call quality In-Reply-To: <92b1dc220bd34297887ed6337df1bca4@CM-EX-V01.cm.local> References: <92b1dc220bd34297887ed6337df1bca4@CM-EX-V01.cm.local> Message-ID: FreeSWITCH has MOS, which it is reported in the CDR Le 21 d?c. 2015 10:33 AM, "Grant Bagdasarian" a ?crit : > Hello, > > > > Is it possible to show channel stats in freeswitch, like on asterisk (sip > show channelstats)? > > Or perhaps another way of measuring call quality? > > > > Regards, > > > > Grant > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151221/47a842d0/attachment.html From s.safarov at gmail.com Mon Dec 21 18:56:44 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Mon, 21 Dec 2015 15:56:44 +0000 Subject: [Freeswitch-users] measure call quality In-Reply-To: <92b1dc220bd34297887ed6337df1bca4@CM-EX-V01.cm.local> References: <92b1dc220bd34297887ed6337df1bca4@CM-EX-V01.cm.local> Message-ID: xml_cdr log contains channel RTP statistic. For b-leg statistic is need to enable cdr for b-leg On Mon, Dec 21, 2015, 18:33 Grant Bagdasarian wrote: > Hello, > > > > Is it possible to show channel stats in freeswitch, like on asterisk (sip > show channelstats)? > > Or perhaps another way of measuring call quality? > > > > Regards, > > > > Grant > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151221/497834f3/attachment.html From anthony.minessale at gmail.com Mon Dec 21 19:43:12 2015 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 21 Dec 2015 10:43:12 -0600 Subject: [Freeswitch-users] Understanding BW test in verto protocol In-Reply-To: References: Message-ID: On Thu, Dec 17, 2015 at 11:21 AM, Carlos Gonz?lez Florido < carlosj.gf at gmail.com> wrote: > Hello, > > we are developing an open source, distributed, scalable media processing > framework (using excellent Freeswitch as the media core) and we are > implementing a Verto protocol proxy as part of it. > > We have some doubts related to the bandwidth test implemented in 1.6.5. > Please tell me if I am correct: > > 1. First, the client sends "#SPU (number1)" where number1 is the amount of > bytes it is going to send next with "#SPB" messages (262.144 in my case). > 2. Then it finishes with a "#SPE" message. > 3. The server answers then with a #SPU (number2), and seems to send 10x > bytes (2.621.440 in my case) What does number2 mean? > The duration it took to receive those bytes. > 4. Then, the server finishes with a "#SPD (number3)". Again, what does > number3 mean? > The duration it took to send its bytes back. > > More questions would be: > - Is it possible to put several (many) of concurrent 'invites' over the > same verto connection or you really need to open a new connection for each > call? Would it be efficient? > - Is it possible to 'insert' a channel into Freeswitch without using any > endpoint? (Verto or SIP) I mean, an API for sending an SDP and destination > number (over the event socket connection for example) and getting a reply > SDP from Freeswitch? > > We have plans for the next stage of evolution for all of this. So you may want to participate rather than trying to do your own thing. > Thank you very much in advance, > > Carlos Gonzalez. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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/20151221/d7a18aa6/attachment-0001.html From xyangni at gmail.com Mon Dec 21 21:34:38 2015 From: xyangni at gmail.com (Eric Ni) Date: Mon, 21 Dec 2015 18:34:38 +0000 Subject: [Freeswitch-users] Playback is not working In-Reply-To: References: <802ad618de92498daae9171acb753295@DMTEX02P.timesgroup.com> <52290a08436c42558234828be8fae1c7@DMTEX02P.timesgroup.com> Message-ID: got similar problem with the newly installed FS on debian 8.2 I followed https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie and installed package from stable branch. Changed nothing except default password. Dialed 5000 the do the test. Log file seems ok. But I do hear nothing. EXECUTE sofia/internal/1000 at 115.159.158.159 sleep(2000) EXECUTE sofia/internal/1000 at 115.159.158.159 ivr(demo_ivr) 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:880 building menu 'demo_ivr' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '1' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '2' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '3' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '4' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '5' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:880 building menu 'demo_ivr_submenu' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-top' to '*' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-sub' to '6' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(10[01][0-9])$/' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-top' to '9' 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu demo_ivr 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en] 2015-12-22 02:08:17.874051 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[ivr/ivr-welcome_to_freeswitch.wav] (en :en) 2015-12-22 02:08:17.874051 [DEBUG] switch_ivr_play_say.c:1359 Codec Activated L16 at 8000hz 1 channels 20ms 2015-12-22 02:08:20.474053 [DEBUG] switch_ivr_play_say.c:1807 done playing file /usr/share/freeswitch/sounds/en/us/ca llie/ivr/ivr-welcome_to_freeswitch.wav 2015-12-22 02:08:20.594045 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[ivr/ivr-this_ivr_will_let_you_test_fea tures.wav] (en:en) 2015-12-22 02:08:20.594045 [DEBUG] switch_ivr_play_say.c:1359 Codec Activated L16 at 8000hz 1 channels 20ms 2015-12-22 02:08:24.574063 [DEBUG] switch_ivr_play_say.c:1807 done playing file /usr/share/freeswitch/sounds/en/us/ca llie/ivr/ivr-this_ivr_will_let_you_test_features.wav 2015-12-22 02:08:24.694045 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[ivr/ivr-you_may_exit_by_hanging_up.wav ] (en:en) 2015-12-22 02:08:24.694045 [DEBUG] switch_ivr_play_say.c:1359 Codec Activated L16 at 8000hz 1 channels 20ms 2015-12-22 02:08:27.294049 [DEBUG] switch_ivr_play_say.c:1807 done playing file /usr/share/freeswitch/sounds/en/us/ca llie/ivr/ivr-you_may_exit_by_hanging_up.wav On Thu, Sep 24, 2015 at 9:08 AM, Raphael Lechner wrote: > Hi, > > For starting using Freeswitch I suggest reading the books > https://freeswitch.org/ and the very good documentation: > https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+Explained > I don?t see any problem with your configuration, but without the full log > it?s hard to say anything. Are you working with FS version 1.4.21 or 1.6? > > Raphael > > On 24 Sep 2015, at 10:00, Vikas Kumar > wrote: > > Thanks for your reply. Yes FS is answering the call before playback. > > > > > expression="handle_over_limit"> > * * > > * > data="/usr/local/videocallhandler/media/id.wav"/> > data="/usr/local/videocallhandler/media/InQue2.wav"/> > > > > > Freeswitch ---> Opensips B In freeswitch dialing plan I am using Bridge command to connect Incoming call from Opensips A to Opensips B Is there any way Freeswitch can ping (using options) both A and B opensips to check if they are alive? . From documentation I see that we can enable ping for all "Registered" endpoints as well as "Gateways" but i am unable to figure out how I can use them in my scenario as no end point registers to Freeswitch and not using gateways also (I simply give IP of opensips B in bridge command) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151222/b1610239/attachment.html From ssinyagin at gmail.com Tue Dec 22 09:02:59 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 22 Dec 2015 07:02:59 +0100 Subject: [Freeswitch-users] Keep alive ping for non registered endpoints In-Reply-To: References: Message-ID: Why don't you define them as gateways? On 22 Dec 2015 05:10, "John Nash" wrote: > My setup is .. > > Opensips A ----> Freeswitch ---> Opensips B > > In freeswitch dialing plan I am using Bridge command to connect Incoming > call from Opensips A to Opensips B > > Is there any way Freeswitch can ping (using options) both A and B opensips > to check if they are alive? . From documentation I see that we can enable > ping for all "Registered" endpoints as well as "Gateways" but i am unable > to figure out how I can use them in my scenario as no end point registers > to Freeswitch and not using gateways also (I simply give IP of opensips B > in bridge command) > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151222/818365d9/attachment.html From john.nash778 at gmail.com Tue Dec 22 09:19:51 2015 From: john.nash778 at gmail.com (John Nash) Date: Tue, 22 Dec 2015 11:49:51 +0530 Subject: [Freeswitch-users] Keep alive ping for non registered endpoints In-Reply-To: References: Message-ID: Thanks !! I will do that. In case of options timeout for either A or B possible to define some action?...Like hup all calls ? On Tue, Dec 22, 2015 at 11:32 AM, Stanislav Sinyagin wrote: > Why don't you define them as gateways? > On 22 Dec 2015 05:10, "John Nash" wrote: > >> My setup is .. >> >> Opensips A ----> Freeswitch ---> Opensips B >> >> In freeswitch dialing plan I am using Bridge command to connect Incoming >> call from Opensips A to Opensips B >> >> Is there any way Freeswitch can ping (using options) both A and B >> opensips to check if they are alive? . From documentation I see that we can >> enable ping for all "Registered" endpoints as well as "Gateways" but i am >> unable to figure out how I can use them in my scenario as no end point >> registers to Freeswitch and not using gateways also (I simply give IP of >> opensips B in bridge command) >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151222/f7486c73/attachment.html From ssinyagin at gmail.com Tue Dec 22 09:44:16 2015 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 22 Dec 2015 07:44:16 +0100 Subject: [Freeswitch-users] Keep alive ping for non registered endpoints In-Reply-To: References: Message-ID: mod_distributor can be used to send calls to active gateways only. Also you can query the gateway states from ESL and perform whatever actions you need through the ESL connection. On 22 Dec 2015 07:20, "John Nash" wrote: > Thanks !! I will do that. In case of options timeout for either A or B > possible to define some action?...Like hup all calls ? > > On Tue, Dec 22, 2015 at 11:32 AM, Stanislav Sinyagin > wrote: > >> Why don't you define them as gateways? >> On 22 Dec 2015 05:10, "John Nash" wrote: >> >>> My setup is .. >>> >>> Opensips A ----> Freeswitch ---> Opensips B >>> >>> In freeswitch dialing plan I am using Bridge command to connect Incoming >>> call from Opensips A to Opensips B >>> >>> Is there any way Freeswitch can ping (using options) both A and B >>> opensips to check if they are alive? . From documentation I see that we can >>> enable ping for all "Registered" endpoints as well as "Gateways" but i am >>> unable to figure out how I can use them in my scenario as no end point >>> registers to Freeswitch and not using gateways also (I simply give IP of >>> opensips B in bridge command) >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151222/253c2869/attachment.html From covici at ccs.covici.com Tue Dec 22 10:02:24 2015 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Tue, 22 Dec 2015 02:02:24 -0500 Subject: [Freeswitch-users] Keep alive ping for non registered endpoints In-Reply-To: References: Message-ID: <25465.1450767744@ccs.covici.com> I have had a lot of problems with those options ping, if one should fail it seems to have trouble recovering the gateway after that. Stanislav Sinyagin wrote: > Why don't you define them as gateways? > On 22 Dec 2015 05:10, "John Nash" wrote: > > > My setup is .. > > > > Opensips A ----> Freeswitch ---> Opensips B > > > > In freeswitch dialing plan I am using Bridge command to connect Incoming > > call from Opensips A to Opensips B > > > > Is there any way Freeswitch can ping (using options) both A and B opensips > > to check if they are alive? . From documentation I see that we can enable > > ping for all "Registered" endpoints as well as "Gateways" but i am unable > > to figure out how I can use them in my scenario as no end point registers > > to Freeswitch and not using gateways also (I simply give IP of opensips B > > in bridge command) > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > ---------------------------------------------------- > Alternatives: > > ---------------------------------------------------- > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com From john.nash778 at gmail.com Tue Dec 22 10:44:23 2015 From: john.nash778 at gmail.com (John Nash) Date: Tue, 22 Dec 2015 13:14:23 +0530 Subject: [Freeswitch-users] Keep alive ping for non registered endpoints In-Reply-To: <25465.1450767744@ccs.covici.com> References: <25465.1450767744@ccs.covici.com> Message-ID: OK actually my objective to ping proxies A and B is , in case they are down call will be stuck in freeswitch as I am using bypass media On Tue, Dec 22, 2015 at 12:32 PM, wrote: > I have had a lot of problems with those options ping, if one should fail > it seems to have trouble recovering the gateway after that. > > Stanislav Sinyagin wrote: > > > Why don't you define them as gateways? > > On 22 Dec 2015 05:10, "John Nash" wrote: > > > > > My setup is .. > > > > > > Opensips A ----> Freeswitch ---> Opensips B > > > > > > In freeswitch dialing plan I am using Bridge command to connect > Incoming > > > call from Opensips A to Opensips B > > > > > > Is there any way Freeswitch can ping (using options) both A and B > opensips > > > to check if they are alive? . From documentation I see that we can > enable > > > ping for all "Registered" endpoints as well as "Gateways" but i am > unable > > > to figure out how I can use them in my scenario as no end point > registers > > > to Freeswitch and not using gateways also (I simply give IP of > opensips B > > > in bridge command) > > > > > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > ---------------------------------------------------- > > 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/20151222/ee156eaf/attachment.html From steveayre at gmail.com Tue Dec 22 11:29:15 2015 From: steveayre at gmail.com (Steven Ayre) Date: Tue, 22 Dec 2015 08:29:15 +0000 Subject: [Freeswitch-users] Keep alive ping for non registered endpoints In-Reply-To: References: Message-ID: It also raises a gateway up/down event which you could act upon within an event hook running in a startup script, or from a daemon connected over ESL. On 22 December 2015 at 06:44, Stanislav Sinyagin wrote: > mod_distributor can be used to send calls to active gateways only. > > Also you can query the gateway states from ESL and perform whatever > actions you need through the ESL connection. > On 22 Dec 2015 07:20, "John Nash" wrote: > >> Thanks !! I will do that. In case of options timeout for either A or B >> possible to define some action?...Like hup all calls ? >> >> On Tue, Dec 22, 2015 at 11:32 AM, Stanislav Sinyagin > > wrote: >> >>> Why don't you define them as gateways? >>> On 22 Dec 2015 05:10, "John Nash" wrote: >>> >>>> My setup is .. >>>> >>>> Opensips A ----> Freeswitch ---> Opensips B >>>> >>>> In freeswitch dialing plan I am using Bridge command to connect >>>> Incoming call from Opensips A to Opensips B >>>> >>>> Is there any way Freeswitch can ping (using options) both A and B >>>> opensips to check if they are alive? . From documentation I see that we can >>>> enable ping for all "Registered" endpoints as well as "Gateways" but i am >>>> unable to figure out how I can use them in my scenario as no end point >>>> registers to Freeswitch and not using gateways also (I simply give IP of >>>> opensips B in bridge command) >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151222/0c9c65cb/attachment.html From steveayre at gmail.com Tue Dec 22 11:32:54 2015 From: steveayre at gmail.com (Steven Ayre) Date: Tue, 22 Dec 2015 08:32:54 +0000 Subject: [Freeswitch-users] Keep alive ping for non registered endpoints In-Reply-To: <25465.1450767744@ccs.covici.com> References: <25465.1450767744@ccs.covici.com> Message-ID: What ping-min and ping-max settings are you using? It keeps a counter representing the number of successful and failed pings. If it drops too low the gateway is marked as down and if it's high it's marked as back up. As a result it can handle the occasional dropped ping as long as it's not several in a row. ping-min=3 and ping-max=5 seem to work well. On 22 December 2015 at 07:02, wrote: > I have had a lot of problems with those options ping, if one should fail > it seems to have trouble recovering the gateway after that. > > Stanislav Sinyagin wrote: > > > Why don't you define them as gateways? > > On 22 Dec 2015 05:10, "John Nash" wrote: > > > > > My setup is .. > > > > > > Opensips A ----> Freeswitch ---> Opensips B > > > > > > In freeswitch dialing plan I am using Bridge command to connect > Incoming > > > call from Opensips A to Opensips B > > > > > > Is there any way Freeswitch can ping (using options) both A and B > opensips > > > to check if they are alive? . From documentation I see that we can > enable > > > ping for all "Registered" endpoints as well as "Gateways" but i am > unable > > > to figure out how I can use them in my scenario as no end point > registers > > > to Freeswitch and not using gateways also (I simply give IP of > opensips B > > > in bridge command) > > > > > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > ---------------------------------------------------- > > 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/20151222/a922d6d8/attachment-0001.html From covici at ccs.covici.com Tue Dec 22 12:15:26 2015 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Tue, 22 Dec 2015 04:15:26 -0500 Subject: [Freeswitch-users] Keep alive ping for non registered endpoints In-Reply-To: References: <25465.1450767744@ccs.covici.com> Message-ID: <30014.1450775726@ccs.covici.com> I have never seen those settings, where wouldIput those? With the default, once a gateway is down, itnever seemsto come back up, at least this is what happened to me -- I eventually got rid of the options ping altogether andnever had a problem since. Steven Ayre wrote: > What ping-min and ping-max settings are you using? It keeps a counter > representing the number of successful and failed pings. If it drops too low > the gateway is marked as down and if it's high it's marked as back up. As a > result it can handle the occasional dropped ping as long as it's not > several in a row. ping-min=3 and ping-max=5 seem to work well. > > On 22 December 2015 at 07:02, wrote: > > > I have had a lot of problems with those options ping, if one should fail > > it seems to have trouble recovering the gateway after that. > > > > Stanislav Sinyagin wrote: > > > > > Why don't you define them as gateways? > > > On 22 Dec 2015 05:10, "John Nash" wrote: > > > > > > > My setup is .. > > > > > > > > Opensips A ----> Freeswitch ---> Opensips B > > > > > > > > In freeswitch dialing plan I am using Bridge command to connect > > Incoming > > > > call from Opensips A to Opensips B > > > > > > > > Is there any way Freeswitch can ping (using options) both A and B > > opensips > > > > to check if they are alive? . From documentation I see that we can > > enable > > > > ping for all "Registered" endpoints as well as "Gateways" but i am > > unable > > > > to figure out how I can use them in my scenario as no end point > > registers > > > > to Freeswitch and not using gateways also (I simply give IP of > > opensips B > > > > in bridge command) > > > > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > > consulting at freeswitch.org > > > > http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > > http://www.freeswitch.org > > > > http://confluence.freeswitch.org > > > > http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE: > > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > http://www.freeswitch.org > > > > > > > > > > ---------------------------------------------------- > > > 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 regis.freeswitch.org at tornad.net Tue Dec 22 13:24:44 2015 From: regis.freeswitch.org at tornad.net (Regis M) Date: Tue, 22 Dec 2015 11:24:44 +0100 Subject: [Freeswitch-users] measure call quality In-Reply-To: References: <92b1dc220bd34297887ed6337df1bca4@CM-EX-V01.cm.local> Message-ID: Is there any docs page in confluence that described the mos/cdr value... there's RTP value, but no explication. Regards, 2015-12-21 16:56 GMT+01:00 Sergey Safarov : > xml_cdr log contains channel RTP statistic. > For b-leg statistic is need to enable cdr for b-leg > > On Mon, Dec 21, 2015, 18:33 Grant Bagdasarian wrote: > >> Hello, >> >> >> >> Is it possible to show channel stats in freeswitch, like on asterisk (sip >> show channelstats)? >> >> Or perhaps another way of measuring call quality? >> >> >> >> Regards, >> >> >> >> Grant >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151222/a54bdeb1/attachment.html From rw at panorgan.ch Tue Dec 22 16:46:38 2015 From: rw at panorgan.ch (=?UTF-8?Q?Ren=c3=a9_Weiss?=) Date: Tue, 22 Dec 2015 14:46:38 +0100 Subject: [Freeswitch-users] Alternative to loopback endpoint? Message-ID: <5679543E.4080208@panorgan.ch> Hi, I'm building an ESL conference application which calls/adds members after the conference moderator has entered ("outbound conference calls"). For this I would like to use the existing dialplan rules to decide if the call is internal or has to go over a specific gateway. In other applications I'm using the "loopback" endpoint for this, but it seems that I can't use it here, because if I'm using loopback then it plays the sound of the dialing into the conference. Is there another way to use the dialplan rules from ESL or a way to "silently" use the loopback endpoint? Thanks, Ren? From colton.conor at gmail.com Tue Dec 22 16:50:56 2015 From: colton.conor at gmail.com (Colton Conor) Date: Tue, 22 Dec 2015 07:50:56 -0600 Subject: [Freeswitch-users] List URI BLF Config Unique to Broadsoft or Can be Done in Freeswitch? In-Reply-To: References: Message-ID: Has anyone received this message about the List URI BLF? When I sent it out I know the list was having some issues. On Wed, Dec 16, 2015 at 10:14 AM, Colton Conor wrote: > I asked this question on the VoiceOPs lists, but have not received a > response. Considering jumping from Broadsoft to a FreeSwitch based > platform. Wanted to know the following: > > Is the way Broadsoft implements Busy Lamp Field (BLF) with a list URI > unique only to Broadsoft? I believe I am talking about Enhance BLF. > > > > In the configuration of BLF on a Polycom phone using Broadsoft there is a Broadsoft > List URI field. The same is true with Yealink, Gigaset, Cisco, and other > phones. > > > > Here is a configure guide for a Polycom 4.3.2 Busy Lamp Field > Configuration > http://community.polycom.com/polycom/attachments/polycom/VoIP/8977/1/PartnerConfigGuide_Polycom_UCSoftwareDevices-VVX.pdf > > > > Here is the config guide for a Yealink with screenshots of what the > Broadsoft screens look like. Basically from the Broadsoft interface you can > decide which users to monitor, and it it will instantly and dynamically > update the List URI with the monitored users. Not need to change anything > in the phone configure file (assuming you aready have the list uri in there) > > > > > http://www.yealink.com/Upload/UCOne/features/Quick_Setup_BLF_List_on_Yealink_IP_Phones_with_BroadSoft_UC_ONE_v1.0.pdf > > > > On other platforms, freeswitch for example, enhanced BLF is not configured > with a list. Instead, each line you want to monitor, needs to be added in > the config file. The phone then has to be rebooted, and the new config file > has to be loaded. > > > > Here is what the freeswitch wiki shows: > https://wiki.freeswitch.org/wiki/Polycom_Presence_Setup > > > > *Enhanced BLF* provides ringing indication and directed call pick-up > capability. > > Once a productivity license has been installed, the BLF configuration can > be added to the phone1.cfg(resp. in a phone-specific settings file like > "${MAC}-settings.cfg). > > The following should be configured at the phone's file (e.g. phone1.cfg or > *MAC-address*-settings.cfg): > > attendant.behaviors.display.spontaneousCallAppearances.normal="1" > attendant.behaviors.display.spontaneousCallAppearances.automata="1" > attendant.behaviors.display.remoteCallerID.normal="1" > attendant.behaviors.display.remoteCallerID.automata="1" > attendant.resourceList.1.type="automata" > > and for each user you want to watch: > > attendant.resourceList.1.address="8000" attendant.resourceList.1.label="FirstUserName" > attendant.resourceList.2.address="8002" attendant.resourceList.2.label="SecondUserName" > /> > > And finally, the following line should be added into local-sip.cfg: > > > > > On a FreeSWITCH installation with a default-dialplan, "intercept-ext" in > conf/dialplan/default.xml is configured to catch ***${destination_number}*. > Pressing the line-button on a ringing extension will cause the phone to > call intercept-ext with ** and the ringing extension and the phone will be > connected to the caller - a perfect setup for an attendant console. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151222/cbbe0bf1/attachment-0001.html From bote_radio at botecomm.com Tue Dec 22 20:29:03 2015 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 22 Dec 2015 12:29:03 -0500 Subject: [Freeswitch-users] Playback is not working In-Reply-To: References: <802ad618de92498daae9171acb753295@DMTEX02P.timesgroup.com> <52290a08436c42558234828be8fae1c7@DMTEX02P.timesgroup.com> Message-ID: <008f01d13cde$412ba280$c382e780$@botecomm.com> Just as a point of information, I just compiled FreeSWITCH MASTER about a week ago on a new Debian 8.2 bare metal server and the first thing I do to test is call the 5000 IVR demo. It works fine. Perhaps it?s worth investigating any differences between the package and the compiled installation? --- Bote Man From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Eric Ni Sent: Monday, 21 December, 2015 13:35 Subject: Re: [Freeswitch-users] Playback is not working got similar problem with the newly installed FS on debian 8.2 I followed https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie and installed package from stable branch. Changed nothing except default password. Dialed 5000 the do the test. Log file seems ok. But I do hear nothing. EXECUTE sofia/internal/1000 at 115.159.158.159 sleep(2000) EXECUTE sofia/internal/1000 at 115.159.158.159 ivr(demo_ivr) 2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu demo_ivr 2015-12-22 02:08:17.874051 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[ivr/ivr-welcome_to_freeswitch.wav] (en:en) 2015-12-22 02:08:17.874051 [DEBUG] switch_ivr_play_say.c:1359 Codec Activated L16 at 8000hz 1 channels 20ms 2015-12-22 02:08:20.474053 [DEBUG] switch_ivr_play_say.c:1807 done playing file /usr/share/freeswitch/sounds/en/us/callie/ivr/ivr-welcome_to_freeswitch.wav 2015-12-22 02:08:20.594045 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[ivr/ivr-this_ivr_will_let_you_test_features.wav] (en:en) 2015-12-22 02:08:20.594045 [DEBUG] switch_ivr_play_say.c:1359 Codec Activated L16 at 8000hz 1 channels 20ms 2015-12-22 02:08:24.574063 [DEBUG] switch_ivr_play_say.c:1807 done playing file /usr/share/freeswitch/sounds/en/us/callie/ivr/ivr-this_ivr_will_let_you_test_features.wav On Thu, Sep 24, 2015 at 9:08 AM, Raphael Lechner wrote: Hi, For starting using Freeswitch I suggest reading the books https://freeswitch.org/ and the very good documentation: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+Explained I don?t see any problem with your configuration, but without the full log it?s hard to say anything. Are you working with FS version 1.4.21 or 1.6? Raphael On 24 Sep 2015, at 10:00, Vikas Kumar wrote: Thanks for your reply. Yes FS is answering the call before playback. > > * > > data="/usr/local/videocallhandler/media/id.wav"/> > > data="/usr/local/videocallhandler/media/InQue2.wav"/> > > > > > > > > > > (5060) | | 4 |3545.555751| 100 Trying| | |SIP Status | |(42765) <------------------ (5060) | | 4 |3545.556369| 407 Proxy Authentica | |SIP Status | |(42765) <------------------ (5060) | | 4 |3545.582420| ACK | | |SIP Request | |(42765) ------------------> (5060) | | 4 |3545.582556| INVITE SDP (g711U g7 | |SIP From: (5060) | | 4 |3545.582640| 100 Trying| | |SIP Status | |(42765) <------------------ (5060) | | ----------------------------------------------------------------------------- 5 |3545.858175| | INVITE SDP (g711U g7 |SIP From: "202" (5060) | 5 |3546.027093| | 407 Proxy Authentica |SIP Status | | |(5080) <------------------ (5060) | 5 |3546.027150| | ACK | |SIP Request | | |(5080) ------------------> (5060) | 5 |3546.027278| | INVITE SDP (g711U g7 |SIP From: "202" (5060) | 5 |3546.202676| | 100 Giving a try... |SIP Status | | |(5080) <------------------ (5060) | 5 |3547.065610| | 180 Ringing SDP (g71 |SIP Status | | |(5080) <------------------ (5060) | ----------------------------------------------------------------------------- 4 |3547.090314| 183 Session Progress | |SIP Status | |(42765) <------------------ (5060) | | ----------------------------------------------------------------------------- 5 |3553.609372| | 200 OK SDP (g711U te |SIP Status | | |(5080) <------------------ (5060) | 5 |3553.622941| | ACK | |SIP Request | | |(5080) ------------------> (5060) | ----------------------------------------------------------------------------- 4 |3553.662881| 200 OK SDP (g711U te | |SIP Status | |(42765) <------------------ (5060) | | 4 |3553.756280| ACK | | |SIP Request | |(42765) ------------------> (5060) | | 4 |3661.662465| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3662.669760| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3664.700044| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3668.712399| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3672.713804| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3676.722414| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3680.742404| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3684.762407| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3688.772652| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3692.782402| BYE | | |SIP Request | |(42765) <------------------ (5060) | | ----------------------------------------------------------------------------- 5 |3693.702939| | BYE | |SIP Request | | |(5080) ------------------> (5060) | 5 |3693.899483| | 200 OK | |SIP Status | | |(5080) <------------------ (5060) | ----------------------------------------------------------------------------- 4 |3707.848672| BYE | | |SIP Request | |(42765) ------------------> (5060) | | 4 |3707.848763| 481 Call Does Not Ex | |SIP Status | |(42765) <------------------ (5060) | | Thanks From rajil.s at gmail.com Wed Dec 30 01:23:05 2015 From: rajil.s at gmail.com (Rajil Saraswat) Date: Tue, 29 Dec 2015 16:23:05 -0600 Subject: [Freeswitch-users] Call drops after few minutes In-Reply-To: References: Message-ID: The pastebin link for the wireshark call trace is at http://pastebin.com/wiKBFvqk From mgg at giagnocavo.net Wed Dec 30 02:06:37 2015 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Tue, 29 Dec 2015 23:06:37 +0000 Subject: [Freeswitch-users] Call drops after few minutes In-Reply-To: References: Message-ID: Usually retransmits mean you have a NAT/firewall/routing issue and one side isn't getting the packets. Put the pcap up on cloudshark? -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Rajil Saraswat Sent: Tuesday, 29 December, 2015 16:22 To: FreeSWITCH Users Help Subject: [Freeswitch-users] Call drops after few minutes Hello, I have a sip client (Android Csipsimple) connected to my FS server. Any outbound calls i make drop after some time. The FS server is running in a FreeBSD jail on a separate network (192.168.10.10) to the Android phone which is on a LAN (172.16.1.21). I have the following acl defined. In internal profile (internal.xml) the acl is setup as Following is the wire-shark representation of the call. Any idea what my call is being dropped? Conv.| Time | 172.16.1.21 | 94.75.247.45 | | | | 192.168.10.10 | 4 |3545.555602| INVITE SDP (g711U g7 | |SIP From: (5060) | | 4 |3545.555751| 100 Trying| | |SIP Status | |(42765) <------------------ (5060) | | 4 |3545.556369| 407 Proxy Authentica | |SIP Status | |(42765) <------------------ (5060) | | 4 |3545.582420| ACK | | |SIP Request | |(42765) ------------------> (5060) | | 4 |3545.582556| INVITE SDP (g711U g7 | |SIP From: (5060) | | 4 |3545.582640| 100 Trying| | |SIP Status | |(42765) <------------------ (5060) | | ----------------------------------------------------------------------------- 5 |3545.858175| | INVITE SDP (g711U g7 |SIP From: "202" (5060) | 5 |3546.027093| | 407 Proxy Authentica |SIP Status | | |(5080) <------------------ (5060) | 5 |3546.027150| | ACK | |SIP Request | | |(5080) ------------------> (5060) | 5 |3546.027278| | INVITE SDP (g711U g7 |SIP From: "202" (5060) | 5 |3546.202676| | 100 Giving a try... |SIP Status | | |(5080) <------------------ (5060) | 5 |3547.065610| | 180 Ringing SDP (g71 |SIP Status | | |(5080) <------------------ (5060) | ----------------------------------------------------------------------------- 4 |3547.090314| 183 Session Progress | |SIP Status | |(42765) <------------------ (5060) | | ----------------------------------------------------------------------------- 5 |3553.609372| | 200 OK SDP (g711U te |SIP Status | | |(5080) <------------------ (5060) | 5 |3553.622941| | ACK | |SIP Request | | |(5080) ------------------> (5060) | ----------------------------------------------------------------------------- 4 |3553.662881| 200 OK SDP (g711U te | |SIP Status | |(42765) <------------------ (5060) | | 4 |3553.756280| ACK | | |SIP Request | |(42765) ------------------> (5060) | | 4 |3661.662465| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3662.669760| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3664.700044| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3668.712399| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3672.713804| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3676.722414| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3680.742404| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3684.762407| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3688.772652| BYE | | |SIP Request | |(42765) <------------------ (5060) | | 4 |3692.782402| BYE | | |SIP Request | |(42765) <------------------ (5060) | | ----------------------------------------------------------------------------- 5 |3693.702939| | BYE | |SIP Request | | |(5080) ------------------> (5060) | 5 |3693.899483| | 200 OK | |SIP Status | | |(5080) <------------------ (5060) | ----------------------------------------------------------------------------- 4 |3707.848672| BYE | | |SIP Request | |(42765) ------------------> (5060) | | 4 |3707.848763| 481 Call Does Not Ex | |SIP Status | |(42765) <------------------ (5060) | | 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 bote_radio at botecomm.com Wed Dec 30 02:21:48 2015 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 29 Dec 2015 18:21:48 -0500 Subject: [Freeswitch-users] Call drops after few minutes In-Reply-To: References: Message-ID: <006801d1428f$b11efe50$135cfaf0$@botecomm.com> The ACL allows users to register without authenticating, so if the call connects at all they are not a concern here. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence > -----Original Message----- > From: Michael Giagnocavo > Sent: Tuesday, 29 December, 2015 18:07 > Subject: Re: [Freeswitch-users] Call drops after few minutes > > Usually retransmits mean you have a NAT/firewall/routing issue and one side > isn't getting the packets. Put the pcap up on cloudshark? > > -----Original Message----- > From: Rajil Saraswat > Sent: Tuesday, 29 December, 2015 16:22 > Subject: [Freeswitch-users] Call drops after few minutes > > Hello, > > I have a sip client (Android Csipsimple) connected to my FS server. > Any outbound calls i make drop after some time. The FS server is running in a > FreeBSD jail on a separate network (192.168.10.10) to the Android phone > which is on a LAN (172.16.1.21). > > I have the following acl defined. > > > > > > > > > > > > In internal profile (internal.xml) the acl is setup as > > > > From rutu.patel at inextrix.com Wed Dec 30 06:43:43 2015 From: rutu.patel at inextrix.com (Rutu Patel) Date: Wed, 30 Dec 2015 09:13:43 +0530 Subject: [Freeswitch-users] Codec Transcoding issue In-Reply-To: <01f401d1423e$7863b160$692b1420$@freeswitch.org> References: <003f01d140c7$92a82e20$b7f88a60$@botecomm.com> <91993427-608F-4F88-9BB0-526B87BA8A14@gmail.com> <01f401d1423e$7863b160$692b1420$@freeswitch.org> Message-ID: Hi Ken, I have already purchased g729 license for 10 channels. freeswitch at internal> g729_info G.729A license available => 10 G.729A license allocated => 0 -- Thanks, Rutu Patel On Tue, Dec 29, 2015 at 7:10 PM, Ken Rice wrote: > FreeSWITCH Support transcoding for G729, you just need to go purchase a > license for mod_com_g729. This is due to patents. > > > > > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Vitaly > Kovalyshyn > *Sent:* Tuesday, December 29, 2015 7:01 AM > *To:* FreeSWITCH Users Help > > *Subject:* Re: [Freeswitch-users] Codec Transcoding issue > > > > I propose that You try to use G729 with transcoding. But, FreeSWITCH > supports only bypass mode for G729 and G723.1 > > > Best regards, > Vitaly Kovalyshyn > > http://kovalyshyn.pp.ua/ > Twitter: @kovalyshyn > > http://???????.???/ > > > > On 29 ????. 2015 ?., at 14:57, Rutu Patel wrote: > > > > Hi Sergey, > > Thanks for the correction. > > Freeswitch now offers all 3 codecs defined as > absolute_codec_string='^^:G729:PCMU:PCMA' . > > Its ringing but when I pick up the call it disconnect with > INCOMPATIBLE_DESTINATION . > > > Here is the freeswitch logs http://pastebin.com/g6jkQgY2 > > Please assist me if I am missing something. > > > -- > Thanks, > Rutu Patel > > > > On Tue, Dec 29, 2015 at 1:41 PM, Sergey Safarov > wrote: > > In callog on my FS server > > absolute_codec_string='^^:PCMU:PCMA' > > > > Sergey > > > > On Tue, Dec 29, 2015 at 8:01 AM, Rutu Patel > wrote: > > Hi Vitaly, > > Thanks for reply. > > I have tried that but getting something like below and call is failing > with same cause. > > EXECUTE sofia/default/98989 at 196.xx.xx.xx > set(absolute_codec_string='G729,PCMA,PCMU') > 2015-12-29 06:52:48.885277 [DEBUG] mod_dptools.c:1498 SET > sofia/default/98989 at 196.xx.xx.xx > [absolute_codec_string]=['G729,PCMA,PCMU'] > EXECUTE sofia/default/98989 at 196.xx.xx.xx limit_execute(db TestGW > gw_TestGW 2 bridge > {media_mix_inbound_outbound_codecs=true,absolute_codec_string='G729,PCMA,PCMU'}sofia/gateway/TestGW/xxxx300011) > 2015-12-29 06:52:48.885277 [DEBUG] switch_limit.c:126 incr called: > TestGW_gw_TestGW max:2, interval:0 > 2015-12-29 06:52:48.885277 [DEBUG] mod_db.c:194 Usage for TestGW_gw_TestGW > is now 1/2 > EXECUTE sofia/default/98989 at 196.xx.xx.xx > bridge({media_mix_inbound_outbound_codecs=true,absolute_codec_string=G729,PCMA,PCMU}sofia/gateway/TestGW/xxxx300011) > 2015-12-29 06:52:48.885277 [DEBUG] switch_ivr_originate.c:2127 Parsing > global variables > 2015-12-29 06:52:48.885277 [NOTICE] switch_channel.c:1091 *New Channel* > sofia/default/xxxx300011 [9dc50b00-778d-45c8-8b38-5d91d33d969d] > 2015-12-29 06:52:48.885277 [DEBUG] mod_sofia.c:4765 > (sofia/default/xxxx300011) State Change CS_NEW -> CS_INIT > 2015-12-29 06:52:48.885277 [DEBUG] switch_core_state_machine.c:473 > (sofia/default/xxxx300011) Running State Change CS_INIT > 2015-12-29 06:52:48.885277 [DEBUG] switch_core_state_machine.c:516 > (sofia/default/xxxx300011) State INIT > 2015-12-29 06:52:48.885277 [DEBUG] mod_sofia.c:88 sofia/default/xxxx300011 > SOFIA INIT > 2015-12-29 06:52:48.885277 [DEBUG] sofia_glue.c:1228 sip:196.xx.xx.xx > Setting proxy route to sofia/default/xxxx300011 > 2015-12-29 06:52:48.885277 [DEBUG] sofia_glue.c:1257 > sofia/default/xxxx300011 sending invite version: 1.6.5 64bit > Local SDP: > v=0 > o=FreeSWITCH 1451348262 1451348263 IN IP4 196.xx.xx.xx > s=FreeSWITCH > c=IN IP4 196.xx.xx.xx > t=0 0 > m=audio 16506 RTP/AVP 18 101 > a=rtpmap:18 G729/8000 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=ptime:20 > a=sendrecv > > Why it is creating new channel after parsing global variables? > > > -- > Thanks, > Rutu Patel > > > > On Mon, Dec 28, 2015 at 5:35 PM, Vitaly Kovalyshyn > wrote: > > This is not correct: absolute_codec_string=G729,PCMU,PCMA > > > > Try: absolute_codec_string='G729,PCMU,PCMA' > > > > > Best regards, > Vitaly Kovalyshyn > > http://kovalyshyn.pp.ua/ > Twitter: @kovalyshyn > > http://???????.???/ > > > > On 28 ????. 2015 ?., at 10:11, Rutu Patel wrote: > > > > Thank you all for your suggestions. > > > > ?Now seems like freeswitch offers all 3 codecs defined in sip profile but > when I set absolute_codec_string it doesn't work. > > > I have tried by setting {media_mix_inbound_outbound_codecs=true} to > outbound leg ?and now bridge is > > bridge({media_mix_inbound_outbound_codecs=true,absolute_codec_string=G729,PCMU,PCMA}sofia/gateway/TestGW/xxxx300055) > > > > But freeswitch offers only G729 .It offers first codec defined in > absolute_codec_string. > > > If I remove absolute_codec_string it works fine and offers all 3 codecs > defined in sip profile. > > I have parameters in sip profile as below: > 'disable-transcoding' = 'false' > 'inbound-late-negotiation' = 'true' > > Please let me know if you want any other information regarding > configurations. > > > > > -- > Thanks, > Rutu Patel > > > > On Sun, Dec 27, 2015 at 10:26 PM, Bote Man > wrote: > > Ah! This means that my advice was wrong. This section of Confluence tells > you more: > > > > > https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation#CodecNegotiation-MixingMedia/Codecsondifferentlegs(transcoding) > > > > Bote > > > > > > *From:* Anthony Minessale > *Sent:* Saturday, 26 December, 2015 15:20 > *Subject:* Re: [Freeswitch-users] Codec Transcoding issue > > > > add {media_mix_inbound_outbound_codecs=true} to outbound leg or > set media_mix_inbound_outbound_codecs=true in vars.xml to make it global. > > > > On Sat, Dec 26, 2015 at 2:16 PM, Sergey Safarov > wrote: > > Set 'disable-transcoding' to 'false' and repeat again > > > > Sergey > > > > On Sat, Dec 26, 2015 at 8:09 AM, Rutu Patel > wrote: > > Hi Sergey, > > Thank you for reply. > > In sip profile 3 codecs are defined(G729,PCMU,PCMA) and device A offers > G729. > But freeswitch offers only G729 in INVITE. > > Please let me know if you want any other informations. > > > -- > Thanks, > Rutu Patel > iNextrix Technologies Pvt. Ltd. > *www.inextrix.com * > > > > On Thu, Dec 24, 2015 at 9:35 PM, Sergey Safarov > wrote: > > Currently freeswitch offers only device A's codec(G729), but freeswitch > should offer all 3 > > What codecs offers a-leg In first invite? > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151230/eb5f465e/attachment-0001.html From rajil.s at gmail.com Wed Dec 30 10:03:19 2015 From: rajil.s at gmail.com (Rajil Saraswat) Date: Wed, 30 Dec 2015 01:03:19 -0600 Subject: [Freeswitch-users] Call drops after few minutes In-Reply-To: <006801d1428f$b11efe50$135cfaf0$@botecomm.com> References: <006801d1428f$b11efe50$135cfaf0$@botecomm.com> Message-ID: On 29 December 2015 at 17:21, Bote Man wrote: > The ACL allows users to register without authenticating, so if the call > connects at all they are not a concern here. > > --- > Bote > cxreg helped me in figuring this out. It seems that my android client was not replying with ACK messages. So i changed from Csipsimple to Zoiper client and it is behaving properly. An additional thing i did was to change from to in the internal profile following this http://www.dslreports.com/forum/r25017215-SOLVED-PBX-FreeSWITCH-Multiple-Profiles-With-Same-Alias. I was getting the public ip in the Contact header even with local lan calls without this setting. The wiki page (https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat) talks about auto-nat, but there is no mention of autonat though. From rajil.s at gmail.com Wed Dec 30 10:13:18 2015 From: rajil.s at gmail.com (Rajil Saraswat) Date: Wed, 30 Dec 2015 01:13:18 -0600 Subject: [Freeswitch-users] ext-sip-ip, dyndns and NAT Message-ID: Hello, My pbx has a dynamic ip address and i am using the name myhost.dyndns.org for it. Until now i have had the following settings: vars.xml Internal profile However, with this I was getting a public ip in the contact header of the calls. So i had to change the internal profile to Unfortunately with the above change the system is unable to resolve the dns address and sofia status profile internal' shows Ext-SIP-IP host:myhost.dyndns.org The calls fail randomly because of this. How can i use autonat with the dynamic ip address? Thanks Rajil PS: If i use the dynamic ip address in the the conf file, there is no problem. () From s.safarov at gmail.com Wed Dec 30 10:24:54 2015 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 30 Dec 2015 07:24:54 +0000 Subject: [Freeswitch-users] ext-sip-ip, dyndns and NAT In-Reply-To: References: Message-ID: Capture dns traffic and analyze. Probable some resolv is wrong or fail. On Wed, Dec 30, 2015, 10:13 Rajil Saraswat wrote: > Hello, > > My pbx has a dynamic ip address and i am using the name > myhost.dyndns.org for it. Until now i have had the following settings: > > vars.xml > > > > Internal profile > > > > However, with this I was getting a public ip in the contact header of > the calls. So i had to change the internal profile to > > > > Unfortunately with the above change the system is unable to resolve > the dns address and sofia status profile internal' shows > > Ext-SIP-IP host:myhost.dyndns.org > > The calls fail randomly because of this. How can i use autonat with > the dynamic ip address? > > Thanks > Rajil > > PS: If i use the dynamic ip address in the the conf file, there is no > problem. ( data="external_sip_ip=aa.bb.cc.dd"/>) > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151230/9cb9b752/attachment.html From sms at icefire.qza.net.au Wed Dec 30 11:22:04 2015 From: sms at icefire.qza.net.au (Francis) Date: Wed, 30 Dec 2015 18:22:04 +1000 Subject: [Freeswitch-users] ext-sip-ip, dyndns and NAT In-Reply-To: References: Message-ID: <5683942C.4040203@icefire.qza.net.au> Stale DNS records will be an issue here, if your dynamic IP changes with each new lease. Then you have devices trying to connect on the old address, not having yet updated, or missing the most recent record refresh. This will cause random call drops. Another thing to consider, is this a free DNS service? If so, I wouldn't count on infinite resources being available to server lookup requests.... On 30/12/2015 5:24 PM, Sergey Safarov wrote: > > Capture dns traffic and analyze. > Probable some resolv is wrong or fail. > > > On Wed, Dec 30, 2015, 10:13 Rajil Saraswat > wrote: > > Hello, > > My pbx has a dynamic ip address and i am using the name > myhost.dyndns.org for it. Until now i > have had the following settings: > > vars.xml > data="external_rtp_ip=host:myhost.dyndns.org > "/> > data="external_sip_ip=host:myhost.dyndns.org > "/> > > Internal profile > > > > However, with this I was getting a public ip in the contact header of > the calls. So i had to change the internal profile to > > > > Unfortunately with the above change the system is unable to resolve > the dns address and sofia status profile internal' shows > > Ext-SIP-IP host:myhost.dyndns.org > > > The calls fail randomly because of this. How can i use autonat with > the dynamic ip address? > > Thanks > Rajil > > PS: If i use the dynamic ip address in the the conf file, there is no > problem. ( data="external_sip_ip=aa.bb .cc.dd"/>) > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151230/0c74dac0/attachment.html From bote_radio at botecomm.com Wed Dec 30 11:35:03 2015 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 30 Dec 2015 03:35:03 -0500 Subject: [Freeswitch-users] ext-sip-ip, dyndns and NAT In-Reply-To: References: Message-ID: <00aa01d142dc$fac778f0$f0566ad0$@botecomm.com> Your note in the P.S. is exactly what is recommended on the NAT Traversal page: https://freeswitch.org/confluence/display/FREESWITCH/NAT+Traversal "If FreeSWITCH sits behind NAT with dynamic DNS and stun doesn't work, you should write a script that determines your public IP address, makes the change, and calls reloadxml. This also holds true for the external profile. No special processing happens to determine the IP address before the variable gets passed to the external profile." There is also this warning: "Do not set ext-rtp-ip to a domain name instead of an IP or STUN entry; you will encounter a "SIP/2.0 500 Cannot Get IP Address for Media" error." I know very little about NAT problems, but maybe that script idea is best for a dynamic DNS situation. I know dyndns.org insists on a very few update clients that they trust; what client do you have updating your dynamic DNS entry? --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence > -----Original Message----- > From: Rajil Saraswat > Sent: Wednesday, 30 December, 2015 02:13 > Subject: [Freeswitch-users] ext-sip-ip, dyndns and NAT > > Hello, > > My pbx has a dynamic ip address and i am using the name > myhost.dyndns.org for it. Until now i have had the following settings: > > vars.xml > data="external_rtp_ip=host:myhost.dyndns.org"/> > data="external_sip_ip=host:myhost.dyndns.org"/> > > Internal profile > > > > However, with this I was getting a public ip in the contact header of > the calls. So i had to change the internal profile to > > > > Unfortunately with the above change the system is unable to resolve > the dns address and sofia status profile internal' shows > > Ext-SIP-IP host:myhost.dyndns.org > > The calls fail randomly because of this. How can i use autonat with > the dynamic ip address? > > Thanks > Rajil > > PS: If i use the dynamic ip address in the the conf file, there is no > problem. ( data="external_sip_ip=aa.bb.cc.dd"/>) > From o_emiliano at yahoo.it Wed Dec 30 14:51:59 2015 From: o_emiliano at yahoo.it (Emiliano o.) Date: Wed, 30 Dec 2015 11:51:59 +0000 (UTC) Subject: [Freeswitch-users] Mod_callenter and External Gateway, subscription for presence References: <656287735.7529290.1451476319879.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <656287735.7529290.1451476319879.JavaMail.yahoo@mail.yahoo.com> Good evening.I have succesfully configured mod_callcenter (queue, agent and tiers) in my freeswtich with agent behing a trunk sip (all the extension are reachable from FS but are not registered in it), all work as intended. So the simple configuration of the agent is:??? All work well and i get the right agent status and agent state. But this work only for the inbound call routed to freeswitch, i haven't any information abount agent independent presence (For Example: if the agent dial and is in call with another agent) .So the internal database "think" that the agent is available and ready even if is in call and busy so the mod try to invite him obviously whitout success. I? try in the gateway to subscribe whit the presence of remote agent, and in some way update internal database with script lua or event_socket ? ???? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ????? ... I haven't found a way to subiscribe and receive the notifiy and publish event of prencence in the gateway (trunk sip) for a specific group of agent, in my example the extension 999 behind the trunk (but ideally all my call center agent), the subscribe is from and to "no-reg" for a contact gw+server_gw, i need to subscribe to someting like 999 at server.org ? SUBSCRIBE sip:sa at server.org:5060 SIP/2.0 ?? Via: SIP/2.0/UDP 10.1.10.82:5080;rport;branch=z9hG4bKU3DyKZaHrg24p ?? Max-Forwards: 70 ?? From: ;tag=K3N8p1cKmS1vm ?? To: ;tag=e340d29f4e69500c4c17ab56fb041ae6-7cd3 ?? Call-ID: 1db94e51-298b-1234-1493-005056963714 ?? CSeq: 85401361 SUBSCRIBE ?? Contact: ?? Expires: 60 ?? User-Agent: FreeSWITCH-mod_sofia/1.7.0+git~20151210T010223Z~85f8bca628~64bit ?? Accept: application/pidf+xml ?? Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY ?? Supported: timer, path, replaces ?? Event: presence ?? Content-Length: 0 There is way to subscribe through a trunk for presence or generate it via mod_event_socket ( i found only the NOTIFY event and not for SUBSCRIBE https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#sendevent), or there are any other tools to probe the presence and don't do a "polling of busy call" for a call center application?thank you for all, and thanks indeed for the help receveived in the past month. Emiliano Olivier -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151230/4319fb5e/attachment-0001.html From rajil.s at gmail.com Wed Dec 30 18:18:00 2015 From: rajil.s at gmail.com (Rajil Saraswat) Date: Wed, 30 Dec 2015 09:18:00 -0600 Subject: [Freeswitch-users] ext-sip-ip, dyndns and NAT In-Reply-To: <00aa01d142dc$fac778f0$f0566ad0$@botecomm.com> References: <00aa01d142dc$fac778f0$f0566ad0$@botecomm.com> Message-ID: This doesnt seem to be a dns update issue rather a FS configuration issue. By the way i have paid subscription of dyndns. I tried several combinations of the external_rtp_ip in vars.xml and autonat in the internal profile, and looked at the status of the internal profile. From the combinations that using autonat with either STUN or Host doesnt resolve the ip address. However, if i dont use autonat both Host and STUN do resolve the ip address. So it seems that FS doesnt do an ip lookup whenever autonat is used. Is there a work around for this or what set should i use from the combinations below: ---------------------------------------------------------------- Combinations i tried A. With static ip address and With autonat vars.xml internal.xml profile #sofia status profile internal RTP-IP 192.168.10.10 Ext-RTP-IP 49.171.120.82 SIP-IP 192.168.10.10 Ext-SIP-IP 49.171.120.82 URL sip:mod_sofia at 192.168.10.10:5060 BIND-URL sip:mod_sofia at 192.168.10.10:5060;transport=udp,tcp TLS-URL sip:mod_sofia at 192.168.10.10:5061 TLS-BIND-URL sips:mod_sofia at 192.168.10.10:5061;transport=tls B. With STUN and With autonat #sofia status profile internal RTP-IP 192.168.10.10 Ext-RTP-IP stun:stun.freeswitch.org SIP-IP 192.168.10.10 Ext-SIP-IP stun:stun.freeswitch.org URL sip:mod_sofia at 192.168.10.10:5060 BIND-URL sip:mod_sofia at 192.168.10.10:5060;transport=udp,tcp TLS-URL sip:mod_sofia at 192.168.10.10:5061 TLS-BIND-URL sips:mod_sofia at 192.168.10.10:5061;transport=tls C. With STUN and Without autonat #sofia status profile internal RTP-IP 192.168.10.10 Ext-RTP-IP stun:stun.freeswitch.org SIP-IP 192.168.10.10 Ext-SIP-IP 49.171.120.82 URL sip:mod_sofia at 49.171.120.82:33758 BIND-URL sip:mod_sofia at 49.171.120.82:33758;maddr=192.168.10.10;transport=udp,tcp TLS-URL sip:mod_sofia at 49.171.120.82:5061 TLS-BIND-URL sips:mod_sofia at 49.171.120.82:5061;maddr=192.168.10.10;transport=tls D. With host and With autonat #sofia status profile internal RTP-IP 192.168.10.10 Ext-RTP-IP host:myhost.dyndns.org SIP-IP 192.168.10.10 Ext-SIP-IP host:myhost.dyndns.org URL sip:mod_sofia at 192.168.10.10:5060 BIND-URL sip:mod_sofia at 192.168.10.10:5060;transport=udp,tcp TLS-URL sip:mod_sofia at 192.168.10.10:5061 TLS-BIND-URL sips:mod_sofia at 192.168.10.10:5061;transport=tls E. With host and Without autonat #sofia status profile internal RTP-IP 192.168.10.10 Ext-RTP-IP host:myhost.dyndns.org SIP-IP 192.168.10.10 Ext-SIP-IP 49.171.120.82 URL sip:mod_sofia at 49.171.120.82:5060 BIND-URL sip:mod_sofia at 49.171.120.82:5060;maddr=192.168.10.10;transport=udp,tcp TLS-URL sip:mod_sofia at 49.171.120.82:5061 TLS-BIND-URL sips:mod_sofia at 49.171.120.82:5061;maddr=192.168.10.10;transport=tls From peter at hartmanncomputer.com Wed Dec 30 20:32:14 2015 From: peter at hartmanncomputer.com (Peter Hartmann) Date: Wed, 30 Dec 2015 12:32:14 -0500 Subject: [Freeswitch-users] lua IVR interactivity problem In-Reply-To: References: Message-ID: Thanks, Stanislav. The ESL way looks very cool. Peter Hartmann Hartmann Computer Consulting http://blog.hartmanncomputer.com (212)203-8870 If I can't explain it to you in plain language, that means I don't understand it. On Mon, Dec 28, 2015 at 5:41 PM, Stanislav Sinyagin wrote: > it's much easier to implement the IVR logic via an ESL connection. > Then you can script it in your preferred programming language and > perform all necessary database lookups or whatever your application > requires. > > But in both cases (Lua or mod_perl or mod_python or an ESL > application), you would need to execute playAndGetDigits in order to > let the user enter DTMF during the playback of the prompt. If you have > multiple audio files to play back, you just execute playAndGetDigits > with every audio file in the sequence until the DTMF input is > detected. You can also build a phrase macro and use it instead. > > In case of ESL, you can also subscribe to DTMF events and play audio > files asynchronously if playAndGetDigits is not sufficient for your > needs. > > Here is a short example in Golang, probably you'll find it useful: > https://github.com/xlab1/go-fs-secretary-prototype/blob/master/golang/secretary_server.go > > > > > On Mon, Dec 28, 2015 at 6:46 PM, Peter Hartmann > wrote: >> I'm trying to port an IVR to lua. I'm new to lua by the way. The big >> picture: the goal is that the IVR should change based on the output of >> a shell script. >> >> I've followed the basic example over here, substituting my several wav files >> for the TTS prompts. >> >> https://freeswitch.org/confluence/display/FREESWITCH/Lua+Welcome+IVR+example >> >> But I've noticed a huge difference between this and the core IVR >> functionality. DTMF will not interrupt the prompts, it will only be >> accepted when the script reaches the session:getDigits line. It >> seems like session:playAndGetDigits could be interactive, but it only >> accepts one wav. Is there a way for either playAndGetDigits to accept >> multiple wav files (without concatinating)? Or otherwise is there a >> way for a scripted IVR to have this interactive functionality? Seems >> like I need to fork the getDigits first and then play the wavs, right? >> >> I realize I could probably do the logic in the dialplan and then send >> the caller to different IVRs, but I'd rather not maintain 2 mostly >> similar IVRs. >> >> Does anyone use a scripting language based IVR and have this solved? >> Or otherwise have a solution that doesn't involve maintaining 2 >> distinct IVRs? >> >> Thanks much >> >> >> >> >> >> Peter Hartmann >> Hartmann Computer Consulting >> http://blog.hartmanncomputer.com >> (212)203-8870 >> >> If I can't explain it to you in plain language, that means I don't >> understand it. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From bedgar at vseinc.com Thu Dec 31 04:10:22 2015 From: bedgar at vseinc.com (Brian Edgar) Date: Thu, 31 Dec 2015 01:10:22 +0000 Subject: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved In-Reply-To: References: Message-ID: Andrew, Your posting was very helpful. Do you have the procedure for configuring CentOS 7 to autostart FreeSWITCH in the new preferred method of systemd? Doesn?t appear that the old init.d method appropriate. I saw a hint for a shell script in the source but it is no longer there. Thank you, Brian Edgar From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, September 21, 2015 10:38 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Yeah you shouldn't shy away from IPv6 it's really easy to setup. On Mon, Sep 21, 2015 at 5:05 PM -0700, "Andrew Keil" > wrote: Brian, Sorry this was only relevant to my test setup. I should have removed these lines prior to posting my last message. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Tuesday, 22 September 2015 12:15 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Whats the purpose of disabling ipv6 support? On Mon, Sep 21, 2015 at 2:43 AM, Andrew Keil > wrote: To all, Found what I was missing (and causing all my build issues): rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm Now when I perform the yum install commands and it pulls down the right version and everything works as expected. Here is my procedure (for those who wish to use the manual configure/make approach): Install FreeSWITCH 1.6.0 on CentOS 7 (fresh installation): Note: Everything below is run inside CentOS 7 terminal as "root" user (via "su -" command) 1) Make sure yum update is run and CentOS is up-to-date 2) {optional} inside Terminal window select Edit Profile Preferences and select "Use custom default terminal size" and make it 160 x 60. Close terminal and re-open for the change to take affect. 3) yum -y install git 4) yum -y install epel-release 5) rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm 6) yum -y install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel 7) yum -y install libyuv-devel opus-devel libvpx-devel libvpx2* libdb4* libidn-devel unbound-devel libuuid-devel lua-devel libsndfile-devel 8) cd /usr/local/src 9) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git 10) cd /usr/local/src/freeswitch 11) ./bootstrap.sh 12) ./configure 13) make 14) make install 15) make cd-sounds-install 16) make cd-moh-install 17) cd /usr/local/freeswitch/conf 18) vi vars.xml Change: {!!set it to something different!!} Save and close ( :wq!) 19) cd /usr/local/freeswitch/conf/sip_profiles 20) mv internal-ipv6.xml internal-ipv6.xml.removed {disables ipv6 support} 21) mv external-ipv6.xml external-ipv6.xml.removed {disables ipv6 support} 22) cd /usr/local/freeswitch/bin 23) ./freeswitch -nonat -nonatmap 24) ... to exit from FreeSWITCH console FreeSWITCH Version: 1.6.0+git~20150903T203652Z~6762f14140~64bit (git 6762f14 2015-09-03 20:36:52Z 64bit) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Saturday, 19 September 2015 12:06 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) This worked! However mod_opus fails now. Since I cannot perform a yum install libopus-devel do I need to follow this link: http://files.freeswitch.org/downloads/libs/opus-1.1.tar.gz Getting there! Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Saturday, 19 September 2015 8:46 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) Thanks I will give this a try. On 19 Sep 2015, at 12:07 AM, Christopher Rienzo > wrote: sudo yum install lua-devel On Fri, Sep 18, 2015 at 1:39 AM, Andrew Keil > wrote: To FreeSWITCH users, I am attempting to make the latest FreeSWITCH release on CentOS 7 (I am trying to avoid the RPM approach since I am also working with Sangoma to assist with their updated merge of freetdm into FreeSWITCH). CentOS 7: CentOS-7-x86_64-DVD-1503-01.iso (with yum update done successfully). As root user: yum install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel {also did the following to see if these will help} yum install libyuv-devel yum install libvpx-devel yum install libidn-devel yum install unbound-devel yum install libdb4* yum install libuuid-devel cd /usr/local/src git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git cd freeswitch ./bootstrap.sh vi modules.conf {comment out mod_fsv (due to libyuv-devel error)} ./configure ./make making all mod_lua make[4]: Entering directory `/usr/local/src/freeswitch/src/mod/languages/mod_lua' CXX mod_lua_la-mod_lua.lo mod_lua.cpp:37:17: fatal error: lua.h: No such file or directory #include "lua.h" The mod_fsv issue I do not care so much about however Lua I need. FYI: I did try the rpm approach on a separate CentOS 7 VM and noticed the Lua dependant package is version 5.1.4 not 5.2. I hope someone has an idea of what to try next. Regards, Andrew Keil _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Brian West brian at freeswitch.org [http://billing.freeswitch.org/templates/default/img/whmcslogo.png] Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here! | Reddit: /r/freeswitch T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151231/a41a4740/attachment-0001.html From rutu.patel at inextrix.com Thu Dec 31 08:51:47 2015 From: rutu.patel at inextrix.com (Rutu Patel) Date: Thu, 31 Dec 2015 11:21:47 +0530 Subject: [Freeswitch-users] Codec Transcoding issue In-Reply-To: References: <003f01d140c7$92a82e20$b7f88a60$@botecomm.com> <91993427-608F-4F88-9BB0-526B87BA8A14@gmail.com> <01f401d1423e$7863b160$692b1420$@freeswitch.org> Message-ID: Hi, I have set disable-transcoding = true and inbound-late-nagotiation = false. Also absolute_codec_string='^^:G729:PCMU:PCMA' as suggested and seems all working fine as expected. Thank you all for the support. -- Thanks, Rutu Patel On Wed, Dec 30, 2015 at 9:13 AM, Rutu Patel wrote: > Hi Ken, > > I have already purchased g729 license for 10 channels. > > freeswitch at internal> g729_info > G.729A license available => 10 > G.729A license allocated => 0 > > > > -- > Thanks, > Rutu Patel > > > On Tue, Dec 29, 2015 at 7:10 PM, Ken Rice wrote: > >> FreeSWITCH Support transcoding for G729, you just need to go purchase a >> license for mod_com_g729. This is due to patents. >> >> >> >> >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Vitaly >> Kovalyshyn >> *Sent:* Tuesday, December 29, 2015 7:01 AM >> *To:* FreeSWITCH Users Help >> >> *Subject:* Re: [Freeswitch-users] Codec Transcoding issue >> >> >> >> I propose that You try to use G729 with transcoding. But, FreeSWITCH >> supports only bypass mode for G729 and G723.1 >> >> >> Best regards, >> Vitaly Kovalyshyn >> >> http://kovalyshyn.pp.ua/ >> Twitter: @kovalyshyn >> >> http://???????.???/ >> >> >> >> On 29 ????. 2015 ?., at 14:57, Rutu Patel >> wrote: >> >> >> >> Hi Sergey, >> >> Thanks for the correction. >> >> Freeswitch now offers all 3 codecs defined as >> absolute_codec_string='^^:G729:PCMU:PCMA' . >> >> Its ringing but when I pick up the call it disconnect with >> INCOMPATIBLE_DESTINATION . >> >> >> Here is the freeswitch logs http://pastebin.com/g6jkQgY2 >> >> Please assist me if I am missing something. >> >> >> -- >> Thanks, >> Rutu Patel >> >> >> >> On Tue, Dec 29, 2015 at 1:41 PM, Sergey Safarov >> wrote: >> >> In callog on my FS server >> >> absolute_codec_string='^^:PCMU:PCMA' >> >> >> >> Sergey >> >> >> >> On Tue, Dec 29, 2015 at 8:01 AM, Rutu Patel >> wrote: >> >> Hi Vitaly, >> >> Thanks for reply. >> >> I have tried that but getting something like below and call is failing >> with same cause. >> >> EXECUTE sofia/default/98989 at 196.xx.xx.xx >> set(absolute_codec_string='G729,PCMA,PCMU') >> 2015-12-29 06:52:48.885277 [DEBUG] mod_dptools.c:1498 SET >> sofia/default/98989 at 196.xx.xx.xx >> [absolute_codec_string]=['G729,PCMA,PCMU'] >> EXECUTE sofia/default/98989 at 196.xx.xx.xx limit_execute(db TestGW >> gw_TestGW 2 bridge >> {media_mix_inbound_outbound_codecs=true,absolute_codec_string='G729,PCMA,PCMU'}sofia/gateway/TestGW/xxxx300011) >> 2015-12-29 06:52:48.885277 [DEBUG] switch_limit.c:126 incr called: >> TestGW_gw_TestGW max:2, interval:0 >> 2015-12-29 06:52:48.885277 [DEBUG] mod_db.c:194 Usage for >> TestGW_gw_TestGW is now 1/2 >> EXECUTE sofia/default/98989 at 196.xx.xx.xx >> bridge({media_mix_inbound_outbound_codecs=true,absolute_codec_string=G729,PCMA,PCMU}sofia/gateway/TestGW/xxxx300011) >> 2015-12-29 06:52:48.885277 [DEBUG] switch_ivr_originate.c:2127 Parsing >> global variables >> 2015-12-29 06:52:48.885277 [NOTICE] switch_channel.c:1091 *New Channel* >> sofia/default/xxxx300011 [9dc50b00-778d-45c8-8b38-5d91d33d969d] >> 2015-12-29 06:52:48.885277 [DEBUG] mod_sofia.c:4765 >> (sofia/default/xxxx300011) State Change CS_NEW -> CS_INIT >> 2015-12-29 06:52:48.885277 [DEBUG] switch_core_state_machine.c:473 >> (sofia/default/xxxx300011) Running State Change CS_INIT >> 2015-12-29 06:52:48.885277 [DEBUG] switch_core_state_machine.c:516 >> (sofia/default/xxxx300011) State INIT >> 2015-12-29 06:52:48.885277 [DEBUG] mod_sofia.c:88 >> sofia/default/xxxx300011 SOFIA INIT >> 2015-12-29 06:52:48.885277 [DEBUG] sofia_glue.c:1228 sip:196.xx.xx.xx >> Setting proxy route to sofia/default/xxxx300011 >> 2015-12-29 06:52:48.885277 [DEBUG] sofia_glue.c:1257 >> sofia/default/xxxx300011 sending invite version: 1.6.5 64bit >> Local SDP: >> v=0 >> o=FreeSWITCH 1451348262 1451348263 IN IP4 196.xx.xx.xx >> s=FreeSWITCH >> c=IN IP4 196.xx.xx.xx >> t=0 0 >> m=audio 16506 RTP/AVP 18 101 >> a=rtpmap:18 G729/8000 >> a=rtpmap:101 telephone-event/8000 >> a=fmtp:101 0-16 >> a=ptime:20 >> a=sendrecv >> >> Why it is creating new channel after parsing global variables? >> >> >> -- >> Thanks, >> Rutu Patel >> >> >> >> On Mon, Dec 28, 2015 at 5:35 PM, Vitaly Kovalyshyn < >> v.kovalyshyn at gmail.com> wrote: >> >> This is not correct: absolute_codec_string=G729,PCMU,PCMA >> >> >> >> Try: absolute_codec_string='G729,PCMU,PCMA' >> >> >> >> >> Best regards, >> Vitaly Kovalyshyn >> >> http://kovalyshyn.pp.ua/ >> Twitter: @kovalyshyn >> >> http://???????.???/ >> >> >> >> On 28 ????. 2015 ?., at 10:11, Rutu Patel >> wrote: >> >> >> >> Thank you all for your suggestions. >> >> >> >> ?Now seems like freeswitch offers all 3 codecs defined in sip profile but >> when I set absolute_codec_string it doesn't work. >> >> >> I have tried by setting {media_mix_inbound_outbound_codecs=true} to >> outbound leg ?and now bridge is >> >> bridge({media_mix_inbound_outbound_codecs=true,absolute_codec_string=G729,PCMU,PCMA}sofia/gateway/TestGW/xxxx300055) >> >> >> >> But freeswitch offers only G729 .It offers first codec defined in >> absolute_codec_string. >> >> >> If I remove absolute_codec_string it works fine and offers all 3 codecs >> defined in sip profile. >> >> I have parameters in sip profile as below: >> 'disable-transcoding' = 'false' >> 'inbound-late-negotiation' = 'true' >> >> Please let me know if you want any other information regarding >> configurations. >> >> >> >> >> -- >> Thanks, >> Rutu Patel >> >> >> >> On Sun, Dec 27, 2015 at 10:26 PM, Bote Man >> wrote: >> >> Ah! This means that my advice was wrong. This section of Confluence tells >> you more: >> >> >> >> >> https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation#CodecNegotiation-MixingMedia/Codecsondifferentlegs(transcoding) >> >> >> >> Bote >> >> >> >> >> >> *From:* Anthony Minessale >> *Sent:* Saturday, 26 December, 2015 15:20 >> *Subject:* Re: [Freeswitch-users] Codec Transcoding issue >> >> >> >> add {media_mix_inbound_outbound_codecs=true} to outbound leg or >> set media_mix_inbound_outbound_codecs=true in vars.xml to make it global. >> >> >> >> On Sat, Dec 26, 2015 at 2:16 PM, Sergey Safarov >> wrote: >> >> Set 'disable-transcoding' to 'false' and repeat again >> >> >> >> Sergey >> >> >> >> On Sat, Dec 26, 2015 at 8:09 AM, Rutu Patel >> wrote: >> >> Hi Sergey, >> >> Thank you for reply. >> >> In sip profile 3 codecs are defined(G729,PCMU,PCMA) and device A offers >> G729. >> But freeswitch offers only G729 in INVITE. >> >> Please let me know if you want any other informations. >> >> >> -- >> Thanks, >> Rutu Patel >> iNextrix Technologies Pvt. Ltd. >> *www.inextrix.com * >> >> >> >> On Thu, Dec 24, 2015 at 9:35 PM, Sergey Safarov >> wrote: >> >> Currently freeswitch offers only device A's codec(G729), but freeswitch >> should offer all 3 >> >> What codecs offers a-leg In first invite? >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151231/5d8fd48c/attachment-0001.html From gmaruzz at gmail.com Thu Dec 31 18:15:59 2015 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 31 Dec 2015 16:15:59 +0100 Subject: [Freeswitch-users] FreeSWITCHers' 2015 has been GREAT Message-ID: Heya fellas, first of all I want to thank our Supreme Master, Anthony Minessale II, and the Jedi Knights Brian West, Mike Jerris, Ken Rice, William King, Kathleen King, Italo Rossi. It's because of these persons, of their craft, of their sleepless nights, of their creativity, vision and dedication that we can use and contribute to the most advanced audio/video application platform in the known Universe. Then I want to thank our beautiful, friendly, caring and wise Community. We're never alone. Forward! Toward further future achievements ! -giovanni -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151231/9dfaba4b/attachment.html From tony.mzungu at gmail.com Thu Dec 31 20:33:21 2015 From: tony.mzungu at gmail.com (Tony White) Date: Thu, 31 Dec 2015 20:33:21 +0300 Subject: [Freeswitch-users] FreeSWITCHers' 2015 has been GREAT In-Reply-To: References: Message-ID: +1 ...and Happy New Year to all. On 31/12/2015, Giovanni Maruzzelli wrote: > Heya fellas, > > first of all I want to thank our Supreme Master, Anthony Minessale II, and > the Jedi Knights Brian West, Mike Jerris, Ken Rice, William King, Kathleen > King, Italo Rossi. > > It's because of these persons, of their craft, of their sleepless nights, > of their creativity, vision and dedication that we can use and contribute > to the most advanced audio/video application platform in the known > Universe. > > Then I want to thank our beautiful, friendly, caring and wise Community. > We're never alone. > > Forward! > > Toward further future achievements ! > > -giovanni > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > -- Tony White