From rtreleaven at bunnykick.ca Thu Dec 1 00:29:48 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Wed, 30 Nov 2016 16:29:48 -0500 Subject: [Freeswitch-users] Skype In-Reply-To: References: <9F01883B-FEAF-437B-8AFA-0C559863E067@magicmail.mooo.com> Message-ID: Bump On Thu, Nov 17, 2016 at 5:29 PM, Russell Treleaven wrote: > How did this land? > > On Aug 4, 2016 1:35 PM, "Giovanni Maruzzelli" wrote: > > About skypopen: I suspect they (M$) will retract support soon for the > protocol/API used by mod_skypopen. > > Don't seriously invest in it until situation will clarify, probably in > Autumn... > > 6 concurrent call limit can be overridden in many ways, but I repeat, I > would not counseil to seriously invest in it until Autumn. > > I'm mod_skypopen author, btw. > > If someone has more info, please step up and let us know. > > -giovanni > > On Thu, Aug 4, 2016 at 5:53 PM, Rick Jarvis > wrote: > >> Skype are telling me that it is no longer possible to receive calls to >> Skype names / addresses (as appose to Skype numbers) via SIP with Skype >> Connect. Does anyone know if this is the case? Their support is awful, but >> this would seem a bit of a backward step, and I don?t know whether to trust >> what I?m being told. >> >> The alternative is Skypopen, of course. But I notice that it has a >> maximum of 6 concurrent calls. Is this for resource reasons? I?m thinking >> of building a server to handle all Skype to SIP calls for our customers, so >> would be interested to know if it?s possible to bypass the limit with a >> beefy spec?? >> >> Thanks >> R >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > > -- Sincerely, Russell Treleaven sip:rtreleaven at sip.bunnykick.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161130/ebfe3b5f/attachment.html From 568691 at gmail.com Thu Dec 1 01:54:43 2016 From: 568691 at gmail.com (Alexandru Covalschi) Date: Thu, 1 Dec 2016 00:54:43 +0200 Subject: [Freeswitch-users] FreeSWITCH Registrar TLS offload In-Reply-To: References: Message-ID: <5BB603F7-3281-49B8-9676-5148369DE6A7@gmail.com> Well I'm not sure, but maybe Freeswitch doesn't understand urlencoded "received" path? I suppose there should be only sip:KAMAILIO_IP in Route header, so I'm very curios about that. To avoid that, you can try using add_path() instead of add_path_received(). Another way, if you need the "received", is to form the Path record manually: append_hf("Path: \r\n"); and avoid urlencode/force transport=udp there. But anyway I'd also like to understand why Freeswitch doesn't route the call correctly. As far as I understood from https://freeswitch.org/jira/si/jira.issueviews:issue-html/FS-4989/FS-4989.html , there was such type of issue already. Are we having same, but with urlencoding now? Also a silly proposal, but well: try creating a brand new user who has no "tls history" - maybe that's issue with sqlite? Offtopic: Vladislav, you may be interested in joining @ru_voip and @ru_freeswitch groups in Telegram Alexandru Covalschi VoIP Engineer and System Administrator tel: +373 673 98 493 > 29 ????. 2016 ?., ? 12:43, Vladyslav Zakhozhai ???????(?): > > Hi, > > Here is SIP REGISTER message which goes UAC => Kamailio => FreeSWITCH: > > REGISTER sip:DOMAIN_NAME SIP/2.0 > Via: SIP/2.0/UDP KAMAILIO_IP;branch=z9hG4bK95f8.b6cff139a89c58ea38df4e2f8d375039.0;i=9 > Via: SIP/2.0/TLS USER_IP:34913;received=USER_IP;alias;branch=z9hG4bK.KAL7~HJ2E;rport=34913 > From: >;tag=EbEqf28Bb > To: sip:USER_NAME at DOMAIN_NAME > CSeq: 22 REGISTER > Call-ID: QHttR-2N4V > Max-Forwards: 69 > Supported: outbound > Accept: application/sdp > Accept: text/plain > Accept: application/vnd.gsma.rcs-ft-http+xml > Contact: transport=tls >;+sip.instance="" > Expires: 60 > User-Agent: Linphone/3.9.0 (belle-sip/1.4.2) > Content-Length: 0 > Path: sip:USER_IP:34913%3Btransport% 3Dtls > > > Looks good. Isn't it? > > Call origination from FreeSWITCH => Kamailio => UAC > > INVITE sip:TO_USER at TO_USER_IP:56408; transport=tls SIP/2.0 > Via: SIP/2.0/TLS FS_IP;branch=z9hG4bKS4Dr1pBa4NB1K > Route: >;lr;received=sip:TO_USER_IP:56408; transport=tls > Max-Forwards: 68 > From: "vlakas" >;tag=91r5XtyZa62Bj > To: transport=tls > > Call-ID: 7a17700d-30ae-1235-8bbb-005056b9778d > CSeq: 99867524 INVITE > Contact: transport=tls > > User-Agent: FreeSWITCH-mod_sofia/1.6.12-20-b91a0a6~64bit > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY > Supported: timer, path, replaces > Allow-Events: talk, hold, conference, refer > Content-Type: application/sdp > Content-Disposition: session > Content-Length: 246 > X-FS-Support: update_display,send_info > Remote-Party-ID: "TO_USER" >;party=calling;screen=yes;privacy=off > > v=0 > o=FreeSWITCH 1480390787 1480390788 IN IP4 FS_IP > s=FreeSWITCH > c=IN IP4 FS_IP > t=0 0 > m=audio 16390 RTP/AVP 8 101 13 > a=rtpmap:8 PCMA/8000 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=rtpmap:13 CN/8000 > a=ptime:20 > > This is looks good too I guess... > > I can't understand why FreeSWITCH tries to originate call over TLS. What did I miss? > > 2016-11-29 0:54 GMT+02:00 Vladyslav Zakhozhai >: > P.S. In kamailio's dispatcher the freeswitch destination is as follows > > sip:FS_IP:5060 > > 2016-11-29 0:51 GMT+02:00 Vladyslav Zakhozhai >: > Brian, I'm wondering too. > > First of all thing about my previous mail is not so good. I forgot that I've configured my sofia profile to work with TLS. When I disabled TLS I still have a problem with originating calls with error: > > [ERR] sofia_glue.c:943 TLS not supported by profile > > FreeSWITCH still originates calls over TLS. > > Contact: "" > > What about random source port. > > As I have told already on the kamailio side I check source ip and port of dispatcher destination (FS_IP:5060) and make appropriate actions. But originated call from kamailio did not pass this check. When I have looked in kamailio logs I saw that INVITE request is going from FS_IP:RANDOM_PORT > > Method: URI: SourceIP/Port: :<36378> From/To: [ ] Contact: <> . > > Here we can see that call was originated over TLS and source port was different than 5061. > > Here is part of sofia profile: > > > > > > > > > > > > > > > > 2016-11-29 0:37 GMT+02:00 Brian West >: > You're using TLS/TCP the random port is how it happens. > > /b > > > On Mon, Nov 28, 2016 at 4:31 PM, Vladyslav Zakhozhai > wrote: > Hi, I'm from ser-userlist with a good news and testing results :) > > FreeSWITCH do honor path header and will back responses and will originate calls to/through SIP proxy IP address if it is in the path. > > Before relaying in Kamailio you need put add_path or add_path_received (both worked fine for me). FreeSWITCH will add it to Contact header: > > Contact: "" > > No manual manipulations on Contact header is needed from kamailio side (as well as from FreeSWITCH side). > > But be aware of correct handling SIP requests (i.e. INVITEs) from FreeSWITCHes. For example my FreeSWITCHes backends are in dispatcher table (sip:IP_ADDR:UDP_PORT). And I've checked it with ds_is_from_list in kamailio. But FreeSWITCH originates INVITE to kamailio from IP_ADDR:RANDOM_PORT. In this case ds_is_from_list fails :( > > Now I'm checking is there mistakes in my configs or this is normal usecase for FreeSWITCH (I did not mention it earlier). > > > 2016-11-25 13:15 GMT+02:00 Vladyslav Zakhozhai >: > David, > > yes of course I'll be back with solution here :) But I'm not sure when exactly. > > 2016-11-24 12:30 GMT+02:00 David Villasmil >: > Hello, > > Please come back with the solution when you have it. It should be interesting for people using kamailio/freeswitch. > > Regards, > > David > > On Wed, Nov 23, 2016 at 10:37 AM Vladyslav Zakhozhai > wrote: > Alexandru, thank you for the answer. I think you've given me right direction to investigate. > > As you've mentioned this is really kamailio issue/question. So I'm moving to sr-users list. > > > 2016-11-22 13:03 GMT+02:00 Alexandru Covalschi <568691 at gmail.com >: > Do you have set_contact_alias or add_contact_alias in Kamailio? Anyways you're doing something wrong as AFAIK Kamailio translates contact header to udp automatically. You should try to post on sr-users list. > > 2016-11-22 12:33 GMT+02:00 Vladyslav Zakhozhai >: > Hi, > > I'm trying to understand what is the best or suitable approach to the following use case. Let me simplify thing a little bit. > > Suppose we have one FreeSWITCH registrar behind SIP proxy (kamailio). I'd like to offload SSL/TLS encryption/decryption to SIP proxy: > > REGISTER: > > Request: UAC == SIP/TLS ==> Kamailio == UDP ==> FreeSWITCH:50 > Reply: UAC <== SIP/TLS == Kamailio <== UDP == FreeSWITCH > > INVITE: > UAC1 == SIP/TLS ==> Kamailio == UDP == > FreeSWITCH == UDP ==> Kamailio == SIP/TLS ==> UAC2 > > (FreeSWITCH uses kamailio as outbound proxy with fs_path tag appended in dialplan). > > The main problem is in Contact header which contains transport=tls and we can see it in FreeSWITCH console: > > User: user at domain.com > Contact: "" > Status: Registered(TLS)(unknown) EXP(2016-11-22 10:16:59) EXPSECS(108) > IP: SIP_PROXY_IP > Port: 5060 > > When FreeSWITCH sends INVITE to UAC2 (during call) it tries to establish TLS session to UAC2. It fails because there is no TLS-enabled sofia profiles in the config of FreeSWITCH. > > I have only one solution in my mind: rewrite transport tag in Contact header on SIP proxy (transport=udp to FreeSWITCH, and transport=tls to UAC). > > I'd like to know it this solution ok or there is more elegant solutions. > > I've tried appending tag transport=udp in FreeSWITCH's dialplan but no success. > > Thank you in advance. > > -- > ? ?????????, > ????????? ??????? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Alexandru Covalschi > VoIP engineer and system administrator > tel: +37367398493 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > ? ?????????, > ????????? ??????? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > ? ?????????, > ????????? ??????? > > > > > -- > ? ?????????, > ????????? ??????? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > 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/20161201/d7a18894/attachment-0001.html From nneul at mst.edu Thu Dec 1 05:27:57 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Wed, 30 Nov 2016 20:27:57 -0600 Subject: [Freeswitch-users] FYI - new Amazon Web Services TTS option Message-ID: <10bc193c-6018-5d0e-7628-72d329f4e1b8@mst.edu> https://aws.amazon.com/blogs/aws/polly-text-to-speech-in-47-voices-and-24-languages/ The quality blows away everything I've tried out previously... Highly relevant option for voice prompts. -- Nathan ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From s.safarov at gmail.com Thu Dec 1 06:55:52 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 01 Dec 2016 03:55:52 +0000 Subject: [Freeswitch-users] FreeSWITCH Registrar TLS offload In-Reply-To: References: Message-ID: Look at Contact header in register message Tls transport is present. ??, 29 ????. 2016, 13:45 Vladyslav Zakhozhai : > Hi, > > Here is SIP REGISTER message which goes UAC => Kamailio => FreeSWITCH: > > REGISTER sip:DOMAIN_NAME SIP/2.0 > Via: SIP/2.0/UDP > KAMAILIO_IP;branch=z9hG4bK95f8.b6cff139a89c58ea38df4e2f8d375039.0;i=9 > Via: SIP/2.0/TLS > USER_IP:34913;received=USER_IP;alias;branch=z9hG4bK.KAL7~HJ2E;rport=34913 > From: ;tag=EbEqf28Bb > To: sip:USER_NAME at DOMAIN_NAME > CSeq: 22 REGISTER > Call-ID: QHttR-2N4V > Max-Forwards: 69 > Supported: outbound > Accept: application/sdp > Accept: text/plain > Accept: application/vnd.gsma.rcs-ft-http+xml > Contact: :34913;transport=tls>;+sip.instance="" > Expires: 60 > User-Agent: Linphone/3.9.0 (belle-sip/1.4.2) > Content-Length: 0 > Path: > > Looks good. Isn't it? > > Call origination from FreeSWITCH => Kamailio => UAC > > INVITE sip:TO_USER at TO_USER_IP:56408;transport=tls SIP/2.0 > Via: SIP/2.0/TLS FS_IP;branch=z9hG4bKS4Dr1pBa4NB1K > Route: ;lr;received=sip:TO_USER_IP:56408;transport=tls > Max-Forwards: 68 > From: "vlakas" ;tag=91r5XtyZa62Bj > To: > Call-ID: 7a17700d-30ae-1235-8bbb-005056b9778d > CSeq: 99867524 INVITE > Contact: > User-Agent: FreeSWITCH-mod_sofia/1.6.12-20-b91a0a6~64bit > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, > REFER, NOTIFY > Supported: timer, path, replaces > Allow-Events: talk, hold, conference, refer > Content-Type: application/sdp > Content-Disposition: session > Content-Length: 246 > X-FS-Support: update_display,send_info > Remote-Party-ID: "TO_USER" >;party=calling;screen=yes;privacy=off > > v=0 > o=FreeSWITCH 1480390787 1480390788 IN IP4 FS_IP > s=FreeSWITCH > c=IN IP4 FS_IP > t=0 0 > m=audio 16390 RTP/AVP 8 101 13 > a=rtpmap:8 PCMA/8000 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=rtpmap:13 CN/8000 > a=ptime:20 > > This is looks good too I guess... > > I can't understand why FreeSWITCH tries to originate call over TLS. What > did I miss? > > 2016-11-29 0:54 GMT+02:00 Vladyslav Zakhozhai : > > P.S. In kamailio's dispatcher the freeswitch destination is as follows > > sip:FS_IP:5060 > > 2016-11-29 0:51 GMT+02:00 Vladyslav Zakhozhai : > > Brian, I'm wondering too. > > First of all thing about my previous mail is not so good. I forgot that > I've configured my sofia profile to work with TLS. When I disabled TLS I > still have a problem with originating calls with error: > > [ERR] sofia_glue.c:943 TLS not supported by profile > > FreeSWITCH still originates calls over TLS. > > Contact: "" :49337;transport=tls;fs_path=sip%3Asip_proxy_ip%3Blr> > > What about random source port. > > As I have told already on the kamailio side I check source ip and port of > dispatcher destination (FS_IP:5060) and make appropriate actions. But > originated call from kamailio did not pass this check. When I have looked > in kamailio logs I saw that INVITE request is going from FS_IP:RANDOM_PORT > > Method: URI: > SourceIP/Port: :<36378> From/To: [ > ] Contact: <> > . > > Here we can see that call was originated over TLS and source port was > different than 5061. > > Here is part of sofia profile: > > > > > > > > > > > > > > > > 2016-11-29 0:37 GMT+02:00 Brian West : > > You're using TLS/TCP the random port is how it happens. > > /b > > > On Mon, Nov 28, 2016 at 4:31 PM, Vladyslav Zakhozhai < > v.zakhozhai at gmail.com> wrote: > > Hi, I'm from ser-userlist with a good news and testing results :) > > FreeSWITCH do honor path header and will back responses and will originate > calls to/through SIP proxy IP address if it is in the path. > > Before relaying in Kamailio you need put add_path or add_path_received > (both worked fine for me). FreeSWITCH will add it to Contact header: > > Contact: "" :49335;transport=tls;fs_path=sip%3Akamailio_ip%3Blr> > > No manual manipulations on Contact header is needed from kamailio side (as > well as from FreeSWITCH side). > > But be aware of correct handling SIP requests (i.e. INVITEs) from > FreeSWITCHes. For example my FreeSWITCHes backends are in dispatcher table > (sip:IP_ADDR:UDP_PORT). And I've checked it with ds_is_from_list in > kamailio. But FreeSWITCH originates INVITE to kamailio from > IP_ADDR:RANDOM_PORT. In this case ds_is_from_list fails :( > > Now I'm checking is there mistakes in my configs or this is normal usecase > for FreeSWITCH (I did not mention it earlier). > > > 2016-11-25 13:15 GMT+02:00 Vladyslav Zakhozhai : > > David, > > yes of course I'll be back with solution here :) But I'm not sure when > exactly. > > 2016-11-24 12:30 GMT+02:00 David Villasmil >: > > Hello, > > Please come back with the solution when you have it. It should be > interesting for people using kamailio/freeswitch. > > Regards, > > David > > On Wed, Nov 23, 2016 at 10:37 AM Vladyslav Zakhozhai < > v.zakhozhai at gmail.com> wrote: > > Alexandru, thank you for the answer. I think you've given me right > direction to investigate. > > As you've mentioned this is really kamailio issue/question. So I'm moving > to sr-users list. > > > 2016-11-22 13:03 GMT+02:00 Alexandru Covalschi <568691 at gmail.com>: > > Do you have set_contact_alias or add_contact_alias in Kamailio? Anyways > you're doing something wrong as AFAIK Kamailio translates contact header to > udp automatically. You should try to post on sr-users list. > > 2016-11-22 12:33 GMT+02:00 Vladyslav Zakhozhai : > > Hi, > > I'm trying to understand what is the best or suitable approach to the > following use case. Let me simplify thing a little bit. > > Suppose we have one FreeSWITCH registrar behind SIP proxy (kamailio). I'd > like to offload SSL/TLS encryption/decryption to SIP proxy: > > REGISTER: > > Request: UAC == SIP/TLS ==> Kamailio == UDP ==> FreeSWITCH:50 > Reply: UAC <== SIP/TLS == Kamailio <== UDP == FreeSWITCH > > INVITE: > UAC1 == SIP/TLS ==> Kamailio == UDP == > FreeSWITCH == UDP ==> Kamailio == > SIP/TLS ==> UAC2 > > (FreeSWITCH uses kamailio as outbound proxy with fs_path tag appended in > dialplan). > > The main problem is in Contact header which contains transport=tls and we > can see it in FreeSWITCH console: > > User: user at domain.com > Contact: "" > Status: Registered(TLS)(unknown) EXP(2016-11-22 10:16:59) EXPSECS(108) > IP: SIP_PROXY_IP > Port: 5060 > > When FreeSWITCH sends INVITE to UAC2 (during call) it tries to establish > TLS session to UAC2. It fails because there is no TLS-enabled sofia > profiles in the config of FreeSWITCH. > > I have only one solution in my mind: rewrite transport tag in Contact > header on SIP proxy (transport=udp to FreeSWITCH, and transport=tls to UAC). > > I'd like to know it this solution ok or there is more elegant solutions. > > I've tried appending tag transport=udp in FreeSWITCH's dialplan but no > success. > > Thank you in advance. > > -- > ? ?????????, > ????????? ??????? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > Alexandru Covalschi > VoIP engineer and system administrator > tel: +37367398493 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > ? ?????????, > ????????? ??????? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > ? ?????????, > ????????? ??????? > > > > > -- > ? ?????????, > ????????? ??????? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > 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/20161201/6d97fad9/attachment-0001.html From c.blau at foodpanda.com Thu Dec 1 11:12:36 2016 From: c.blau at foodpanda.com (Christoph Blau) Date: Thu, 1 Dec 2016 09:12:36 +0100 Subject: [Freeswitch-users] mod_python InputCallback() In-Reply-To: References: Message-ID: To answer my own question in case someone else comes across this issue. I found some ancient post from the list... Below a working piece of code using session.streamFile() instead session.answer session.setHangupHook(hangup_hook) session.setInputCallback(input_callback) # session.execute("playback", session.getVariable("hold_music")) session.streamFile(session.getVariable("hold_music")) if session.ready(): session.hangup() Cheers, Christoph Blau On 24 November 2016 at 16:26, Christoph Blau wrote: > Hi There > > I want to catch some DTMF and if possibly events from mod_callcenter using > a Python script. For now DTMF would be a good start to get me going. > Following the examples on the old and new Wiki brought no luck since it is > just not executing my callback function > > I hope it is okay that I dumped dialplan, script and CLI output into on > gist > > https://gist.github.com/cblaupanda/587a07b746f0e6427ceaf013576f29af > > Am I missing something? Could someone please point me in a direction that > I get this working? > > Many Thanks, > > Christoph Blau > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161201/0a673806/attachment.html From loi.dangthanh at gmail.com Thu Dec 1 13:00:16 2016 From: loi.dangthanh at gmail.com (=?UTF-8?B?TOG7o2kgxJDhurduZw==?=) Date: Thu, 1 Dec 2016 17:00:16 +0700 Subject: [Freeswitch-users] ESL for subscribing Channel Events Message-ID: Hi List, I want, but is unable to subscribe to 2 events CHANNEL_CREATE and CHANNEL_DESTROY using ESL. In a normal call caller <--> FS <--> callee, 2 CHANNEL_CREATE and 2 CHANNEL_DESTROY events fired and captured is my expectation. I achieved it easily via writing a new FS module in C. But I have some portion of python codes needed to be executed, so I tried alternative (my thought) way: - ESL inbound mode, but inbound connection is not bound to any particular channel - ESL outbound mode, but outbound connection is created from dialplan, so I guess CHANNEL_CREATE event could not be captured. - set up hangup_hook with mod_python, but python application is also called from dialplan. Please correct me if I'm wrong somehow, and give me some advices for what I'm trying to accomplish, since I don't want to rewrite my python code in C. Any help would be appreciated. rgds, Loi Dang Thanh Phone : +84.1224.735.448 Email : loi.dangthanh at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161201/472cd0fa/attachment.html From v.zakhozhai at gmail.com Thu Dec 1 13:33:42 2016 From: v.zakhozhai at gmail.com (Vladyslav Zakhozhai) Date: Thu, 1 Dec 2016 12:33:42 +0200 Subject: [Freeswitch-users] FreeSWITCH Registrar TLS offload In-Reply-To: References: Message-ID: Sergey, thank for your answer. I'd rather agree with Alexandru about encoding than with transport in Contact header issue. Here https://tools.ietf.org/pdf/rfc3327.pdf... There is no any mentioning about Contact header modification but: "The home proxy, in its basic mode of operation, rewrites the request-URI from the incoming request with the value of the registered contact and retransmits the request." (5.4) So Contact header is meaningful for Home proxy (i.e. the nearest proxy of UAC). Do transient SIP proxy really need to change Contact header? I doubt that. But if I'm wrong I'd be glad to understand where exactly :) Alexandru interesting thing about uri encoding is that return path is correct. I.e. without path header freeswitch will try to contact UAC directly. In my case responses and origination goes through SIP proxy which is in the path and in register information in freeswitch db. What about add_path and add_path_received. I really have tried to use both of them with the same result (I've mentioned it earlier). I think I'll try to play with append_hf. And thank you for your invitation. I'm not a telegram user. But I'll give it a try. 2016-12-01 5:55 GMT+02:00 Sergey Safarov : > Look at Contact header in register message Tls transport is present. > > ??, 29 ????. 2016, 13:45 Vladyslav Zakhozhai : > >> Hi, >> >> Here is SIP REGISTER message which goes UAC => Kamailio => FreeSWITCH: >> >> REGISTER sip:DOMAIN_NAME SIP/2.0 >> Via: SIP/2.0/UDP KAMAILIO_IP;branch=z9hG4bK95f8. >> b6cff139a89c58ea38df4e2f8d375039.0;i=9 >> Via: SIP/2.0/TLS USER_IP:34913;received=USER_ >> IP;alias;branch=z9hG4bK.KAL7~HJ2E;rport=34913 >> From: ;tag=EbEqf28Bb >> To: sip:USER_NAME at DOMAIN_NAME >> CSeq: 22 REGISTER >> Call-ID: QHttR-2N4V >> Max-Forwards: 69 >> Supported: outbound >> Accept: application/sdp >> Accept: text/plain >> Accept: application/vnd.gsma.rcs-ft-http+xml >> Contact: ;+sip.instance=" >> " >> Expires: 60 >> User-Agent: Linphone/3.9.0 (belle-sip/1.4.2) >> Content-Length: 0 >> Path: >> >> Looks good. Isn't it? >> >> Call origination from FreeSWITCH => Kamailio => UAC >> >> INVITE sip:TO_USER at TO_USER_IP:56408;transport=tls SIP/2.0 >> Via: SIP/2.0/TLS FS_IP;branch=z9hG4bKS4Dr1pBa4NB1K >> Route: ;lr;received=sip:TO_USER_IP:56408;transport=tls >> Max-Forwards: 68 >> From: "vlakas" ;tag=91r5XtyZa62Bj >> To: >> Call-ID: 7a17700d-30ae-1235-8bbb-005056b9778d >> CSeq: 99867524 INVITE >> Contact: >> User-Agent: FreeSWITCH-mod_sofia/1.6.12-20-b91a0a6~64bit >> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >> REGISTER, REFER, NOTIFY >> Supported: timer, path, replaces >> Allow-Events: talk, hold, conference, refer >> Content-Type: application/sdp >> Content-Disposition: session >> Content-Length: 246 >> X-FS-Support: update_display,send_info >> Remote-Party-ID: "TO_USER" ;party= >> calling;screen=yes;privacy=off >> >> v=0 >> o=FreeSWITCH 1480390787 1480390788 IN IP4 FS_IP >> s=FreeSWITCH >> c=IN IP4 FS_IP >> t=0 0 >> m=audio 16390 RTP/AVP 8 101 13 >> a=rtpmap:8 PCMA/8000 >> a=rtpmap:101 telephone-event/8000 >> a=fmtp:101 0-16 >> a=rtpmap:13 CN/8000 >> a=ptime:20 >> >> This is looks good too I guess... >> >> I can't understand why FreeSWITCH tries to originate call over TLS. What >> did I miss? >> >> 2016-11-29 0:54 GMT+02:00 Vladyslav Zakhozhai : >> >> P.S. In kamailio's dispatcher the freeswitch destination is as follows >> >> sip:FS_IP:5060 >> >> 2016-11-29 0:51 GMT+02:00 Vladyslav Zakhozhai : >> >> Brian, I'm wondering too. >> >> First of all thing about my previous mail is not so good. I forgot that >> I've configured my sofia profile to work with TLS. When I disabled TLS I >> still have a problem with originating calls with error: >> >> [ERR] sofia_glue.c:943 TLS not supported by profile >> >> FreeSWITCH still originates calls over TLS. >> >> Contact: "" > 3Asip_proxy_ip%3Blr> >> >> What about random source port. >> >> As I have told already on the kamailio side I check source ip and port of >> dispatcher destination (FS_IP:5060) and make appropriate actions. But >> originated call from kamailio did not pass this check. When I have looked >> in kamailio logs I saw that INVITE request is going from FS_IP:RANDOM_PORT >> >> Method: URI: >> SourceIP/Port: :<36378> From/To: [ >> ] Contact: <> :5061;transport=tls>> . >> >> Here we can see that call was originated over TLS and source port was >> different than 5061. >> >> Here is part of sofia profile: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> 2016-11-29 0:37 GMT+02:00 Brian West : >> >> You're using TLS/TCP the random port is how it happens. >> >> /b >> >> >> On Mon, Nov 28, 2016 at 4:31 PM, Vladyslav Zakhozhai < >> v.zakhozhai at gmail.com> wrote: >> >> Hi, I'm from ser-userlist with a good news and testing results :) >> >> FreeSWITCH do honor path header and will back responses and will >> originate calls to/through SIP proxy IP address if it is in the path. >> >> Before relaying in Kamailio you need put add_path or add_path_received >> (both worked fine for me). FreeSWITCH will add it to Contact header: >> >> Contact: "" > 3Akamailio_ip%3Blr> >> >> No manual manipulations on Contact header is needed from kamailio side >> (as well as from FreeSWITCH side). >> >> But be aware of correct handling SIP requests (i.e. INVITEs) from >> FreeSWITCHes. For example my FreeSWITCHes backends are in dispatcher table >> (sip:IP_ADDR:UDP_PORT). And I've checked it with ds_is_from_list in >> kamailio. But FreeSWITCH originates INVITE to kamailio from >> IP_ADDR:RANDOM_PORT. In this case ds_is_from_list fails :( >> >> Now I'm checking is there mistakes in my configs or this is normal >> usecase for FreeSWITCH (I did not mention it earlier). >> >> >> 2016-11-25 13:15 GMT+02:00 Vladyslav Zakhozhai : >> >> David, >> >> yes of course I'll be back with solution here :) But I'm not sure when >> exactly. >> >> 2016-11-24 12:30 GMT+02:00 David Villasmil > com>: >> >> Hello, >> >> Please come back with the solution when you have it. It should be >> interesting for people using kamailio/freeswitch. >> >> Regards, >> >> David >> >> On Wed, Nov 23, 2016 at 10:37 AM Vladyslav Zakhozhai < >> v.zakhozhai at gmail.com> wrote: >> >> Alexandru, thank you for the answer. I think you've given me right >> direction to investigate. >> >> As you've mentioned this is really kamailio issue/question. So I'm moving >> to sr-users list. >> >> >> 2016-11-22 13:03 GMT+02:00 Alexandru Covalschi <568691 at gmail.com>: >> >> Do you have set_contact_alias or add_contact_alias in Kamailio? Anyways >> you're doing something wrong as AFAIK Kamailio translates contact header to >> udp automatically. You should try to post on sr-users list. >> >> 2016-11-22 12:33 GMT+02:00 Vladyslav Zakhozhai : >> >> Hi, >> >> I'm trying to understand what is the best or suitable approach to the >> following use case. Let me simplify thing a little bit. >> >> Suppose we have one FreeSWITCH registrar behind SIP proxy (kamailio). I'd >> like to offload SSL/TLS encryption/decryption to SIP proxy: >> >> REGISTER: >> >> Request: UAC == SIP/TLS ==> Kamailio == UDP ==> FreeSWITCH:50 >> Reply: UAC <== SIP/TLS == Kamailio <== UDP == FreeSWITCH >> >> INVITE: >> UAC1 == SIP/TLS ==> Kamailio == UDP == > FreeSWITCH == UDP ==> Kamailio >> == SIP/TLS ==> UAC2 >> >> (FreeSWITCH uses kamailio as outbound proxy with fs_path tag appended in >> dialplan). >> >> The main problem is in Contact header which contains transport=tls and we >> can see it in FreeSWITCH console: >> >> User: user at domain.com >> Contact: "" >> Status: Registered(TLS)(unknown) EXP(2016-11-22 10:16:59) >> EXPSECS(108) >> IP: SIP_PROXY_IP >> Port: 5060 >> >> When FreeSWITCH sends INVITE to UAC2 (during call) it tries to establish >> TLS session to UAC2. It fails because there is no TLS-enabled sofia >> profiles in the config of FreeSWITCH. >> >> I have only one solution in my mind: rewrite transport tag in Contact >> header on SIP proxy (transport=udp to FreeSWITCH, and transport=tls to UAC). >> >> I'd like to know it this solution ok or there is more elegant solutions. >> >> I've tried appending tag transport=udp in FreeSWITCH's dialplan but no >> success. >> >> Thank you in advance. >> >> -- >> ? ?????????, >> ????????? ??????? >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> -- >> Alexandru Covalschi >> VoIP engineer and system administrator >> tel: +37367398493 >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> -- >> ? ?????????, >> ????????? ??????? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> -- >> ? ?????????, >> ????????? ??????? >> >> >> >> >> -- >> ? ?????????, >> ????????? ??????? >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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/20161201/1e78f530/attachment-0001.html From v.zakhozhai at gmail.com Thu Dec 1 13:58:52 2016 From: v.zakhozhai at gmail.com (Vladyslav Zakhozhai) Date: Thu, 1 Dec 2016 12:58:52 +0200 Subject: [Freeswitch-users] FYI - new Amazon Web Services TTS option In-Reply-To: <10bc193c-6018-5d0e-7628-72d329f4e1b8@mst.edu> References: <10bc193c-6018-5d0e-7628-72d329f4e1b8@mst.edu> Message-ID: Hi Nathan, thank you for sharing this aws option. Looks very interesting. 2016-12-01 4:27 GMT+02:00 Nathan Neulinger : > > https://aws.amazon.com/blogs/aws/polly-text-to-speech-in- > 47-voices-and-24-languages/ > > The quality blows away everything I've tried out previously... Highly > relevant option for voice prompts. > > -- Nathan > > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ? ?????????, ????????? ??????? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161201/ce9eebd6/attachment.html From mail at paulzillmann.de Thu Dec 1 14:05:42 2016 From: mail at paulzillmann.de (Paul Zillmann) Date: Thu, 1 Dec 2016 12:05:42 +0100 Subject: [Freeswitch-users] Force one way audio? In-Reply-To: <583D674E.2010009@telefaks.de> References: <583D674E.2010009@telefaks.de> Message-ID: Hey, when the call doesn't have to be answered before moh, you could use the ringback (pre_answer). https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+pre+answer I've you have answered the call, you could deflect it back to a preanswer state (after IVR) https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+deflect Am 29.11.2016 um 12:32 schrieb Peter Steinbach: > Hello, > > we want to setup a system where a larger numer of callers (500-1000) are > listening to MOH. In order to reduce bandwidth, I would like to force > Freeswitch to negociate only one way audio (outbound audio only, MOH). > Is there a way to do this in Freeswitch, maybe? > From shaun.stokes at itec-support.co.uk Thu Dec 1 15:30:57 2016 From: shaun.stokes at itec-support.co.uk (Shaun Stokes) Date: Thu, 1 Dec 2016 12:30:57 +0000 Subject: [Freeswitch-users] Skype In-Reply-To: References: <9F01883B-FEAF-437B-8AFA-0C559863E067@magicmail.mooo.com> Message-ID: <6FD2F8B5BB72834E9939AEDF9FB802A901E86156A2@mbx-01.sysconfig.co.uk> Microsoft are pushing hard to get their customers away from on premise solutions such as Skype for Business Server and on to their cloud solution Office 365. For the moment Office 365 (Business orientated) and Skype (User orientated) exist as separate entities, but I wouldn?t be surprised if Microsoft decided to bring them together in the future. As far as I can tell they still endorse the Desktop API for Skype but with a limited feature set: https://support.skype.com/en/faq/FA214/what-is-the-desktop-api You can expect Microsoft to gradually phase out legacy software and APIs which they no longer publicly support. Microsoft are promoting APIs for Skype for Business and Office 365 which they have invested heavily in: https://www.skype.com/en/developer/ https://msdn.microsoft.com/en-us/skype/skypedeveloperplatform From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Russell Treleaven Sent: 30 November 2016 21:30 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Skype Bump On Thu, Nov 17, 2016 at 5:29 PM, Russell Treleaven > wrote: How did this land? On Aug 4, 2016 1:35 PM, "Giovanni Maruzzelli" > wrote: About skypopen: I suspect they (M$) will retract support soon for the protocol/API used by mod_skypopen. Don't seriously invest in it until situation will clarify, probably in Autumn... 6 concurrent call limit can be overridden in many ways, but I repeat, I would not counseil to seriously invest in it until Autumn. I'm mod_skypopen author, btw. If someone has more info, please step up and let us know. -giovanni On Thu, Aug 4, 2016 at 5:53 PM, Rick Jarvis > wrote: Skype are telling me that it is no longer possible to receive calls to Skype names / addresses (as appose to Skype numbers) via SIP with Skype Connect. Does anyone know if this is the case? Their support is awful, but this would seem a bit of a backward step, and I don?t know whether to trust what I?m being told. The alternative is Skypopen, of course. But I notice that it has a maximum of 6 concurrent calls. Is this for resource reasons? I?m thinking of building a server to handle all Skype to SIP calls for our customers, so would be interested to know if it?s possible to bypass the limit with a beefy spec?? Thanks R _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 -- Sincerely, Russell Treleaven sip:rtreleaven at sip.bunnykick.ca ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ [http://www.itec-support.co.uk/wp-content/uploads/2016/07/email_logo.jpg] Shaun Stokes - Infrastructure Analyst T : 01453 700713 E : shaun.stokes at itec-support.co.uk W : www.itec-support.co.uk Registered Address :- ITEC Support, Suite 2 Prospect House, Bath Road, Stroud, Gloucestershire GL5 3QF Company No. 06908001 CONFIDENTIALITY NOTICE This communication and the information it contains are intended for the person or organisation to which it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately. The contents of any attachments in this e-mail may contain software viruses, which could damage your own computer system. While ITEC Support has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checking procedure before opening any attachment. ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161201/387dd136/attachment-0001.html From nneul at mst.edu Thu Dec 1 17:30:44 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Thu, 1 Dec 2016 08:30:44 -0600 Subject: [Freeswitch-users] FYI - new Amazon Web Services TTS option In-Reply-To: References: <10bc193c-6018-5d0e-7628-72d329f4e1b8@mst.edu> Message-ID: <9a4e58be-dfd7-781c-0f60-12fedd498167@mst.edu> I'm going to try and put together a sounds set from the freeswitch phrase file and will submit back to project. In my case, even if the word-to-word transitions are not as uniform as callie, it will allow my custom prompts to have the same voice as the system prompts. -- Nathan On 12/01/2016 04:58 AM, Vladyslav Zakhozhai wrote: > Hi Nathan, > > thank you for sharing this aws option. Looks very interesting. > > 2016-12-01 4:27 GMT+02:00 Nathan Neulinger >: > > > https://aws.amazon.com/blogs/aws/polly-text-to-speech-in-47-voices-and-24-languages/ > > > The quality blows away everything I've tried out previously... Highly relevant option for voice prompts. > > -- Nathan > > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > -- > ? ?????????, > ????????? ??????? > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From lists at telefaks.de Thu Dec 1 17:48:54 2016 From: lists at telefaks.de (Peter Steinbach) Date: Thu, 01 Dec 2016 15:48:54 +0100 Subject: [Freeswitch-users] T.38 RTP Poll failed with error: 9 [Bad file descriptor] Message-ID: <58403856.80404@telefaks.de> Hello, I have a strange error when proyy-media T38 faxes. Freeswitch is behind NAT (internal 192.168.12.248, external 5.10.xxx.yyy), other, receiving Server is also a Freeswitch A connection is made via G.711A, we hear the machines negociating, then we receive a T.38 reinvite from the remote Freeswitch server. The local ATA 30@ reponds with T38 SDP, Freeswitch is passing it to the remote site (and there the error occurs). See error in bold: 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel sofia/internal/30 at 192.168.12.248 entering state [completing][200] 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6944 Duplicate SDP v=0 o=30 8002 8001 IN IP4 192.168.12.99 s=SIP Call c=IN IP4 192.168.12.99 t=0 0 m=image 5012 udptl t38 a=T38FaxVersion:0 a=T38MaxBitRate:14400 a=T38FaxRateManagement:transferredTCF a=T38FaxMaxBuffer:500 a=T38FaxMaxDatagram:500 a=T38FaxUdpEC:t38UDPRedundancy 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel sofia/internal/30 at 192.168.12.248 entering state [ready][200] 2016-12-01 15:28:55.554501 [DEBUG] mod_sofia.c:2088 Responding with 200 [OK] 2016-12-01 15:28:55.554501 [DEBUG] switch_core_media.c:8955 sofia/external/0403801xxxxxxx image media sdp: v=0 o=FreeSWITCH 1480572959 1480572961 IN IP4 5.10.xxx.yyy s=FreeSWITCH c=IN IP4 5.10.xxx.yyy t=0 0 m=image 29544 udptl t38 a=T38FaxVersion:0 a=T38MaxBitRate:14400 a=T38FaxRateManagement:transferredTCF a=T38FaxMaxBuffer:500 a=T38FaxMaxDatagram:500 a=T38FaxUdpEC:t38UDPRedundancy *2016-12-01 15:28:55.554501 [ERR] switch_rtp.c:6420 Poll failed with error: 9 [Bad file descriptor]* 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:712 sofia/external/0403801xxxxxxx ending bridge by request from read function 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:785 BRIDGE THREAD DONE [sofia/external/0403801xxxxxxx] 2016-12-01 15:28:55.554501 [NOTICE] switch_ivr_bridge.c:889 Hangup sofia/external/0403801xxxxxxx [CS_EXCHANGE_MEDIA] [NORMAL_CLEAR Some background Info: * Freeswitch runs in LXC environment * Freeswitch runs as non-priviledged user. What is the cause of this? Maybe a problem with port 29544? But port 29544 was already previously used with G.711A. -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161201/9b8713ec/attachment.html From mike at jerris.com Thu Dec 1 17:53:34 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 1 Dec 2016 09:53:34 -0500 Subject: [Freeswitch-users] ESL for subscribing Channel Events In-Reply-To: References: Message-ID: <08113FEA-EBDA-44E0-9041-68D2607B4096@jerris.com> If you want to get those events just connect to ESL and subscribe to them. Are you saying you want to have a connection per channel but include create events? You would have a chicken and egg problem there but in that case what do you actually need the create event for, surely another event can be used instead. > On Dec 1, 2016, at 5:00 AM, L?i ??ng wrote: > > Hi List, I want, but is unable to subscribe to 2 events CHANNEL_CREATE and CHANNEL_DESTROY using ESL. > > In a normal call caller <--> FS <--> callee, 2 CHANNEL_CREATE and 2 CHANNEL_DESTROY events fired and captured is my expectation. > > I achieved it easily via writing a new FS module in C. But I have some portion of python codes needed to be executed, so I tried alternative (my thought) way: > - ESL inbound mode, but inbound connection is not bound to any particular channel > - ESL outbound mode, but outbound connection is created from dialplan, so I guess CHANNEL_CREATE event could not be captured. > - set up hangup_hook with mod_python, but python application is also called from dialplan. > > Please correct me if I'm wrong somehow, and give me some advices for what I'm trying to accomplish, since I don't want to rewrite my python code in C. > From mike at jerris.com Thu Dec 1 17:56:16 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 1 Dec 2016 09:56:16 -0500 Subject: [Freeswitch-users] FYI - new Amazon Web Services TTS option In-Reply-To: <9a4e58be-dfd7-781c-0f60-12fedd498167@mst.edu> References: <10bc193c-6018-5d0e-7628-72d329f4e1b8@mst.edu> <9a4e58be-dfd7-781c-0f60-12fedd498167@mst.edu> Message-ID: could also just get her to record your custom prompts too one time and then you get the best of both. > On Dec 1, 2016, at 9:30 AM, Nathan Neulinger wrote: > > I'm going to try and put together a sounds set from the freeswitch phrase file and will submit back to project. > > In my case, even if the word-to-word transitions are not as uniform as callie, it will allow my custom prompts to have > the same voice as the system prompts. > > -- Nathan > > On 12/01/2016 04:58 AM, Vladyslav Zakhozhai wrote: >> Hi Nathan, >> >> thank you for sharing this aws option. Looks very interesting. >> >> 2016-12-01 4:27 GMT+02:00 Nathan Neulinger >>: >> >> >> https://aws.amazon.com/blogs/aws/polly-text-to-speech-in-47-voices-and-24-languages/ >> > >> >> The quality blows away everything I've tried out previously... Highly relevant option for voice prompts. >> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161201/815e1f01/attachment-0001.html From colin.morelli at gmail.com Thu Dec 1 17:59:43 2016 From: colin.morelli at gmail.com (Colin Morelli) Date: Thu, 1 Dec 2016 09:59:43 -0500 Subject: [Freeswitch-users] ESL for subscribing Channel Events In-Reply-To: <08113FEA-EBDA-44E0-9041-68D2607B4096@jerris.com> References: <08113FEA-EBDA-44E0-9041-68D2607B4096@jerris.com> Message-ID: Obviously this largely depends on your use case, but if you're just looking to receive events of things happening in FS (and not trying to control FS through ESL), using something like mod_amqp may be a better choice. You'll remove the complexity of having to connect to the FS instances directly, and buy the flexibility of processing the events however you want. You're also less likely to miss events due to application errors (assuming that your AMQP host is more "reliable" than your application). On Thu, Dec 1, 2016 at 9:53 AM, Michael Jerris wrote: > If you want to get those events just connect to ESL and subscribe to > them. Are you saying you want to have a connection per channel but include > create events? You would have a chicken and egg problem there but in that > case what do you actually need the create event for, surely another event > can be used instead. > > > On Dec 1, 2016, at 5:00 AM, L?i ??ng wrote: > > > > Hi List, I want, but is unable to subscribe to 2 events CHANNEL_CREATE > and CHANNEL_DESTROY using ESL. > > > > In a normal call caller <--> FS <--> callee, 2 CHANNEL_CREATE and 2 > CHANNEL_DESTROY events fired and captured is my expectation. > > > > I achieved it easily via writing a new FS module in C. But I have some > portion of python codes needed to be executed, so I tried alternative (my > thought) way: > > - ESL inbound mode, but inbound connection is not bound to any > particular channel > > - ESL outbound mode, but outbound connection is created from dialplan, > so I guess CHANNEL_CREATE event could not be captured. > > - set up hangup_hook with mod_python, but python application is also > called from dialplan. > > > > Please correct me if I'm wrong somehow, and give me some advices for > what I'm trying to accomplish, since I don't want to rewrite my python code > in C. > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161201/eecb6bc7/attachment.html From avi at avimarcus.net Thu Dec 1 18:01:38 2016 From: avi at avimarcus.net (Avi Marcus) Date: Thu, 1 Dec 2016 15:01:38 +0000 Subject: [Freeswitch-users] FYI - new Amazon Web Services TTS option In-Reply-To: <9a4e58be-dfd7-781c-0f60-12fedd498167@mst.edu> References: <10bc193c-6018-5d0e-7628-72d329f4e1b8@mst.edu> <9a4e58be-dfd7-781c-0f60-12fedd498167@mst.edu> Message-ID: <01000158bae7b8c1-1abf93ca-1dc9-4fbd-aba8-5eca8f7aef24-000000@email.amazonses.com> Nathan: If you can save your code/script/whatever so that someone can pull together a set in one of the other 5-6 speakers or translate it and get in another language, that might be helpful! -Avi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161201/b4a42afb/attachment.html From lists at telefaks.de Thu Dec 1 18:07:48 2016 From: lists at telefaks.de (Peter Steinbach) Date: Thu, 01 Dec 2016 16:07:48 +0100 Subject: [Freeswitch-users] Force one way audio? In-Reply-To: References: <583D674E.2010009@telefaks.de> Message-ID: <58403CC4.7040005@telefaks.de> Thank you Paul, we have a different scenario. Freeswitch shall still play MOH to the callers. But we do not want to receive audio in order to save bandwidth. I don't really believe, that this can work, but it's worth to ask this question. Regards Peter On 12/01/16 12:05, Paul Zillmann wrote: > Hey, > > when the call doesn't have to be answered before moh, you could use the > ringback (pre_answer). > https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+pre+answer > > I've you have answered the call, you could deflect it back to a > preanswer state (after IVR) > https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+deflect > > Am 29.11.2016 um 12:32 schrieb Peter Steinbach: >> Hello, >> >> we want to setup a system where a larger numer of callers (500-1000) are >> listening to MOH. In order to reduce bandwidth, I would like to force >> Freeswitch to negociate only one way audio (outbound audio only, MOH). >> Is there a way to do this in Freeswitch, maybe? >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de From nneul at mst.edu Thu Dec 1 18:19:16 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Thu, 1 Dec 2016 09:19:16 -0600 Subject: [Freeswitch-users] FYI - new Amazon Web Services TTS option In-Reply-To: <01000158bae7b8c1-1abf93ca-1dc9-4fbd-aba8-5eca8f7aef24-000000@email.amazonses.com> References: <10bc193c-6018-5d0e-7628-72d329f4e1b8@mst.edu> <9a4e58be-dfd7-781c-0f60-12fedd498167@mst.edu> <01000158bae7b8c1-1abf93ca-1dc9-4fbd-aba8-5eca8f7aef24-000000@email.amazonses.com> Message-ID: <3a88a30b-a199-5f0b-e3ea-5a727b914d4f@mst.edu> Definitely. I was planning on mapping the current phrase files to possible voices and generating a set of audio for at least for all of the languages that AWS Polly currently supports. -- Nathan On 12/01/2016 09:01 AM, Avi Marcus wrote: > Nathan: If you can save your code/script/whatever so that someone can pull together a set in one of the other 5-6 > speakers or translate it and get in another language, that might be helpful! > -Avi > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From brian at freeswitch.org Thu Dec 1 19:21:26 2016 From: brian at freeswitch.org (Brian West) Date: Thu, 1 Dec 2016 10:21:26 -0600 Subject: [Freeswitch-users] T.38 RTP Poll failed with error: 9 [Bad file descriptor] In-Reply-To: <58403856.80404@telefaks.de> References: <58403856.80404@telefaks.de> Message-ID: You're on an older release, we've fixed this already. /b On Thu, Dec 1, 2016 at 8:48 AM, Peter Steinbach wrote: > Hello, > > I have a strange error when proyy-media T38 faxes. > Freeswitch is behind NAT (internal 192.168.12.248, external 5.10.xxx.yyy), > other, receiving Server is also a Freeswitch > > A connection is made via G.711A, we hear the machines negociating, then we > receive a T.38 reinvite from the remote Freeswitch server. > The local ATA 30@ reponds with T38 SDP, Freeswitch is passing it to the > remote site (and there the error occurs). See error in bold: > > 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel > sofia/internal/30 at 192.168.12.248 entering state [completing][200] > 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6944 Duplicate SDP > v=0 > o=30 8002 8001 IN IP4 192.168.12.99 > s=SIP Call > c=IN IP4 192.168.12.99 > t=0 0 > m=image 5012 udptl t38 > a=T38FaxVersion:0 > a=T38MaxBitRate:14400 > a=T38FaxRateManagement:transferredTCF > a=T38FaxMaxBuffer:500 > a=T38FaxMaxDatagram:500 > a=T38FaxUdpEC:t38UDPRedundancy > > 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel > sofia/internal/30 at 192.168.12.248 entering state [ready][200] > 2016-12-01 15:28:55.554501 [DEBUG] mod_sofia.c:2088 Responding with 200 > [OK] > 2016-12-01 15:28:55.554501 [DEBUG] switch_core_media.c:8955 > sofia/external/0403801xxxxxxx image media sdp: > v=0 > o=FreeSWITCH 1480572959 1480572961 IN IP4 5.10.xxx.yyy > s=FreeSWITCH > c=IN IP4 5.10.xxx.yyy > t=0 0 > m=image 29544 udptl t38 > a=T38FaxVersion:0 > a=T38MaxBitRate:14400 > a=T38FaxRateManagement:transferredTCF > a=T38FaxMaxBuffer:500 > a=T38FaxMaxDatagram:500 > a=T38FaxUdpEC:t38UDPRedundancy > > *2016-12-01 15:28:55.554501 [ERR] switch_rtp.c:6420 Poll failed with > error: 9 [Bad file descriptor]* > 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:712 > sofia/external/0403801xxxxxxx ending bridge by request from read function > 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:785 BRIDGE THREAD > DONE [sofia/external/0403801xxxxxxx] > 2016-12-01 15:28:55.554501 [NOTICE] switch_ivr_bridge.c:889 Hangup > sofia/external/0403801xxxxxxx [CS_EXCHANGE_MEDIA] [NORMAL_CLEAR > > Some background Info: > > - Freeswitch runs in LXC environment > - Freeswitch runs as non-priviledged user. > > What is the cause of this? Maybe a problem with port 29544? But port 29544 > was already previously used with G.711A. > > -- > With kind regards > Peter Steinbach > > Telefaks Services GmbHmailto:lists (att) telefaks.de > Internet: www.telefaks.de > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161201/434f6a0b/attachment-0001.html From lists at telefaks.de Thu Dec 1 20:01:38 2016 From: lists at telefaks.de (Peter Steinbach) Date: Thu, 01 Dec 2016 18:01:38 +0100 Subject: [Freeswitch-users] T.38 RTP Poll failed with error: 9 [Bad file descriptor] In-Reply-To: References: <58403856.80404@telefaks.de> Message-ID: <58405772.902@telefaks.de> Thanks, by the way, we found out in further testing, when setting RTP ports to 65000+, this error went away. But anyway, we will have to update/recompile Freeswitch. Best regards Peter On 12/01/16 17:21, Brian West wrote: > You're on an older release, we've fixed this already. > > /b > > > On Thu, Dec 1, 2016 at 8:48 AM, Peter Steinbach > wrote: > > Hello, > > I have a strange error when proyy-media T38 faxes. > Freeswitch is behind NAT (internal 192.168.12.248, external > 5.10.xxx.yyy), other, receiving Server is also a Freeswitch > > A connection is made via G.711A, we hear the machines negociating, > then we receive a T.38 reinvite from the remote Freeswitch server. > The local ATA 30@ reponds with T38 SDP, Freeswitch is passing it > to the remote site (and there the error occurs). See error in bold: > > 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel > sofia/internal/30 at 192.168.12.248 > entering state > [completing][200] > 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6944 Duplicate SDP > v=0 > o=30 8002 8001 IN IP4 192.168.12.99 > s=SIP Call > c=IN IP4 192.168.12.99 > t=0 0 > m=image 5012 udptl t38 > a=T38FaxVersion:0 > a=T38MaxBitRate:14400 > a=T38FaxRateManagement:transferredTCF > a=T38FaxMaxBuffer:500 > a=T38FaxMaxDatagram:500 > a=T38FaxUdpEC:t38UDPRedundancy > > 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel > sofia/internal/30 at 192.168.12.248 > entering state [ready][200] > 2016-12-01 15:28:55.554501 [DEBUG] mod_sofia.c:2088 Responding > with 200 [OK] > 2016-12-01 15:28:55.554501 [DEBUG] switch_core_media.c:8955 > sofia/external/0403801xxxxxxx image media sdp: > v=0 > o=FreeSWITCH 1480572959 1480572961 IN IP4 5.10.xxx.yyy > s=FreeSWITCH > c=IN IP4 5.10.xxx.yyy > t=0 0 > m=image 29544 udptl t38 > a=T38FaxVersion:0 > a=T38MaxBitRate:14400 > a=T38FaxRateManagement:transferredTCF > a=T38FaxMaxBuffer:500 > a=T38FaxMaxDatagram:500 > a=T38FaxUdpEC:t38UDPRedundancy > > *2016-12-01 15:28:55.554501 [ERR] switch_rtp.c:6420 Poll failed > with error: 9 [Bad file descriptor]* > 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:712 > sofia/external/0403801xxxxxxx ending bridge by request from read > function > 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:785 BRIDGE > THREAD DONE [sofia/external/0403801xxxxxxx] > 2016-12-01 15:28:55.554501 [NOTICE] switch_ivr_bridge.c:889 Hangup > sofia/external/0403801xxxxxxx [CS_EXCHANGE_MEDIA] [NORMAL_CLEAR > > Some background Info: > > * Freeswitch runs in LXC environment > * Freeswitch runs as non-priviledged user. > > What is the cause of this? Maybe a problem with port 29544? But > port 29544 was already previously used with G.711A. > > -- > With kind regards > Peter Steinbach > > Telefaks Services GmbH > mailto:lists (att) telefaks.de > Internet: www.telefaks.de > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > 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 -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161201/5cec3ee7/attachment.html From brian at freeswitch.org Thu Dec 1 20:19:58 2016 From: brian at freeswitch.org (Brian West) Date: Thu, 1 Dec 2016 11:19:58 -0600 Subject: [Freeswitch-users] T.38 RTP Poll failed with error: 9 [Bad file descriptor] In-Reply-To: <58405772.902@telefaks.de> References: <58403856.80404@telefaks.de> <58405772.902@telefaks.de> Message-ID: You'll want 1.6.13 or master, this bug was a pain in the butt to find and fix. /b On Thu, Dec 1, 2016 at 11:01 AM, Peter Steinbach wrote: > Thanks, > > by the way, we found out in further testing, when setting RTP ports to > 65000+, this error went away. > > But anyway, we will have to update/recompile Freeswitch. > > > > Best regards > Peter > > On 12/01/16 17:21, Brian West wrote: > > You're on an older release, we've fixed this already. > > /b > > > On Thu, Dec 1, 2016 at 8:48 AM, Peter Steinbach wrote: > >> Hello, >> >> I have a strange error when proyy-media T38 faxes. >> Freeswitch is behind NAT (internal 192.168.12.248, external 5.10.xxx.yyy), >> other, receiving Server is also a Freeswitch >> >> A connection is made via G.711A, we hear the machines negociating, then >> we receive a T.38 reinvite from the remote Freeswitch server. >> The local ATA 30@ reponds with T38 SDP, Freeswitch is passing it to the >> remote site (and there the error occurs). See error in bold: >> >> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel >> sofia/internal/30 at 192.168.12.248 entering state [completing][200] >> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6944 Duplicate SDP >> v=0 >> o=30 8002 8001 IN IP4 192.168.12.99 >> s=SIP Call >> c=IN IP4 192.168.12.99 >> t=0 0 >> m=image 5012 udptl t38 >> a=T38FaxVersion:0 >> a=T38MaxBitRate:14400 >> a=T38FaxRateManagement:transferredTCF >> a=T38FaxMaxBuffer:500 >> a=T38FaxMaxDatagram:500 >> a=T38FaxUdpEC:t38UDPRedundancy >> >> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel >> sofia/internal/30 at 192.168.12.248 entering state [ready][200] >> 2016-12-01 15:28:55.554501 [DEBUG] mod_sofia.c:2088 Responding with 200 >> [OK] >> 2016-12-01 15:28:55.554501 [DEBUG] switch_core_media.c:8955 >> sofia/external/0403801xxxxxxx image media sdp: >> v=0 >> o=FreeSWITCH 1480572959 1480572961 IN IP4 5.10.xxx.yyy >> s=FreeSWITCH >> c=IN IP4 5.10.xxx.yyy >> t=0 0 >> m=image 29544 udptl t38 >> a=T38FaxVersion:0 >> a=T38MaxBitRate:14400 >> a=T38FaxRateManagement:transferredTCF >> a=T38FaxMaxBuffer:500 >> a=T38FaxMaxDatagram:500 >> a=T38FaxUdpEC:t38UDPRedundancy >> >> *2016-12-01 15:28:55.554501 [ERR] switch_rtp.c:6420 Poll failed with >> error: 9 [Bad file descriptor]* >> 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:712 >> sofia/external/0403801xxxxxxx ending bridge by request from read function >> 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:785 BRIDGE THREAD >> DONE [sofia/external/0403801xxxxxxx] >> 2016-12-01 15:28:55.554501 [NOTICE] switch_ivr_bridge.c:889 Hangup >> sofia/external/0403801xxxxxxx [CS_EXCHANGE_MEDIA] [NORMAL_CLEAR >> >> Some background Info: >> >> - Freeswitch runs in LXC environment >> - Freeswitch runs as non-priviledged user. >> >> What is the cause of this? Maybe a problem with port 29544? But port >> 29544 was already previously used with G.711A. >> >> -- >> With kind regards >> Peter Steinbach >> >> Telefaks Services GmbHmailto:lists (att) telefaks.de >> Internet: www.telefaks.de >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > 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.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 > > > > -- > With kind regards > Peter Steinbach > > Telefaks Services GmbHmailto:lists (att) telefaks.de > Internet: www.telefaks.de > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161201/5bfd9e22/attachment-0001.html From thesipguy at gmail.com Thu Dec 1 20:20:03 2016 From: thesipguy at gmail.com (Schneur Rosenberg) Date: Thu, 1 Dec 2016 19:20:03 +0200 Subject: [Freeswitch-users] Force one way audio? In-Reply-To: <58403CC4.7040005@telefaks.de> References: <583D674E.2010009@telefaks.de> <58403CC4.7040005@telefaks.de> Message-ID: I wonder if throwing the call in a conference and mute the participants will save bandwith? On Dec 1, 2016 17:08, "Peter Steinbach" wrote: > Thank you Paul, > > we have a different scenario. Freeswitch shall still play MOH to the > callers. But we do not want to receive audio in order to save bandwidth. > I don't really believe, that this can work, but it's worth to ask this > question. > > Regards > Peter > > On 12/01/16 12:05, Paul Zillmann wrote: > > Hey, > > > > when the call doesn't have to be answered before moh, you could use the > > ringback (pre_answer). > > https://freeswitch.org/confluence/display/FREESWITCH/ > mod_dptools%3A+pre+answer > > > > I've you have answered the call, you could deflect it back to a > > preanswer state (after IVR) > > https://freeswitch.org/confluence/display/FREESWITCH/ > mod_dptools%3A+deflect > > > > Am 29.11.2016 um 12:32 schrieb Peter Steinbach: > >> Hello, > >> > >> we want to setup a system where a larger numer of callers (500-1000) are > >> listening to MOH. In order to reduce bandwidth, I would like to force > >> Freeswitch to negociate only one way audio (outbound audio only, MOH). > >> Is there a way to do this in Freeswitch, maybe? > >> > > > > ____________________________________________________________ > _____________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > -- > With kind regards > Peter Steinbach > > Telefaks Services GmbH > mailto:lists (att) telefaks.de > Internet: www.telefaks.de > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161201/456831a3/attachment.html From anthony.minessale at gmail.com Thu Dec 1 20:27:14 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 1 Dec 2016 11:27:14 -0600 Subject: [Freeswitch-users] T.38 RTP Poll failed with error: 9 [Bad file descriptor] In-Reply-To: References: <58403856.80404@telefaks.de> <58405772.902@telefaks.de> Message-ID: Has nothing to do with the port range, that problem was related specifically to T.38 endpoints who were using RTCP before they changed to UDPTL. On Thu, Dec 1, 2016 at 11:19 AM, Brian West wrote: > You'll want 1.6.13 or master, this bug was a pain in the butt to find and > fix. > > /b > > On Thu, Dec 1, 2016 at 11:01 AM, Peter Steinbach > wrote: > >> Thanks, >> >> by the way, we found out in further testing, when setting RTP ports to >> 65000+, this error went away. >> >> But anyway, we will have to update/recompile Freeswitch. >> >> >> >> Best regards >> Peter >> >> On 12/01/16 17:21, Brian West wrote: >> >> You're on an older release, we've fixed this already. >> >> /b >> >> >> On Thu, Dec 1, 2016 at 8:48 AM, Peter Steinbach >> wrote: >> >>> Hello, >>> >>> I have a strange error when proyy-media T38 faxes. >>> Freeswitch is behind NAT (internal 192.168.12.248, external >>> 5.10.xxx.yyy), other, receiving Server is also a Freeswitch >>> >>> A connection is made via G.711A, we hear the machines negociating, then >>> we receive a T.38 reinvite from the remote Freeswitch server. >>> The local ATA 30@ reponds with T38 SDP, Freeswitch is passing it to the >>> remote site (and there the error occurs). See error in bold: >>> >>> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel >>> sofia/internal/30 at 192.168.12.248 entering state [completing][200] >>> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6944 Duplicate SDP >>> v=0 >>> o=30 8002 8001 IN IP4 192.168.12.99 >>> s=SIP Call >>> c=IN IP4 192.168.12.99 >>> t=0 0 >>> m=image 5012 udptl t38 >>> a=T38FaxVersion:0 >>> a=T38MaxBitRate:14400 >>> a=T38FaxRateManagement:transferredTCF >>> a=T38FaxMaxBuffer:500 >>> a=T38FaxMaxDatagram:500 >>> a=T38FaxUdpEC:t38UDPRedundancy >>> >>> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel >>> sofia/internal/30 at 192.168.12.248 entering state [ready][200] >>> 2016-12-01 15:28:55.554501 [DEBUG] mod_sofia.c:2088 Responding with 200 >>> [OK] >>> 2016-12-01 15:28:55.554501 [DEBUG] switch_core_media.c:8955 >>> sofia/external/0403801xxxxxxx image media sdp: >>> v=0 >>> o=FreeSWITCH 1480572959 1480572961 IN IP4 5.10.xxx.yyy >>> s=FreeSWITCH >>> c=IN IP4 5.10.xxx.yyy >>> t=0 0 >>> m=image 29544 udptl t38 >>> a=T38FaxVersion:0 >>> a=T38MaxBitRate:14400 >>> a=T38FaxRateManagement:transferredTCF >>> a=T38FaxMaxBuffer:500 >>> a=T38FaxMaxDatagram:500 >>> a=T38FaxUdpEC:t38UDPRedundancy >>> >>> *2016-12-01 15:28:55.554501 [ERR] switch_rtp.c:6420 Poll failed with >>> error: 9 [Bad file descriptor]* >>> 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:712 >>> sofia/external/0403801xxxxxxx ending bridge by request from read function >>> 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:785 BRIDGE THREAD >>> DONE [sofia/external/0403801xxxxxxx] >>> 2016-12-01 15:28:55.554501 [NOTICE] switch_ivr_bridge.c:889 Hangup >>> sofia/external/0403801xxxxxxx [CS_EXCHANGE_MEDIA] [NORMAL_CLEAR >>> >>> Some background Info: >>> >>> - Freeswitch runs in LXC environment >>> - Freeswitch runs as non-priviledged user. >>> >>> What is the cause of this? Maybe a problem with port 29544? But port >>> 29544 was already previously used with G.711A. >>> >>> -- >>> With kind regards >>> Peter Steinbach >>> >>> Telefaks Services GmbHmailto:lists (att) telefaks.de >>> Internet: www.telefaks.de >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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.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 >> >> >> >> -- >> With kind regards >> Peter Steinbach >> >> Telefaks Services GmbHmailto:lists (att) telefaks.de >> Internet: www.telefaks.de >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> > | *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 > -- 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/20161201/45bc8b5f/attachment-0001.html From brian at freeswitch.org Thu Dec 1 21:45:57 2016 From: brian at freeswitch.org (Brian West) Date: Thu, 1 Dec 2016 12:45:57 -0600 Subject: [Freeswitch-users] FreeSWITCH docs/phrase files Message-ID: FreeSWITCHers, I'd like to know if everyone can take a moment to review the phrase XML that you can https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/docs/phrase The purpose is we are in the process of making sure all the sound files are recorded and anything missing is being documented and ordered ASAP before the 1.8 release. So please help me out. Thanks, -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161201/69f53b1c/attachment.html From nneul at mst.edu Thu Dec 1 21:59:56 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Thu, 1 Dec 2016 12:59:56 -0600 Subject: [Freeswitch-users] FreeSWITCH docs/phrase files In-Reply-To: References: Message-ID: <7c6f6b39-37bb-b777-7130-9d81197a0e53@mst.edu> Related - would love to see https://freeswitch.org/jira/browse/FS-8733 added to the request: -- Nathan On 12/01/2016 12:45 PM, Brian West wrote: > FreeSWITCHers, > > I'd like to know if everyone can take a moment to review the phrase XML that you can > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/docs/phrase > > The purpose is we are in the process of making sure all the sound files are recorded and anything missing is being > documented and ordered ASAP before the 1.8 release. > > So please help me out. > > Thanks, > > -- > > */Brian West/* > brian at freeswitch.org > > > */Twitter: @FreeSWITCH , @briankwest/* > http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > 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 > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From blackc2004 at gmail.com Fri Dec 2 04:04:31 2016 From: blackc2004 at gmail.com (Cj B) Date: Thu, 1 Dec 2016 17:04:31 -0800 Subject: [Freeswitch-users] Verto conference and Yealink T49 video In-Reply-To: <38F623D6-AED6-429C-A9BC-4E6F891EB813@gmail.com> References: <09FB5EEC-246A-4C04-B40E-0319C004CA18@gmail.com> <38F623D6-AED6-429C-A9BC-4E6F891EB813@gmail.com> Message-ID: <14C6C713-85DE-4111-A733-B76BC25FE534@gmail.com> Ok, back to this again. It was working great and then I realized I was missing all the layouts. I added those in and now video on my T49 doesn?t work any more in either direction? I?ve successfully do a call to a conference from (2) verto and zoiper, all three get video but once the t49 joins, it just gets a black screen and all we the other participants see is a black screen? any other suggestions? FreeSWITCH version: 1.6.13+git~20161201T040813Z~b5dbb2a555~64bit (git b5dbb2a 2016-12-01 04:08:13Z 64bit) Thanks Cj B > On Nov 16, 2016, at 11:03 AM, Cj B wrote: > > Finally found my issue here. I hadn?t started mod_av! It works now with video from web->t49! > > Cj B > >> On Nov 2, 2016, at 10:39 AM, Cj B > wrote: >> >> Thanks Brian for the quick reply. I added that to my dialplan and am still not getting video from the T49. Here?s a log of the call: http://pastebin.com/zk9TPYfp >> >> Extension 1007 is the Yealink T49. Any other ideas? >> >> Thanks for the help! >> >> Cj B >> >>> On Nov 2, 2016, at 9:12 AM, Brian West > wrote: >>> >>> I'm going to guess your canvas size is larger than the phone can support, You'll probably want to set this variable before you answer video_mirror_input=true >>> >>> /b >>> >>> On Wed, Nov 2, 2016 at 11:01 AM, Cj B > wrote: >>> Hi all, >>> >>> I have verto working and am able to do video conferences with multiple people. But I was wondering what it takes to get a yealink t49 or other video capable phone to be able to join the conference and share video? I haven?t been able to find anything in documentation or the email list. >>> >>> I can do T49->T49 video right now, but when they join the conference there?s no video. >>> >>> Thanks! >>> Cj B >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) >>> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >>> https://www.gofundme.com/freeswitch_ubuntu >>> 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/20161201/74db1e8d/attachment-0001.html From nneul at mst.edu Fri Dec 2 06:23:08 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Thu, 1 Dec 2016 21:23:08 -0600 Subject: [Freeswitch-users] FreeSWITCH docs/phrase files In-Reply-To: <7c6f6b39-37bb-b777-7130-9d81197a0e53@mst.edu> References: <7c6f6b39-37bb-b777-7130-9d81197a0e53@mst.edu> Message-ID: Created FS-9804 to gather together any related updates. Also attached an audit/scan I ran comparing freeswitch-sounds repo to the phrase files. -- Nathan On 12/01/2016 12:59 PM, Nathan Neulinger wrote: > Related - would love to see https://freeswitch.org/jira/browse/FS-8733 added to the request: > > -- Nathan > > On 12/01/2016 12:45 PM, Brian West wrote: >> FreeSWITCHers, >> >> I'd like to know if everyone can take a moment to review the phrase XML that you can >> >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/docs/phrase >> >> The purpose is we are in the process of making sure all the sound files are recorded and anything missing is being >> documented and ordered ASAP before the 1.8 release. >> >> So please help me out. >> >> Thanks, >> >> -- >> >> */Brian West/* >> brian at freeswitch.org >> >> >> */Twitter: @FreeSWITCH , @briankwest/* >> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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 >> > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From grcamauer at gmail.com Fri Dec 2 07:23:58 2016 From: grcamauer at gmail.com (Guillermo Ruiz Camauer) Date: Fri, 2 Dec 2016 01:23:58 -0300 Subject: [Freeswitch-users] FYI - new Amazon Web Services TTS option In-Reply-To: <3a88a30b-a199-5f0b-e3ea-5a727b914d4f@mst.edu> References: <10bc193c-6018-5d0e-7628-72d329f4e1b8@mst.edu> <9a4e58be-dfd7-781c-0f60-12fedd498167@mst.edu> <01000158bae7b8c1-1abf93ca-1dc9-4fbd-aba8-5eca8f7aef24-000000@email.amazonses.com> <3a88a30b-a199-5f0b-e3ea-5a727b914d4f@mst.edu> Message-ID: English voices are great, specially Jeane. Spanish voices are really bad. Can't really judge the rest. Guillermo On Thu, Dec 1, 2016 at 12:19 PM, Nathan Neulinger wrote: > Definitely. I was planning on mapping the current phrase files to possible > voices and generating a set of audio for at > least for all of the languages that AWS Polly currently supports. > > -- Nathan > > On 12/01/2016 09:01 AM, Avi Marcus wrote: > > Nathan: If you can save your code/script/whatever so that someone can > pull together a set in one of the other 5-6 > > speakers or translate it and get in another language, that might be > helpful! > > -Avi > > > > > > ____________________________________________________________ > _____________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161202/099f741e/attachment.html From lists at telefaks.de Fri Dec 2 12:16:55 2016 From: lists at telefaks.de (Peter Steinbach) Date: Fri, 02 Dec 2016 10:16:55 +0100 Subject: [Freeswitch-users] T.38 RTP Poll failed with error: 9 [Bad file descriptor] In-Reply-To: References: <58403856.80404@telefaks.de> <58405772.902@telefaks.de> Message-ID: <58413C07.9060909@telefaks.de> I try now to compile new minimal freeswitch. But get errors with libvpx. root at fsmin:/usr/src/freeswitch# make make[1]: Entering directory '/usr/src/freeswitch/libs/libvpx' [AS] vpx_dsp/x86/intrapred_sse2.asm.o vpx_dsp/x86/intrapred_sse2.asm:64: error: invalid combination of opcode and operands Makefile:179: recipe for target 'vpx_dsp/x86/intrapred_sse2.asm.o' failed make[2]: *** [vpx_dsp/x86/intrapred_sse2.asm.o] Error 1 Makefile:17: recipe for target '.DEFAULT' failed make[1]: *** [.DEFAULT] Error 2 make[1]: Leaving directory '/usr/src/freeswitch/libs/libvpx' Makefile:3911: recipe for target 'libs/libvpx/libvpx.a' failed make: *** [libs/libvpx/libvpx.a] Error 2 On 12/01/16 18:27, Anthony Minessale wrote: > Has nothing to do with the port range, that problem was related > specifically to T.38 endpoints who were using RTCP before they changed > to UDPTL. > > On Thu, Dec 1, 2016 at 11:19 AM, Brian West > wrote: > > You'll want 1.6.13 or master, this bug was a pain in the butt to > find and fix. > > /b > > On Thu, Dec 1, 2016 at 11:01 AM, Peter Steinbach > > wrote: > > Thanks, > > by the way, we found out in further testing, when setting RTP > ports to 65000+, this error went away. > > But anyway, we will have to update/recompile Freeswitch. > > > > Best regards > Peter > > On 12/01/16 17:21, Brian West wrote: >> You're on an older release, we've fixed this already. >> >> /b >> >> >> On Thu, Dec 1, 2016 at 8:48 AM, Peter Steinbach >> > wrote: >> >> Hello, >> >> I have a strange error when proyy-media T38 faxes. >> Freeswitch is behind NAT (internal 192.168.12.248, >> external 5.10.xxx.yyy), other, receiving Server is also a >> Freeswitch >> >> A connection is made via G.711A, we hear the machines >> negociating, then we receive a T.38 reinvite from the >> remote Freeswitch server. >> The local ATA 30@ reponds with T38 SDP, Freeswitch is >> passing it to the remote site (and there the error >> occurs). See error in bold: >> >> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel >> sofia/internal/30 at 192.168.12.248 >> entering state >> [completing][200] >> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6944 Duplicate SDP >> v=0 >> o=30 8002 8001 IN IP4 192.168.12.99 >> s=SIP Call >> c=IN IP4 192.168.12.99 >> t=0 0 >> m=image 5012 udptl t38 >> a=T38FaxVersion:0 >> a=T38MaxBitRate:14400 >> a=T38FaxRateManagement:transferredTCF >> a=T38FaxMaxBuffer:500 >> a=T38FaxMaxDatagram:500 >> a=T38FaxUdpEC:t38UDPRedundancy >> >> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel >> sofia/internal/30 at 192.168.12.248 >> entering state >> [ready][200] >> 2016-12-01 15:28:55.554501 [DEBUG] mod_sofia.c:2088 >> Responding with 200 [OK] >> 2016-12-01 15:28:55.554501 [DEBUG] >> switch_core_media.c:8955 sofia/external/0403801xxxxxxx >> image media sdp: >> v=0 >> o=FreeSWITCH 1480572959 1480572961 IN IP4 5.10.xxx.yyy >> s=FreeSWITCH >> c=IN IP4 5.10.xxx.yyy >> t=0 0 >> m=image 29544 udptl t38 >> a=T38FaxVersion:0 >> a=T38MaxBitRate:14400 >> a=T38FaxRateManagement:transferredTCF >> a=T38FaxMaxBuffer:500 >> a=T38FaxMaxDatagram:500 >> a=T38FaxUdpEC:t38UDPRedundancy >> >> *2016-12-01 15:28:55.554501 [ERR] switch_rtp.c:6420 Poll >> failed with error: 9 [Bad file descriptor]* >> 2016-12-01 15:28:55.554501 [DEBUG] >> switch_ivr_bridge.c:712 sofia/external/0403801xxxxxxx >> ending bridge by request from read function >> 2016-12-01 15:28:55.554501 [DEBUG] >> switch_ivr_bridge.c:785 BRIDGE THREAD DONE >> [sofia/external/0403801xxxxxxx] >> 2016-12-01 15:28:55.554501 [NOTICE] >> switch_ivr_bridge.c:889 Hangup >> sofia/external/0403801xxxxxxx [CS_EXCHANGE_MEDIA] >> [NORMAL_CLEAR >> >> Some background Info: >> >> * Freeswitch runs in LXC environment >> * Freeswitch runs as non-priviledged user. >> >> What is the cause of this? Maybe a problem with port >> 29544? But port 29544 was already previously used with >> G.711A. >> >> -- >> With kind regards >> Peter Steinbach >> >> Telefaks Services GmbH >> mailto:lists (att) telefaks.de >> Internet: www.telefaks.de >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code >> FreeSwitch50) >> http://www.freeswitchcookbook.com >> (50% Discount using code >> FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> >> 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 > > > -- > With kind regards > Peter Steinbach > > Telefaks Services GmbH > mailto:lists (att) telefaks.de > Internet: www.telefaks.de > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com > (50% Discount using code > FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > > 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 > > > > > -- > 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 -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161202/d1ec77de/attachment-0001.html From vbvbrj at gmail.com Fri Dec 2 16:02:29 2016 From: vbvbrj at gmail.com (Mimiko) Date: Fri, 2 Dec 2016 15:02:29 +0200 Subject: [Freeswitch-users] WARNING T.30 Non-ECM carrier not found Message-ID: <4babec83-7c7f-9988-2aac-2fa1a2f26ab7@gmail.com> Hello. 1) Recently I've implemented receiving fax by FS. When a fax is in process of receiving sometimes in log appears this warning: mod_spandsp_fax.c:291 WARNING T.30 Non-ECM carrier not found Then when I look in final tif image I see some distortion, like black interrupted lines and a portion of image is missing. Its like from page were cut a string and it was glued together at rims. This lines can appear 1,2,3 times and is equal to number of warnings. Where does the fault produce. 2) Also some faxes come in incorrect page orientation. Original is portrait, but resulting tif is in landscape and image is stretched to fit long edge and short edge. How can I specify to FS to always use portrait orientation? 3) Some times a receiving party have to answer the call and redirect the calling party to fax receiving extension by bond digits. So I use in dialplan: default: features_local: How can I avoid using an additional extension for transferring incoming call to rxfax_stream extension using only one command to bind_digit_action ? all transfers the called party to the fax receive application. Thank you for answers. From brian at freeswitch.org Fri Dec 2 17:54:09 2016 From: brian at freeswitch.org (Brian West) Date: Fri, 2 Dec 2016 08:54:09 -0600 Subject: [Freeswitch-users] WARNING T.30 Non-ECM carrier not found In-Reply-To: <4babec83-7c7f-9988-2aac-2fa1a2f26ab7@gmail.com> References: <4babec83-7c7f-9988-2aac-2fa1a2f26ab7@gmail.com> Message-ID: Why are you making someone press *7 to transfer to the rxfax? You could use fax detect and warp it over without bothering the user. I would need to see your spandsp.conf to see what settings you have, sounds like you've disabled ECM and this endpoint doesn't support that possibly, But again thats just me guessing based on the limited information. /b On Fri, Dec 2, 2016 at 7:02 AM, Mimiko wrote: > Hello. > > 1) Recently I've implemented receiving fax by FS. When a fax is in > process of receiving sometimes in log appears this warning: > > mod_spandsp_fax.c:291 WARNING T.30 Non-ECM carrier not found > > Then when I look in final tif image I see some distortion, like black > interrupted lines and a portion of image is missing. Its like from page > were cut a string and it was glued together at rims. This lines can > appear 1,2,3 times and is equal to number of warnings. > > Where does the fault produce. > > 2) Also some faxes come in incorrect page orientation. Original is > portrait, but resulting tif is in landscape and image is stretched to > fit long edge and short edge. How can I specify to FS to always use > portrait orientation? > > 3) Some times a receiving party have to answer the call and redirect the > calling party to fax receiving extension by bond digits. So I use in > dialplan: > > default: > > > data="$${domain_name},*7,exec:execute_extension,rxfax_stream_transfer > XML features_local,peer,self"/> > data="user/${dialed_extension}@${domain_name}"/> > > > features_local: > > > > > > > How can I avoid using an additional extension for transferring incoming > call to rxfax_stream extension using only one command to bind_digit_action > ? > > data="$${domain_name},*7,exec:transfer,rxfax_stream XML > features_local,peer,self"/> > data="$${domain_name},*7,exec:transfer,rxfax_stream XML > features_local,peer,peer"/> > data="$${domain_name},*7,exec:transfer,rxfax_stream XML > features_local,peer,booth"/> > > all transfers the called party to the fax receive application. > > Thank you for answers. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161202/b7d73b7c/attachment.html From colin.morelli at gmail.com Fri Dec 2 18:23:06 2016 From: colin.morelli at gmail.com (Colin Morelli) Date: Fri, 2 Dec 2016 10:23:06 -0500 Subject: [Freeswitch-users] ICE STUN Binding Response Message-ID: Hey all, I created a bug a little while ago for an issue I was having with STUN binding responses during ICE negotiations on re-invites - https://freeswitch.org/jira/browse/FS-9711 I'm trying to work on the issue now (assuming others agree it's an issue), but I was hoping to hear from the community (and the FS folks) on how it's expected to/desired to work. The brief gist is that it seems to be possible for FS to have a disagreement between the remote RTP address, and the remote address it expects to receive STUN binding requests from (more details and logs can be found on the ticket). Assuming this doesn't end up being solely my issue (I don't think it is but I'm not 100% confident), would you expect that FS: 1. Trust the RTP address, and only send STUN binding responses to that - this is the current behavior, which means I just need to figure out why FS can sometimes end up in a state where it doesn't send STUN binding responses to the address it's receiving and sending RTP from/to. 2. Trust the STUN binding request, and update the remote RTP address to the one that STUN bindings are received from. If anyone has inputs/preferences, would be great to hear - a lot of this is still somewhat new to me. Would also appreciate assistance if anyone can. Thanks in advance, Colin P.S. - To the FS folks, I assumed this conversation was safe to have in the mailing list since the bug is reported with info separately and I'm looking for community input, but if you'd prefer this be in JIRA feel free to let me know. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161202/c2541808/attachment.html From loi.dangthanh at gmail.com Fri Dec 2 19:29:52 2016 From: loi.dangthanh at gmail.com (=?UTF-8?B?TOG7o2kgxJDhurduZw==?=) Date: Fri, 2 Dec 2016 23:29:52 +0700 Subject: [Freeswitch-users] ESL for subscribing Channel Events In-Reply-To: References: <08113FEA-EBDA-44E0-9041-68D2607B4096@jerris.com> Message-ID: haha, that was my mistake, in inbound mode I tried con.events("plain", "all") and no event capture, and that leads me to some furthur confusion. I tried con.events("plain", "CHANNEL_CREATE CHANNEL_DESTROY") and things fine now, not sure why the document page say "all" will work. Thanks @Michael for your enthusiasm. @Colin, hmm, I need a lot of information from the channel, so your solution might not work for me in this case, but mod_amqp is interesting, I might need that in the future. rgds, Loi Dang Thanh Phone : +841224.735.448 Email : loi.dangthanh at gmail.com On Thu, Dec 1, 2016 at 9:59 PM, Colin Morelli wrote: > Obviously this largely depends on your use case, but if you're just > looking to receive events of things happening in FS (and not trying to > control FS through ESL), using something like mod_amqp may be a better > choice. You'll remove the complexity of having to connect to the FS > instances directly, and buy the flexibility of processing the events > however you want. You're also less likely to miss events due to application > errors (assuming that your AMQP host is more "reliable" than your > application). > > On Thu, Dec 1, 2016 at 9:53 AM, Michael Jerris wrote: > >> If you want to get those events just connect to ESL and subscribe to >> them. Are you saying you want to have a connection per channel but include >> create events? You would have a chicken and egg problem there but in that >> case what do you actually need the create event for, surely another event >> can be used instead. >> >> > On Dec 1, 2016, at 5:00 AM, L?i ??ng wrote: >> > >> > Hi List, I want, but is unable to subscribe to 2 events CHANNEL_CREATE >> and CHANNEL_DESTROY using ESL. >> > >> > In a normal call caller <--> FS <--> callee, 2 CHANNEL_CREATE and 2 >> CHANNEL_DESTROY events fired and captured is my expectation. >> > >> > I achieved it easily via writing a new FS module in C. But I have some >> portion of python codes needed to be executed, so I tried alternative (my >> thought) way: >> > - ESL inbound mode, but inbound connection is not bound to any >> particular channel >> > - ESL outbound mode, but outbound connection is created from dialplan, >> so I guess CHANNEL_CREATE event could not be captured. >> > - set up hangup_hook with mod_python, but python application is also >> called from dialplan. >> > >> > Please correct me if I'm wrong somehow, and give me some advices for >> what I'm trying to accomplish, since I don't want to rewrite my python code >> in C. >> > >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161202/27716563/attachment-0001.html From david.villasmil.work at gmail.com Fri Dec 2 20:28:43 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Fri, 2 Dec 2016 18:28:43 +0100 Subject: [Freeswitch-users] ESL for subscribing Channel Events In-Reply-To: References: <08113FEA-EBDA-44E0-9041-68D2607B4096@jerris.com> Message-ID: Just a note, "plain","all" *does* work, but sends ALL events (which are many many) to your app, so your app needs to filter out those it doesn't need. The best idea is to subscribe to those it needs, no more, no less. ? Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Fri, Dec 2, 2016 at 5:29 PM, L?i ??ng wrote: > haha, that was my mistake, in inbound mode I tried con.events("plain", > "all") and no event capture, and that leads me to some furthur confusion. I > tried con.events("plain", "CHANNEL_CREATE CHANNEL_DESTROY") and things fine > now, not sure why the document page say "all" will work. Thanks @Michael > for your enthusiasm. > @Colin, hmm, I need a lot of information from the channel, so your > solution might not work for me in this case, but mod_amqp is interesting, I > might need that in the future. > > rgds, > Loi Dang Thanh > Phone : +841224.735.448 > Email : loi.dangthanh at gmail.com > > On Thu, Dec 1, 2016 at 9:59 PM, Colin Morelli > wrote: > >> Obviously this largely depends on your use case, but if you're just >> looking to receive events of things happening in FS (and not trying to >> control FS through ESL), using something like mod_amqp may be a better >> choice. You'll remove the complexity of having to connect to the FS >> instances directly, and buy the flexibility of processing the events >> however you want. You're also less likely to miss events due to application >> errors (assuming that your AMQP host is more "reliable" than your >> application). >> >> On Thu, Dec 1, 2016 at 9:53 AM, Michael Jerris wrote: >> >>> If you want to get those events just connect to ESL and subscribe to >>> them. Are you saying you want to have a connection per channel but include >>> create events? You would have a chicken and egg problem there but in that >>> case what do you actually need the create event for, surely another event >>> can be used instead. >>> >>> > On Dec 1, 2016, at 5:00 AM, L?i ??ng wrote: >>> > >>> > Hi List, I want, but is unable to subscribe to 2 events CHANNEL_CREATE >>> and CHANNEL_DESTROY using ESL. >>> > >>> > In a normal call caller <--> FS <--> callee, 2 CHANNEL_CREATE and 2 >>> CHANNEL_DESTROY events fired and captured is my expectation. >>> > >>> > I achieved it easily via writing a new FS module in C. But I have some >>> portion of python codes needed to be executed, so I tried alternative (my >>> thought) way: >>> > - ESL inbound mode, but inbound connection is not bound to any >>> particular channel >>> > - ESL outbound mode, but outbound connection is created from dialplan, >>> so I guess CHANNEL_CREATE event could not be captured. >>> > - set up hangup_hook with mod_python, but python application is also >>> called from dialplan. >>> > >>> > Please correct me if I'm wrong somehow, and give me some advices for >>> what I'm trying to accomplish, since I don't want to rewrite my python code >>> in C. >>> > >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161202/8171d5c3/attachment.html From vbvbrj at gmail.com Fri Dec 2 21:16:34 2016 From: vbvbrj at gmail.com (Mimiko) Date: Fri, 2 Dec 2016 20:16:34 +0200 Subject: [Freeswitch-users] WARNING T.30 Non-ECM carrier not found In-Reply-To: References: <4babec83-7c7f-9988-2aac-2fa1a2f26ab7@gmail.com> Message-ID: <58649573-de30-2f64-9046-3af3935350dd@gmail.com> On 02.12.2016 16:54, Brian West wrote: > Why are you making someone press *7 to transfer to the rxfax? You could > use fax detect and warp it over without bothering the user. I would > need to see your spandsp.conf to see what settings you have, sounds like > you've disabled ECM and this endpoint doesn't support that possibly, But > again thats just me guessing based on the limited information. Thank you for reply. Of course I have fax detect mechanism in dialplan. This option is for old fax machines were some one calls from fax and asks for fax tone. So called person would press *7 and rxfax will send a fax tone to the caller's fax machine to initiate fax transmitting. This is spandsp.conf without comments: /descriptor> From ssinyagin at gmail.com Fri Dec 2 23:52:46 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Fri, 2 Dec 2016 21:52:46 +0100 Subject: [Freeswitch-users] FYI - new Amazon Web Services TTS option In-Reply-To: <3a88a30b-a199-5f0b-e3ea-5a727b914d4f@mst.edu> References: <10bc193c-6018-5d0e-7628-72d329f4e1b8@mst.edu> <9a4e58be-dfd7-781c-0f60-12fedd498167@mst.edu> <01000158bae7b8c1-1abf93ca-1dc9-4fbd-aba8-5eca8f7aef24-000000@email.amazonses.com> <3a88a30b-a199-5f0b-e3ea-5a727b914d4f@mst.edu> Message-ID: Did you check the terms and conditions? Are you allowed to publish and distribute the generated sounds? On 1 Dec 2016 16:20, "Nathan Neulinger" wrote: > Definitely. I was planning on mapping the current phrase files to possible > voices and generating a set of audio for at > least for all of the languages that AWS Polly currently supports. > > -- Nathan > > On 12/01/2016 09:01 AM, Avi Marcus wrote: > > Nathan: If you can save your code/script/whatever so that someone can > pull together a set in one of the other 5-6 > > speakers or translate it and get in another language, that might be > helpful! > > -Avi > > > > > > ____________________________________________________________ > _____________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161202/6792600d/attachment-0001.html From nneul at mst.edu Sat Dec 3 00:03:22 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Fri, 2 Dec 2016 15:03:22 -0600 Subject: [Freeswitch-users] FYI - new Amazon Web Services TTS option In-Reply-To: References: <10bc193c-6018-5d0e-7628-72d329f4e1b8@mst.edu> <9a4e58be-dfd7-781c-0f60-12fedd498167@mst.edu> <01000158bae7b8c1-1abf93ca-1dc9-4fbd-aba8-5eca8f7aef24-000000@email.amazonses.com> <3a88a30b-a199-5f0b-e3ea-5a727b914d4f@mst.edu> Message-ID: They specifically call out that there are no restrictions for replaying or embedding in your applications. That's one of the pieces that makes this so ideal. ... You can cache and save Polly?s speech audio to replay offline or redistribute ... and lack of restrictions on storage and reuse of voice output, make .... -- Nathan On 12/02/2016 02:52 PM, Stanislav Sinyagin wrote: > Did you check the terms and conditions? Are you allowed to publish and distribute the generated sounds? > > > > On 1 Dec 2016 16:20, "Nathan Neulinger" > wrote: > > Definitely. I was planning on mapping the current phrase files to possible voices and generating a set of audio for at > least for all of the languages that AWS Polly currently supports. > > -- Nathan > > On 12/01/2016 09:01 AM, Avi Marcus wrote: > > Nathan: If you can save your code/script/whatever so that someone can pull together a set in one of the other 5-6 > > speakers or translate it and get in another language, that might be helpful! > > -Avi > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From claire.zxy at gmail.com Sat Dec 3 18:08:04 2016 From: claire.zxy at gmail.com (Xiyu Zhao) Date: Sat, 3 Dec 2016 10:08:04 -0500 Subject: [Freeswitch-users] SIP TLS failed with FSClient 1.2.3.5 Message-ID: Hi All, Please help me when you get a chance. I?ve follow the instruction link below to configure TLS in my freeswitch server, but it failed with my FSClient 1.2.3.5. I copied cafile.pem from my freeswitch to my windows desktop and gived the right directory under ?TLS Certificate Directory? shown as below screenshot (also attached). https://freeswitch.org/confluence/display/FREESWITCH/SIP+TLS But I still cannot log in with tls, console log output, and configuration files are below. Kindly take a look and let me know if additional info is needed. I used ./gentls_cert setup -cn 52.35.22.204 -alt DNS: 52.35.22.204 -org 52.35.22.204. Below is the view of one cert: root at ip-172-31-28-201:/usr/local/freeswitch/conf/ssl# openssl x509 -noout -inform pem -text -in /usr/local/freeswitch/conf/ssl/agent.pem Certificate: Data: Version: 3 (0x2) Serial Number: be:37:19:a3:98:6e:82:19 Signature Algorithm: sha1WithRSAEncryption Issuer: CN=52.35.22.204, O=52.35.22.204 Validity Not Before: Nov 12 21:20:24 2016 GMT Not After : Nov 11 21:20:24 2022 GMT Subject: CN=52.35.22.204, O=52.35.22.204 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:bd:01:6a:df:ae:35:f2:82:1f:ca:af:cf:7b:97: 2f:ec:a5:2d:ec:7c:3d:0a:c3:fb:e2:17:d3:78:b6: dc:c6:60:b6:14:eb:6e:5e:96:c2:ef:bf:d8:9f:a7: 19:a1:36:a5:82:37:5b:8b:0a:5d:95:00:9c:11:f0: 90:77:e6:34:f1:36:b3:c9:62:8e:82:28:d3:41:fd: 0a:3e:67:32:57:c2:52:71:8a:9b:99:4c:e0:4b:e4: 15:e0:53:0c:46:d0:98:1a:05:8e:79:f4:c6:d4:0b: b8:16:ea:24:80:1c:67:67:12:16:c4:29:f1:d5:81: ab:4b:b6:a4:b7:f7:a7:ad:11:34:ef:9c:70:dc:a9: 4a:da:9f:dd:14:71:7e:7d:b1:91:ab:f6:fb:f3:fd: a0:9f:56:ab:89:eb:91:fd:1e:74:d6:55:a0:bb:6e: 1d:94:1d:08:c7:26:2d:85:45:46:b4:44:84:e5:ed: 68:83:e6:25:2b:fd:82:d5:7c:67:ce:32:d9:15:d1: de:00:85:62:d7:f7:ad:a8:c2:17:a1:55:c3:64:08: a3:9e:d8:6d:55:f7:4d:a9:4f:73:75:31:74:3c:21: 3b:1e:27:6b:fb:3c:40:49:80:55:0c:dd:90:fe:4c: da:8c:a4:10:d8:bf:1b:12:15:56:81:0a:15:64:04: cc:d3 Exponent: 65537 (0x10001) X509v3 extensions: Netscape Comment: FS Server Cert X509v3 Basic Constraints: CA:FALSE X509v3 Subject Key Identifier: 74:5E:4B:09:21:37:50:1F:BB:F1:A8:D5:1D:6D:D7:36:D9:D5:EE:AD X509v3 Authority Key Identifier: keyid:0B:51:AF:BF:BF:8F:2A:94:8A:18:B6:70:4F:9A:0B:FA:EB:4B: 49:FC DirName:/CN=52.35.22.204/O=52.35.22.204 serial:F5:5B:BD:AA:25:4E:16:0B X509v3 Subject Alternative Name: DNS:52.35.22.204 Netscape Cert Type: SSL Server X509v3 Extended Key Usage: TLS Web Server Authentication Signature Algorithm: sha1WithRSAEncryption e7:35:1e:9a:70:6c:1c:61:2f:c8:50:8f:5d:a8:7d:73:cc:a4: c0:7a:54:02:65:91:49:82:0b:86:7f:45:44:91:b2:14:32:c3: d6:50:5c:41:28:f3:80:ca:ea:2b:c3:2c:d7:d8:09:90:11:8b: fe:4e:8d:35:4f:ca:ec:cb:6b:05:ee:63:e3:17:17:4f:be:bb: f7:85:f4:4a:3a:34:b6:4f:c1:5c:d7:07:7e:f5:d5:a5:ae:40: 3c:25:2a:70:24:6d:0e:3c:e4:e1:64:43:7a:6e:10:ad:a2:9e: 38:d5:e3:91:de:4f:e5:60:27:44:58:7c:2a:42:2a:f2:6f:19: 60:d5:01:48:01:39:1a:18:30:3a:f5:e7:d8:fd:c6:00:22:a4: f7:4b:44:c9:c7:4d:02:2a:d3:d4:1b:f2:e6:35:63:7b:c9:0d: 69:2c:38:7f:04:e1:5e:9a:0c:13:21:50:d5:78:3b:22:f4:11: f4:09:73:e8:58:c5:c4:ba:33:28:88:cc:28:c7:7b:1b:73:11: 06:15:ad:29:1a:25:47:0c:91:be:6d:20:7d:88:6e:6a:a1:53: a6:95:84:cc:d3:bc:10:18:e5:43:fa:5c:96:c3:7b:ce:98:c0: d3:dc:81:8c:ea:85:83:69:39:63:2e:fa:a1:03:0e:69:5e:be: c4:52:8c:25 [image: Inline image 1] *Console output:* tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7fcee8050770): events IN tport.c:862 tport_alloc_secondary() tport_alloc_secondary(0x7fcee8050770): new secondary tport 0x7fcee8252ea0 tport_type_tcp.c:203 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7fcee8252ea0): Setting TCP_KEEPIDLE to 30 tport_type_tcp.c:209 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7fcee8252ea0): Setting TCP_KEEPINTVL to 30 tport_type_tls.c:610 tport_tls_accept() tport_tls_accept(0x7fcee8252ea0): new connection from tls/50.187.205.251:56612/sips tport_tls.c:955 tls_connect() tls_connect(0x7fcee8252ea0): events NEGOTIATING tport_tls.c:1044 tls_connect() tls_connect(0x7fcee8252ea0): TLS setup failed (error:00000001:lib(0):func(0):reason(1)) tport.c:2090 tport_close() tport_close(0x7fcee8252ea0): tls/ 50.187.205.251:56612/sips tport.c:2263 tport_set_secondary_timer() tport(0x7fcee8252ea0): set timer at 0 ms because zap freeswitch at ip-172-31-28-201> sofia status Name Type Data State ============================================================ ===================================== external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) 172.31.28.201 alias internal ALIASED external profile sip:mod_sofia at 52.35.22.204:5080 RUNNING (0) external::example.com gateway sip:joeuser at example.com NOREG internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) internal-ipv6 profile sip:mod_sofia@[::1]:5061 RUNNING (0) (TLS) internal profile sip:mod_sofia at 52.35.22.204:5060 RUNNING (0) internal profile sip:mod_sofia at 52.35.22.204:5061 RUNNING (0) (TLS) ============================================================ ===================================== 4 profiles 1 alias *Under vars.xml:* *Under internel.xml: * Thanks, Clarie -- Xiyu Zhao Northeastern University College of Engineering Telecommunication Systems Management Email claire.zxy at gmail.com ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161203/bb16b62e/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 43203 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161203/bb16b62e/attachment-0001.png From mitch.capper at gmail.com Sat Dec 3 20:48:06 2016 From: mitch.capper at gmail.com (Mitch Capper) Date: Sat, 3 Dec 2016 09:48:06 -0800 Subject: [Freeswitch-users] SIP TLS failed with FSClient 1.2.3.5 In-Reply-To: References: Message-ID: sslv23 is not supported on most linux servers now a days, so you most likely need to be using tls instead (under FSClient option). ~Mitch ~mitch On Sat, Dec 3, 2016 at 7:08 AM, Xiyu Zhao wrote: > Hi All, > > > > Please help me when you get a chance. > > > > I?ve follow the instruction link below to configure TLS in my freeswitch > server, but it failed with my FSClient 1.2.3.5. I copied cafile.pem from my > freeswitch to my windows desktop and gived the right directory under ?TLS > Certificate Directory? shown as below screenshot (also attached). > > > > https://freeswitch.org/confluence/display/FREESWITCH/SIP+TLS > > > > But I still cannot log in with tls, console log output, and configuration > files are below. Kindly take a look and let me know if additional info is > needed. > > I used ./gentls_cert setup -cn 52.35.22.204 -alt DNS: 52.35.22.204 -org > 52.35.22.204. > > Below is the view of one cert: > > > > root at ip-172-31-28-201:/usr/local/freeswitch/conf/ssl# openssl x509 -noout > -inform pem -text -in /usr/local/freeswitch/conf/ssl/agent.pem > > Certificate: > > Data: > > Version: 3 (0x2) > > Serial Number: > > be:37:19:a3:98:6e:82:19 > > Signature Algorithm: sha1WithRSAEncryption > > Issuer: CN=52.35.22.204, O=52.35.22.204 > > Validity > > Not Before: Nov 12 21:20:24 2016 GMT > > Not After : Nov 11 21:20:24 2022 GMT > > Subject: CN=52.35.22.204, O=52.35.22.204 > > Subject Public Key Info: > > Public Key Algorithm: rsaEncryption > > Public-Key: (2048 bit) > > Modulus: > > 00:bd:01:6a:df:ae:35:f2:82:1f:ca:af:cf:7b:97: > > 2f:ec:a5:2d:ec:7c:3d:0a:c3:fb:e2:17:d3:78:b6: > > dc:c6:60:b6:14:eb:6e:5e:96:c2:ef:bf:d8:9f:a7: > > 19:a1:36:a5:82:37:5b:8b:0a:5d:95:00:9c:11:f0: > > 90:77:e6:34:f1:36:b3:c9:62:8e:82:28:d3:41:fd: > > 0a:3e:67:32:57:c2:52:71:8a:9b:99:4c:e0:4b:e4: > > 15:e0:53:0c:46:d0:98:1a:05:8e:79:f4:c6:d4:0b: > > b8:16:ea:24:80:1c:67:67:12:16:c4:29:f1:d5:81: > > ab:4b:b6:a4:b7:f7:a7:ad:11:34:ef:9c:70:dc:a9: > > 4a:da:9f:dd:14:71:7e:7d:b1:91:ab:f6:fb:f3:fd: > > a0:9f:56:ab:89:eb:91:fd:1e:74:d6:55:a0:bb:6e: > > 1d:94:1d:08:c7:26:2d:85:45:46:b4:44:84:e5:ed: > > 68:83:e6:25:2b:fd:82:d5:7c:67:ce:32:d9:15:d1: > > de:00:85:62:d7:f7:ad:a8:c2:17:a1:55:c3:64:08: > > a3:9e:d8:6d:55:f7:4d:a9:4f:73:75:31:74:3c:21: > > 3b:1e:27:6b:fb:3c:40:49:80:55:0c:dd:90:fe:4c: > > da:8c:a4:10:d8:bf:1b:12:15:56:81:0a:15:64:04: > > cc:d3 > > Exponent: 65537 (0x10001) > > X509v3 extensions: > > Netscape Comment: > > FS Server Cert > > X509v3 Basic Constraints: > > CA:FALSE > > X509v3 Subject Key Identifier: > > 74:5E:4B:09:21:37:50:1F:BB:F1: > A8:D5:1D:6D:D7:36:D9:D5:EE:AD > > X509v3 Authority Key Identifier: > > keyid:0B:51:AF:BF:BF:8F:2A:94: > 8A:18:B6:70:4F:9A:0B:FA:EB:4B:49:FC > > DirName:/CN=52.35.22.204/O=52.35.22.204 > > serial:F5:5B:BD:AA:25:4E:16:0B > > > > X509v3 Subject Alternative Name: > > DNS:52.35.22.204 > > Netscape Cert Type: > > SSL Server > > X509v3 Extended Key Usage: > > TLS Web Server Authentication > > Signature Algorithm: sha1WithRSAEncryption > > e7:35:1e:9a:70:6c:1c:61:2f:c8:50:8f:5d:a8:7d:73:cc:a4: > > c0:7a:54:02:65:91:49:82:0b:86:7f:45:44:91:b2:14:32:c3: > > d6:50:5c:41:28:f3:80:ca:ea:2b:c3:2c:d7:d8:09:90:11:8b: > > fe:4e:8d:35:4f:ca:ec:cb:6b:05:ee:63:e3:17:17:4f:be:bb: > > f7:85:f4:4a:3a:34:b6:4f:c1:5c:d7:07:7e:f5:d5:a5:ae:40: > > 3c:25:2a:70:24:6d:0e:3c:e4:e1:64:43:7a:6e:10:ad:a2:9e: > > 38:d5:e3:91:de:4f:e5:60:27:44:58:7c:2a:42:2a:f2:6f:19: > > 60:d5:01:48:01:39:1a:18:30:3a:f5:e7:d8:fd:c6:00:22:a4: > > f7:4b:44:c9:c7:4d:02:2a:d3:d4:1b:f2:e6:35:63:7b:c9:0d: > > 69:2c:38:7f:04:e1:5e:9a:0c:13:21:50:d5:78:3b:22:f4:11: > > f4:09:73:e8:58:c5:c4:ba:33:28:88:cc:28:c7:7b:1b:73:11: > > 06:15:ad:29:1a:25:47:0c:91:be:6d:20:7d:88:6e:6a:a1:53: > > a6:95:84:cc:d3:bc:10:18:e5:43:fa:5c:96:c3:7b:ce:98:c0: > > d3:dc:81:8c:ea:85:83:69:39:63:2e:fa:a1:03:0e:69:5e:be: > > c4:52:8c:25 > > > [image: Inline image 1] > > *Console output:* > > > > tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7fcee8050770): events > IN > > tport.c:862 tport_alloc_secondary() tport_alloc_secondary(0x7fcee8050770): > new secondary tport 0x7fcee8252ea0 > > tport_type_tcp.c:203 tport_tcp_init_secondary() > tport_tcp_init_secondary(0x7fcee8252ea0): Setting TCP_KEEPIDLE to 30 > > tport_type_tcp.c:209 tport_tcp_init_secondary() > tport_tcp_init_secondary(0x7fcee8252ea0): Setting TCP_KEEPINTVL to 30 > > tport_type_tls.c:610 tport_tls_accept() tport_tls_accept(0x7fcee8252ea0): > new connection from tls/50.187.205.251:56612/sips > > tport_tls.c:955 tls_connect() tls_connect(0x7fcee8252ea0): events > NEGOTIATING > > tport_tls.c:1044 tls_connect() tls_connect(0x7fcee8252ea0): TLS setup > failed (error:00000001:lib(0):func(0):reason(1)) > > tport.c:2090 tport_close() tport_close(0x7fcee8252ea0): tls/ > 50.187.205.251:56612/sips > > tport.c:2263 tport_set_secondary_timer() tport(0x7fcee8252ea0): set timer > at 0 ms because zap > > > > > > freeswitch at ip-172-31-28-201> sofia status > > Name Type > Data State > > ============================================================ > ===================================== > > external-ipv6 profile sip: > mod_sofia@[::1]:5080 RUNNING (0) > > 172.31.28.201 alias > internal ALIASED > > external profile sip:mod_ > sofia at 52.35.22.204:5080 RUNNING (0) > > external::example.com gateway sip > :joeuser at example.com NOREG > > internal-ipv6 profile sip: > mod_sofia@[::1]:5060 RUNNING (0) > > internal-ipv6 profile sip: > mod_sofia@[::1]:5061 RUNNING (0) (TLS) > > internal profile sip:mod_ > sofia at 52.35.22.204:5060 RUNNING (0) > > internal profile sip:mod_ > sofia at 52.35.22.204:5061 RUNNING (0) (TLS) > > ============================================================ > ===================================== > > 4 profiles 1 alias > > > > *Under vars.xml:* > > > > > > > > > > > > > > > > > > > > > > > > > > > > *Under internel.xml: * > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks, > > Clarie > -- > Xiyu Zhao > > Northeastern University > College of Engineering > Telecommunication Systems Management > Email claire.zxy at gmail.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/20161203/d1c82a35/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 43203 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161203/d1c82a35/attachment-0001.png From claire.zxy at gmail.com Sat Dec 3 20:59:13 2016 From: claire.zxy at gmail.com (Xiyu Zhao) Date: Sat, 3 Dec 2016 12:59:13 -0500 Subject: [Freeswitch-users] FreeSWITCH-users Digest, Vol 126, Issue 14 In-Reply-To: References: Message-ID: Hi Mitch, I'm using freeswitch server and freeswitch client. So they should be able to do sslv23. Anyway, after I change TLS, I got the same problem. I think it could be my keys doesn't match. There is a comment below from mail list which I don't understand. "cat the key and the cert into agent.pem and the chain cert into cafile.pem and fire it up" What is this mean? Should I go to /usr/local/freeswitch/conf/ssl/CA, and do "cat cacert.pem cakey.pem /usr/local/freeswitch/conf/ssl/agent.pem"? But this still fails. Please help. Thanks in advance. Claire On Sat, Dec 3, 2016 at 12:48 PM, < freeswitch-users-request at lists.freeswitch.org> wrote: > Send FreeSWITCH-users mailing list submissions to > freeswitch-users at lists.freeswitch.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > or, via email, send a message with subject or body 'help' to > freeswitch-users-request at lists.freeswitch.org > > You can reach the person managing the list at > freeswitch-users-owner at lists.freeswitch.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of FreeSWITCH-users digest..." > > Today's Topics: > > 1. Re: SIP TLS failed with FSClient 1.2.3.5 (Mitch Capper) > > > ---------- Forwarded message ---------- > From: Mitch Capper > To: FreeSWITCH Users Help > Cc: > Date: Sat, 3 Dec 2016 09:48:06 -0800 > Subject: Re: [Freeswitch-users] SIP TLS failed with FSClient 1.2.3.5 > sslv23 is not supported on most linux servers now a days, so you most > likely need to be using tls instead (under FSClient option). > > ~Mitch > > > ~mitch > > On Sat, Dec 3, 2016 at 7:08 AM, Xiyu Zhao wrote: > >> Hi All, >> >> >> >> Please help me when you get a chance. >> >> >> >> I?ve follow the instruction link below to configure TLS in my freeswitch >> server, but it failed with my FSClient 1.2.3.5. I copied cafile.pem from my >> freeswitch to my windows desktop and gived the right directory under ?TLS >> Certificate Directory? shown as below screenshot (also attached). >> >> >> >> https://freeswitch.org/confluence/display/FREESWITCH/SIP+TLS >> >> >> >> But I still cannot log in with tls, console log output, and configuration >> files are below. Kindly take a look and let me know if additional info is >> needed. >> >> I used ./gentls_cert setup -cn 52.35.22.204 -alt DNS: 52.35.22.204 -org >> 52.35.22.204. >> >> Below is the view of one cert: >> >> >> >> root at ip-172-31-28-201:/usr/local/freeswitch/conf/ssl# openssl x509 >> -noout -inform pem -text -in /usr/local/freeswitch/conf/ssl/agent.pem >> >> Certificate: >> >> Data: >> >> Version: 3 (0x2) >> >> Serial Number: >> >> be:37:19:a3:98:6e:82:19 >> >> Signature Algorithm: sha1WithRSAEncryption >> >> Issuer: CN=52.35.22.204, O=52.35.22.204 >> >> Validity >> >> Not Before: Nov 12 21:20:24 2016 GMT >> >> Not After : Nov 11 21:20:24 2022 GMT >> >> Subject: CN=52.35.22.204, O=52.35.22.204 >> >> Subject Public Key Info: >> >> Public Key Algorithm: rsaEncryption >> >> Public-Key: (2048 bit) >> >> Modulus: >> >> 00:bd:01:6a:df:ae:35:f2:82:1f:ca:af:cf:7b:97: >> >> 2f:ec:a5:2d:ec:7c:3d:0a:c3:fb:e2:17:d3:78:b6: >> >> dc:c6:60:b6:14:eb:6e:5e:96:c2:ef:bf:d8:9f:a7: >> >> 19:a1:36:a5:82:37:5b:8b:0a:5d:95:00:9c:11:f0: >> >> 90:77:e6:34:f1:36:b3:c9:62:8e:82:28:d3:41:fd: >> >> 0a:3e:67:32:57:c2:52:71:8a:9b:99:4c:e0:4b:e4: >> >> 15:e0:53:0c:46:d0:98:1a:05:8e:79:f4:c6:d4:0b: >> >> b8:16:ea:24:80:1c:67:67:12:16:c4:29:f1:d5:81: >> >> ab:4b:b6:a4:b7:f7:a7:ad:11:34:ef:9c:70:dc:a9: >> >> 4a:da:9f:dd:14:71:7e:7d:b1:91:ab:f6:fb:f3:fd: >> >> a0:9f:56:ab:89:eb:91:fd:1e:74:d6:55:a0:bb:6e: >> >> 1d:94:1d:08:c7:26:2d:85:45:46:b4:44:84:e5:ed: >> >> 68:83:e6:25:2b:fd:82:d5:7c:67:ce:32:d9:15:d1: >> >> de:00:85:62:d7:f7:ad:a8:c2:17:a1:55:c3:64:08: >> >> a3:9e:d8:6d:55:f7:4d:a9:4f:73:75:31:74:3c:21: >> >> 3b:1e:27:6b:fb:3c:40:49:80:55:0c:dd:90:fe:4c: >> >> da:8c:a4:10:d8:bf:1b:12:15:56:81:0a:15:64:04: >> >> cc:d3 >> >> Exponent: 65537 (0x10001) >> >> X509v3 extensions: >> >> Netscape Comment: >> >> FS Server Cert >> >> X509v3 Basic Constraints: >> >> CA:FALSE >> >> X509v3 Subject Key Identifier: >> >> 74:5E:4B:09:21:37:50:1F:BB:F1: >> A8:D5:1D:6D:D7:36:D9:D5:EE:AD >> >> X509v3 Authority Key Identifier: >> >> keyid:0B:51:AF:BF:BF:8F:2A:94: >> 8A:18:B6:70:4F:9A:0B:FA:EB:4B:49:FC >> >> DirName:/CN=52.35.22.204/O=52.35.22.204 >> >> serial:F5:5B:BD:AA:25:4E:16:0B >> >> >> >> X509v3 Subject Alternative Name: >> >> DNS:52.35.22.204 >> >> Netscape Cert Type: >> >> SSL Server >> >> X509v3 Extended Key Usage: >> >> TLS Web Server Authentication >> >> Signature Algorithm: sha1WithRSAEncryption >> >> e7:35:1e:9a:70:6c:1c:61:2f:c8:50:8f:5d:a8:7d:73:cc:a4: >> >> c0:7a:54:02:65:91:49:82:0b:86:7f:45:44:91:b2:14:32:c3: >> >> d6:50:5c:41:28:f3:80:ca:ea:2b:c3:2c:d7:d8:09:90:11:8b: >> >> fe:4e:8d:35:4f:ca:ec:cb:6b:05:ee:63:e3:17:17:4f:be:bb: >> >> f7:85:f4:4a:3a:34:b6:4f:c1:5c:d7:07:7e:f5:d5:a5:ae:40: >> >> 3c:25:2a:70:24:6d:0e:3c:e4:e1:64:43:7a:6e:10:ad:a2:9e: >> >> 38:d5:e3:91:de:4f:e5:60:27:44:58:7c:2a:42:2a:f2:6f:19: >> >> 60:d5:01:48:01:39:1a:18:30:3a:f5:e7:d8:fd:c6:00:22:a4: >> >> f7:4b:44:c9:c7:4d:02:2a:d3:d4:1b:f2:e6:35:63:7b:c9:0d: >> >> 69:2c:38:7f:04:e1:5e:9a:0c:13:21:50:d5:78:3b:22:f4:11: >> >> f4:09:73:e8:58:c5:c4:ba:33:28:88:cc:28:c7:7b:1b:73:11: >> >> 06:15:ad:29:1a:25:47:0c:91:be:6d:20:7d:88:6e:6a:a1:53: >> >> a6:95:84:cc:d3:bc:10:18:e5:43:fa:5c:96:c3:7b:ce:98:c0: >> >> d3:dc:81:8c:ea:85:83:69:39:63:2e:fa:a1:03:0e:69:5e:be: >> >> c4:52:8c:25 >> >> >> [image: Inline image 1] >> >> *Console output:* >> >> >> >> tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7fcee8050770): events >> IN >> >> tport.c:862 tport_alloc_secondary() tport_alloc_secondary(0x7fcee8050770): >> new secondary tport 0x7fcee8252ea0 >> >> tport_type_tcp.c:203 tport_tcp_init_secondary() >> tport_tcp_init_secondary(0x7fcee8252ea0): Setting TCP_KEEPIDLE to 30 >> >> tport_type_tcp.c:209 tport_tcp_init_secondary() >> tport_tcp_init_secondary(0x7fcee8252ea0): Setting TCP_KEEPINTVL to 30 >> >> tport_type_tls.c:610 tport_tls_accept() tport_tls_accept(0x7fcee8252ea0): >> new connection from tls/50.187.205.251:56612/sips >> >> tport_tls.c:955 tls_connect() tls_connect(0x7fcee8252ea0): events >> NEGOTIATING >> >> tport_tls.c:1044 tls_connect() tls_connect(0x7fcee8252ea0): TLS setup >> failed (error:00000001:lib(0):func(0):reason(1)) >> >> tport.c:2090 tport_close() tport_close(0x7fcee8252ea0): tls/ >> 50.187.205.251:56612/sips >> >> tport.c:2263 tport_set_secondary_timer() tport(0x7fcee8252ea0): set timer >> at 0 ms because zap >> >> >> >> >> >> freeswitch at ip-172-31-28-201> sofia status >> >> Name Type >> Data State >> >> ============================================================ >> ===================================== >> >> external-ipv6 profile sip: >> mod_sofia@[::1]:5080 RUNNING (0) >> >> 172.31.28.201 alias >> internal ALIASED >> >> external profile sip:mod_sof >> ia at 52.35.22.204:5080 RUNNING (0) >> >> external::example.com gateway sip >> :joeuser at example.com NOREG >> >> internal-ipv6 profile sip: >> mod_sofia@[::1]:5060 RUNNING (0) >> >> internal-ipv6 profile sip: >> mod_sofia@[::1]:5061 RUNNING (0) (TLS) >> >> internal profile sip:mod_sof >> ia at 52.35.22.204:5060 RUNNING (0) >> >> internal profile sip:mod_sof >> ia at 52.35.22.204:5061 RUNNING (0) (TLS) >> >> ============================================================ >> ===================================== >> >> 4 profiles 1 alias >> >> >> >> *Under vars.xml:* >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> *Under internel.xml: * >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Thanks, >> >> Clarie >> -- >> Xiyu Zhao >> >> Northeastern University >> College of Engineering >> Telecommunication Systems Management >> Email claire.zxy at gmail.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 >> > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -- Xiyu Zhao Northeastern University College of Engineering Telecommunication Systems Management Email claire.zxy at gmail.com Tel +86- 188-1067-7769 +1-781-526-0715 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161203/3f2a8e8f/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 43203 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161203/3f2a8e8f/attachment-0001.png From krice at freeswitch.org Sat Dec 3 21:28:52 2016 From: krice at freeswitch.org (Ken Rice) Date: Sat, 3 Dec 2016 12:28:52 -0600 Subject: [Freeswitch-users] FreeSWITCH-users Digest, Vol 126, Issue 14 In-Reply-To: References: Message-ID: <23d601d24d93$1a5adf60$4f109e20$@freeswitch.org> a) Please don?t respond to the digest it breaks the threading the in the archive b) sslv23 is disabled in FreeSWITCH. Its completely broken and not even worth the CPU power to use it. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Xiyu Zhao Sent: Saturday, December 3, 2016 11:59 AM To: freeswitch-users at lists.freeswitch.org; mitch.capper at gmail.com Subject: Re: [Freeswitch-users] FreeSWITCH-users Digest, Vol 126, Issue 14 Hi Mitch, I'm using freeswitch server and freeswitch client. So they should be able to do sslv23. Anyway, after I change TLS, I got the same problem. I think it could be my keys doesn't match. There is a comment below from mail list which I don't understand. "cat the key and the cert into agent.pem and the chain cert into cafile.pem and fire it up" What is this mean? Should I go to /usr/local/freeswitch/conf/ssl/CA, and do "cat cacert.pem cakey.pem /usr/local/freeswitch/conf/ssl/agent.pem"? But this still fails. Please help. Thanks in advance. Claire On Sat, Dec 3, 2016 at 12:48 PM, > wrote: Send FreeSWITCH-users mailing list submissions to freeswitch-users at lists.freeswitch.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freeswitch.org/mailman/listinfo/freeswitch-users or, via email, send a message with subject or body 'help' to freeswitch-users-request at lists.freeswitch.org You can reach the person managing the list at freeswitch-users-owner at lists.freeswitch.org When replying, please edit your Subject line so it is more specific than "Re: Contents of FreeSWITCH-users digest..." Today's Topics: 1. Re: SIP TLS failed with FSClient 1.2.3.5 (Mitch Capper) ---------- Forwarded message ---------- From: Mitch Capper > To: FreeSWITCH Users Help > Cc: Date: Sat, 3 Dec 2016 09:48:06 -0800 Subject: Re: [Freeswitch-users] SIP TLS failed with FSClient 1.2.3.5 sslv23 is not supported on most linux servers now a days, so you most likely need to be using tls instead (under FSClient option). ~Mitch ~mitch On Sat, Dec 3, 2016 at 7:08 AM, Xiyu Zhao > wrote: Hi All, Please help me when you get a chance. I?ve follow the instruction link below to configure TLS in my freeswitch server, but it failed with my FSClient 1.2.3.5. I copied cafile.pem from my freeswitch to my windows desktop and gived the right directory under ?TLS Certificate Directory? shown as below screenshot (also attached). https://freeswitch.org/confluence/display/FREESWITCH/SIP+TLS But I still cannot log in with tls, console log output, and configuration files are below. Kindly take a look and let me know if additional info is needed. I used ./gentls_cert setup -cn 52.35.22.204 -alt DNS: 52.35.22.204 -org 52.35.22.204. Below is the view of one cert: root at ip-172-31-28-201:/usr/local/freeswitch/conf/ssl# openssl x509 -noout -inform pem -text -in /usr/local/freeswitch/conf/ssl/agent.pem Certificate: Data: Version: 3 (0x2) Serial Number: be:37:19:a3:98:6e:82:19 Signature Algorithm: sha1WithRSAEncryption Issuer: CN=52.35.22.204, O=52.35.22.204 Validity Not Before: Nov 12 21:20:24 2016 GMT Not After : Nov 11 21:20:24 2022 GMT Subject: CN=52.35.22.204, O=52.35.22.204 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:bd:01:6a:df:ae:35:f2:82:1f:ca:af:cf:7b:97: 2f:ec:a5:2d:ec:7c:3d:0a:c3:fb:e2:17:d3:78:b6: dc:c6:60:b6:14:eb:6e:5e:96:c2:ef:bf:d8:9f:a7: 19:a1:36:a5:82:37:5b:8b:0a:5d:95:00:9c:11:f0: 90:77:e6:34:f1:36:b3:c9:62:8e:82:28:d3:41:fd: 0a:3e:67:32:57:c2:52:71:8a:9b:99:4c:e0:4b:e4: 15:e0:53:0c:46:d0:98:1a:05:8e:79:f4:c6:d4:0b: b8:16:ea:24:80:1c:67:67:12:16:c4:29:f1:d5:81: ab:4b:b6:a4:b7:f7:a7:ad:11:34:ef:9c:70:dc:a9: 4a:da:9f:dd:14:71:7e:7d:b1:91:ab:f6:fb:f3:fd: a0:9f:56:ab:89:eb:91:fd:1e:74:d6:55:a0:bb:6e: 1d:94:1d:08:c7:26:2d:85:45:46:b4:44:84:e5:ed: 68:83:e6:25:2b:fd:82:d5:7c:67:ce:32:d9:15:d1: de:00:85:62:d7:f7:ad:a8:c2:17:a1:55:c3:64:08: a3:9e:d8:6d:55:f7:4d:a9:4f:73:75:31:74:3c:21: 3b:1e:27:6b:fb:3c:40:49:80:55:0c:dd:90:fe:4c: da:8c:a4:10:d8:bf:1b:12:15:56:81:0a:15:64:04: cc:d3 Exponent: 65537 (0x10001) X509v3 extensions: Netscape Comment: FS Server Cert X509v3 Basic Constraints: CA:FALSE X509v3 Subject Key Identifier: 74:5E:4B:09:21:37:50:1F:BB:F1:A8:D5:1D:6D:D7:36:D9:D5:EE:AD X509v3 Authority Key Identifier: keyid:0B:51:AF:BF:BF:8F:2A:94:8A:18:B6:70:4F:9A:0B:FA:EB:4B:49:FC DirName:/CN=52.35.22.204/O=52.35.22.204 serial:F5:5B:BD:AA:25:4E:16:0B X509v3 Subject Alternative Name: DNS:52.35.22.204 Netscape Cert Type: SSL Server X509v3 Extended Key Usage: TLS Web Server Authentication Signature Algorithm: sha1WithRSAEncryption e7:35:1e:9a:70:6c:1c:61:2f:c8:50:8f:5d:a8:7d:73:cc:a4: c0:7a:54:02:65:91:49:82:0b:86:7f:45:44:91:b2:14:32:c3: d6:50:5c:41:28:f3:80:ca:ea:2b:c3:2c:d7:d8:09:90:11:8b: fe:4e:8d:35:4f:ca:ec:cb:6b:05:ee:63:e3:17:17:4f:be:bb: f7:85:f4:4a:3a:34:b6:4f:c1:5c:d7:07:7e:f5:d5:a5:ae:40: 3c:25:2a:70:24:6d:0e:3c:e4:e1:64:43:7a:6e:10:ad:a2:9e: 38:d5:e3:91:de:4f:e5:60:27:44:58:7c:2a:42:2a:f2:6f:19: 60:d5:01:48:01:39:1a:18:30:3a:f5:e7:d8:fd:c6:00:22:a4: f7:4b:44:c9:c7:4d:02:2a:d3:d4:1b:f2:e6:35:63:7b:c9:0d: 69:2c:38:7f:04:e1:5e:9a:0c:13:21:50:d5:78:3b:22:f4:11: f4:09:73:e8:58:c5:c4:ba:33:28:88:cc:28:c7:7b:1b:73:11: 06:15:ad:29:1a:25:47:0c:91:be:6d:20:7d:88:6e:6a:a1:53: a6:95:84:cc:d3:bc:10:18:e5:43:fa:5c:96:c3:7b:ce:98:c0: d3:dc:81:8c:ea:85:83:69:39:63:2e:fa:a1:03:0e:69:5e:be: c4:52:8c:25 Console output: tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7fcee8050770): events IN tport.c:862 tport_alloc_secondary() tport_alloc_secondary(0x7fcee8050770): new secondary tport 0x7fcee8252ea0 tport_type_tcp.c:203 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7fcee8252ea0): Setting TCP_KEEPIDLE to 30 tport_type_tcp.c:209 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7fcee8252ea0): Setting TCP_KEEPINTVL to 30 tport_type_tls.c:610 tport_tls_accept() tport_tls_accept(0x7fcee8252ea0): new connection from tls/50.187.205.251:56612/sips tport_tls.c:955 tls_connect() tls_connect(0x7fcee8252ea0): events NEGOTIATING tport_tls.c:1044 tls_connect() tls_connect(0x7fcee8252ea0): TLS setup failed (error:00000001:lib(0):func(0):reason(1)) tport.c:2090 tport_close() tport_close(0x7fcee8252ea0): tls/50.187.205.251:56612/sips tport.c:2263 tport_set_secondary_timer() tport(0x7fcee8252ea0): set timer at 0 ms because zap freeswitch at ip-172-31-28-201> sofia status Name Type Data State ================================================================================================= external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) 172.31.28.201 alias internal ALIASED external profile sip:mod_sofia at 52.35.22.204:5080 RUNNING (0) external::example.com gateway sip:joeuser at example.com NOREG internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) internal-ipv6 profile sip:mod_sofia@[::1]:5061 RUNNING (0) (TLS) internal profile sip:mod_sofia at 52.35.22.204:5060 RUNNING (0) internal profile sip:mod_sofia at 52.35.22.204:5061 RUNNING (0) (TLS) ================================================================================================= 4 profiles 1 alias Under vars.xml: Under internel.xml: Thanks, Clarie -- Xiyu Zhao Northeastern University College of Engineering Telecommunication Systems Management Email claire.zxy at gmail.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 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Xiyu Zhao Northeastern University College of Engineering Telecommunication Systems Management Email claire.zxy at gmail.com Tel +86- 188-1067-7769 +1-781-526-0715 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161203/009a4a12/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 43203 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161203/009a4a12/attachment-0001.png From claire.zxy at gmail.com Sun Dec 4 00:13:44 2016 From: claire.zxy at gmail.com (Xiyu Zhao) Date: Sat, 3 Dec 2016 16:13:44 -0500 Subject: [Freeswitch-users] SIP TLS still failed with tlsv1 Message-ID: <076201d24daa$21d34a40$6579dec0$@gmail.com> Hi Ken, Sorry for the wrong email format, and thanks so much for looking into this. I?ve changed to tlsv1 instead of sslv23 from both my FreeSWITCH server and client sides. But I got a different error below, it says that ?SSL3_GET_CLIENT_CERTIFICATE:peer did not return a certificate? Could you please take a look? tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7f0e48292a20): events IN tport.c:862 tport_alloc_secondary() tport_alloc_secondary(0x7f0e48292a20): new secondary tport 0x7f0e4809fa70 tport_type_tcp.c:203 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7f0e4809fa70): Setting TCP_KEEPIDLE to 30 tport_type_tcp.c:209 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7f0e4809fa70): Setting TCP_KEEPINTVL to 30 tport_type_tls.c:610 tport_tls_accept() tport_tls_accept(0x7f0e4809fa70): new connection from tls/50.187.205.251:60324/sips tport_tls.c:955 tls_connect() tls_connect(0x7f0e4809fa70): events NEGOTIATING tport_tls.c:955 tls_connect() tls_connect(0x7f0e4809fa70): events NEGOTIATING tport_tls.c:1044 tls_connect() tls_connect(0x7f0e4809fa70): TLS setup failed (error:00000001:lib(0):func(0):reason(1)) tport.c:2090 tport_close() tport_close(0x7f0e4809fa70): tls/50.187.205.251:60324/sips tport_tls.c:157 tls_log_errors() tls_free: 140890c7:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:peer did not return a certificate tport.c:2263 tport_set_secondary_timer() tport(0x7f0e4809fa70): set timer at 0 ms because zap Thanks Claire On Sat, Dec 3, 2016 at 1:29 PM, > wrote: Send FreeSWITCH-users mailing list submissions to freeswitch-users at lists.freeswitch.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freeswitch.org/mailman/listinfo/freeswitch-users or, via email, send a message with subject or body 'help' to freeswitch-users-request at lists.freeswitch.org You can reach the person managing the list at freeswitch-users-owner at lists.freeswitch.org When replying, please edit your Subject line so it is more specific than "Re: Contents of FreeSWITCH-users digest..." Today's Topics: 1. Re: FreeSWITCH-users Digest, Vol 126, Issue 14 (Ken Rice) ---------- Forwarded message ---------- From: Ken Rice > To: "'FreeSWITCH Users Help'" > Cc: Date: Sat, 3 Dec 2016 12:28:52 -0600 Subject: Re: [Freeswitch-users] FreeSWITCH-users Digest, Vol 126, Issue 14 a) Please don?t respond to the digest it breaks the threading the in the archive b) sslv23 is disabled in FreeSWITCH. Its completely broken and not even worth the CPU power to use it. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Xiyu Zhao Sent: Saturday, December 3, 2016 11:59 AM To: freeswitch-users at lists.freeswitch.org ; mitch.capper at gmail.com Subject: Re: [Freeswitch-users] FreeSWITCH-users Digest, Vol 126, Issue 14 Hi Mitch, I'm using freeswitch server and freeswitch client. So they should be able to do sslv23. Anyway, after I change TLS, I got the same problem. I think it could be my keys doesn't match. There is a comment below from mail list which I don't understand. "cat the key and the cert into agent.pem and the chain cert into cafile.pem and fire it up" What is this mean? Should I go to /usr/local/freeswitch/conf/ssl/CA, and do "cat cacert.pem cakey.pem /usr/local/freeswitch/conf/ssl/agent.pem"? But this still fails. Please help. Thanks in advance. Claire On Sat, Dec 3, 2016 at 12:48 PM, > wrote: Send FreeSWITCH-users mailing list submissions to freeswitch-users at lists.freeswitch.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freeswitch.org/mailman/listinfo/freeswitch-users or, via email, send a message with subject or body 'help' to freeswitch-users-request at lists.freeswitch.org You can reach the person managing the list at freeswitch-users-owner at lists.freeswitch.org When replying, please edit your Subject line so it is more specific than "Re: Contents of FreeSWITCH-users digest..." Today's Topics: 1. Re: SIP TLS failed with FSClient 1.2.3.5 (Mitch Capper) ---------- Forwarded message ---------- From: Mitch Capper > To: FreeSWITCH Users Help > Cc: Date: Sat, 3 Dec 2016 09:48:06 -0800 Subject: Re: [Freeswitch-users] SIP TLS failed with FSClient 1.2.3.5 sslv23 is not supported on most linux servers now a days, so you most likely need to be using tls instead (under FSClient option). ~Mitch ~mitch On Sat, Dec 3, 2016 at 7:08 AM, Xiyu Zhao > wrote: Hi All, Please help me when you get a chance. I?ve follow the instruction link below to configure TLS in my freeswitch server, but it failed with my FSClient 1.2.3.5. I copied cafile.pem from my freeswitch to my windows desktop and gived the right directory under ?TLS Certificate Directory? shown as below screenshot (also attached). https://freeswitch.org/confluence/display/FREESWITCH/SIP+TLS But I still cannot log in with tls, console log output, and configuration files are below. Kindly take a look and let me know if additional info is needed. I used ./gentls_cert setup -cn 52.35.22.204 -alt DNS: 52.35.22.204 -org 52.35.22.204. Below is the view of one cert: root at ip-172-31-28-201:/usr/local/freeswitch/conf/ssl# openssl x509 -noout -inform pem -text -in /usr/local/freeswitch/conf/ssl/agent.pem Certificate: Data: Version: 3 (0x2) Serial Number: be:37:19:a3:98:6e:82:19 Signature Algorithm: sha1WithRSAEncryption Issuer: CN=52.35.22.204, O=52.35.22.204 Validity Not Before: Nov 12 21:20:24 2016 GMT Not After : Nov 11 21:20:24 2022 GMT Subject: CN=52.35.22.204, O=52.35.22.204 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:bd:01:6a:df:ae:35:f2:82:1f:ca:af:cf:7b:97: 2f:ec:a5:2d:ec:7c:3d:0a:c3:fb:e2:17:d3:78:b6: dc:c6:60:b6:14:eb:6e:5e:96:c2:ef:bf:d8:9f:a7: 19:a1:36:a5:82:37:5b:8b:0a:5d:95:00:9c:11:f0: 90:77:e6:34:f1:36:b3:c9:62:8e:82:28:d3:41:fd: 0a:3e:67:32:57:c2:52:71:8a:9b:99:4c:e0:4b:e4: 15:e0:53:0c:46:d0:98:1a:05:8e:79:f4:c6:d4:0b: b8:16:ea:24:80:1c:67:67:12:16:c4:29:f1:d5:81: ab:4b:b6:a4:b7:f7:a7:ad:11:34:ef:9c:70:dc:a9: 4a:da:9f:dd:14:71:7e:7d:b1:91:ab:f6:fb:f3:fd: a0:9f:56:ab:89:eb:91:fd:1e:74:d6:55:a0:bb:6e: 1d:94:1d:08:c7:26:2d:85:45:46:b4:44:84:e5:ed: 68:83:e6:25:2b:fd:82:d5:7c:67:ce:32:d9:15:d1: de:00:85:62:d7:f7:ad:a8:c2:17:a1:55:c3:64:08: a3:9e:d8:6d:55:f7:4d:a9:4f:73:75:31:74:3c:21: 3b:1e:27:6b:fb:3c:40:49:80:55:0c:dd:90:fe:4c: da:8c:a4:10:d8:bf:1b:12:15:56:81:0a:15:64:04: cc:d3 Exponent: 65537 (0x10001) X509v3 extensions: Netscape Comment: FS Server Cert X509v3 Basic Constraints: CA:FALSE X509v3 Subject Key Identifier: 74:5E:4B:09:21:37:50:1F:BB:F1:A8:D5:1D:6D:D7:36:D9:D5:EE:AD X509v3 Authority Key Identifier: keyid:0B:51:AF:BF:BF:8F:2A:94:8A:18:B6:70:4F:9A:0B:FA:EB:4B:49:FC DirName:/CN=52.35.22.204/O=52.35.22.204 serial:F5:5B:BD:AA:25:4E:16:0B X509v3 Subject Alternative Name: DNS:52.35.22.204 Netscape Cert Type: SSL Server X509v3 Extended Key Usage: TLS Web Server Authentication Signature Algorithm: sha1WithRSAEncryption e7:35:1e:9a:70:6c:1c:61:2f:c8:50:8f:5d:a8:7d:73:cc:a4: c0:7a:54:02:65:91:49:82:0b:86:7f:45:44:91:b2:14:32:c3: d6:50:5c:41:28:f3:80:ca:ea:2b:c3:2c:d7:d8:09:90:11:8b: fe:4e:8d:35:4f:ca:ec:cb:6b:05:ee:63:e3:17:17:4f:be:bb: f7:85:f4:4a:3a:34:b6:4f:c1:5c:d7:07:7e:f5:d5:a5:ae:40: 3c:25:2a:70:24:6d:0e:3c:e4:e1:64:43:7a:6e:10:ad:a2:9e: 38:d5:e3:91:de:4f:e5:60:27:44:58:7c:2a:42:2a:f2:6f:19: 60:d5:01:48:01:39:1a:18:30:3a:f5:e7:d8:fd:c6:00:22:a4: f7:4b:44:c9:c7:4d:02:2a:d3:d4:1b:f2:e6:35:63:7b:c9:0d: 69:2c:38:7f:04:e1:5e:9a:0c:13:21:50:d5:78:3b:22:f4:11: f4:09:73:e8:58:c5:c4:ba:33:28:88:cc:28:c7:7b:1b:73:11: 06:15:ad:29:1a:25:47:0c:91:be:6d:20:7d:88:6e:6a:a1:53: a6:95:84:cc:d3:bc:10:18:e5:43:fa:5c:96:c3:7b:ce:98:c0: d3:dc:81:8c:ea:85:83:69:39:63:2e:fa:a1:03:0e:69:5e:be: c4:52:8c:25 Console output: tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7fcee8050770): events IN tport.c:862 tport_alloc_secondary() tport_alloc_secondary(0x7fcee8050770): new secondary tport 0x7fcee8252ea0 tport_type_tcp.c:203 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7fcee8252ea0): Setting TCP_KEEPIDLE to 30 tport_type_tcp.c:209 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7fcee8252ea0): Setting TCP_KEEPINTVL to 30 tport_type_tls.c:610 tport_tls_accept() tport_tls_accept(0x7fcee8252ea0): new connection from tls/50.187.205.251:56612/sips tport_tls.c:955 tls_connect() tls_connect(0x7fcee8252ea0): events NEGOTIATING tport_tls.c:1044 tls_connect() tls_connect(0x7fcee8252ea0): TLS setup failed (error:00000001:lib(0):func(0):reason(1)) tport.c:2090 tport_close() tport_close(0x7fcee8252ea0): tls/50.187.205.251:56612/sips tport.c:2263 tport_set_secondary_timer() tport(0x7fcee8252ea0): set timer at 0 ms because zap freeswitch at ip-172-31-28-201> sofia status Name Type Data State ================================================================================================= external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) 172.31.28.201 alias internal ALIASED external profile sip:mod_sofia at 52.35.22.204:5080 RUNNING (0) external::example.com gateway sip:joeuser at example.com NOREG internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) internal-ipv6 profile sip:mod_sofia@[::1]:5061 RUNNING (0) (TLS) internal profile sip:mod_sofia at 52.35.22.204:5060 RUNNING (0) internal profile sip:mod_sofia at 52.35.22.204:5061 RUNNING (0) (TLS) ================================================================================================= 4 profiles 1 alias Under vars.xml: Under internel.xml: Thanks, Clarie -- Xiyu Zhao Northeastern University College of Engineering Telecommunication Systems Management Email claire.zxy at gmail.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 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Xiyu Zhao Northeastern University College of Engineering Telecommunication Systems Management Email claire.zxy at gmail.com Tel +86- 188-1067-7769 +1-781-526-0715 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Xiyu Zhao Northeastern University College of Engineering Telecommunication Systems Management Email claire.zxy at gmail.com Tel +86- 188-1067-7769 +1-781-526-0715 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161203/249ce432/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 43203 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161203/249ce432/attachment-0001.png From rajil.s at gmail.com Sun Dec 4 02:10:25 2016 From: rajil.s at gmail.com (Rajil Saraswat) Date: Sat, 3 Dec 2016 17:10:25 -0600 Subject: [Freeswitch-users] Letsencrypt and TLS In-Reply-To: <94FB5E2B-E2EB-42D5-8B1F-10D74ECC4317@jerris.com> References: <94FB5E2B-E2EB-42D5-8B1F-10D74ECC4317@jerris.com> Message-ID: <908ab84d-6817-421c-d329-15faf0b954fa@gmail.com> I was able to use the Letsencrypt certificate (domain is pbx.blah.com) using the following: cat /etc/letsencrypt/live/pbx.blah.com/fullchain.pem /etc/letsencrypt/live/pbx.blah.com/privkey.pem > /etc/freeswitch/conf/ssl/agent.pem The root CA was DST as shown by: openssl x509 -in /etc/letsencrypt/live/pbx.blah.com/chain.pem -noout -issuer Thus the DST_Root_CA_X3.pem was obtained from: https://www.identrust.com/certificates/trustid/root-download-x3.html The cafile was generated using: cat /etc/letsencrypt/live/pbx.blah.com/chain.pem DST_Root_CA_X3.pem > /etc/freeswitch/conf/ssl/cafile.pem Finally checked # openssl verify -CAfile cafile.pem agent.pem agent.pem: OK Hope this is helpful to somebody. On 11/21/2016 11:09 AM, Michael Jerris wrote: > there are some instructions here: > > https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie#Debian8Jessie-Scriptinstallfreeswitchdemowithverto_communicator > >> On Nov 21, 2016, at 11:50 AM, Rajil Saraswat > > wrote: >> >> Hello, >> >> I have been using self generated certificates >> (https://wiki.freeswitch.org/wiki/SIP_TLS) until now. >> Is it possible to use Letsencrypt generated certificates for TLS? >> >> 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/20161203/a30765f0/attachment.html From claire.zxy at gmail.com Sun Dec 4 17:55:59 2016 From: claire.zxy at gmail.com (Xiyu Zhao) Date: Sun, 4 Dec 2016 09:55:59 -0500 Subject: [Freeswitch-users] SIP TLS still failed with tlsv1 Message-ID: Hello list, Can someone please help me with below error log of TLS? It says that ?SSL3_GET_CLIENT_CERTIFICATE:peer did not return a certificate?. I'm using tlsv1 now. tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7f0e48292a20): events IN tport.c:862 tport_alloc_secondary() tport_alloc_secondary(0x7f0e48292a20): new secondary tport 0x7f0e4809fa70 tport_type_tcp.c:203 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7f0e4809fa70): Setting TCP_KEEPIDLE to 30 tport_type_tcp.c:209 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7f0e4809fa70): Setting TCP_KEEPINTVL to 30 tport_type_tls.c:610 tport_tls_accept() tport_tls_accept(0x7f0e4809fa70): new connection from tls/50.187.205.251:60324/sips tport_tls.c:955 tls_connect() tls_connect(0x7f0e4809fa70): events NEGOTIATING tport_tls.c:955 tls_connect() tls_connect(0x7f0e4809fa70): events NEGOTIATING tport_tls.c:1044 tls_connect() tls_connect(0x7f0e4809fa70): TLS setup failed (error:00000001:lib(0):func(0):reason(1)) tport.c:2090 tport_close() tport_close(0x7f0e4809fa70): tls/ 50.187.205.251:60324/sips tport_tls.c:157 tls_log_errors() tls_free: 140890c7:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:peer did not return a certificate tport.c:2263 tport_set_secondary_timer() tport(0x7f0e4809fa70): set timer at 0 ms because zap Thanks, Claire On Sat, Dec 3, 2016 at 4:13 PM, Xiyu Zhao wrote: > Hi Ken, > > > > Sorry for the wrong email format, and thanks so much for looking into this. > > > > I?ve changed to tlsv1 instead of sslv23 from both my FreeSWITCH server and > client sides. But I got a different error below, it says that > ?SSL3_GET_CLIENT_CERTIFICATE:peer did not return a certificate? > > > > Could you please take a look? > > > > tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7f0e48292a20): events > IN > > tport.c:862 tport_alloc_secondary() tport_alloc_secondary(0x7f0e48292a20): > new secondary tport 0x7f0e4809fa70 > > tport_type_tcp.c:203 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7f0e4809fa70): > Setting TCP_KEEPIDLE to 30 > > tport_type_tcp.c:209 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7f0e4809fa70): > Setting TCP_KEEPINTVL to 30 > > tport_type_tls.c:610 tport_tls_accept() tport_tls_accept(0x7f0e4809fa70): > new connection from tls/50.187.205.251:60324/sips > > tport_tls.c:955 tls_connect() tls_connect(0x7f0e4809fa70): events > NEGOTIATING > > tport_tls.c:955 tls_connect() tls_connect(0x7f0e4809fa70): events > NEGOTIATING > > tport_tls.c:1044 tls_connect() tls_connect(0x7f0e4809fa70): TLS setup > failed (error:00000001:lib(0):func(0):reason(1)) > > tport.c:2090 tport_close() tport_close(0x7f0e4809fa70): tls/ > 50.187.205.251:60324/sips > > tport_tls.c:157 tls_log_errors() tls_free: 140890c7:SSL > routines:SSL3_GET_CLIENT_CERTIFICATE:peer did not return a certificate > > tport.c:2263 tport_set_secondary_timer() tport(0x7f0e4809fa70): set timer > at 0 ms because zap > > > > Thanks > > Claire > > > > On Sat, Dec 3, 2016 at 1:29 PM, lists.freeswitch.org> wrote: > > Send FreeSWITCH-users mailing list submissions to > freeswitch-users at lists.freeswitch.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > or, via email, send a message with subject or body 'help' to > freeswitch-users-request at lists.freeswitch.org > > You can reach the person managing the list at > freeswitch-users-owner at lists.freeswitch.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of FreeSWITCH-users digest..." > > Today's Topics: > > 1. Re: FreeSWITCH-users Digest, Vol 126, Issue 14 (Ken Rice) > > > ---------- Forwarded message ---------- > From: Ken Rice > To: "'FreeSWITCH Users Help'" > Cc: > Date: Sat, 3 Dec 2016 12:28:52 -0600 > Subject: Re: [Freeswitch-users] FreeSWITCH-users Digest, Vol 126, Issue 14 > > a) Please don?t respond to the digest it breaks the threading the > in the archive > > b) sslv23 is disabled in FreeSWITCH. Its completely broken and not > even worth the CPU power to use it. > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Xiyu Zhao > *Sent:* Saturday, December 3, 2016 11:59 AM > *To:* freeswitch-users at lists.freeswitch.org; mitch.capper at gmail.com > *Subject:* Re: [Freeswitch-users] FreeSWITCH-users Digest, Vol 126, Issue > 14 > > > > Hi Mitch, > > > > I'm using freeswitch server and freeswitch client. So they should be able > to do sslv23. > > > > Anyway, after I change TLS, I got the same problem. I think it could be my > keys doesn't match. There is a comment below from mail list which I don't > understand. > > > > "cat the key and the cert into agent.pem and the chain cert into > cafile.pem and fire it up" > > > > What is this mean? Should I go to /usr/local/freeswitch/conf/ssl/CA, and > do "cat cacert.pem cakey.pem /usr/local/freeswitch/conf/ssl/agent.pem"? > But this still fails. > > > > Please help. > > > > Thanks in advance. > > Claire > > > > On Sat, Dec 3, 2016 at 12:48 PM, lists.freeswitch.org> wrote: > > Send FreeSWITCH-users mailing list submissions to > freeswitch-users at lists.freeswitch.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > or, via email, send a message with subject or body 'help' to > freeswitch-users-request at lists.freeswitch.org > > You can reach the person managing the list at > freeswitch-users-owner at lists.freeswitch.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of FreeSWITCH-users digest..." > > Today's Topics: > > 1. Re: SIP TLS failed with FSClient 1.2.3.5 (Mitch Capper) > > > ---------- Forwarded message ---------- > From: Mitch Capper > To: FreeSWITCH Users Help > Cc: > Date: Sat, 3 Dec 2016 09:48:06 -0800 > Subject: Re: [Freeswitch-users] SIP TLS failed with FSClient 1.2.3.5 > > sslv23 is not supported on most linux servers now a days, so you most > likely need to be using tls instead (under FSClient option). > > > > ~Mitch > > > > > ~mitch > > > > On Sat, Dec 3, 2016 at 7:08 AM, Xiyu Zhao wrote: > > Hi All, > > > > Please help me when you get a chance. > > > > I?ve follow the instruction link below to configure TLS in my freeswitch > server, but it failed with my FSClient 1.2.3.5. I copied cafile.pem from my > freeswitch to my windows desktop and gived the right directory under ?TLS > Certificate Directory? shown as below screenshot (also attached). > > > > https://freeswitch.org/confluence/display/FREESWITCH/SIP+TLS > > > > But I still cannot log in with tls, console log output, and configuration > files are below. Kindly take a look and let me know if additional info is > needed. > > > > I used ./gentls_cert setup -cn 52.35.22.204 -alt DNS: 52.35.22.204 -org > 52.35.22.204. > > > > Below is the view of one cert: > > > > root at ip-172-31-28-201:/usr/local/freeswitch/conf/ssl# openssl x509 -noout > -inform pem -text -in /usr/local/freeswitch/conf/ssl/agent.pem > > Certificate: > > Data: > > Version: 3 (0x2) > > Serial Number: > > be:37:19:a3:98:6e:82:19 > > Signature Algorithm: sha1WithRSAEncryption > > Issuer: CN=52.35.22.204, O=52.35.22.204 > > Validity > > Not Before: Nov 12 21:20:24 2016 GMT > > Not After : Nov 11 21:20:24 2022 GMT > > Subject: CN=52.35.22.204, O=52.35.22.204 > > Subject Public Key Info: > > Public Key Algorithm: rsaEncryption > > Public-Key: (2048 bit) > > Modulus: > > 00:bd:01:6a:df:ae:35:f2:82:1f:ca:af:cf:7b:97: > > 2f:ec:a5:2d:ec:7c:3d:0a:c3:fb:e2:17:d3:78:b6: > > dc:c6:60:b6:14:eb:6e:5e:96:c2:ef:bf:d8:9f:a7: > > 19:a1:36:a5:82:37:5b:8b:0a:5d:95:00:9c:11:f0: > > 90:77:e6:34:f1:36:b3:c9:62:8e:82:28:d3:41:fd: > > 0a:3e:67:32:57:c2:52:71:8a:9b:99:4c:e0:4b:e4: > > 15:e0:53:0c:46:d0:98:1a:05:8e:79:f4:c6:d4:0b: > > b8:16:ea:24:80:1c:67:67:12:16:c4:29:f1:d5:81: > > ab:4b:b6:a4:b7:f7:a7:ad:11:34:ef:9c:70:dc:a9: > > 4a:da:9f:dd:14:71:7e:7d:b1:91:ab:f6:fb:f3:fd: > > a0:9f:56:ab:89:eb:91:fd:1e:74:d6:55:a0:bb:6e: > > 1d:94:1d:08:c7:26:2d:85:45:46:b4:44:84:e5:ed: > > 68:83:e6:25:2b:fd:82:d5:7c:67:ce:32:d9:15:d1: > > de:00:85:62:d7:f7:ad:a8:c2:17:a1:55:c3:64:08: > > a3:9e:d8:6d:55:f7:4d:a9:4f:73:75:31:74:3c:21: > > 3b:1e:27:6b:fb:3c:40:49:80:55:0c:dd:90:fe:4c: > > da:8c:a4:10:d8:bf:1b:12:15:56:81:0a:15:64:04: > > cc:d3 > > Exponent: 65537 (0x10001) > > X509v3 extensions: > > Netscape Comment: > > FS Server Cert > > X509v3 Basic Constraints: > > CA:FALSE > > X509v3 Subject Key Identifier: > > 74:5E:4B:09:21:37:50:1F:BB:F1: > A8:D5:1D:6D:D7:36:D9:D5:EE:AD > > X509v3 Authority Key Identifier: > > keyid:0B:51:AF:BF:BF:8F:2A:94: > 8A:18:B6:70:4F:9A:0B:FA:EB:4B:49:FC > > DirName:/CN=52.35.22.204/O=52.35.22.204 > > serial:F5:5B:BD:AA:25:4E:16:0B > > > > X509v3 Subject Alternative Name: > > DNS:52.35.22.204 > > Netscape Cert Type: > > SSL Server > > X509v3 Extended Key Usage: > > TLS Web Server Authentication > > Signature Algorithm: sha1WithRSAEncryption > > e7:35:1e:9a:70:6c:1c:61:2f:c8:50:8f:5d:a8:7d:73:cc:a4: > > c0:7a:54:02:65:91:49:82:0b:86:7f:45:44:91:b2:14:32:c3: > > d6:50:5c:41:28:f3:80:ca:ea:2b:c3:2c:d7:d8:09:90:11:8b: > > fe:4e:8d:35:4f:ca:ec:cb:6b:05:ee:63:e3:17:17:4f:be:bb: > > f7:85:f4:4a:3a:34:b6:4f:c1:5c:d7:07:7e:f5:d5:a5:ae:40: > > 3c:25:2a:70:24:6d:0e:3c:e4:e1:64:43:7a:6e:10:ad:a2:9e: > > 38:d5:e3:91:de:4f:e5:60:27:44:58:7c:2a:42:2a:f2:6f:19: > > 60:d5:01:48:01:39:1a:18:30:3a:f5:e7:d8:fd:c6:00:22:a4: > > f7:4b:44:c9:c7:4d:02:2a:d3:d4:1b:f2:e6:35:63:7b:c9:0d: > > 69:2c:38:7f:04:e1:5e:9a:0c:13:21:50:d5:78:3b:22:f4:11: > > f4:09:73:e8:58:c5:c4:ba:33:28:88:cc:28:c7:7b:1b:73:11: > > 06:15:ad:29:1a:25:47:0c:91:be:6d:20:7d:88:6e:6a:a1:53: > > a6:95:84:cc:d3:bc:10:18:e5:43:fa:5c:96:c3:7b:ce:98:c0: > > d3:dc:81:8c:ea:85:83:69:39:63:2e:fa:a1:03:0e:69:5e:be: > > c4:52:8c:25 > > > > [image: Inline image 1] > > > > *Console output:* > > > > tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7fcee8050770): events > IN > > tport.c:862 tport_alloc_secondary() tport_alloc_secondary(0x7fcee8050770): > new secondary tport 0x7fcee8252ea0 > > tport_type_tcp.c:203 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7fcee8252ea0): > Setting TCP_KEEPIDLE to 30 > > tport_type_tcp.c:209 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7fcee8252ea0): > Setting TCP_KEEPINTVL to 30 > > tport_type_tls.c:610 tport_tls_accept() tport_tls_accept(0x7fcee8252ea0): > new connection from tls/50.187.205.251:56612/sips > > tport_tls.c:955 tls_connect() tls_connect(0x7fcee8252ea0): events > NEGOTIATING > > tport_tls.c:1044 tls_connect() tls_connect(0x7fcee8252ea0): TLS setup > failed (error:00000001:lib(0):func(0):reason(1)) > > tport.c:2090 tport_close() tport_close(0x7fcee8252ea0): tls/ > 50.187.205.251:56612/sips > > tport.c:2263 tport_set_secondary_timer() tport(0x7fcee8252ea0): set timer > at 0 ms because zap > > > > > > freeswitch at ip-172-31-28-201> sofia status > > Name Type > Data State > > ============================================================ > ===================================== > > external-ipv6 profile sip:mod_sofia@[::1]:5080 > RUNNING (0) > > 172.31.28.201 alias > internal ALIASED > > external profile sip:mod_ > sofia at 52.35.22.204:5080 RUNNING (0) > > external::example.com gateway sip > :joeuser at example.com NOREG > > internal-ipv6 profile sip:mod_sofia@[::1]:5060 > RUNNING (0) > > internal-ipv6 profile sip:mod_sofia@[::1]:5061 > RUNNING (0) (TLS) > > internal profile sip:mod_ > sofia at 52.35.22.204:5060 RUNNING (0) > > internal profile sip:mod_ > sofia at 52.35.22.204:5061 RUNNING (0) (TLS) > > ============================================================ > ===================================== > > 4 profiles 1 alias > > > > *Under vars.xml:* > > > > > > > > > > > > > > > > > > > > > > > > > > > > *Under internel.xml: * > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks, > > Clarie > > -- > > Xiyu Zhao > > > > Northeastern University > > College of Engineering > > Telecommunication Systems Management > > Email claire.zxy at gmail.com > > > [image: > https://ci3.googleusercontent.com/proxy/h8WFAh45SgjajTR9tfv_578_H8IS9VWD2AQR465IgL81AMAv-7aipdFiE8lE5YI9yXDHXRWqGaMs53J8KSFxxjcI6jTSlzRUAMbiCr4ojESx59qz2KXSrbZFYr7s1bncNqya-peoMujIM3VlZ_1THdmSQ_OkfjMjA3bDfAgWR8vSoa7UEZp598N4e-oQ_HKEqol9cLEUCt2K=s0-d-e1-ft#https://mailfoogae.appspot.com/t?sender=aY2xhaXJlLnp4eUBnbWFpbC5jb20%3D&type=zerocontent&guid=96795b28-414b-4256-bcda-4448b22a4880] > ? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > -- > > Xiyu Zhao > > > > Northeastern University > > College of Engineering > > Telecommunication Systems Management > > Email claire.zxy at gmail.com > > Tel +86- 188-1067-7769 <+86%20188%201067%207769> > > +1-781-526-0715 <(781)%20526-0715> > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > -- > > Xiyu Zhao > > > > Northeastern University > > College of Engineering > > Telecommunication Systems Management > > Email claire.zxy at gmail.com > > Tel +86- 188-1067-7769 <+86%20188%201067%207769> > > +1-781-526-0715 <(781)%20526-0715> > -- Xiyu Zhao Northeastern University College of Engineering Telecommunication Systems Management Email claire.zxy at gmail.com Tel +86- 188-1067-7769 +1-781-526-0715 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161204/a3166217/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 43203 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161204/a3166217/attachment-0001.png From gregor at infomedia.si Mon Dec 5 03:14:37 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Mon, 5 Dec 2016 01:14:37 +0100 Subject: [Freeswitch-users] Bridge to gateway with prefix alters Destination number Message-ID: I have one funny challenging problem and do not know how to solve it. I am bridging call to gateway and provider requires that I add prefix. For example: }sofia/gateway/myprovider/aa15551231234 This is everything ok and it works, but then I get update display on softphone from 5551231234 to aa15551231234 and in call logs I get same number: aa15551231234. And then it looks like user dialed aa15551231234 . How to tell freeswitch not to update display and call log? I tried with ignore_update_display, but with no luck. Best regards, Gregor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161205/61901186/attachment.html From william at williamcollsassoc.ca Mon Dec 5 05:35:56 2016 From: william at williamcollsassoc.ca (William Colls) Date: Sun, 4 Dec 2016 21:35:56 -0500 Subject: [Freeswitch-users] E-mail a voicemail message Message-ID: <53dc5712-da5a-1a1c-fa9f-87326281fbb5@williamcollsassoc.ca> I am setting up the functions/procedures that will e-mail a voice mail message to a designated individual, and I have two questions. 1. Does FreeSWITCH read the message template each time it sends a message, or is the template loaded into memory at startup, and that copy used to build the message? 2. We use nullmailer as our MTA, and like freeswitch it does not run with root privilage. When the message file is written to the queue, it is written with privilage rw-------, and owner is freeswitch. Nullmailer can't read the message because it has insufficiant privilage. At the moment, we get around the problem by starting nullmailerwith UID of freeswitch, and that works, but it feels wrong to me. Is there anyway to set umask for freeswitch, so that the message is written with rw-rw----. Since both freeswitch and nullmaile are members of the group daemon, nullmailer would then be able to read the message queue while still running with its proper UID? -- William Colls & Associates VoIP Telephone Services Digital PBX and Telephone Systems From mylists at polite.se Mon Dec 5 14:29:57 2016 From: mylists at polite.se (Oivvio Polite) Date: Mon, 5 Dec 2016 12:29:57 +0100 Subject: [Freeswitch-users] A primitive way of getting VoLTE recordings in FreeSwitch. Looking for better ideas. Message-ID: <20161205112957.GA28625@blomma.liberationtech.net> I'm building a call recording tool (outgoing calls only) where the prime considerations are 1) audio quality and 2) ease of use. During the last years many mobile carriers have enabled VoLTE calling that operate at higher bitrates with better audio quality than traditional telephony. A common patterns seems to be that VoLTE is only enabled when the phone handsets on both ends supports it and both parties are on the same mobile carrier. To get that sweet HD audio in my call recordings I can't just run FreeSwitch with a regular SIP trunking provider. I've googled extensively and can't find any SIP trunking provider that claims VoLTE capability. A primitive way recording VoLTE calls with FreeSwitch would be to cook something together with mod_portaudio kind of like this: The user dials into FreeSwitch with a some custom HD audio client, probably using WebRTC. We capture this call leg at the server. Hooked up to the FreeSwitch box we have 3 audio cards. Connected to each audio card is a VoLTE capable cellphone on a diffrent mobile carrier (We pick the three most popular). The phones connect via the cellphone jacks. Each phone is also running a custom app that listens (via Wifi) for instructions from our FreeSwitch box. When the call arrives to FreeSwitch we check what carrier the the user is dialing. Hopefully one of our 3 connected phones also use that carrier. If so when instruct that phone to call the destination number and we connect the phone via mod_portaudio as the second leg of our call. This scheme as kind of Rube Goldberg and has many limitation. 1. If we want to support simultaneous calls on the same carrier we need more phones. 2. We loose audio quality in the recording when going from digital to analog. 3. Cellphones error prone, subject to freezes and what not. This is not something you want to put in a datacenter. So I'm wondering what other options might be for recording VoLTE calls. kind regards, Oivvio Polite From sms at icefire.qza.net.au Mon Dec 5 14:46:08 2016 From: sms at icefire.qza.net.au (Francis) Date: Mon, 5 Dec 2016 21:46:08 +1000 Subject: [Freeswitch-users] A primitive way of getting VoLTE recordings in FreeSwitch. Looking for better ideas. In-Reply-To: <20161205112957.GA28625@blomma.liberationtech.net> References: <20161205112957.GA28625@blomma.liberationtech.net> Message-ID: One option is using mini-PCIe WAN cards that are VoLTE capable, using the I2S bus for bidirectional digital audio. The sticking point with this approach is that you need a backplain card with an I2S to USB bridge in order to capture the audio. This would probably work best with mod-gsmopen. I searched high and low for such a thing, and managed to find one Russian firm that had a single slot device. The downside is that it is horrendously expensive (about $400 euros from memory), considering it only has about $5 worth of components on it. There are proprietary backplains, but so are their connectors, which limits you to their own line of daughter cards. Francis On 5/12/2016 9:29 PM, Oivvio Polite wrote: > I'm building a call recording tool (outgoing calls only) where the prime considerations are 1) audio quality and 2) ease of use. > > During the last years many mobile carriers have enabled VoLTE calling > that operate at higher bitrates with better audio quality than > traditional telephony. > > A common patterns seems to be that VoLTE is only enabled when the phone > handsets on both ends supports it and both parties are on the same > mobile carrier. > > To get that sweet HD audio in my call recordings I can't just run > FreeSwitch with a regular SIP trunking provider. I've googled > extensively and can't find any SIP trunking provider that claims VoLTE > capability. > > A primitive way recording VoLTE calls with FreeSwitch would be to cook > something together with mod_portaudio kind of like this: > > The user dials into FreeSwitch with a some custom HD audio client, > probably using WebRTC. We capture this call leg at the server. Hooked up > to the FreeSwitch box we have 3 audio cards. Connected to each audio card is a > VoLTE capable cellphone on a diffrent mobile carrier (We pick the three > most popular). The phones connect via the cellphone jacks. Each phone is > also running a custom app that listens (via Wifi) for instructions from our FreeSwitch box. > > When the call arrives to FreeSwitch we check what carrier the the user > is dialing. Hopefully one of our 3 connected phones also use that > carrier. If so when instruct that phone to call the destination number > and we connect the phone via mod_portaudio as the second leg of our > call. > > This scheme as kind of Rube Goldberg and has many limitation. > > 1. If we want to support simultaneous calls on the same carrier we need > more phones. > > 2. We loose audio quality in the recording when going from digital to > analog. > > 3. Cellphones error prone, subject to freezes and what not. This is not > something you want to put in a datacenter. > > > So I'm wondering what other options might be for recording VoLTE calls. > > > kind regards, Oivvio Polite > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 mylists at polite.se Mon Dec 5 15:11:40 2016 From: mylists at polite.se (Oivvio Polite) Date: Mon, 5 Dec 2016 13:11:40 +0100 Subject: [Freeswitch-users] A primitive way of getting VoLTE recordings in FreeSwitch. Looking for better ideas. In-Reply-To: References: <20161205112957.GA28625@blomma.liberationtech.net> Message-ID: <20161205121140.GB28625@blomma.liberationtech.net> On m?n, dec 05, 2016 at 09:46:08 +1000, Francis wrote: > One option is using mini-PCIe WAN cards that are VoLTE capable, using > the I2S bus for bidirectional digital audio. The sticking point with > this approach is that you need a backplain card with an I2S to USB > bridge in order to capture the audio. This would probably work best with > mod-gsmopen. > > I searched high and low for such a thing, and managed to find one > Russian firm that had a single slot device. The downside is that it is > horrendously expensive (about $400 euros from memory), considering it > only has about $5 worth of components on it. There are proprietary > backplains, but so are their connectors, which limits you to their own > line of daughter cards. > > Francis > Thanks! When we say that a card is VoLTE capable, what do we mean? Is VoLTE one or many different protocols? Or to put it another way: When I google these WAN cards what should I look for? Oivvio From devang.nathwani31589 at gmail.com Mon Dec 5 16:00:29 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Mon, 5 Dec 2016 18:30:29 +0530 Subject: [Freeswitch-users] Fax 2 Email issue Message-ID: Hello, Trying to develop Fax 2 Email features. I am sending fax from the Zoiper for testing and it works perfectly in my local machine but getting permission related error for receiving fax on server 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === Negotiation Result ======================================================= 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote station id: 964737 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer Rate: 12000 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status off 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote country: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote vendor: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote model: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 ============================================================================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 ============================================================================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (41) TIFF/F file cannot be opened. 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 964737 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 12000 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status off 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote country: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote vendor: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote model: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 ============================================================================== Can any body help me please to resolve that issue? I have attached my freeswitch logs it may help. http://pastebin.com/edTEimae -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161205/c02464ce/attachment-0001.html From brian at freeswitch.org Mon Dec 5 16:22:00 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 5 Dec 2016 08:22:00 -0500 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: References: Message-ID: Sounds like a permission issue to where you're trying to save the tiff file, what are you doing in your dialplan? On Mon, Dec 5, 2016 at 8:00 AM, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > Hello, > > Trying to develop Fax 2 Email features. > I am sending fax from the Zoiper for testing and it works perfectly in my > local machine but getting permission related error for receiving fax on > server > > > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === Negotiation > Result ======================================================= > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote station > id: 964737 > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local station id: > SpanDSP Fax Ident > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer Rate: > 12000 > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status off > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote country: > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote vendor: > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote model: > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 > ============================================================ > ================== > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 > ============================================================ > ================== > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax processing > not successful - result (41) TIFF/F file cannot be opened. > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote station > id: 964737 > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local station id: > SpanDSP Fax Ident > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages > transferred: 0 > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image resolution: > 0x0 > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: > 12000 > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status off > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote country: > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote vendor: > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote model: > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 > ============================================================ > ================== > > Can any body help me please to resolve that issue? > I have attached my freeswitch logs it may help. > > http://pastebin.com/edTEimae > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161205/23d72d21/attachment.html From brian at freeswitch.org Mon Dec 5 16:22:49 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 5 Dec 2016 08:22:49 -0500 Subject: [Freeswitch-users] Bridge to gateway with prefix alters Destination number In-Reply-To: References: Message-ID: Set the ignore_display_updates variable in vars.xml or disable it on the sofia profiles in question. /b On Sun, Dec 4, 2016 at 7:14 PM, Gregor Nanger wrote: > I have one funny challenging problem and do not know how to solve it. > > I am bridging call to gateway and provider requires that I add prefix. For > example: > > }sofia/gateway/myprovider/aa15551231234 > > This is everything ok and it works, but then I get update display on > softphone from 5551231234 to aa15551231234 and in call logs I get same > number: aa15551231234. And then it looks like user dialed aa15551231234 . > > How to tell freeswitch not to update display and call log? I tried with > ignore_update_display, but with no luck. > > Best regards, Gregor > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161205/dfba094b/attachment.html From brian at freeswitch.org Mon Dec 5 16:24:59 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 5 Dec 2016 08:24:59 -0500 Subject: [Freeswitch-users] T.38 RTP Poll failed with error: 9 [Bad file descriptor] In-Reply-To: <58413C07.9060909@telefaks.de> References: <58403856.80404@telefaks.de> <58405772.902@telefaks.de> <58413C07.9060909@telefaks.de> Message-ID: remove yasm and install nasm, or it may be the reverse of that. /b On Fri, Dec 2, 2016 at 4:16 AM, Peter Steinbach wrote: > I try now to compile new minimal freeswitch. > > But get errors with libvpx. > > root at fsmin:/usr/src/freeswitch# make > make[1]: Entering directory '/usr/src/freeswitch/libs/libvpx' > [AS] vpx_dsp/x86/intrapred_sse2.asm.o > vpx_dsp/x86/intrapred_sse2.asm:64: error: invalid combination of opcode > and operands > Makefile:179: recipe for target 'vpx_dsp/x86/intrapred_sse2.asm.o' failed > make[2]: *** [vpx_dsp/x86/intrapred_sse2.asm.o] Error 1 > Makefile:17: recipe for target '.DEFAULT' failed > make[1]: *** [.DEFAULT] Error 2 > make[1]: Leaving directory '/usr/src/freeswitch/libs/libvpx' > Makefile:3911: recipe for target 'libs/libvpx/libvpx.a' failed > make: *** [libs/libvpx/libvpx.a] Error 2 > > > > On 12/01/16 18:27, Anthony Minessale wrote: > > Has nothing to do with the port range, that problem was related > specifically to T.38 endpoints who were using RTCP before they changed to > UDPTL. > > On Thu, Dec 1, 2016 at 11:19 AM, Brian West wrote: > >> You'll want 1.6.13 or master, this bug was a pain in the butt to find and >> fix. >> >> /b >> >> On Thu, Dec 1, 2016 at 11:01 AM, Peter Steinbach >> wrote: >> >>> Thanks, >>> >>> by the way, we found out in further testing, when setting RTP ports to >>> 65000+, this error went away. >>> >>> But anyway, we will have to update/recompile Freeswitch. >>> >>> >>> >>> Best regards >>> Peter >>> >>> On 12/01/16 17:21, Brian West wrote: >>> >>> You're on an older release, we've fixed this already. >>> >>> /b >>> >>> >>> On Thu, Dec 1, 2016 at 8:48 AM, Peter Steinbach >>> wrote: >>> >>>> Hello, >>>> >>>> I have a strange error when proyy-media T38 faxes. >>>> Freeswitch is behind NAT (internal 192.168.12.248, external >>>> 5.10.xxx.yyy), other, receiving Server is also a Freeswitch >>>> >>>> A connection is made via G.711A, we hear the machines negociating, then >>>> we receive a T.38 reinvite from the remote Freeswitch server. >>>> The local ATA 30@ reponds with T38 SDP, Freeswitch is passing it to >>>> the remote site (and there the error occurs). See error in bold: >>>> >>>> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel >>>> sofia/internal/30 at 192.168.12.248 entering state [completing][200] >>>> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6944 Duplicate SDP >>>> v=0 >>>> o=30 8002 8001 IN IP4 192.168.12.99 >>>> s=SIP Call >>>> c=IN IP4 192.168.12.99 >>>> t=0 0 >>>> m=image 5012 udptl t38 >>>> a=T38FaxVersion:0 >>>> a=T38MaxBitRate:14400 >>>> a=T38FaxRateManagement:transferredTCF >>>> a=T38FaxMaxBuffer:500 >>>> a=T38FaxMaxDatagram:500 >>>> a=T38FaxUdpEC:t38UDPRedundancy >>>> >>>> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel >>>> sofia/internal/30 at 192.168.12.248 entering state [ready][200] >>>> 2016-12-01 15:28:55.554501 [DEBUG] mod_sofia.c:2088 Responding with 200 >>>> [OK] >>>> 2016-12-01 15:28:55.554501 [DEBUG] switch_core_media.c:8955 >>>> sofia/external/0403801xxxxxxx image media sdp: >>>> v=0 >>>> o=FreeSWITCH 1480572959 1480572961 IN IP4 5.10.xxx.yyy >>>> s=FreeSWITCH >>>> c=IN IP4 5.10.xxx.yyy >>>> t=0 0 >>>> m=image 29544 udptl t38 >>>> a=T38FaxVersion:0 >>>> a=T38MaxBitRate:14400 >>>> a=T38FaxRateManagement:transferredTCF >>>> a=T38FaxMaxBuffer:500 >>>> a=T38FaxMaxDatagram:500 >>>> a=T38FaxUdpEC:t38UDPRedundancy >>>> >>>> *2016-12-01 15:28:55.554501 [ERR] switch_rtp.c:6420 Poll failed with >>>> error: 9 [Bad file descriptor]* >>>> 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:712 >>>> sofia/external/0403801xxxxxxx ending bridge by request from read function >>>> 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:785 BRIDGE >>>> THREAD DONE [sofia/external/0403801xxxxxxx] >>>> 2016-12-01 15:28:55.554501 [NOTICE] switch_ivr_bridge.c:889 Hangup >>>> sofia/external/0403801xxxxxxx [CS_EXCHANGE_MEDIA] [NORMAL_CLEAR >>>> >>>> Some background Info: >>>> >>>> - Freeswitch runs in LXC environment >>>> - Freeswitch runs as non-priviledged user. >>>> >>>> What is the cause of this? Maybe a problem with port 29544? But port >>>> 29544 was already previously used with G.711A. >>>> >>>> -- >>>> With kind regards >>>> Peter Steinbach >>>> >>>> Telefaks Services GmbHmailto:lists (att) telefaks.de >>>> Internet: www.telefaks.de >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> 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.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 >>> >>> >>> >>> -- >>> With kind regards >>> Peter Steinbach >>> >>> Telefaks Services GmbHmailto:lists (att) telefaks.de >>> Internet: www.telefaks.de >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 <%28918%29%20420-9001> | *F:*+19184209002 >> <%28918%29%20420-9002> | *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 >> > > > > -- > 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.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 > > > > -- > With kind regards > Peter Steinbach > > Telefaks Services GmbHmailto:lists (att) telefaks.de > Internet: www.telefaks.de > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161205/888b7f89/attachment-0001.html From sms at icefire.qza.net.au Mon Dec 5 16:26:11 2016 From: sms at icefire.qza.net.au (Francis) Date: Mon, 5 Dec 2016 23:26:11 +1000 Subject: [Freeswitch-users] A primitive way of getting VoLTE recordings in FreeSwitch. Looking for better ideas. In-Reply-To: <20161205121140.GB28625@blomma.liberationtech.net> References: <20161205112957.GA28625@blomma.liberationtech.net> <20161205121140.GB28625@blomma.liberationtech.net> Message-ID: Basically, you want voice on LTE, confirmed in the specifications. Most of these cards are still using 3G/umts for voice, even though they use LTE for data. They are often used in laptops and tablets. Think Sierra/Qualcomm, Huawei, uBlox etc. There's lots of them. Francis On 5/12/2016 10:11 PM, Oivvio Polite wrote: > On m?n, dec 05, 2016 at 09:46:08 +1000, Francis wrote: >> One option is using mini-PCIe WAN cards that are VoLTE capable, using >> the I2S bus for bidirectional digital audio. The sticking point with >> this approach is that you need a backplain card with an I2S to USB >> bridge in order to capture the audio. This would probably work best with >> mod-gsmopen. >> >> I searched high and low for such a thing, and managed to find one >> Russian firm that had a single slot device. The downside is that it is >> horrendously expensive (about $400 euros from memory), considering it >> only has about $5 worth of components on it. There are proprietary >> backplains, but so are their connectors, which limits you to their own >> line of daughter cards. >> >> Francis >> > Thanks! > > When we say that a card is VoLTE capable, what do we mean? Is VoLTE one > or many different protocols? Or to put it another way: When I google > these WAN cards what should I look for? > > Oivvio > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From brian at freeswitch.org Mon Dec 5 16:44:50 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 5 Dec 2016 08:44:50 -0500 Subject: [Freeswitch-users] A primitive way of getting VoLTE recordings in FreeSwitch. Looking for better ideas. In-Reply-To: References: <20161205112957.GA28625@blomma.liberationtech.net> <20161205121140.GB28625@blomma.liberationtech.net> Message-ID: Or you can go get an interconnect with each carrier so they can hand off to you in AMR-WB, but we don't have the codec, so thats a bust too. /b On Mon, Dec 5, 2016 at 8:26 AM, Francis wrote: > Basically, you want voice on LTE, confirmed in the specifications. Most > of these cards are still using 3G/umts for voice, even though they use > LTE for data. They are often used in laptops and tablets. Think > Sierra/Qualcomm, Huawei, uBlox etc. There's lots of them. > > Francis > > > On 5/12/2016 10:11 PM, Oivvio Polite wrote: > > On m?n, dec 05, 2016 at 09:46:08 +1000, Francis wrote: > >> One option is using mini-PCIe WAN cards that are VoLTE capable, using > >> the I2S bus for bidirectional digital audio. The sticking point with > >> this approach is that you need a backplain card with an I2S to USB > >> bridge in order to capture the audio. This would probably work best with > >> mod-gsmopen. > >> > >> I searched high and low for such a thing, and managed to find one > >> Russian firm that had a single slot device. The downside is that it is > >> horrendously expensive (about $400 euros from memory), considering it > >> only has about $5 worth of components on it. There are proprietary > >> backplains, but so are their connectors, which limits you to their own > >> line of daughter cards. > >> > >> Francis > >> > > Thanks! > > > > When we say that a card is VoLTE capable, what do we mean? Is VoLTE one > > or many different protocols? Or to put it another way: When I google > > these WAN cards what should I look for? > > > > Oivvio > > > > ____________________________________________________________ > _____________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161205/f17518d5/attachment.html From s.safarov at gmail.com Mon Dec 5 17:40:50 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Mon, 05 Dec 2016 14:40:50 +0000 Subject: [Freeswitch-users] T.38 RTP Poll failed with error: 9 [Bad file descriptor] In-Reply-To: References: <58403856.80404@telefaks.de> <58405772.902@telefaks.de> <58413C07.9060909@telefaks.de> Message-ID: Please look at FS-9582 ??, 5 ???. 2016 ?. ? 16:25, Brian West : > remove yasm and install nasm, or it may be the reverse of that. > > /b > > > On Fri, Dec 2, 2016 at 4:16 AM, Peter Steinbach wrote: > > I try now to compile new minimal freeswitch. > > But get errors with libvpx. > > root at fsmin:/usr/src/freeswitch# make > make[1]: Entering directory '/usr/src/freeswitch/libs/libvpx' > [AS] vpx_dsp/x86/intrapred_sse2.asm.o > vpx_dsp/x86/intrapred_sse2.asm:64: error: invalid combination of opcode > and operands > Makefile:179: recipe for target 'vpx_dsp/x86/intrapred_sse2.asm.o' failed > make[2]: *** [vpx_dsp/x86/intrapred_sse2.asm.o] Error 1 > Makefile:17: recipe for target '.DEFAULT' failed > make[1]: *** [.DEFAULT] Error 2 > make[1]: Leaving directory '/usr/src/freeswitch/libs/libvpx' > Makefile:3911: recipe for target 'libs/libvpx/libvpx.a' failed > make: *** [libs/libvpx/libvpx.a] Error 2 > > > > On 12/01/16 18:27, Anthony Minessale wrote: > > Has nothing to do with the port range, that problem was related > specifically to T.38 endpoints who were using RTCP before they changed to > UDPTL. > > On Thu, Dec 1, 2016 at 11:19 AM, Brian West wrote: > > You'll want 1.6.13 or master, this bug was a pain in the butt to find and > fix. > > /b > > On Thu, Dec 1, 2016 at 11:01 AM, Peter Steinbach > wrote: > > Thanks, > > by the way, we found out in further testing, when setting RTP ports to > 65000+, this error went away. > > But anyway, we will have to update/recompile Freeswitch. > > > > Best regards > Peter > > On 12/01/16 17:21, Brian West wrote: > > You're on an older release, we've fixed this already. > > /b > > > On Thu, Dec 1, 2016 at 8:48 AM, Peter Steinbach wrote: > > Hello, > > I have a strange error when proyy-media T38 faxes. > Freeswitch is behind NAT (internal 192.168.12.248, external 5.10.xxx.yyy), > other, receiving Server is also a Freeswitch > > A connection is made via G.711A, we hear the machines negociating, then we > receive a T.38 reinvite from the remote Freeswitch server. > The local ATA 30@ reponds with T38 SDP, Freeswitch is passing it to the > remote site (and there the error occurs). See error in bold: > > 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel > sofia/internal/30 at 192.168.12.248 entering state [completing][200] > 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6944 Duplicate SDP > v=0 > o=30 8002 8001 IN IP4 192.168.12.99 > s=SIP Call > c=IN IP4 192.168.12.99 > t=0 0 > m=image 5012 udptl t38 > a=T38FaxVersion:0 > a=T38MaxBitRate:14400 > a=T38FaxRateManagement:transferredTCF > a=T38FaxMaxBuffer:500 > a=T38FaxMaxDatagram:500 > a=T38FaxUdpEC:t38UDPRedundancy > > 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 Channel > sofia/internal/30 at 192.168.12.248 entering state [ready][200] > 2016-12-01 15:28:55.554501 [DEBUG] mod_sofia.c:2088 Responding with 200 > [OK] > 2016-12-01 15:28:55.554501 [DEBUG] switch_core_media.c:8955 > sofia/external/0403801xxxxxxx image media sdp: > v=0 > o=FreeSWITCH 1480572959 1480572961 IN IP4 5.10.xxx.yyy > s=FreeSWITCH > c=IN IP4 5.10.xxx.yyy > t=0 0 > m=image 29544 udptl t38 > a=T38FaxVersion:0 > a=T38MaxBitRate:14400 > a=T38FaxRateManagement:transferredTCF > a=T38FaxMaxBuffer:500 > a=T38FaxMaxDatagram:500 > a=T38FaxUdpEC:t38UDPRedundancy > > *2016-12-01 15:28:55.554501 [ERR] switch_rtp.c:6420 Poll failed with > error: 9 [Bad file descriptor]* > 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:712 > sofia/external/0403801xxxxxxx ending bridge by request from read function > 2016-12-01 15:28:55.554501 [DEBUG] switch_ivr_bridge.c:785 BRIDGE THREAD > DONE [sofia/external/0403801xxxxxxx] > 2016-12-01 15:28:55.554501 [NOTICE] switch_ivr_bridge.c:889 Hangup > sofia/external/0403801xxxxxxx [CS_EXCHANGE_MEDIA] [NORMAL_CLEAR > > Some background Info: > > - Freeswitch runs in LXC environment > - Freeswitch runs as non-priviledged user. > > What is the cause of this? Maybe a problem with port 29544? But port 29544 > was already previously used with G.711A. > > -- > With kind regards > Peter Steinbach > > Telefaks Services GmbHmailto:lists (att) telefaks.de > Internet: www.telefaks.de > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > 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.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 > > > > -- > With kind regards > Peter Steinbach > > Telefaks Services GmbHmailto:lists (att) telefaks.de > Internet: www.telefaks.de > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 <%28918%29%20420-9001> | *F:*+19184209002 > <%28918%29%20420-9002> | *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 > > > > > -- > 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.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 > > > > -- > With kind regards > Peter Steinbach > > Telefaks Services GmbHmailto:lists (att) telefaks.de > Internet: www.telefaks.de > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> > | *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/20161205/a050ebb8/attachment-0001.html From tg-maillistings at level5.de Fri Dec 2 18:19:47 2016 From: tg-maillistings at level5.de (=?UTF-8?Q?Thorsten_G=c3=b6llner?=) Date: Fri, 2 Dec 2016 16:19:47 +0100 Subject: [Freeswitch-users] limit works but limit_usage always reports 0 Message-ID: <1a5f0dca-719f-096f-98db-9b64677c32af@level5.de> Hi there, I am using freeswitch 1.6.13~64bit and have trouble with limit_usage. I use the following simplified dialplan: As you can see, I use application limit - and here only 1 call per 10 minutes should be fine. So the second call goes to limit_exceeded. This works fine. From the shell I use the following command to query the limit status: fs_cli -x "limit_usage hash realm1 res1" But this command always returns "0". I expect it to report the current limit status - for example "1" when the first call goes to limit_exceeded. Do I expect the wrong thing or do I make a mistake? Thanks in advance, Thorsten From daniel.a.wilson at gmail.com Sat Dec 3 03:04:02 2016 From: daniel.a.wilson at gmail.com (Daniel Wilson) Date: Sat, 3 Dec 2016 00:04:02 +0000 Subject: [Freeswitch-users] Building Java ESL bindings Message-ID: Hi all, I'm having trouble getting the ESL "javamod" to build - :/usr/src/fs/v1.6/freeswitch/libs/esl# make javamod make MYLIB=".././.libs/libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/usr/src/fs/v1.6/freeswitch/libs/esl/src/include -I/usr/include/uuid -I/usr/src/fs/v1.6/freeswitch/src/include -I/usr/src/fs/v1.6/freeswitch/src/include -I/usr/src/fs/v1.6/freeswitch/libs/libteletone/src -fPIC -Werror -Wno-unused-result -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DHAVE_OPENSSL" CXXFLAGS="-I/usr/src/fs/v1.6/freeswitch/libs/esl/src/include -I/usr/include/postgresql -I/usr/src/fs/v1.6/freeswitch/src/include -I/usr/src/fs/v1.6/freeswitch/src/include -I/usr/src/fs/v1.6/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1" CXX_CFLAGS="" -C java make[1]: Entering directory '/usr/src/fs/v1.6/freeswitch/libs/esl/java' g++ -shared -Xlinker -x -o libesljni.so esl_wrap.o .././.libs/libesl.a /usr/bin/ld: esl_wrap.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC esl_wrap.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status Makefile:14: recipe for target 'libesljni.so' failed make[1]: *** [libesljni.so] Error 1 make[1]: Leaving directory '/usr/src/fs/v1.6/freeswitch/libs/esl/java' Makefile:1371: recipe for target 'javamod' failed make: *** [javamod] Error 2 I'm building on a stock Debian 8 but with openjdk-6-jdk installed (have tried against openjdk-7-jdk but with same results). I'm configuring the build as so - ./configure --enable-shared --enable-core-pgsql-support --with-java=/usr/lib/jvm/java-6-openjdk-amd64/ I've tried without --enable-shared also, to no avail. Please can someone point me in the right direction to get this working ? Thanks in advance, Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161203/deadc18c/attachment.html From daniel.a.wilson at gmail.com Sun Dec 4 00:38:46 2016 From: daniel.a.wilson at gmail.com (Daniel Wilson) Date: Sat, 3 Dec 2016 21:38:46 +0000 Subject: [Freeswitch-users] Building Java ESL bindings In-Reply-To: References: Message-ID: I got an esl.jar to build successfully on the same machine as I was using for the failed build in my original post, on a clean master by doing - - ./bootstrap -j - ./configure (with no options this time) - make - cd libs/esl - make - edit java/Makefile to manually correct the includes for my java installation. it now reads - LOCAL_CFLAGS=-I../src/include -I/usr/lib/jvm/java-6-openjdk-amd64/include/ -I/usr/lib/jvm/java-6-openjdk-amd64/include/linux/ - make javamod I'm going to work back from here and see if I can get it building on 1.6... Cheers, Dan On 3 December 2016 at 00:04, Daniel Wilson wrote: > Hi all, > > I'm having trouble getting the ESL "javamod" to build - > > :/usr/src/fs/v1.6/freeswitch/libs/esl# make javamod > make MYLIB=".././.libs/libesl.a" SOLINK="-shared -Xlinker -x" > CFLAGS="-I/usr/src/fs/v1.6/freeswitch/libs/esl/src/include > -I/usr/include/uuid -I/usr/src/fs/v1.6/freeswitch/src/include > -I/usr/src/fs/v1.6/freeswitch/src/include -I/usr/src/fs/v1.6/freeswitch/libs/libteletone/src > -fPIC -Werror -Wno-unused-result -fvisibility=hidden > -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DHAVE_OPENSSL" > CXXFLAGS="-I/usr/src/fs/v1.6/freeswitch/libs/esl/src/include > -I/usr/include/postgresql -I/usr/src/fs/v1.6/freeswitch/src/include > -I/usr/src/fs/v1.6/freeswitch/src/include -I/usr/src/fs/v1.6/freeswitch/libs/libteletone/src > -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1" > CXX_CFLAGS="" -C java > make[1]: Entering directory '/usr/src/fs/v1.6/freeswitch/libs/esl/java' > g++ -shared -Xlinker -x -o libesljni.so esl_wrap.o .././.libs/libesl.a > /usr/bin/ld: esl_wrap.o: relocation R_X86_64_32S against `.rodata' can not > be used when making a shared object; recompile with -fPIC > esl_wrap.o: error adding symbols: Bad value > collect2: error: ld returned 1 exit status > Makefile:14: recipe for target 'libesljni.so' failed > make[1]: *** [libesljni.so] Error 1 > make[1]: Leaving directory '/usr/src/fs/v1.6/freeswitch/libs/esl/java' > Makefile:1371: recipe for target 'javamod' failed > make: *** [javamod] Error 2 > > > I'm building on a stock Debian 8 but with openjdk-6-jdk installed (have > tried against openjdk-7-jdk but with same results). > > I'm configuring the build as so - > ./configure --enable-shared --enable-core-pgsql-support > --with-java=/usr/lib/jvm/java-6-openjdk-amd64/ > > I've tried without --enable-shared also, to no avail. > > Please can someone point me in the right direction to get this working ? > > Thanks in advance, > > Dan > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161203/6f149625/attachment.html From tru083 at yahoo.com Tue Dec 6 01:23:20 2016 From: tru083 at yahoo.com (D D) Date: Mon, 5 Dec 2016 22:23:20 +0000 (UTC) Subject: [Freeswitch-users] How can I cancel a bgapi job? References: <1498269843.85638.1480976600976.ref@mail.yahoo.com> Message-ID: <1498269843.85638.1480976600976@mail.yahoo.com> Hi, How can I cancel a bgapi job? Let's suppose I do bgapi command to originate a call and then am immediately told it needs tobe cancelled...but it has not started yet. ?Even if I supply my own uuid on the originateand a job-uud on the bgapi command, I don't see any way I can cancel the "unstarted" call. Note that I can construct a test case for this situation by doing a fs_cli command? ??bgapi originate {originate_delay_start=30000,origination_uuid=my_uuid}sofia/gateway/...This command will start a request that cannot be cancelled until the call actually starts (thirtyseconds later). Any ideas? Thanks,David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161205/a6e9a379/attachment.html From devang.nathwani31589 at gmail.com Tue Dec 6 11:28:50 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Tue, 6 Dec 2016 13:58:50 +0530 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: References: Message-ID: Dialplan: sofia/default/789456123 at 192.168.1.71 parsing [default->customfax] continue=false Dialplan: sofia/default/789456123 at 192.168.1.71 Regex (PASS) [customfax] destination_number(789456123) =~ /^789456123$/ break=on-false Dialplan: sofia/default/789456123 at 192.168.1.71 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/789456123 at 192.168.1.71 Action set(fax_enable_t38=true) Dialplan: sofia/default/789456123 at 192.168.1.71 Action export(t38_passthru=true) Dialplan: sofia/default/789456123 at 192.168.1.71 Action set(session_in_hangup_hook=true) Dialplan: sofia/default/789456123 at 192.168.1.71 Action set(rtp_append_audio_sdp=a=fmtp:18 annexb=no) Dialplan: sofia/default/789456123 at 192.168.1.71 Action answer() Dialplan: sofia/default/789456123 at 192.168.1.71 Action rxfax(*chmod 666 /tmp/${uuid}-FAX.tif*) Dialplan: sofia/default/789456123 at 192.168.1.71 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /tmp/${uuid}-FAX.tif 6 Hardik hardik.patel at inextrix.com /tmp/${uuid}-FAX.tif ) Dialplan: sofia/default/789456123 at 192.168.1.71 Action hangup() On Mon, Dec 5, 2016 at 6:52 PM, Brian West wrote: > Sounds like a permission issue to where you're trying to save the tiff > file, what are you doing in your dialplan? > > On Mon, Dec 5, 2016 at 8:00 AM, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> Hello, >> >> Trying to develop Fax 2 Email features. >> I am sending fax from the Zoiper for testing and it works perfectly in my >> local machine but getting permission related error for receiving fax on >> server >> >> >> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === Negotiation >> Result ======================================================= >> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote station >> id: 964737 >> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local station >> id: SpanDSP Fax Ident >> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer Rate: >> 12000 >> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status off >> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote country: >> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote vendor: >> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote model: >> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 >> ============================================================ >> ================== >> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 >> ============================================================ >> ================== >> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax processing >> not successful - result (41) TIFF/F file cannot be opened. >> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote station >> id: 964737 >> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local station >> id: SpanDSP Fax Ident >> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages >> transferred: 0 >> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: >> 0 >> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image >> resolution: 0x0 >> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: >> 12000 >> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status off >> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote country: >> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote vendor: >> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote model: >> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 >> ============================================================ >> ================== >> >> Can any body help me please to resolve that issue? >> I have attached my freeswitch logs it may help. >> >> http://pastebin.com/edTEimae >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > 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/20161206/343f4232/attachment-0001.html From mirkobrankovic at gmail.com Tue Dec 6 11:55:54 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Tue, 6 Dec 2016 09:55:54 +0100 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: References: Message-ID: I don't think it will work like that, you can just use: > rxfax( /tmp/${uuid}-FAX.tif) Since it is /tmp it will we group and world read/writable On Tue, Dec 6, 2016 at 9:28 AM, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > Dialplan: sofia/default/789456123 at 192.168.1.71 parsing > [default->customfax] continue=false > Dialplan: sofia/default/789456123 at 192.168.1.71 Regex (PASS) [customfax] > destination_number(789456123) =~ /^789456123$/ break=on-false > Dialplan: sofia/default/789456123 at 192.168.1.71 Action > set(fax_enable_t38_request=true) > Dialplan: sofia/default/789456123 at 192.168.1.71 Action > set(fax_enable_t38=true) > Dialplan: sofia/default/789456123 at 192.168.1.71 Action > export(t38_passthru=true) > Dialplan: sofia/default/789456123 at 192.168.1.71 Action > set(session_in_hangup_hook=true) > Dialplan: sofia/default/789456123 at 192.168.1.71 Action > set(rtp_append_audio_sdp=a=fmtp:18 annexb=no) > Dialplan: sofia/default/789456123 at 192.168.1.71 Action answer() > Dialplan: sofia/default/789456123 at 192.168.1.71 Action rxfax(*chmod 666 > /tmp/${uuid}-FAX.tif*) > Dialplan: sofia/default/789456123 at 192.168.1.71 Action > set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh > /tmp/${uuid}-FAX.tif 6 Hardik hardik.patel at inextrix.com > /tmp/${uuid}-FAX.tif ) > Dialplan: sofia/default/789456123 at 192.168.1.71 Action hangup() > > On Mon, Dec 5, 2016 at 6:52 PM, Brian West wrote: > >> Sounds like a permission issue to where you're trying to save the tiff >> file, what are you doing in your dialplan? >> >> On Mon, Dec 5, 2016 at 8:00 AM, devang nathwani < >> devang.nathwani31589 at gmail.com> wrote: >> >>> Hello, >>> >>> Trying to develop Fax 2 Email features. >>> I am sending fax from the Zoiper for testing and it works perfectly in >>> my local machine but getting permission related error for receiving fax on >>> server >>> >>> >>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === Negotiation >>> Result ======================================================= >>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote station >>> id: 964737 >>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local station >>> id: SpanDSP Fax Ident >>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer Rate: >>> 12000 >>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status off >>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote country: >>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote vendor: >>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote model: >>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 >>> ============================================================ >>> ================== >>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 >>> ============================================================ >>> ================== >>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax processing >>> not successful - result (41) TIFF/F file cannot be opened. >>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote station >>> id: 964737 >>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local station >>> id: SpanDSP Fax Ident >>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages >>> transferred: 0 >>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax >>> pages: 0 >>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image >>> resolution: 0x0 >>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: >>> 12000 >>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status off >>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote country: >>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote vendor: >>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote model: >>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 >>> ============================================================ >>> ================== >>> >>> Can any body help me please to resolve that issue? >>> I have attached my freeswitch logs it may help. >>> >>> http://pastebin.com/edTEimae >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 >> <+1%20918-420-9002> | *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 > -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/2fbdf197/attachment.html From andrew.keil at visytel.com Tue Dec 6 12:57:45 2016 From: andrew.keil at visytel.com (Andrew Keil) Date: Tue, 6 Dec 2016 09:57:45 +0000 Subject: [Freeswitch-users] RE- FreeSWITCH originate api command question Message-ID: To FreeSWITCH Users, I have a need to have the FreeSWITCH originate API command to return ASAP (and not wait for 200 OK SDP (ie. CONNECT)). My FreeSWITCH version is the latest production release 1.6.13. This is easy to test from fs_cli: originate {call_timeout=45,ignore_early_media=true,return_ring_ready=true}sofia/gateway/mygateway/xxxxxxxxxx;user=phone 5000 Where: xxxxxxxxxx = outbound phone number After looking at my SIP Trunk provider's SIP Flow the following happens: Tx: INVITE SDP Rx: 100 Trying Rx: 183 Session Progress SDP Tx: RTP {early media} Rx: 180 Ringing Rx: 200 OK SDP Tx: ACK Rx: BYE Tx: 200 OK Based on the above flow, I understand that since 183 SDP is received then the 180 Ringing is not used by FreeSWITCH (based on reading other comments on this topic), therefore what settings should I use inside the originate command in order for the originate API call to return and start service 5000 flow when 183 SDP is received. My questions: 1) Should ignore_early_media=true or ignore_early_media=false or ignore_early_media=ring_ready for originate to return when 183 SDP is received? 2) Will return_ring_ready=true have no affect based on the above call flow? 3) Are there any other settings that I should use to enable originate to return when 183 SDP is received? Kind Regards, Andrew Keil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/7039fa2f/attachment-0001.html From brian at freeswitch.org Tue Dec 6 15:25:11 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 6 Dec 2016 07:25:11 -0500 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: References: Message-ID: rxfax(*chmod 666 /tmp/${uuid}-FAX.tif*) -> rxfax(*/tmp/${uuid}-FAX.tif*) I would like to know where you read docs that lead up to that solution. /b On Tue, Dec 6, 2016 at 3:55 AM, Mirko Brankovic wrote: > I don't think it will work like that, > > you can just use: > >> rxfax( /tmp/${uuid}-FAX.tif) > > Since it is /tmp it will we group and world read/writable > > On Tue, Dec 6, 2016 at 9:28 AM, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> Dialplan: sofia/default/789456123 at 192.168.1.71 parsing >> [default->customfax] continue=false >> Dialplan: sofia/default/789456123 at 192.168.1.71 Regex (PASS) [customfax] >> destination_number(789456123) =~ /^789456123$/ break=on-false >> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >> set(fax_enable_t38_request=true) >> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >> set(fax_enable_t38=true) >> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >> export(t38_passthru=true) >> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >> set(session_in_hangup_hook=true) >> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >> set(rtp_append_audio_sdp=a=fmtp:18 annexb=no) >> Dialplan: sofia/default/789456123 at 192.168.1.71 Action answer() >> Dialplan: sofia/default/789456123 at 192.168.1.71 Action rxfax(*chmod 666 >> /tmp/${uuid}-FAX.tif*) >> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >> set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh >> /tmp/${uuid}-FAX.tif 6 Hardik hardik.patel at inextrix.com >> /tmp/${uuid}-FAX.tif ) >> Dialplan: sofia/default/789456123 at 192.168.1.71 Action hangup() >> >> On Mon, Dec 5, 2016 at 6:52 PM, Brian West wrote: >> >>> Sounds like a permission issue to where you're trying to save the tiff >>> file, what are you doing in your dialplan? >>> >>> On Mon, Dec 5, 2016 at 8:00 AM, devang nathwani < >>> devang.nathwani31589 at gmail.com> wrote: >>> >>>> Hello, >>>> >>>> Trying to develop Fax 2 Email features. >>>> I am sending fax from the Zoiper for testing and it works perfectly in >>>> my local machine but getting permission related error for receiving fax on >>>> server >>>> >>>> >>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === >>>> Negotiation Result ============================== >>>> ========================= >>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote station >>>> id: 964737 >>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local station >>>> id: SpanDSP Fax Ident >>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer Rate: >>>> 12000 >>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status off >>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote >>>> country: >>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote vendor: >>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote model: >>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 >>>> ============================================================ >>>> ================== >>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 >>>> ============================================================ >>>> ================== >>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax processing >>>> not successful - result (41) TIFF/F file cannot be opened. >>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote station >>>> id: 964737 >>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local station >>>> id: SpanDSP Fax Ident >>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages >>>> transferred: 0 >>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax >>>> pages: 0 >>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image >>>> resolution: 0x0 >>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: >>>> 12000 >>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status off >>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote >>>> country: >>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote vendor: >>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote model: >>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 >>>> ============================================================ >>>> ================== >>>> >>>> Can any body help me please to resolve that issue? >>>> I have attached my freeswitch logs it may help. >>>> >>>> http://pastebin.com/edTEimae >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> Got Bugs? Report them here ! | Reddit: >>> /r/freeswitch >>> >>> *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 >>> <+1%20918-420-9002> | *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 >> > > > > -- > Regards, > Mirko > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161206/332df71b/attachment.html From brian at freeswitch.org Tue Dec 6 15:33:38 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 6 Dec 2016 07:33:38 -0500 Subject: [Freeswitch-users] RE- FreeSWITCH originate api command question In-Reply-To: References: Message-ID: call_timeout has zero effect there, you should be using leg_timeout. 1. ignore_early_media=false is the default NO need to specify it, ignore_early_media=true will prevent the originate from returning when media is received. return_ring_ready=true is really not compatible with ignore_early_media=true they conflict, do you or do you not want to originate to return because ignore_early_media=true says no, but return_ring_ready=true say yes! 2. Not in this configuration the two options conflict 3. If you want originate to return when it receives a 183 do not set ignore_early_media=true, or any other variable for that matter. On Tue, Dec 6, 2016 at 4:57 AM, Andrew Keil wrote: > To FreeSWITCH Users, > > > > I have a need to have the FreeSWITCH originate API command to return ASAP > (and not wait for 200 OK SDP (ie. CONNECT)). > > > > My FreeSWITCH version is the latest production release 1.6.13. > > > > This is easy to test from fs_cli: > > *originate > {call_timeout=45,ignore_early_media=true,return_ring_ready=true}sofia/gateway/mygateway/xxxxxxxxxx;user=phone > 5000* > > > > Where: xxxxxxxxxx = outbound phone number > > > > *After looking at my SIP Trunk provider?s SIP Flow the following happens:* > > > > Tx: INVITE SDP > > Rx: 100 Trying > > Rx: 183 Session Progress SDP > > Tx: RTP {early media} > > Rx: 180 Ringing > > Rx: 200 OK SDP > > Tx: ACK > > Rx: BYE > > Tx: 200 OK > > > > Based on the above flow, I understand that since 183 SDP is received then > the 180 Ringing is not used by FreeSWITCH (based on reading other comments > on this topic), therefore what settings should I use inside the originate > command in order for the originate API call to return and start service > 5000 flow when 183 SDP is received. > > > > *My questions:* > > 1) Should ignore_early_media=true or ignore_early_media=false or > ignore_early_media=ring_ready for originate to return when 183 SDP is > received? > > 2) Will return_ring_ready=true have no affect based on the above > call flow? > > 3) Are there any other settings that I should use to enable > originate to return when 183 SDP is received? > > > > 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 > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161206/a73d6b2b/attachment-0001.html From devang.nathwani31589 at gmail.com Tue Dec 6 15:40:00 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Tue, 6 Dec 2016 18:10:00 +0530 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: References: Message-ID: I have tried using, rxfax(*/tmp/${uuid}-FAX.tif*) without 'chmod 666' as well, but got the same result so i tired with chmod. @Brian, don't know the exact source from where i got this solution any other suggestion or hunch? On Tue, Dec 6, 2016 at 5:55 PM, Brian West wrote: > rxfax(*chmod 666 /tmp/${uuid}-FAX.tif*) -> rxfax(*/tmp/${uuid}-FAX.tif*) > > I would like to know where you read docs that lead up to that solution. > > /b > > > On Tue, Dec 6, 2016 at 3:55 AM, Mirko Brankovic > wrote: > >> I don't think it will work like that, >> >> you can just use: >> >>> rxfax( /tmp/${uuid}-FAX.tif) >> >> Since it is /tmp it will we group and world read/writable >> >> On Tue, Dec 6, 2016 at 9:28 AM, devang nathwani < >> devang.nathwani31589 at gmail.com> wrote: >> >>> Dialplan: sofia/default/789456123 at 192.168.1.71 parsing >>> [default->customfax] continue=false >>> Dialplan: sofia/default/789456123 at 192.168.1.71 Regex (PASS) [customfax] >>> destination_number(789456123) =~ /^789456123$/ break=on-false >>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>> set(fax_enable_t38_request=true) >>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>> set(fax_enable_t38=true) >>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>> export(t38_passthru=true) >>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>> set(session_in_hangup_hook=true) >>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>> set(rtp_append_audio_sdp=a=fmtp:18 annexb=no) >>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action answer() >>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action rxfax(*chmod 666 >>> /tmp/${uuid}-FAX.tif*) >>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>> set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh >>> /tmp/${uuid}-FAX.tif 6 Hardik hardik.patel at inextrix.com >>> /tmp/${uuid}-FAX.tif ) >>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action hangup() >>> >>> On Mon, Dec 5, 2016 at 6:52 PM, Brian West wrote: >>> >>>> Sounds like a permission issue to where you're trying to save the tiff >>>> file, what are you doing in your dialplan? >>>> >>>> On Mon, Dec 5, 2016 at 8:00 AM, devang nathwani < >>>> devang.nathwani31589 at gmail.com> wrote: >>>> >>>>> Hello, >>>>> >>>>> Trying to develop Fax 2 Email features. >>>>> I am sending fax from the Zoiper for testing and it works perfectly in >>>>> my local machine but getting permission related error for receiving fax on >>>>> server >>>>> >>>>> >>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === >>>>> Negotiation Result ============================== >>>>> ========================= >>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote >>>>> station id: 964737 >>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local station >>>>> id: SpanDSP Fax Ident >>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer >>>>> Rate: 12000 >>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status off >>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote >>>>> country: >>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote >>>>> vendor: >>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote model: >>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 >>>>> ============================================================ >>>>> ================== >>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 >>>>> ============================================================ >>>>> ================== >>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax >>>>> processing not successful - result (41) TIFF/F file cannot be opened. >>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote >>>>> station id: 964737 >>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local station >>>>> id: SpanDSP Fax Ident >>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages >>>>> transferred: 0 >>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax >>>>> pages: 0 >>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image >>>>> resolution: 0x0 >>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer >>>>> Rate: 12000 >>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status off >>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote >>>>> country: >>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote >>>>> vendor: >>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote model: >>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 >>>>> ============================================================ >>>>> ================== >>>>> >>>>> Can any body help me please to resolve that issue? >>>>> I have attached my freeswitch logs it may help. >>>>> >>>>> http://pastebin.com/edTEimae >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>>> http://www.freeswitchcookbook.com (50% Discount using code >>>> FreeSwitch50) >>>> https://www.gofundme.com/freeswitch_ubuntu >>>> >>>> Got Bugs? Report them here ! | Reddit: >>>> /r/freeswitch >>>> >>>> *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 >>>> <+1%20918-420-9002> | *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/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Regards, >> Mirko >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > 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/20161206/7f8175c4/attachment-0001.html From brian at freeswitch.org Tue Dec 6 16:33:05 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 6 Dec 2016 08:33:05 -0500 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: References: Message-ID: Then it might not even negotiate with Zoiper. Which version of Zoiper are you using? /b On Tue, Dec 6, 2016 at 7:40 AM, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > I have tried using, rxfax(*/tmp/${uuid}-FAX.tif*) without 'chmod 666' as > well, but got the same result so i tired with chmod. > @Brian, don't know the exact source from where i got this solution > any other suggestion or hunch? > > On Tue, Dec 6, 2016 at 5:55 PM, Brian West wrote: > >> rxfax(*chmod 666 /tmp/${uuid}-FAX.tif*) -> rxfax(*/tmp/${uuid}-FAX.tif*) >> >> I would like to know where you read docs that lead up to that solution. >> >> /b >> >> >> On Tue, Dec 6, 2016 at 3:55 AM, Mirko Brankovic > > wrote: >> >>> I don't think it will work like that, >>> >>> you can just use: >>> >>>> rxfax( /tmp/${uuid}-FAX.tif) >>> >>> Since it is /tmp it will we group and world read/writable >>> >>> On Tue, Dec 6, 2016 at 9:28 AM, devang nathwani < >>> devang.nathwani31589 at gmail.com> wrote: >>> >>>> Dialplan: sofia/default/789456123 at 192.168.1.71 parsing >>>> [default->customfax] continue=false >>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Regex (PASS) >>>> [customfax] destination_number(789456123) =~ /^789456123$/ break=on-false >>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>>> set(fax_enable_t38_request=true) >>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>>> set(fax_enable_t38=true) >>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>>> export(t38_passthru=true) >>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>>> set(session_in_hangup_hook=true) >>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>>> set(rtp_append_audio_sdp=a=fmtp:18 annexb=no) >>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action answer() >>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action rxfax(*chmod 666 >>>> /tmp/${uuid}-FAX.tif*) >>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>>> set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh >>>> /tmp/${uuid}-FAX.tif 6 Hardik hardik.patel at inextrix.com >>>> /tmp/${uuid}-FAX.tif ) >>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action hangup() >>>> >>>> On Mon, Dec 5, 2016 at 6:52 PM, Brian West >>>> wrote: >>>> >>>>> Sounds like a permission issue to where you're trying to save the tiff >>>>> file, what are you doing in your dialplan? >>>>> >>>>> On Mon, Dec 5, 2016 at 8:00 AM, devang nathwani < >>>>> devang.nathwani31589 at gmail.com> wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> Trying to develop Fax 2 Email features. >>>>>> I am sending fax from the Zoiper for testing and it works perfectly >>>>>> in my local machine but getting permission related error for receiving fax >>>>>> on server >>>>>> >>>>>> >>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === >>>>>> Negotiation Result ============================== >>>>>> ========================= >>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote >>>>>> station id: 964737 >>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local >>>>>> station id: SpanDSP Fax Ident >>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer >>>>>> Rate: 12000 >>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status >>>>>> off >>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote >>>>>> country: >>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote >>>>>> vendor: >>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote >>>>>> model: >>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 >>>>>> ============================================================ >>>>>> ================== >>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 >>>>>> ============================================================ >>>>>> ================== >>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax >>>>>> processing not successful - result (41) TIFF/F file cannot be opened. >>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote >>>>>> station id: 964737 >>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local >>>>>> station id: SpanDSP Fax Ident >>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages >>>>>> transferred: 0 >>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax >>>>>> pages: 0 >>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image >>>>>> resolution: 0x0 >>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer >>>>>> Rate: 12000 >>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status >>>>>> off >>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote >>>>>> country: >>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote >>>>>> vendor: >>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote >>>>>> model: >>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 >>>>>> ============================================================ >>>>>> ================== >>>>>> >>>>>> Can any body help me please to resolve that issue? >>>>>> I have attached my freeswitch logs it may help. >>>>>> >>>>>> http://pastebin.com/edTEimae >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>>>> http://www.freeswitchcookbook.com (50% Discount using code >>>>> FreeSwitch50) >>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>> >>>>> Got Bugs? Report them here ! | Reddit: >>>>> /r/freeswitch >>>>> >>>>> *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 >>>>> <+1%20918-420-9002> | *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/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Regards, >>> Mirko >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161206/f5e57a6a/attachment-0001.html From steveayre at gmail.com Tue Dec 6 17:13:17 2016 From: steveayre at gmail.com (Steven Ayre) Date: Tue, 6 Dec 2016 14:13:17 +0000 Subject: [Freeswitch-users] How can I cancel a bgapi job? In-Reply-To: <1498269843.85638.1480976600976@mail.yahoo.com> References: <1498269843.85638.1480976600976.ref@mail.yahoo.com> <1498269843.85638.1480976600976@mail.yahoo.com> Message-ID: In the case of originate you could do 'api uuid_kill my_uuid' to immediately hangup the call' On 5 December 2016 at 22:23, D D wrote: > Hi, > > How can I cancel a bgapi job? > > Let's suppose I do bgapi command to originate a call and then am > immediately told it needs to > be cancelled...but it has not started yet. Even if I supply my own uuid > on the originate > and a job-uud on the bgapi command, I don't see any way I can cancel the > "unstarted" call. > > Note that I can construct a test case for this situation by doing a fs_cli > command > bgapi originate {originate_delay_start=30000,o > rigination_uuid=my_uuid}sofia/gateway/... > This command will start a request that cannot be cancelled until the call > actually starts (thirty > seconds later). > > Any ideas? > > 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/20161206/1aab123b/attachment.html From tculjaga at gmail.com Tue Dec 6 17:22:22 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Tue, 6 Dec 2016 15:22:22 +0100 Subject: [Freeswitch-users] originate and origination_uuid Message-ID: Hello everyone, i'd like to clarify one small thing: in an originate with multiple dialstrings separated by "|" ( meaning sequential dialing ) ... if i set origination_uuid as session variable, can i have the same uuid on every session/channel. something like that: bgapi originate {originate_timeout=60} [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44]sofia/gateway/gatewayA/1222333444| [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44]sofia/gateway/gatewayB/1222333444| [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44]sofia/gateway/gatewayC/1222333444 &application so in other words, when executing originate command, FS, will generate a separate thread for the call and within the thread it will generate these sessions. So, is it safe to set the same uuid on all session that are being dialed sequentially? Do sessions start and end sequentially ? Appreciate any answer on this. Regards, Tihomir. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/66b0ceb2/attachment.html From colin.morelli at gmail.com Tue Dec 6 17:32:17 2016 From: colin.morelli at gmail.com (Colin Morelli) Date: Tue, 6 Dec 2016 09:32:17 -0500 Subject: [Freeswitch-users] originate and origination_uuid In-Reply-To: References: Message-ID: Hey there, Even if this were possible (ultimately I believe it's going to come down to a race condition - will FS clean up the old channel's UUID and handles before starting the next one), it seems like a very bad idea. FS bases all channel actions on the premise of having unique session uuids. If you share UUIDs between channels, you're only going to cause yourself more headache. Assuming you're wanting to be able to identify that these three physical calls are all part of the same logical call, you'll be much better off generating a unique ID in your application somewhere and setting it on all legs as a channel var. Then you can simply use that identifier in your application, if you want this behavior. As to the direct answer to your question, though - as mentioned above I believe it'll be a race condition at best, and a consistent failure at worst (and I'm quite confident the FS guys are going to tell you not to do this). Best, Colin On Tue, Dec 6, 2016 at 9:22 AM, Tihomir Culjaga wrote: > Hello everyone, > > i'd like to clarify one small thing: > > in an originate with multiple dialstrings separated by "|" ( meaning > sequential dialing ) ... if i set origination_uuid as session variable, can > i have the same uuid on every session/channel. > > something like that: > > bgapi originate {originate_timeout=60} > > [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44] > sofia/gateway/gatewayA/1222333444| > [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44] > sofia/gateway/gatewayB/1222333444| > [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44] > sofia/gateway/gatewayC/1222333444 > > &application > > > so in other words, when executing originate command, FS, will generate a > separate thread for the call and within the thread it will generate these > sessions. So, is it safe to set the same uuid on all session that are being > dialed sequentially? > > Do sessions start and end sequentially ? > > > Appreciate any answer on this. > > > Regards, > Tihomir. > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/c1334a3e/attachment.html From caioebassis at hotmail.com Tue Dec 6 17:44:29 2016 From: caioebassis at hotmail.com (Caio Assis) Date: Tue, 6 Dec 2016 14:44:29 +0000 Subject: [Freeswitch-users] Socket Error [Too many open files] Message-ID: Good afternoon. Freeswitch info: Freeswitch version: Version 1.6.12 64bit O.S: Centos 7 Processor: Xeon Six Core RAM: 8GB Disk: SSD samsung 850 pro I've been facing a problem with freeswitch. When I generate many calls (around 300 calls), Freeswitch service stops receiving socket connection after this error: [ERR] mod_event_socket.c:3017 Error initilizing connection [CRIT] mod_event_socket.c:235 Stateful Listener 0 has expired [ERR] mod_event_socket.c:2975 Socket Error [Too many open files] I set the configuration below, but the problem persists and I have to restart the service to get it back up. ulimit -c unlimited # The maximum size of core files created. ulimit -d unlimited # The maximum size of a process's data segment. ulimit -f unlimited # The maximum size of files created by the shell (default option) ulimit -i unlimited # The maximum number of pending signals ulimit -n 999999 # The maximum number of open file descriptors. ulimit -q unlimited # The maximum POSIX message queue size ulimit -u unlimited # The maximum number of processes available to a single user. ulimit -v unlimited # The maximum amount of virtual memory available to the process. ulimit -x unlimited # ??? ulimit -s 240 # The maximum stack size ulimit -l unlimited # The maximum size that may be locked into memory. ulimit -a # All current limits are reported. I can't execute any freeswitch command, fs_cli -x "show calls", fs_cli -r, they all return that socket error. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/a799925e/attachment-0001.html From brian at freeswitch.org Tue Dec 6 17:48:18 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 6 Dec 2016 09:48:18 -0500 Subject: [Freeswitch-users] Socket Error [Too many open files] In-Reply-To: References: Message-ID: I can only guess you've done something or are using something that isn't closing the FD, Can you elaborate on what kinds of elements you have in your call flow? Conference, files, lua or some other scripts that might access files? /b On Tue, Dec 6, 2016 at 9:44 AM, Caio Assis wrote: > Good afternoon. > > > Freeswitch info: > > Freeswitch version: Version 1.6.12 64bit > O.S: Centos 7 > Processor: Xeon Six Core > RAM: 8GB > Disk: SSD samsung 850 pro > > I've been facing a problem with freeswitch. > When I generate many calls (around 300 calls), Freeswitch service stops > receiving socket connection after this error: > > [ERR] mod_event_socket.c:3017 Error initilizing connection > [CRIT] mod_event_socket.c:235 Stateful Listener 0 has expired > [ERR] mod_event_socket.c:2975 Socket Error [Too many open files] > > > I set the configuration below, but the problem persists and I have to > restart the service to get it back up. > > ulimit -c unlimited # The maximum size of core files created. > ulimit -d unlimited # The maximum size of a process's data segment. > ulimit -f unlimited # The maximum size of files created by the shell (default option) > ulimit -i unlimited # The maximum number of pending signals > ulimit -n 999999 # The maximum number of open file descriptors. > ulimit -q unlimited # The maximum POSIX message queue size > ulimit -u unlimited # The maximum number of processes available to a single user. > ulimit -v unlimited # The maximum amount of virtual memory available to the process. > ulimit -x unlimited # ??? > ulimit -s 240 # The maximum stack size > ulimit -l unlimited # The maximum size that may be locked into memory. > ulimit -a # All current limits are reported. > > > I can't execute any freeswitch command, fs_cli -x "show calls", fs_cli -r, they all return that socket error. > > > 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161206/b23b45ed/attachment.html From colin.morelli at gmail.com Tue Dec 6 17:54:13 2016 From: colin.morelli at gmail.com (Colin Morelli) Date: Tue, 6 Dec 2016 09:54:13 -0500 Subject: [Freeswitch-users] Socket Error [Too many open files] In-Reply-To: References: Message-ID: When you say "I set the configuration below" - did you set this by executing the ulimit command or by editing /etc/security/limits.conf (or the equivalent for your distro)? IIRC the ulimit commands only change the limits for the current shell and its children. Depending on how FS is launched, it may very well not be a child of the current shell (or it's forking off as a different user), and as such those limits aren't applying. You can run "cat /proc/FS_PID/limits" to see the actual limits imposed on the FS process(es) Best, Colin On Tue, Dec 6, 2016 at 9:48 AM, Brian West wrote: > I can only guess you've done something or are using something that isn't > closing the FD, Can you elaborate on what kinds of elements you have in > your call flow? Conference, files, lua or some other scripts that might > access files? > > /b > > > On Tue, Dec 6, 2016 at 9:44 AM, Caio Assis > wrote: > >> Good afternoon. >> >> >> Freeswitch info: >> >> Freeswitch version: Version 1.6.12 64bit >> O.S: Centos 7 >> Processor: Xeon Six Core >> RAM: 8GB >> Disk: SSD samsung 850 pro >> >> I've been facing a problem with freeswitch. >> When I generate many calls (around 300 calls), Freeswitch service stops >> receiving socket connection after this error: >> >> [ERR] mod_event_socket.c:3017 Error initilizing connection >> [CRIT] mod_event_socket.c:235 Stateful Listener 0 has expired >> [ERR] mod_event_socket.c:2975 Socket Error [Too many open files] >> >> >> I set the configuration below, but the problem persists and I have to >> restart the service to get it back up. >> >> ulimit -c unlimited # The maximum size of core files created. >> ulimit -d unlimited # The maximum size of a process's data segment. >> ulimit -f unlimited # The maximum size of files created by the shell (default option) >> ulimit -i unlimited # The maximum number of pending signals >> ulimit -n 999999 # The maximum number of open file descriptors. >> ulimit -q unlimited # The maximum POSIX message queue size >> ulimit -u unlimited # The maximum number of processes available to a single user. >> ulimit -v unlimited # The maximum amount of virtual memory available to the process. >> ulimit -x unlimited # ??? >> ulimit -s 240 # The maximum stack size >> ulimit -l unlimited # The maximum size that may be locked into memory. >> ulimit -a # All current limits are reported. >> >> >> I can't execute any freeswitch command, fs_cli -x "show calls", fs_cli -r, they all return that socket error. >> >> >> 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> > | *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/20161206/8da637bf/attachment-0001.html From brian at freeswitch.org Tue Dec 6 18:09:14 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 6 Dec 2016 10:09:14 -0500 Subject: [Freeswitch-users] originate and origination_uuid In-Reply-To: References: Message-ID: Just because you can, doesn't mean you should, And as Colin pointed out, you're gonna have a race condition, And you'll need to get used to seeing this: 2016-12-06 09:07:56.268518 [CRIT] switch_core_session.c:2294 Duplicate UUID! 2016-12-06 09:07:56.268518 [CRIT] mod_sofia.c:4522 Error Creating Session And I can only imagine the hell this'll cause with billing. /b On Tue, Dec 6, 2016 at 9:22 AM, Tihomir Culjaga wrote: > Hello everyone, > > i'd like to clarify one small thing: > > in an originate with multiple dialstrings separated by "|" ( meaning > sequential dialing ) ... if i set origination_uuid as session variable, can > i have the same uuid on every session/channel. > > something like that: > > bgapi originate {originate_timeout=60} > > [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44] > sofia/gateway/gatewayA/1222333444| > [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44] > sofia/gateway/gatewayB/1222333444| > [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44] > sofia/gateway/gatewayC/1222333444 > > &application > > > so in other words, when executing originate command, FS, will generate a > separate thread for the call and within the thread it will generate these > sessions. So, is it safe to set the same uuid on all session that are being > dialed sequentially? > > Do sessions start and end sequentially ? > > > Appreciate any answer on this. > > > Regards, > Tihomir. > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161206/4ff52998/attachment.html From brian at freeswitch.org Tue Dec 6 18:10:24 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 6 Dec 2016 10:10:24 -0500 Subject: [Freeswitch-users] Socket Error [Too many open files] In-Reply-To: References: Message-ID: Depends on how your system is setup, Can you execute this at fs_cli: system ulimit -a On Tue, Dec 6, 2016 at 9:54 AM, Colin Morelli wrote: > When you say "I set the configuration below" - did you set this by > executing the ulimit command or by editing /etc/security/limits.conf (or > the equivalent for your distro)? IIRC the ulimit commands only change the > limits for the current shell and its children. Depending on how FS is > launched, it may very well not be a child of the current shell (or it's > forking off as a different user), and as such those limits aren't applying. > > You can run "cat /proc/FS_PID/limits" to see the actual limits imposed on > the FS process(es) > > Best, > Colin > > On Tue, Dec 6, 2016 at 9:48 AM, Brian West wrote: > >> I can only guess you've done something or are using something that isn't >> closing the FD, Can you elaborate on what kinds of elements you have in >> your call flow? Conference, files, lua or some other scripts that might >> access files? >> >> /b >> >> >> On Tue, Dec 6, 2016 at 9:44 AM, Caio Assis >> wrote: >> >>> Good afternoon. >>> >>> >>> Freeswitch info: >>> >>> Freeswitch version: Version 1.6.12 64bit >>> O.S: Centos 7 >>> Processor: Xeon Six Core >>> RAM: 8GB >>> Disk: SSD samsung 850 pro >>> >>> I've been facing a problem with freeswitch. >>> When I generate many calls (around 300 calls), Freeswitch service stops >>> receiving socket connection after this error: >>> >>> [ERR] mod_event_socket.c:3017 Error initilizing connection >>> [CRIT] mod_event_socket.c:235 Stateful Listener 0 has expired >>> [ERR] mod_event_socket.c:2975 Socket Error [Too many open files] >>> >>> >>> I set the configuration below, but the problem persists and I have to >>> restart the service to get it back up. >>> >>> ulimit -c unlimited # The maximum size of core files created. >>> ulimit -d unlimited # The maximum size of a process's data segment. >>> ulimit -f unlimited # The maximum size of files created by the shell (default option) >>> ulimit -i unlimited # The maximum number of pending signals >>> ulimit -n 999999 # The maximum number of open file descriptors. >>> ulimit -q unlimited # The maximum POSIX message queue size >>> ulimit -u unlimited # The maximum number of processes available to a single user. >>> ulimit -v unlimited # The maximum amount of virtual memory available to the process. >>> ulimit -x unlimited # ??? >>> ulimit -s 240 # The maximum stack size >>> ulimit -l unlimited # The maximum size that may be locked into memory. >>> ulimit -a # All current limits are reported. >>> >>> >>> I can't execute any freeswitch command, fs_cli -x "show calls", fs_cli -r, they all return that socket error. >>> >>> >>> 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 (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> >> | *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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161206/e94c5723/attachment-0001.html From roman at dissauer.net Tue Dec 6 18:57:33 2016 From: roman at dissauer.net (Roman Dissauer) Date: Tue, 6 Dec 2016 16:57:33 +0100 Subject: [Freeswitch-users] log X-AUTH-IP instead of source IP In-Reply-To: References: <20161129082853.GA2139@saurus> <4B787B29-13CC-498D-AB59-B5C2F7636747@dissauer.net> Message-ID: Hi, I solved that on Kamailio side: onreply_route { ... if (is_method("REGISTER|INVITE")) { if (pcre_match("$rs", "^4..")) { xlog("L_INFO", "Unauthorized Request from $T_req($si)\n"); } } ... } Thanks! Roman > Am 30.11.2016 um 04:52 schrieb Sergey Safarov : > > When you use kamailio then close sip interface port via iptables rules like "block all except kamailio IP where destination port 5060" > fail2ban is not required in your case. > > Failed registration and failed INVITE authorization can be logged at kamailio configuration. > > > ??, 30 ????. 2016, 0:21 Steven Ayre >: > Are you using apply-proxy-acl? > > If not see if that helps, otherwise perhaps file a Jira to request it. > > Regards, > Steve > > > On 29 November 2016 at 08:37, Roman Dissauer > wrote: > Hi Alex, > > I already get the original source IP into FS but I need to log unsuccessful auth attempts with original IP to block them with fail2ban. > The default log message ?SIP auth challenge?? does only log the Proxy IP > > Roman > > > > Am 29.11.2016 um 09:28 schrieb Alex Balashov >: > > > > Hi Roman, > > > > It sounds like you should just attach the original source IP as a custom SIP header on the Kamailio side: > > > > append_hf("X-Orig-SRC-IP: $si\r\n"); > > > > You can then recover that in FreeSWITCH with ${sip_h_X-Orig-SRC-IP}. > > > > -- Alex > > > > -- > > Alex Balashov | Principal | Evariste Systems LLC > > > > Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) > > Web: http://www.evaristesys.com/ , http://www.csrpswitch.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/942d10a4/attachment.html From v.zakhozhai at gmail.com Tue Dec 6 20:24:04 2016 From: v.zakhozhai at gmail.com (Vladyslav Zakhozhai) Date: Tue, 6 Dec 2016 19:24:04 +0200 Subject: [Freeswitch-users] Freeswitch CA certs Message-ID: Hi, I wonder why freeswitch does not use system's CA certificates for SSL/TLS verification? I have Let's Encrypt certificate on the web secrive side and I have troubles with http_cache over https (server's cert cant be verified). In freeswitch'es wiki I've read ( https://wiki.freeswitch.org/wiki/Mod_http_cache#Installing): For HTTPS support, grab the latest CA certs from http://curl.haxx.se/ca/cacert.pem and install in /usr/local/freeswitch/conf. An older copy is also available in freeswitch/src/mod/applications/mod_http_cache/conf/cacert.pem. First, what is haxx.se? I do not know and it is not an authority for me. So do I need to bundle cacers myself? Why do I need to do it (for verification of SSL/TLS of external service with real certificate) if I already have it on my system? Tell me please where I am wrong? Thanks in advance. -- ? ?????????, ????????? ??????? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/4f67b228/attachment.html From tru083 at yahoo.com Tue Dec 6 20:46:56 2016 From: tru083 at yahoo.com (D D) Date: Tue, 6 Dec 2016 17:46:56 +0000 (UTC) Subject: [Freeswitch-users] How can I cancel a bgapi job? In-Reply-To: References: <1498269843.85638.1480976600976.ref@mail.yahoo.com> <1498269843.85638.1480976600976@mail.yahoo.com> Message-ID: <308866726.923943.1481046416936@mail.yahoo.com> I tried that, but since the call did not start yet, the does not yet exist. I need to be able to cancel it while it is queued to start, but not yet started. What else do you recommend? Show original message On Tuesday, December 6, 2016 8:14 AM, Steven Ayre wrote: In the case of originate you could do 'api uuid_kill my_uuid' to immediately hangup the call' On 5 December 2016 at 22:23, D D wrote: Hi, How can I cancel a bgapi job? Let's suppose I do bgapi command to originate a call and then am immediately told it needs tobe cancelled...but it has not started yet.? Even if I supply my own uuid on the originateand a job-uud on the bgapi command, I don't see any way I can cancel the "unstarted" call. Note that I can construct a test case for this situation by doing a fs_cli command? ??bgapi originate {originate_delay_start=30000,o rigination_uuid=my_uuid}sofia/ gateway/...This command will start a request that cannot be cancelled until the call actually starts (thirtyseconds later). Any ideas? Thanks,David ______________________________ ______________________________ _____________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions .com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.o rg http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswi tch.org http://lists.freeswitch.org/ma ilman/listinfo/freeswitch-user s UNSUBSCRIBE:http://lists.frees witch.org/mailman/options/ freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/efdff38c/attachment-0001.html From lists at telefaks.de Tue Dec 6 21:06:42 2016 From: lists at telefaks.de (Peter Steinbach) Date: Tue, 06 Dec 2016 19:06:42 +0100 Subject: [Freeswitch-users] T.38 RTP Poll failed with error: 9 [Bad file descriptor] In-Reply-To: References: <58403856.80404@telefaks.de> <58405772.902@telefaks.de> <58413C07.9060909@telefaks.de> Message-ID: <5846FE32.50300@telefaks.de> Thanks, with yasm it worked. /Peter On 12/05/16 14:24, Brian West wrote: > remove yasm and install nasm, or it may be the reverse of that. > > /b > > > On Fri, Dec 2, 2016 at 4:16 AM, Peter Steinbach > wrote: > > I try now to compile new minimal freeswitch. > > But get errors with libvpx. > > root at fsmin:/usr/src/freeswitch# make > make[1]: Entering directory '/usr/src/freeswitch/libs/libvpx' > [AS] vpx_dsp/x86/intrapred_sse2.asm.o > vpx_dsp/x86/intrapred_sse2.asm:64: error: invalid combination of > opcode and operands > Makefile:179: recipe for target 'vpx_dsp/x86/intrapred_sse2.asm.o' > failed > make[2]: *** [vpx_dsp/x86/intrapred_sse2.asm.o] Error 1 > Makefile:17: recipe for target '.DEFAULT' failed > make[1]: *** [.DEFAULT] Error 2 > make[1]: Leaving directory '/usr/src/freeswitch/libs/libvpx' > Makefile:3911: recipe for target 'libs/libvpx/libvpx.a' failed > make: *** [libs/libvpx/libvpx.a] Error 2 > > > > On 12/01/16 18:27, Anthony Minessale wrote: >> Has nothing to do with the port range, that problem was related >> specifically to T.38 endpoints who were using RTCP before they >> changed to UDPTL. >> >> On Thu, Dec 1, 2016 at 11:19 AM, Brian West > > wrote: >> >> You'll want 1.6.13 or master, this bug was a pain in the butt >> to find and fix. >> >> /b >> >> On Thu, Dec 1, 2016 at 11:01 AM, Peter Steinbach >> > wrote: >> >> Thanks, >> >> by the way, we found out in further testing, when setting >> RTP ports to 65000+, this error went away. >> >> But anyway, we will have to update/recompile Freeswitch. >> >> >> >> Best regards >> Peter >> >> On 12/01/16 17:21, Brian West wrote: >>> You're on an older release, we've fixed this already. >>> >>> /b >>> >>> >>> On Thu, Dec 1, 2016 at 8:48 AM, Peter Steinbach >>> > wrote: >>> >>> Hello, >>> >>> I have a strange error when proyy-media T38 faxes. >>> Freeswitch is behind NAT (internal 192.168.12.248, >>> external 5.10.xxx.yyy), other, receiving Server is >>> also a Freeswitch >>> >>> A connection is made via G.711A, we hear the >>> machines negociating, then we receive a T.38 >>> reinvite from the remote Freeswitch server. >>> The local ATA 30@ reponds with T38 SDP, Freeswitch >>> is passing it to the remote site (and there the >>> error occurs). See error in bold: >>> >>> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 >>> Channel sofia/internal/30 at 192.168.12.248 >>> entering >>> state [completing][200] >>> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6944 >>> Duplicate SDP >>> v=0 >>> o=30 8002 8001 IN IP4 192.168.12.99 >>> s=SIP Call >>> c=IN IP4 192.168.12.99 >>> t=0 0 >>> m=image 5012 udptl t38 >>> a=T38FaxVersion:0 >>> a=T38MaxBitRate:14400 >>> a=T38FaxRateManagement:transferredTCF >>> a=T38FaxMaxBuffer:500 >>> a=T38FaxMaxDatagram:500 >>> a=T38FaxUdpEC:t38UDPRedundancy >>> >>> 2016-12-01 15:28:55.534228 [DEBUG] sofia.c:6937 >>> Channel sofia/internal/30 at 192.168.12.248 >>> entering >>> state [ready][200] >>> 2016-12-01 15:28:55.554501 [DEBUG] mod_sofia.c:2088 >>> Responding with 200 [OK] >>> 2016-12-01 15:28:55.554501 [DEBUG] >>> switch_core_media.c:8955 >>> sofia/external/0403801xxxxxxx image media sdp: >>> v=0 >>> o=FreeSWITCH 1480572959 1480572961 IN IP4 5.10.xxx.yyy >>> s=FreeSWITCH >>> c=IN IP4 5.10.xxx.yyy >>> t=0 0 >>> m=image 29544 udptl t38 >>> a=T38FaxVersion:0 >>> a=T38MaxBitRate:14400 >>> a=T38FaxRateManagement:transferredTCF >>> a=T38FaxMaxBuffer:500 >>> a=T38FaxMaxDatagram:500 >>> a=T38FaxUdpEC:t38UDPRedundancy >>> >>> *2016-12-01 15:28:55.554501 [ERR] switch_rtp.c:6420 >>> Poll failed with error: 9 [Bad file descriptor]* >>> 2016-12-01 15:28:55.554501 [DEBUG] >>> switch_ivr_bridge.c:712 >>> sofia/external/0403801xxxxxxx ending bridge by >>> request from read function >>> 2016-12-01 15:28:55.554501 [DEBUG] >>> switch_ivr_bridge.c:785 BRIDGE THREAD DONE >>> [sofia/external/0403801xxxxxxx] >>> 2016-12-01 15:28:55.554501 [NOTICE] >>> switch_ivr_bridge.c:889 Hangup >>> sofia/external/0403801xxxxxxx [CS_EXCHANGE_MEDIA] >>> [NORMAL_CLEAR >>> >>> Some background Info: >>> >>> * Freeswitch runs in LXC environment >>> * Freeswitch runs as non-priviledged user. >>> >>> What is the cause of this? Maybe a problem with port >>> 29544? But port 29544 was already previously used >>> with G.711A. >>> >>> -- >>> With kind regards >>> Peter Steinbach >>> >>> Telefaks Services GmbH >>> mailto:lists (att) telefaks.de >>> Internet: www.telefaks.de >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 (50% Discount using code >>> FreeSwitch50) >>> http://www.freeswitchcookbook.com >>> (50% Discount using >>> code FreeSwitch50) >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> >>> 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 >> >> >> -- >> With kind regards >> Peter Steinbach >> >> Telefaks Services GmbH >> mailto:lists (att) telefaks.de >> Internet: www.telefaks.de >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code >> FreeSwitch50) >> http://www.freeswitchcookbook.com >> (50% Discount using code >> FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> >> 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 >> >> >> >> >> -- >> 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 > > > -- > With kind regards > Peter Steinbach > > Telefaks Services GmbH > mailto:lists (att) telefaks.de > Internet: www.telefaks.de > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > 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 -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/4ca55a21/attachment-0001.html From mike at jerris.com Tue Dec 6 21:13:48 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 6 Dec 2016 13:13:48 -0500 Subject: [Freeswitch-users] Freeswitch CA certs In-Reply-To: References: Message-ID: haxx.se are the makers of curl. > On Dec 6, 2016, at 12:24 PM, Vladyslav Zakhozhai wrote: > > Hi, > > I wonder why freeswitch does not use system's CA certificates for SSL/TLS verification? I have Let's Encrypt certificate on the web secrive side and I have troubles with http_cache over https (server's cert cant be verified). > > In freeswitch'es wiki I've read (https://wiki.freeswitch.org/wiki/Mod_http_cache#Installing ): > > For HTTPS support, grab the latest CA certs from http://curl.haxx.se/ca/cacert.pem and install in /usr/local/freeswitch/conf. An older copy is also available in freeswitch/src/mod/applications/mod_http_cache/conf/cacert.pem. > > First, what is haxx.se ? I do not know and it is not an authority for me. So do I need to bundle cacers myself? Why do I need to do it (for verification of SSL/TLS of external service with real certificate) if I already have it on my system? > > Tell me please where I am wrong? Thanks in advance. > > -- > ? ?????????, > ????????? ??????? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/1f01dd64/attachment.html From gregor at infomedia.si Tue Dec 6 21:46:58 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Tue, 06 Dec 2016 18:46:58 +0000 Subject: [Freeswitch-users] Freeswitch and mobile clients Message-ID: I would really appreciate feedback. I am using Zoiper (Android) as mobile client and it constantly loosing connection with freeswitch after a while. It show registration timeout. I set transportation to TCP to preserve battery drain and set to keep awake in background. Is there something I can set in FS like session timeout that would help. Can you please point me how to debug. Which mobile client you are using? Best regards, Gregor -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/436ab3b6/attachment.html From lexxua at gmail.com Tue Dec 6 22:43:01 2016 From: lexxua at gmail.com (Volodymyr Fedorov) Date: Tue, 6 Dec 2016 20:43:01 +0100 Subject: [Freeswitch-users] Freeswitch and mobile clients In-Reply-To: References: Message-ID: Hi Gregor, Gs Wave quite nice client with SIP/Tls and SRTP. On Tue, Dec 6, 2016 at 7:46 PM, Gregor Nanger wrote: > I would really appreciate feedback. > > I am using Zoiper (Android) as mobile client and it constantly loosing > connection with freeswitch after a while. It show registration timeout. I > set transportation to TCP to preserve battery drain and set to keep awake > in background. > > Is there something I can set in FS like session timeout that would help. > > Can you please point me how to debug. > > Which mobile client you are using? > > Best regards, Gregor > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20161206/e7c66baf/attachment.html From tculjaga at gmail.com Tue Dec 6 22:43:38 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Tue, 6 Dec 2016 20:43:38 +0100 Subject: [Freeswitch-users] originate and origination_uuid In-Reply-To: References: Message-ID: :=) well, running the originate from console works fine, but u never know whats gonna happen when you have some real load on the servers :=) since it was working fine from console, was just wondering whether this is an issue in real life traffic... and yes, i do agree its more a headache than a benefit. fill fallback to generating unique uuids for all sessions. Thanks, Tihomir. On 6 December 2016 at 16:09, Brian West wrote: > Just because you can, doesn't mean you should, And as Colin pointed out, > you're gonna have a race condition, And you'll need to get used to seeing > this: > > 2016-12-06 09:07:56.268518 [CRIT] switch_core_session.c:2294 Duplicate > UUID! > > 2016-12-06 09:07:56.268518 [CRIT] mod_sofia.c:4522 Error Creating Session > > And I can only imagine the hell this'll cause with billing. > > > /b > > > > On Tue, Dec 6, 2016 at 9:22 AM, Tihomir Culjaga > wrote: > >> Hello everyone, >> >> i'd like to clarify one small thing: >> >> in an originate with multiple dialstrings separated by "|" ( meaning >> sequential dialing ) ... if i set origination_uuid as session variable, can >> i have the same uuid on every session/channel. >> >> something like that: >> >> bgapi originate {originate_timeout=60} >> >> [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44]sofia >> /gateway/gatewayA/1222333444| >> [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44]sofia >> /gateway/gatewayB/1222333444| >> [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44]sofia >> /gateway/gatewayC/1222333444 >> >> &application >> >> >> so in other words, when executing originate command, FS, will generate a >> separate thread for the call and within the thread it will generate these >> sessions. So, is it safe to set the same uuid on all session that are being >> dialed sequentially? >> >> Do sessions start and end sequentially ? >> >> >> Appreciate any answer on this. >> >> >> Regards, >> Tihomir. >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 > <+1%20918-420-9002> | *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/20161206/e3fdb330/attachment-0001.html From brian at freeswitch.org Tue Dec 6 22:55:48 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 6 Dec 2016 14:55:48 -0500 Subject: [Freeswitch-users] originate and origination_uuid In-Reply-To: References: Message-ID: Yes, they'll all fail if the first one fails rapidly. I tested it with invalid urls and the second two in your example fail with duplicate uuid, which is where I copied and pasted the exact two lines from my logs when I tested what you were trying to do. /b On Tue, Dec 6, 2016 at 2:43 PM, Tihomir Culjaga wrote: > :=) > > well, running the originate from console works fine, but u never know > whats gonna happen when you have some real load on the servers :=) > > since it was working fine from console, was just wondering whether this is > an issue in real life traffic... and yes, i do agree its more a headache > than a benefit. > > fill fallback to generating unique uuids for all sessions. > > > Thanks, > Tihomir. > > > On 6 December 2016 at 16:09, Brian West wrote: > >> Just because you can, doesn't mean you should, And as Colin pointed out, >> you're gonna have a race condition, And you'll need to get used to seeing >> this: >> >> 2016-12-06 09:07:56.268518 [CRIT] switch_core_session.c:2294 Duplicate >> UUID! >> >> 2016-12-06 09:07:56.268518 [CRIT] mod_sofia.c:4522 Error Creating Session >> >> And I can only imagine the hell this'll cause with billing. >> >> >> /b >> >> >> >> On Tue, Dec 6, 2016 at 9:22 AM, Tihomir Culjaga >> wrote: >> >>> Hello everyone, >>> >>> i'd like to clarify one small thing: >>> >>> in an originate with multiple dialstrings separated by "|" ( meaning >>> sequential dialing ) ... if i set origination_uuid as session variable, can >>> i have the same uuid on every session/channel. >>> >>> something like that: >>> >>> bgapi originate {originate_timeout=60} >>> >>> [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44]sofia >>> /gateway/gatewayA/1222333444| >>> [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44]sofia >>> /gateway/gatewayB/1222333444| >>> [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44]sofia >>> /gateway/gatewayC/1222333444 >>> >>> &application >>> >>> >>> so in other words, when executing originate command, FS, will generate a >>> separate thread for the call and within the thread it will generate these >>> sessions. So, is it safe to set the same uuid on all session that are being >>> dialed sequentially? >>> >>> Do sessions start and end sequentially ? >>> >>> >>> Appreciate any answer on this. >>> >>> >>> Regards, >>> Tihomir. >>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 >> <+1%20918-420-9002> | *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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161206/00036989/attachment.html From covici at ccs.covici.com Tue Dec 6 23:09:58 2016 From: covici at ccs.covici.com (John Covici) Date: Tue, 06 Dec 2016 15:09:58 -0500 Subject: [Freeswitch-users] Freeswitch and mobile clients In-Reply-To: References: Message-ID: I am using groundwire and it works quite well, except sometimes there is some strange audio distortion. They have servers which actually keeps the registration and gives you push notifications when a call comes in. On Tue, 06 Dec 2016 13:46:58 -0500, Gregor Nanger wrote: > > [1 ] > [1.1 ] > [1.2 ] > I would really appreciate feedback. > > I am using Zoiper (Android) as mobile client and it constantly loosing connection with freeswitch after a while. It show registration timeout. I set transportation to TCP to preserve battery drain and set to keep awake in background. > > Is there something I can set in FS like session timeout that would help. > > Can you please point me how to debug. > > Which mobile client you are using? > > Best regards, Gregor > -- > > Gregor Nanger CTO > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > [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 -- 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 jkomar at jbox.ca Tue Dec 6 23:12:43 2016 From: jkomar at jbox.ca (Jason Komar) Date: Tue, 6 Dec 2016 13:12:43 -0700 Subject: [Freeswitch-users] Freeswitch and mobile clients In-Reply-To: References: Message-ID: I've been using Bria which has been working fine for the most part. Groundwire sounds pretty interesting though. I may have to check that out. Jason On Tue, Dec 6, 2016 at 1:09 PM, John Covici wrote: > I am using groundwire and it works quite well, except sometimes there > is some strange audio distortion. They have servers which actually > keeps the registration and gives you push notifications when a call > comes in. > > On Tue, 06 Dec 2016 13:46:58 -0500, > Gregor Nanger wrote: > > > > [1 ] > > [1.1 ] > > [1.2 ] > > I would really appreciate feedback. > > > > I am using Zoiper (Android) as mobile client and it constantly loosing > connection with freeswitch after a while. It show registration timeout. I > set transportation to TCP to preserve battery drain and set to keep awake > in background. > > > > Is there something I can set in FS like session timeout that would help. > > > > Can you please point me how to debug. > > > > Which mobile client you are using? > > > > Best regards, Gregor > > -- > > > > Gregor Nanger CTO > > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > > ? www.infomedia.si > > [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 > > -- > 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/20161206/5f583e5a/attachment-0001.html From asilva at wirelessmundi.com Tue Dec 6 23:34:07 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Tue, 6 Dec 2016 21:34:07 +0100 Subject: [Freeswitch-users] Freeswitch and mobile clients In-Reply-To: References: Message-ID: <431176c0-2d15-5ac6-c726-020e80f67cde@wirelessmundi.com> i'm also using GS WAVE, video support and ldap its a plus. i've try also linphone it works nice but i miss ldap contacts... On 12/06/2016 09:12 PM, Jason Komar wrote: > I've been using Bria which has been working fine for the most part. > Groundwire sounds pretty interesting though. I may have to check that > out. > > Jason > > > On Tue, Dec 6, 2016 at 1:09 PM, John Covici > wrote: > > I am using groundwire and it works quite well, except sometimes there > is some strange audio distortion. They have servers which actually > keeps the registration and gives you push notifications when a call > comes in. > > On Tue, 06 Dec 2016 13:46:58 -0500, > Gregor Nanger wrote: > > > > [1 ] > > [1.1 ] > > [1.2 ] > > I would really appreciate feedback. > > > > I am using Zoiper (Android) as mobile client and it constantly > loosing connection with freeswitch after a while. It show > registration timeout. I set transportation to TCP to preserve > battery drain and set to keep awake in background. > > > > Is there something I can set in FS like session timeout that > would help. > > > > Can you please point me how to debug. > > > > Which mobile client you are using? > > > > Best regards, Gregor > > -- > > > > Gregor Nanger CTO > > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > > ? www.infomedia.si > > [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 > > -- > 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/20161206/315d5cde/attachment.html From gregor at infomedia.si Wed Dec 7 00:54:31 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Tue, 06 Dec 2016 21:54:31 +0000 Subject: [Freeswitch-users] Freeswitch and mobile clients In-Reply-To: References: Message-ID: Yes, I have tried,thank you. It is just that every client is stable on udp, but it is loosing connection on TCP and I do not know how to trace problem. Do you use gswave on udp? Is tls communication via tcp? On Tue, Dec 6, 2016, 20:44 Volodymyr Fedorov wrote: > Hi Gregor, > Gs Wave quite nice client with SIP/Tls and SRTP. > > > > On Tue, Dec 6, 2016 at 7:46 PM, Gregor Nanger wrote: > > I would really appreciate feedback. > > I am using Zoiper (Android) as mobile client and it constantly loosing > connection with freeswitch after a while. It show registration timeout. I > set transportation to TCP to preserve battery drain and set to keep awake > in background. > > Is there something I can set in FS like session timeout that would help. > > Can you please point me how to debug. > > Which mobile client you are using? > > Best regards, Gregor > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/73182b0c/attachment-0001.html From rtreleaven at bunnykick.ca Wed Dec 7 00:57:40 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Tue, 6 Dec 2016 16:57:40 -0500 Subject: [Freeswitch-users] Freeswitch and mobile clients In-Reply-To: References: Message-ID: Perhaps the firewall you use is aging out stateful TCP entries too quickly. On Dec 6, 2016 4:55 PM, "Gregor Nanger" wrote: > Yes, I have tried,thank you. > It is just that every client is stable on udp, but it is loosing > connection on TCP and I do not know how to trace problem. > > Do you use gswave on udp? Is tls communication via tcp? > > On Tue, Dec 6, 2016, 20:44 Volodymyr Fedorov wrote: > >> Hi Gregor, >> Gs Wave quite nice client with SIP/Tls and SRTP. >> >> >> >> On Tue, Dec 6, 2016 at 7:46 PM, Gregor Nanger >> wrote: >> >> I would really appreciate feedback. >> >> I am using Zoiper (Android) as mobile client and it constantly loosing >> connection with freeswitch after a while. It show registration timeout. I >> set transportation to TCP to preserve battery drain and set to keep awake >> in background. >> >> Is there something I can set in FS like session timeout that would help. >> >> Can you please point me how to debug. >> >> Which mobile client you are using? >> >> Best regards, Gregor >> -- >> Gregor Nanger >> >> *CTO* >> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >> ? www.infomedia.si >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/68e62709/attachment.html From lexxua at gmail.com Wed Dec 7 01:22:29 2016 From: lexxua at gmail.com (Volodymyr Fedorov) Date: Tue, 6 Dec 2016 23:22:29 +0100 Subject: [Freeswitch-users] Freeswitch and mobile clients In-Reply-To: References: Message-ID: Yep, you can use udp/tcp/tls. A little offtopic it also supports BLF. Also exist video version, but I never tried that. On Tue, Dec 6, 2016 at 10:54 PM, Gregor Nanger wrote: > Yes, I have tried,thank you. > It is just that every client is stable on udp, but it is loosing > connection on TCP and I do not know how to trace problem. > > Do you use gswave on udp? Is tls communication via tcp? > > > On Tue, Dec 6, 2016, 20:44 Volodymyr Fedorov wrote: > >> Hi Gregor, >> Gs Wave quite nice client with SIP/Tls and SRTP. >> >> >> >> On Tue, Dec 6, 2016 at 7:46 PM, Gregor Nanger >> wrote: >> >> I would really appreciate feedback. >> >> I am using Zoiper (Android) as mobile client and it constantly loosing >> connection with freeswitch after a while. It show registration timeout. I >> set transportation to TCP to preserve battery drain and set to keep awake >> in background. >> >> Is there something I can set in FS like session timeout that would help. >> >> Can you please point me how to debug. >> >> Which mobile client you are using? >> >> Best regards, Gregor >> -- >> Gregor Nanger >> >> *CTO* >> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >> ? www.infomedia.si >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20161206/cc337841/attachment-0001.html From andrew.keil at visytel.com Wed Dec 7 02:26:40 2016 From: andrew.keil at visytel.com (Andrew Keil) Date: Tue, 6 Dec 2016 23:26:40 +0000 Subject: [Freeswitch-users] Re- FreeSWITCH 1.6.13 on CentOS 6.8 and mod_flite build issue Message-ID: To FreeSWITCH users, I understand that there is a need to move to CentOS 7 for FreeSWITCH, however my client cannot do this currently. I have tried to get mod_flite to build inside FreeSWITCH 1.6.13 on CentOS 6.8 I get the following when running FreeSWITCH make after ./configure: making all mod_flite make[3]: Entering directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' Makefile:800: *** You must install libflite-dev to build mod_flite. Stop. make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' make[2]: *** [mod_flite-all] Error 1 make[2]: Leaving directory `/usr/local/src/freeswitch/src/mod' make[1]: *** [mod_flite] Error 2 make[1]: Leaving directory `/usr/local/src/freeswitch/src/mod' make: *** [mod_flite] Error 2 Since there is no libflite-devel package for CentOS 6 I did the following successfully: cd /usr/src wget http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz tar -xzvf flite-2.0.0.tar.gz cd flite-2.0.0 ./configure --enable-shared --prefix=/usr/local make && make install This worked OK and setup everything inside /usr/local/lib However when I try to run ./configure and make inside the FreeSWITCH source directory again I get the same error above. Any ideas? Kind Regards, Andrew Keil Visytel Pty Ltd [visytellogo] www.visytel.com Mobile: +61 (0) 429 076 431 Skype: visytel This e-mail message may contain confidential and commercially sensitive information. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. If you receive this e-mail message by mistake, please contact Visytel Pty Ltd on +61 429 076 431. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/0ba6dc5e/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 1332 bytes Desc: image001.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/0ba6dc5e/attachment.jpg From gregor at infomedia.si Wed Dec 7 02:28:37 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Wed, 7 Dec 2016 00:28:37 +0100 Subject: [Freeswitch-users] Freeswitch and mobile clients In-Reply-To: References: Message-ID: I just reused same pem file as I am using it for websockets and enable TLS. Now everything works :-)) It looks that on Windows server TCP is not so stable if using same port for UDP and TCP or it closes TCP too soon. I do not know. Gswave is great because is feature rich. Zoiper is also good because it is simple to configure it via QR code. For Gswave QR code needs to be configured manually if not used with Grandstream PBX. 2016-12-06 23:22 GMT+01:00 Volodymyr Fedorov : > Yep, you can use udp/tcp/tls. > A little offtopic it also supports BLF. Also exist video version, but I > never tried that. > > On Tue, Dec 6, 2016 at 10:54 PM, Gregor Nanger > wrote: > >> Yes, I have tried,thank you. >> It is just that every client is stable on udp, but it is loosing >> connection on TCP and I do not know how to trace problem. >> >> Do you use gswave on udp? Is tls communication via tcp? >> >> >> On Tue, Dec 6, 2016, 20:44 Volodymyr Fedorov wrote: >> >>> Hi Gregor, >>> Gs Wave quite nice client with SIP/Tls and SRTP. >>> >>> >>> >>> On Tue, Dec 6, 2016 at 7:46 PM, Gregor Nanger >>> wrote: >>> >>> I would really appreciate feedback. >>> >>> I am using Zoiper (Android) as mobile client and it constantly loosing >>> connection with freeswitch after a while. It show registration timeout. I >>> set transportation to TCP to preserve battery drain and set to keep awake >>> in background. >>> >>> Is there something I can set in FS like session timeout that would help. >>> >>> Can you please point me how to debug. >>> >>> Which mobile client you are using? >>> >>> Best regards, Gregor >>> -- >>> Gregor Nanger >>> >>> *CTO* >>> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >>> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >>> ? www.infomedia.si >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> >> -- >> Gregor Nanger >> >> *CTO* >> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >> ? www.infomedia.si >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/e8558ef0/attachment-0001.html From mike at jerris.com Wed Dec 7 02:32:59 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 6 Dec 2016 18:32:59 -0500 Subject: [Freeswitch-users] Re- FreeSWITCH 1.6.13 on CentOS 6.8 and mod_flite build issue In-Reply-To: References: Message-ID: fresh configure or re-ran configure? do you have a config.cache file ? What is in your PKG_CONFIG_PATH env variable? try adding to PKG_CONFIG_PATH /usr/local/lib/pkgconfig > On Dec 6, 2016, at 6:26 PM, Andrew Keil wrote: > > To FreeSWITCH users, > > I understand that there is a need to move to CentOS 7 for FreeSWITCH, however my client cannot do this currently. > > I have tried to get mod_flite to build inside FreeSWITCH 1.6.13 on CentOS 6.8 > > I get the following when running FreeSWITCH make after ./configure: > > making all mod_flite > make[3]: Entering directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' > Makefile:800: *** You must install libflite-dev to build mod_flite. Stop. > make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' > make[2]: *** [mod_flite-all] Error 1 > make[2]: Leaving directory `/usr/local/src/freeswitch/src/mod' > make[1]: *** [mod_flite] Error 2 > make[1]: Leaving directory `/usr/local/src/freeswitch/src/mod' > make: *** [mod_flite] Error 2 > > Since there is no libflite-devel package for CentOS 6 I did the following successfully: > > cd /usr/src > wget http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz > tar -xzvf flite-2.0.0.tar.gz > cd flite-2.0.0 > ./configure --enable-shared --prefix=/usr/local > make && make install > > This worked OK and setup everything inside /usr/local/lib > > However when I try to run ./configure and make inside the FreeSWITCH source directory again I get the same error above. > > Any ideas? > > Kind Regards, > > Andrew Keil > Visytel Pty Ltd > > > > www.visytel.com > > Mobile: +61 (0) 429 076 431 > Skype: visytel > > This e-mail message may contain confidential and commercially sensitive information. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. If you receive this e-mail message by mistake, please contact Visytel Pty Ltd on +61 429 076 431. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/3e0b8f5c/attachment.html From anthony.minessale at gmail.com Wed Dec 7 02:39:47 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 6 Dec 2016 17:39:47 -0600 Subject: [Freeswitch-users] How can I cancel a bgapi job? In-Reply-To: References: <1498269843.85638.1480976600976.ref@mail.yahoo.com> <1498269843.85638.1480976600976@mail.yahoo.com> Message-ID: There is no way implemented to do that. The async tasks are designed with the expectation it will never be cancelled and that most tasks should be executed immediately. On Tue, Dec 6, 2016 at 8:13 AM, Steven Ayre wrote: > In the case of originate you could do 'api uuid_kill my_uuid' to > immediately hangup the call' > > On 5 December 2016 at 22:23, D D wrote: > >> Hi, >> >> How can I cancel a bgapi job? >> >> Let's suppose I do bgapi command to originate a call and then am >> immediately told it needs to >> be cancelled...but it has not started yet. Even if I supply my own uuid >> on the originate >> and a job-uud on the bgapi command, I don't see any way I can cancel the >> "unstarted" call. >> >> Note that I can construct a test case for this situation by doing a >> fs_cli command >> bgapi originate {originate_delay_start=30000,o >> rigination_uuid=my_uuid}sofia/gateway/... >> This command will start a request that cannot be cancelled until the call >> actually starts (thirty >> seconds later). >> >> Any ideas? >> >> 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 > -- 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/20161206/03f60965/attachment-0001.html From gregor at infomedia.si Wed Dec 7 03:21:06 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Wed, 7 Dec 2016 01:21:06 +0100 Subject: [Freeswitch-users] Bridge to gateway with prefix alters Destination number In-Reply-To: References: Message-ID: Thank you for your answer, Brian To be sure, I added variable in vars.xml: but with no luck. Any other suggestions? 2016-12-05 14:22 GMT+01:00 Brian West : > Set the ignore_display_updates variable in vars.xml or disable it on the > sofia profiles in question. > > /b > > > On Sun, Dec 4, 2016 at 7:14 PM, Gregor Nanger wrote: > >> I have one funny challenging problem and do not know how to solve it. >> >> I am bridging call to gateway and provider requires that I add prefix. >> For example: >> >> }sofia/gateway/myprovider/aa15551231234 >> >> This is everything ok and it works, but then I get update display on >> softphone from 5551231234 to aa15551231234 and in call logs I get same >> number: aa15551231234. And then it looks like user dialed aa15551231234 . >> >> How to tell freeswitch not to update display and call log? I tried with >> ignore_update_display, but with no luck. >> >> Best regards, Gregor >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here > ! > | Reddit: /r/freeswitch > > > *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 > <+1%20918-420-9002> | *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 > -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/11e228a4/attachment.html From s.safarov at gmail.com Wed Dec 7 03:42:56 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 07 Dec 2016 00:42:56 +0000 Subject: [Freeswitch-users] Re- FreeSWITCH 1.6.13 on CentOS 6.8 and mod_flite build issue In-Reply-To: References: Message-ID: You can try https://freeswitch.org/stash/projects/SD/repos/libflite/pull-requests/3/diff Also look at FS-8084 ??, 7 ???. 2016 ?. ? 2:33, Michael Jerris : > fresh configure or re-ran configure? > > do you have a config.cache file ? > > What is in your PKG_CONFIG_PATH env variable? > > try adding to PKG_CONFIG_PATH /usr/local/lib/pkgconfig > > > > On Dec 6, 2016, at 6:26 PM, Andrew Keil wrote: > > To FreeSWITCH users, > > I understand that there is a need to move to CentOS 7 for FreeSWITCH, > however my client cannot do this currently. > > I have tried to get mod_flite to build inside FreeSWITCH 1.6.13 on CentOS > 6.8 > > I get the following when running FreeSWITCH make after ./configure: > > making all mod_flite > make[3]: Entering directory > `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' > Makefile:800: *** You must install libflite-dev to build mod_flite. Stop. > make[3]: Leaving directory > `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' > make[2]: *** [mod_flite-all] Error 1 > make[2]: Leaving directory `/usr/local/src/freeswitch/src/mod' > make[1]: *** [mod_flite] Error 2 > make[1]: Leaving directory `/usr/local/src/freeswitch/src/mod' > make: *** [mod_flite] Error 2 > > Since there is no libflite-devel package for CentOS 6 I did the following > successfully: > > cd /usr/src > wget http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz > tar -xzvf flite-2.0.0.tar.gz > cd flite-2.0.0 > ./configure --enable-shared --prefix=/usr/local > make && make install > > This worked OK and setup everything inside /usr/local/lib > > However when I try to run ./configure and make inside the FreeSWITCH > source directory again I get the same error above. > > Any ideas? > > Kind Regards, > > Andrew Keil > *Visytel Pty Ltd* > > > > > > *www.visytel.com * > > Mobile: +61 (0) 429 076 431 <+61%20429%20076%20431> > Skype: visytel > > This e-mail message may contain confidential and commercially sensitive > information. If you are not the intended recipient, any use, interference > with, disclosure or copying of this material is unauthorised and > prohibited. If you receive this e-mail message by mistake, please contact > Visytel Pty Ltd on +61 429 076 431 <+61%20429%20076%20431>. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/4773a426/attachment-0001.html From andrew.keil at visytel.com Wed Dec 7 03:43:39 2016 From: andrew.keil at visytel.com (Andrew Keil) Date: Wed, 7 Dec 2016 00:43:39 +0000 Subject: [Freeswitch-users] Re- FreeSWITCH 1.6.13 on CentOS 6.8 and mod_flite build issue In-Reply-To: References: Message-ID: Michael, Thanks for your fast response! In answer to your questions: 1) Yes re-ran ./configure prior to make {after flight make && make install} 2) No config.cache file inside the freeswitch source directory 3) PKG_CONFIG_PATH was empty so I ran: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig a. Tested by echo $PKG_CONFIG_PATH and this is now set correctly to: /usr/local/lib/pkgconfig b. Tested by pkg-config -lib flite {this was OK} c. Ran ./configure d. Ran make Perfect all fixed! Thanks again. Regards, Andrew Keil From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Wednesday, 7 December 2016 10:33 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Re- FreeSWITCH 1.6.13 on CentOS 6.8 and mod_flite build issue fresh configure or re-ran configure? do you have a config.cache file ? What is in your PKG_CONFIG_PATH env variable? try adding to PKG_CONFIG_PATH /usr/local/lib/pkgconfig On Dec 6, 2016, at 6:26 PM, Andrew Keil > wrote: To FreeSWITCH users, I understand that there is a need to move to CentOS 7 for FreeSWITCH, however my client cannot do this currently. I have tried to get mod_flite to build inside FreeSWITCH 1.6.13 on CentOS 6.8 I get the following when running FreeSWITCH make after ./configure: making all mod_flite make[3]: Entering directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' Makefile:800: *** You must install libflite-dev to build mod_flite. Stop. make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' make[2]: *** [mod_flite-all] Error 1 make[2]: Leaving directory `/usr/local/src/freeswitch/src/mod' make[1]: *** [mod_flite] Error 2 make[1]: Leaving directory `/usr/local/src/freeswitch/src/mod' make: *** [mod_flite] Error 2 Since there is no libflite-devel package for CentOS 6 I did the following successfully: cd /usr/src wget http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz tar -xzvf flite-2.0.0.tar.gz cd flite-2.0.0 ./configure --enable-shared --prefix=/usr/local make && make install This worked OK and setup everything inside /usr/local/lib However when I try to run ./configure and make inside the FreeSWITCH source directory again I get the same error above. Any ideas? Kind Regards, Andrew Keil Visytel Pty Ltd www.visytel.com Mobile: +61 (0) 429 076 431 Skype: visytel This e-mail message may contain confidential and commercially sensitive information. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. If you receive this e-mail message by mistake, please contact Visytel Pty Ltd on +61 429 076 431. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/46968b30/attachment-0001.html From s.safarov at gmail.com Wed Dec 7 03:52:21 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 07 Dec 2016 00:52:21 +0000 Subject: [Freeswitch-users] Bridge to gateway with prefix alters Destination number In-Reply-To: References: Message-ID: Look at effective_callee_id_number='+74955005550',effective_callee_id_name='74955005550' also required ignore_display_updates='true' Also in source code you can find other types of "callee_id_number" and "caller_id_number" variables. Example bridge {origination_caller_id_number='2496',origination_caller_id_name='Sergey Safarov',ignore_early_media='false',ignore_display_updates='true',ecallmgr_Account-ID='xxxxxxxxxxxxxxx',ecallmgr_Reseller-ID='xxxxxxxxxxxxxxx',ecallmgr_Owner-ID='xxxxxxxxxxxxxxx',ecallmgr_Authorizing-ID='xxxxxxxxxxxxxxx',effective_caller_id_number='2496',effective_caller_id_name='Sergey Safarov',local_var_clobber='true'}[leg_progress_timeout='6',sip_h_X-Account-ID=xxxxxxxxxxxxxxx,sip_h_X-KAZOO-AOR-user=${callee_id_number},sip_h_X-internal_caller_id_number=${ecallmgr_Username},ecallmgr_Global-Resource='false',ecallmgr_Resource-ID='xxxxxxxxxxxxxxx',ecallmgr_E164-Destination='+74955005550',ecallmgr_Original-Number='+74955005550',ecallmgr_Matched-Number='+74955005550',absolute_codec_string='^^:PCMA',effective_callee_id_number='+74955005550',effective_callee_id_name='74955005550',sip_auth_username='auth_user',sip_auth_password='xxxxxxxxx']sofia/sipinterface_1/+ 74955005550 at my.gateway.org ??, 7 ???. 2016 ?. ? 3:22, Gregor Nanger : > Thank you for your answer, Brian > > To be sure, I added variable in vars.xml: > > > but with no luck. Any other suggestions? > > 2016-12-05 14:22 GMT+01:00 Brian West : > > Set the ignore_display_updates variable in vars.xml or disable it on the > sofia profiles in question. > > /b > > > On Sun, Dec 4, 2016 at 7:14 PM, Gregor Nanger wrote: > > I have one funny challenging problem and do not know how to solve it. > > I am bridging call to gateway and provider requires that I add prefix. For > example: > > }sofia/gateway/myprovider/aa15551231234 > > This is everything ok and it works, but then I get update display on > softphone from 5551231234 to aa15551231234 and in call logs I get same > number: aa15551231234. And then it looks like user dialed aa15551231234 . > > How to tell freeswitch not to update display and call log? I tried with > ignore_update_display, but with no luck. > > Best regards, Gregor > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here > ! > | Reddit: /r/freeswitch > > > *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 > <+1%20918-420-9002> | *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 > > > > > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/2fd69b6d/attachment.html From gregor at infomedia.si Wed Dec 7 03:56:55 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Wed, 07 Dec 2016 00:56:55 +0000 Subject: [Freeswitch-users] Bridge to gateway with prefix alters Destination number In-Reply-To: References: Message-ID: Sorry, I don't understand. Do you mean that I should also set effective caller ID variable on bridge? On Wed, Dec 7, 2016, 01:53 Sergey Safarov wrote: > Look at > effective_callee_id_number='+74955005550',effective_callee_id_name='74955005550' > also required ignore_display_updates='true' > > Also in source code you can find other types of "callee_id_number" and > "caller_id_number" variables. > > Example > > bridge > {origination_caller_id_number='2496',origination_caller_id_name='Sergey > Safarov',ignore_early_media='false',ignore_display_updates='true',ecallmgr_Account-ID='xxxxxxxxxxxxxxx',ecallmgr_Reseller-ID='xxxxxxxxxxxxxxx',ecallmgr_Owner-ID='xxxxxxxxxxxxxxx',ecallmgr_Authorizing-ID='xxxxxxxxxxxxxxx',effective_caller_id_number='2496',effective_caller_id_name='Sergey > Safarov',local_var_clobber='true'}[leg_progress_timeout='6',sip_h_X-Account-ID=xxxxxxxxxxxxxxx,sip_h_X-KAZOO-AOR-user=${callee_id_number},sip_h_X-internal_caller_id_number=${ecallmgr_Username},ecallmgr_Global-Resource='false',ecallmgr_Resource-ID='xxxxxxxxxxxxxxx',ecallmgr_E164-Destination='+74955005550',ecallmgr_Original-Number='+74955005550',ecallmgr_Matched-Number='+74955005550',absolute_codec_string='^^:PCMA',effective_callee_id_number='+74955005550',effective_callee_id_name='74955005550',sip_auth_username='auth_user',sip_auth_password='xxxxxxxxx']sofia/sipinterface_1/+ > 74955005550 at my.gateway.org > > ??, 7 ???. 2016 ?. ? 3:22, Gregor Nanger : > > Thank you for your answer, Brian > > To be sure, I added variable in vars.xml: > > > but with no luck. Any other suggestions? > > 2016-12-05 14:22 GMT+01:00 Brian West : > > Set the ignore_display_updates variable in vars.xml or disable it on the > sofia profiles in question. > > /b > > > On Sun, Dec 4, 2016 at 7:14 PM, Gregor Nanger wrote: > > I have one funny challenging problem and do not know how to solve it. > > I am bridging call to gateway and provider requires that I add prefix. For > example: > > }sofia/gateway/myprovider/aa15551231234 > > This is everything ok and it works, but then I get update display on > softphone from 5551231234 to aa15551231234 and in call logs I get same > number: aa15551231234. And then it looks like user dialed aa15551231234 . > > How to tell freeswitch not to update display and call log? I tried with > ignore_update_display, but with no luck. > > Best regards, Gregor > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here > ! > | Reddit: /r/freeswitch > > > *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 > <+1%20918-420-9002> | *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 > > > > > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/612cbeb0/attachment-0001.html From david.villasmil.work at gmail.com Wed Dec 7 03:58:46 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Wed, 7 Dec 2016 01:58:46 +0100 Subject: [Freeswitch-users] Bridge to gateway with prefix alters Destination number In-Reply-To: References: Message-ID: yep, that's what he means. You can set them before the bridge or on the bridge itself. ? Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Wed, Dec 7, 2016 at 1:56 AM, Gregor Nanger wrote: > Sorry, I don't understand. > > Do you mean that I should also set effective caller ID variable on bridge? > > On Wed, Dec 7, 2016, 01:53 Sergey Safarov wrote: > >> Look at effective_callee_id_number='+74955005550 <+7%20495%20500-55-50> >> ',effective_callee_id_name='74955005550' >> also required ignore_display_updates='true' >> >> Also in source code you can find other types of "callee_id_number" and >> "caller_id_number" variables. >> >> Example >> >> bridge {origination_caller_id_number='2496',origination_caller_id_name='Sergey >> Safarov',ignore_early_media='false',ignore_display_updates= >> 'true',ecallmgr_Account-ID='xxxxxxxxxxxxxxx',ecallmgr_ >> Reseller-ID='xxxxxxxxxxxxxxx',ecallmgr_Owner-ID=' >> xxxxxxxxxxxxxxx',ecallmgr_Authorizing-ID='xxxxxxxxxxxxxxx',effective_ >> caller_id_number='2496',effective_caller_id_name='Sergey >> Safarov',local_var_clobber='true'}[leg_progress_timeout=' >> 6',sip_h_X-Account-ID=xxxxxxxxxxxxxxx,sip_h_X-KAZOO- >> AOR-user=${callee_id_number},sip_h_X-internal_caller_id_ >> number=${ecallmgr_Username},ecallmgr_Global-Resource=' >> false',ecallmgr_Resource-ID='xxxxxxxxxxxxxxx',ecallmgr_E164-Destination=' >> +74955005550 <+7%20495%20500-55-50>',ecallmgr_Original-Number='+ >> 74955005550 <+7%20495%20500-55-50>',ecallmgr_Matched-Number='+74955005550 >> <+7%20495%20500-55-50>',absolute_codec_string='^^: >> PCMA',effective_callee_id_number='+74955005550 <+7%20495%20500-55-50>', >> effective_callee_id_name='74955005550',sip_auth_ >> username='auth_user',sip_auth_password='xxxxxxxxx']sofia/sipinterface_1/+ >> 74955005550 at my.gateway.org >> >> ??, 7 ???. 2016 ?. ? 3:22, Gregor Nanger : >> >> Thank you for your answer, Brian >> >> To be sure, I added variable in vars.xml: >> >> >> but with no luck. Any other suggestions? >> >> 2016-12-05 14:22 GMT+01:00 Brian West : >> >> Set the ignore_display_updates variable in vars.xml or disable it on the >> sofia profiles in question. >> >> /b >> >> >> On Sun, Dec 4, 2016 at 7:14 PM, Gregor Nanger >> wrote: >> >> I have one funny challenging problem and do not know how to solve it. >> >> I am bridging call to gateway and provider requires that I add prefix. >> For example: >> >> }sofia/gateway/myprovider/aa15551231234 >> >> This is everything ok and it works, but then I get update display on >> softphone from 5551231234 to aa15551231234 and in call logs I get same >> number: aa15551231234. And then it looks like user dialed aa15551231234 . >> >> How to tell freeswitch not to update display and call log? I tried with >> ignore_update_display, but with no luck. >> >> Best regards, Gregor >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> Got Bugs? Report them here >> ! >> | Reddit: /r/freeswitch >> >> >> *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 >> <+1%20918-420-9002> | *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 >> >> >> >> >> -- >> Gregor Nanger >> >> *CTO* >> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >> ? www.infomedia.si >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/f1ebf4e0/attachment-0001.html From devang.nathwani31589 at gmail.com Wed Dec 7 12:43:31 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Wed, 7 Dec 2016 15:13:31 +0530 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: References: Message-ID: Zoiper Biz softphone 2.43 with G729 OS : Windows system On Tue, Dec 6, 2016 at 7:03 PM, Brian West wrote: > Then it might not even negotiate with Zoiper. Which version of Zoiper are > you using? > > /b > > > On Tue, Dec 6, 2016 at 7:40 AM, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> I have tried using, rxfax(*/tmp/${uuid}-FAX.tif*) without 'chmod 666' >> as well, but got the same result so i tired with chmod. >> @Brian, don't know the exact source from where i got this solution >> any other suggestion or hunch? >> >> On Tue, Dec 6, 2016 at 5:55 PM, Brian West wrote: >> >>> rxfax(*chmod 666 /tmp/${uuid}-FAX.tif*) -> rxfax(*/tmp/${uuid}-FAX.tif*) >>> >>> I would like to know where you read docs that lead up to that solution. >>> >>> /b >>> >>> >>> On Tue, Dec 6, 2016 at 3:55 AM, Mirko Brankovic < >>> mirkobrankovic at gmail.com> wrote: >>> >>>> I don't think it will work like that, >>>> >>>> you can just use: >>>> >>>>> rxfax( /tmp/${uuid}-FAX.tif) >>>> >>>> Since it is /tmp it will we group and world read/writable >>>> >>>> On Tue, Dec 6, 2016 at 9:28 AM, devang nathwani < >>>> devang.nathwani31589 at gmail.com> wrote: >>>> >>>>> Dialplan: sofia/default/789456123 at 192.168.1.71 parsing >>>>> [default->customfax] continue=false >>>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Regex (PASS) >>>>> [customfax] destination_number(789456123) =~ /^789456123$/ break=on-false >>>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>>>> set(fax_enable_t38_request=true) >>>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>>>> set(fax_enable_t38=true) >>>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>>>> export(t38_passthru=true) >>>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>>>> set(session_in_hangup_hook=true) >>>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>>>> set(rtp_append_audio_sdp=a=fmtp:18 annexb=no) >>>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action answer() >>>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action rxfax(*chmod >>>>> 666 /tmp/${uuid}-FAX.tif*) >>>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action >>>>> set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh >>>>> /tmp/${uuid}-FAX.tif 6 Hardik hardik.patel at inextrix.com >>>>> /tmp/${uuid}-FAX.tif ) >>>>> Dialplan: sofia/default/789456123 at 192.168.1.71 Action hangup() >>>>> >>>>> On Mon, Dec 5, 2016 at 6:52 PM, Brian West >>>>> wrote: >>>>> >>>>>> Sounds like a permission issue to where you're trying to save the >>>>>> tiff file, what are you doing in your dialplan? >>>>>> >>>>>> On Mon, Dec 5, 2016 at 8:00 AM, devang nathwani < >>>>>> devang.nathwani31589 at gmail.com> wrote: >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> Trying to develop Fax 2 Email features. >>>>>>> I am sending fax from the Zoiper for testing and it works perfectly >>>>>>> in my local machine but getting permission related error for receiving fax >>>>>>> on server >>>>>>> >>>>>>> >>>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === >>>>>>> Negotiation Result ============================== >>>>>>> ========================= >>>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote >>>>>>> station id: 964737 >>>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local >>>>>>> station id: SpanDSP Fax Ident >>>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer >>>>>>> Rate: 12000 >>>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status >>>>>>> off >>>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote >>>>>>> country: >>>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote >>>>>>> vendor: >>>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote >>>>>>> model: >>>>>>> 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 >>>>>>> ============================================================ >>>>>>> ================== >>>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 >>>>>>> ============================================================ >>>>>>> ================== >>>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax >>>>>>> processing not successful - result (41) TIFF/F file cannot be opened. >>>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote >>>>>>> station id: 964737 >>>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local >>>>>>> station id: SpanDSP Fax Ident >>>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages >>>>>>> transferred: 0 >>>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax >>>>>>> pages: 0 >>>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image >>>>>>> resolution: 0x0 >>>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer >>>>>>> Rate: 12000 >>>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status >>>>>>> off >>>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote >>>>>>> country: >>>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote >>>>>>> vendor: >>>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote >>>>>>> model: >>>>>>> 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 >>>>>>> ============================================================ >>>>>>> ================== >>>>>>> >>>>>>> Can any body help me please to resolve that issue? >>>>>>> I have attached my freeswitch logs it may help. >>>>>>> >>>>>>> http://pastebin.com/edTEimae >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Brian West* >>>>>> brian at freeswitch.org >>>>>> >>>>>> >>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>>>>> http://www.freeswitchcookbook.com (50% Discount using code >>>>>> FreeSwitch50) >>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>> >>>>>> Got Bugs? Report them here ! | Reddit: >>>>>> /r/freeswitch >>>>>> >>>>>> *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 >>>>>> <+1%20918-420-9002> | *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/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Regards, >>>> Mirko >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > 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/20161207/2c59d300/attachment-0001.html From bipin at xbipin.com Wed Dec 7 12:59:33 2016 From: bipin at xbipin.com (Bipin Patel) Date: Wed, 7 Dec 2016 13:59:33 +0400 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: References: Message-ID: <6f558f34-08cc-7cac-1746-218ea334fe3d@xbipin.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/cd3399d5/attachment-0001.html From tg-maillistings at level5.de Wed Dec 7 13:12:14 2016 From: tg-maillistings at level5.de (=?UTF-8?Q?Thorsten_G=c3=b6llner?=) Date: Wed, 7 Dec 2016 11:12:14 +0100 Subject: [Freeswitch-users] SIP.js / mobile devices / speakers Message-ID: Hi, this is maybe not the best maillinglist for my problem but I did not find a better one :) I am playing around with SIP.js and freeswitch as backend. Works fine so far. But is it possible to use the inernal speaker of a mobile device when using SIP.js? If I use it with my android phone, always the external (loud) speaker is active but I just want to use it like a normal voice call (holding my device near my ears). Is there any option to switch speakers perhaps? Thanks in advance, Thorsten -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/87feb2ba/attachment.html From gregor at infomedia.si Wed Dec 7 13:14:44 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Wed, 7 Dec 2016 11:14:44 +0100 Subject: [Freeswitch-users] Freeswitch and mobile clients In-Reply-To: References: Message-ID: To anyone that works on TCP. Do you have experience of stable connection of mobile client to FS? 2016-12-07 0:28 GMT+01:00 Gregor Nanger : > I just reused same pem file as I am using it for websockets and enable TLS. > > Now everything works :-)) > > It looks that on Windows server TCP is not so stable if using same port > for UDP and TCP or it closes TCP too soon. I do not know. > > Gswave is great because is feature rich. Zoiper is also good because it is > simple to configure it via QR code. For Gswave QR code needs to be > configured manually if not used with Grandstream PBX. > > 2016-12-06 23:22 GMT+01:00 Volodymyr Fedorov : > >> Yep, you can use udp/tcp/tls. >> A little offtopic it also supports BLF. Also exist video version, but I >> never tried that. >> >> On Tue, Dec 6, 2016 at 10:54 PM, Gregor Nanger >> wrote: >> >>> Yes, I have tried,thank you. >>> It is just that every client is stable on udp, but it is loosing >>> connection on TCP and I do not know how to trace problem. >>> >>> Do you use gswave on udp? Is tls communication via tcp? >>> >>> >>> On Tue, Dec 6, 2016, 20:44 Volodymyr Fedorov wrote: >>> >>>> Hi Gregor, >>>> Gs Wave quite nice client with SIP/Tls and SRTP. >>>> >>>> >>>> >>>> On Tue, Dec 6, 2016 at 7:46 PM, Gregor Nanger >>>> wrote: >>>> >>>> I would really appreciate feedback. >>>> >>>> I am using Zoiper (Android) as mobile client and it constantly loosing >>>> connection with freeswitch after a while. It show registration timeout. I >>>> set transportation to TCP to preserve battery drain and set to keep awake >>>> in background. >>>> >>>> Is there something I can set in FS like session timeout that would >>>> help. >>>> >>>> Can you please point me how to debug. >>>> >>>> Which mobile client you are using? >>>> >>>> Best regards, Gregor >>>> -- >>>> Gregor Nanger >>>> >>>> *CTO* >>>> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >>>> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >>>> ? www.infomedia.si >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-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/free >>>> switch-users >>>> http://www.freeswitch.org >>> >>> -- >>> Gregor Nanger >>> >>> *CTO* >>> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >>> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >>> ? www.infomedia.si >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> > > > > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/de03539e/attachment-0001.html From fanx07 at gmail.com Wed Dec 7 13:56:43 2016 From: fanx07 at gmail.com (Anonim Stefan) Date: Wed, 7 Dec 2016 12:56:43 +0200 Subject: [Freeswitch-users] Freeswitch 1.6 with Nuance Vocalizer 6.2.3 - "Client connection refused" Message-ID: Hi, I unsuccessfully tried to do TTS on Freeswitch using mod_unimrcp (with specific nuance profile), by connecting to nuance-server. I started the Nuance server in mrcp mode: [0] For MRCP v1 I get [1]. For MRCP v2 (using TCP) I get [2]. For nuance nvscmdline I get [3]. The FS unimrcp profiles I used are [4] for v1 and [5] for v2. Am I missing something here?! Have anyone tried this lately? Is Freeswitch 1.6 mod_unimrcp working with latest Nuance? Thank you, Stefan [0] http://pastebin.com/qXixTb5y [1] http://pastebin.com/dSxWNvX5 [2] http://pastebin.com/CPdRcpBY [3] http://pastebin.com/9D5kHuwc [4] http://pastebin.com/Q39PX74Q [5] http://pastebin.com/t2iAr6H1 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/3953f240/attachment.html From devang.nathwani31589 at gmail.com Wed Dec 7 14:57:45 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Wed, 7 Dec 2016 17:27:45 +0530 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: <6f558f34-08cc-7cac-1746-218ea334fe3d@xbipin.com> References: <6f558f34-08cc-7cac-1746-218ea334fe3d@xbipin.com> Message-ID: @Bipin, Yes please, share your python script -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/fb5146bb/attachment.html From mirkobrankovic at gmail.com Wed Dec 7 16:09:57 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Wed, 7 Dec 2016 14:09:57 +0100 Subject: [Freeswitch-users] t38 fax receive stuck Message-ID: Hi, I have a strange situation where faxes gets stuck for good amount of time on rxfax application. Detailed debugging let me to conclusion that one side doesn't send signal back and the other side is not 'timing out'/ giving up. Callflow is fax...provider...gateway... rxfax(file.tif) Here is the log: > b8a0b22f-5733-499d-a32f-712106821a53 2016-12-07 10:08:03.434513 [DEBUG] > sofia.c:5677 Channel sofia/external/496421607583 at 89.184.172.62 entering > state [ready][200] > 2016-12-07 10:08:03.504510 [DEBUG] mod_spandsp_fax.c:286 FLOW T.38T Type > FCD - CRC OK (clean) > 2016-12-07 10:08:03.504510 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Stop > none (0 remaining) > 2016-12-07 10:08:03.504510 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Rx: > FCD without final frame tag > 2016-12-07 10:08:03.504510 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Rx: ff > 03 06 41 02 d1 a5 0b d2 bf ef ff af ae 77 1f 06 eb 88 5e bf fb 82 40 5f 7f > 15 04 41 af ba 2e d5 13 48 8c 5f d7 9f 20 13 87 62 6c ba e8 e2 4b 5c 89 40 > ec ea 1b 32 c7 21 e2 29 08 7a 41 10 f4 d6 fd ff aa bf ff 1f 22 2e 30 1e 82 > e2 5f 02 81 56 e9 ab 6e 08 02 bd 21 5c c3 82 20 90 ff 08 d6 fa 5f 10 e1 b8 > 59 55 10 84 e8 e2 0e fd 55 a6 70 28 34 8e 7f 7f c7 02 4b 47 15 04 fd 0c e9 > ff 4d c9 53 1b 7d d5 af ff f5 bf 52 0e 02 f9 70 54 ad a3 7f bd 4a 70 cc 2d > 15 5d c4 67 08 59 69 fc 5f fa 15 ba f5 82 a0 c8 91 bd 25 fd 11 b5 be 5e 53 > 69 3a 2e ad ea 8f a8 af 12 04 fd ff 43 d0 10 e8 fd 54 8b 21 ba d8 fa ff 9a > 2f 53 89 24 04 21 9a 64 31 3f 52 69 e2 13 9f 2e ba e8 d2 ff 7f 21 04 aa 82 > 88 ff 35 7d ba 40 a0 5d 5f 7a bc 9e 10 fd 2f be 52 5b fa ef a8 a6 e2 ff ff > 6b f5 fd bf d0 d1 ff 7a ff > 2016-12-07 10:08:03.504510 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Storing > ECM frame 65, length 256 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Receive > complete in phase T30_PHASE_C_NON_ECM_RX, state 7 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Non-ECM > signal status is Carrier down (-1) in state 7 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 > Trainability (TCF) test result - 14512 total bits. longest run of zeros was > 14480 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 > Changing from phase T30_PHASE_C_NON_ECM_RX to T30_PHASE_B_TX > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.38T Set rx > type 0 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.38T Set tx > type 4 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 > Changing from state 7 to 8 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Tx: > CFR with final frame tag > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Tx: ff > 13 84 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 No > signal is present What I think from the log is that there is no signal from the initiating side, which leads to the message "No signal is present" but my question is why would spandsp still keep waiting? Problem is that this is quite old version of FreeSwitch (FreeSWITCH Version 1.2.0 (git-89c590c 2012-05-08 20-08-26 +0000)) based on ooooold commit 89c590c I've looked at the git diff between the current spandsp and that one, and there are some changes but not that much. Can anyone familiar with this bring some light to me please :) Thanks, -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/606c017e/attachment.html From rtreleaven at bunnykick.ca Wed Dec 7 16:37:56 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Wed, 7 Dec 2016 08:37:56 -0500 Subject: [Freeswitch-users] Freeswitch and mobile clients In-Reply-To: References: Message-ID: yes On Wed, Dec 7, 2016 at 5:14 AM, Gregor Nanger wrote: > To anyone that works on TCP. > > Do you have experience of stable connection of mobile client to FS? > > 2016-12-07 0:28 GMT+01:00 Gregor Nanger : > >> I just reused same pem file as I am using it for websockets and enable >> TLS. >> >> Now everything works :-)) >> >> It looks that on Windows server TCP is not so stable if using same port >> for UDP and TCP or it closes TCP too soon. I do not know. >> >> Gswave is great because is feature rich. Zoiper is also good because it >> is simple to configure it via QR code. For Gswave QR code needs to be >> configured manually if not used with Grandstream PBX. >> >> 2016-12-06 23:22 GMT+01:00 Volodymyr Fedorov : >> >>> Yep, you can use udp/tcp/tls. >>> A little offtopic it also supports BLF. Also exist video version, but I >>> never tried that. >>> >>> On Tue, Dec 6, 2016 at 10:54 PM, Gregor Nanger >>> wrote: >>> >>>> Yes, I have tried,thank you. >>>> It is just that every client is stable on udp, but it is loosing >>>> connection on TCP and I do not know how to trace problem. >>>> >>>> Do you use gswave on udp? Is tls communication via tcp? >>>> >>>> >>>> On Tue, Dec 6, 2016, 20:44 Volodymyr Fedorov wrote: >>>> >>>>> Hi Gregor, >>>>> Gs Wave quite nice client with SIP/Tls and SRTP. >>>>> >>>>> >>>>> >>>>> On Tue, Dec 6, 2016 at 7:46 PM, Gregor Nanger >>>>> wrote: >>>>> >>>>> I would really appreciate feedback. >>>>> >>>>> I am using Zoiper (Android) as mobile client and it constantly loosing >>>>> connection with freeswitch after a while. It show registration timeout. I >>>>> set transportation to TCP to preserve battery drain and set to keep awake >>>>> in background. >>>>> >>>>> Is there something I can set in FS like session timeout that would >>>>> help. >>>>> >>>>> Can you please point me how to debug. >>>>> >>>>> Which mobile client you are using? >>>>> >>>>> Best regards, Gregor >>>>> -- >>>>> Gregor Nanger >>>>> >>>>> *CTO* >>>>> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >>>>> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >>>>> ? www.infomedia.si >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-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/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>> >>>> -- >>>> Gregor Nanger >>>> >>>> *CTO* >>>> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >>>> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >>>> ? www.infomedia.si >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-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 >>> >> >> >> >> -- >> Gregor Nanger >> >> *CTO* >> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >> ? www.infomedia.si >> > > > > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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, Russell Treleaven sip:rtreleaven at sip.bunnykick.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/fe6ccbbe/attachment-0001.html From bipin at xbipin.com Wed Dec 7 17:01:13 2016 From: bipin at xbipin.com (Bipin Patel) Date: Wed, 7 Dec 2016 18:01:13 +0400 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: References: <6f558f34-08cc-7cac-1746-218ea334fe3d@xbipin.com> Message-ID: <3267e4ba-ae9c-d349-e57e-50ea87c5ce84@xbipin.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/4a704da6/attachment.html -------------- next part -------------- #!/usr/local/bin/python # # process-rxfax.py - post process incoming fax from freeswitch (spandsp raw .tiff => pdf, then # emailed) # # the script uses the UUID from freeswitch to make a unique filename on the server while receiving, # then renames the attachment to a friendly name for the emailed user. The script calls tiff2ps # and ps2pdf to create a PDF from the initial TIFF from spandsp. # import sys # import the sys module for argv import os # import the os module import smtplib # for SMTP import mimetypes # for working with MIME from email import Encoders from email.Message import Message from email.MIMEAudio import MIMEAudio from email.MIMEBase import MIMEBase from email.MIMEImage import MIMEImage from email.MIMEMultipart import MIMEMultipart from email.MIMEText import MIMEText from freeswitch import * ## EDIT THESE VARIABLES TO MATCH YOUR NEEDS: tiff2pscmd = '/usr/bin/tiff2ps' # location of tiff2ps ps2pdfcmd = '/usr/bin/ps2pdf' # location of ps2pdf incomingfaxes = '/usr/local/freeswitch/fax/' # change this to where your .tiffs are saved by mod_fax, trailing slash required send_from = 'from at gmail.com' # email address to put in From: header of email smtp_server = 'smtp.gmail.com' # change to your SMTP server - authentication/ssl not yet implemented smtp_port = 587 tiff2psoptions = '-a -O ' # command line options go here ps2pdfoptions = '' # to fine tune output # FreeSWITCH event handlers. TODO: Implement hangup event handler and parse errors from spandsp. # For now the script is dumb and assumes everything just works. def input_callback(session, what, obj): if (what == "dtmf"): consoleLog("info", what + " " + obj.digit + "\n") else: consoleLog("info", what + " " + obj.serialize() + "\n") return "pause" def handler(session, args): #get required variables the_uuid = session.getVariable("uuid") the_recipient = session.getVariable("recipient") the_caller = session.getVariable("sip_from_user") the_dest = session.getVariable("destination_number") consoleLog("info", " rxfax receiving from " + the_caller + " for destination " + the_dest + ", uuid is " + the_uuid + "\n") #answer the phone, save the fax file in .tiff format. session.answer() session.execute("playback", "silence_stream://2000") session.execute("rxfax", incomingfaxes + "rxfax-" + the_uuid + ".tiff") #try to make the tiff file into a postscript file error2 = os.system("/bin/cp " + incomingfaxes + "rxfax-" + the_uuid + ".tiff" + " /tmp/") consoleLog("info", "/bin/cp " + incomingfaxes + "rxfax-" + the_uuid + ".tiff" + " /tmp/" + "\n") error = os.system(tiff2pscmd + " " + tiff2psoptions + incomingfaxes + "rxfax-" + the_uuid + ".ps " + incomingfaxes + "rxfax-" + the_uuid + ".tiff") consoleLog("info","Running: " + tiff2pscmd + " " + tiff2psoptions + incomingfaxes + "rxfax-" + the_uuid + ".ps " + incomingfaxes + "rxfax-" + the_uuid + ".tiff" + "\n"); consoleLog("info","Tiff error " + str(error) + "\n") #if making the postscript worked, let's try making the pdf if error == 0: consoleLog("info","Running: "+ps2pdfcmd + " " + ps2pdfoptions + incomingfaxes + "rxfax-" + the_uuid + ".ps " + incomingfaxes + "rxfax-" + the_uuid + ".pdf" + "\n") os.system(ps2pdfcmd + " " + ps2pdfoptions + incomingfaxes + "rxfax-" + the_uuid + ".ps " + incomingfaxes + "rxfax-" + the_uuid + ".pdf") #let's delete the .ps and .tiff now if error == 0: os.system('rm -f ' + incomingfaxes + "rxfax-" + the_uuid + ".ps " + incomingfaxes + "rxfax-" + the_uuid + ".tiff") consoleLog("info", " rxfax receiving from " + the_caller + " for destination " + the_dest + ", SUCCESSFULLY RECEIVED, processing" + "\n") #assemble full pdf file name with path pdffile = incomingfaxes + "rxfax-" + the_uuid + ".pdf" consoleLog("debug", " rxfax pdf file name is " + pdffile + "\n") the_subject = "New Incoming Fax from " + the_caller + " to " + the_dest #make the email data outer = MIMEMultipart() consoleLog("debug", " rxfax MIMEMultipart() called\n") outer['Subject'] = the_subject consoleLog("debug", " rxfax set subject to " + the_subject + "\n") outer['From'] = send_from consoleLog("debug", " rxfax set FROM to " + send_from + "\n") outer['To'] = the_recipient consoleLog("debug", " rxfax set TO to " + the_recipient + "\n") outer.preamble = 'A new fax has been received and is attached to this email.' consoleLog("debug", " rxfax creating email from=" + the_caller + ", to=" + the_recipient + ", dest=" + the_dest + ", sent from=" + send_from + "\n") # the code attempts to guess the mimetype # ctype, encoding = mimetypes.guess_type(pdffile) consoleLog("debug", " rxfax PDF ctype is " + ctype + "\n") if ctype is None or encoding is not None: # If no guess could be made ctype = 'application/octet-stream' consoleLog("debug", " rxfax executed: ctype = 'application/octet-stream'\n") maintype, subtype = ctype.split('/', 1) consoleLog("debug", " rxfax executed: maintype, subtype = ctype.split('/', 1)'\n") fp = open(pdffile, 'rb') consoleLog("debug", " rxfax opened pdf file\n") msg = MIMEBase(maintype, subtype) consoleLog("debug", " rxfax executed: msg = MIMEBase(maintype, subtype)\n") msg.set_payload(fp.read()) consoleLog("debug", " rxfax executed: msg.set_payload(fp.read())\n") fp.close() consoleLog("debug", " rxfax executed: fp.close()\n") # Encode the payload using Base64 Encoders.encode_base64(msg) consoleLog("debug", " rxfax executed: Encoders.encode_base64(msg)\n") # Set the filename parameter consoleLog("debug", " rxfax setting filename on attachment header (msg.add_header) \n") ## CHANGE LINE BELOW TO CUSTOMIZE FILENAME USER SEES msg.add_header('Content-Disposition', 'attachment', filename="Fax from " + the_caller + ".pdf") consoleLog("debug", " rxfax attempting to attach file to message\n") outer.attach(msg) consoleLog("debug", " rxfax finished creating email from " + the_caller + " for " + the_recipient + "\n") #try to email the pdf composed = outer.as_string() s = smtplib.SMTP(smtp_server, smtp_port) s.starttls() s.login(send_from, "password") s.sendmail(send_from, the_recipient, composed) s.quit() consoleLog("info", " rxfax email sent to " + the_recipient + " from " + the_caller + "\n") #let's assume that we were able to send. let's now delete the pdf. os.system('rm -f ' + pdffile) #hooray! you should have just been emailed a fax. #return From Joaquin.Alzola at lebara.com Wed Dec 7 03:08:16 2016 From: Joaquin.Alzola at lebara.com (Joaquin Alzola) Date: Wed, 7 Dec 2016 00:08:16 +0000 Subject: [Freeswitch-users] Re- FreeSWITCH 1.6.13 on CentOS 6.8 and mod_flite build issue In-Reply-To: References: Message-ID: You need to put on the PATH (to find binaries) and LD_LIBRARY_PATH (to find the .so) on the installation directory. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: 06 December 2016 23:27 To: FreeSWITCH Users Help Subject: [Freeswitch-users] Re- FreeSWITCH 1.6.13 on CentOS 6.8 and mod_flite build issue To FreeSWITCH users, I understand that there is a need to move to CentOS 7 for FreeSWITCH, however my client cannot do this currently. I have tried to get mod_flite to build inside FreeSWITCH 1.6.13 on CentOS 6.8 I get the following when running FreeSWITCH make after ./configure: making all mod_flite make[3]: Entering directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' Makefile:800: *** You must install libflite-dev to build mod_flite. Stop. make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' make[2]: *** [mod_flite-all] Error 1 make[2]: Leaving directory `/usr/local/src/freeswitch/src/mod' make[1]: *** [mod_flite] Error 2 make[1]: Leaving directory `/usr/local/src/freeswitch/src/mod' make: *** [mod_flite] Error 2 Since there is no libflite-devel package for CentOS 6 I did the following successfully: cd /usr/src wget http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz tar -xzvf flite-2.0.0.tar.gz cd flite-2.0.0 ./configure --enable-shared --prefix=/usr/local make && make install This worked OK and setup everything inside /usr/local/lib However when I try to run ./configure and make inside the FreeSWITCH source directory again I get the same error above. Any ideas? Kind Regards, Andrew Keil Visytel Pty Ltd [visytellogo] www.visytel.com Mobile: +61 (0) 429 076 431 Skype: visytel This e-mail message may contain confidential and commercially sensitive information. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. If you receive this e-mail message by mistake, please contact Visytel Pty Ltd on +61 429 076 431. This email is confidential and may be subject to privilege. If you are not the intended recipient, please do not copy or disclose its content but contact the sender immediately upon receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/3c2d199e/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 1530 bytes Desc: image002.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/3c2d199e/attachment-0001.jpg From sebastian_ml at gmx.net Wed Dec 7 01:44:09 2016 From: sebastian_ml at gmx.net (Sebastian Kemper) Date: Tue, 6 Dec 2016 23:44:09 +0100 Subject: [Freeswitch-users] Segfault when running tone2wav Message-ID: <20161206224406.GA28731@hotdamn.lan> Hello list, I was testing tone2wav and it basically just segfaulted. I put the following line into file itu.tone: v=-7;%(100,0,941.0,1477.0);v=-7;>=2;+=.1;%(1400,0,350,440) Then I ran: # tone2wav itu.wav itu.tone File: itu.wav generated... Please support: FreeSWITCH http://www.freeswitch.org ClueCon http://www.cluecon.com Segmentation fault # echo $? 139 # The WAV file is rather small (44 Bytes) and there's nothing audible. In dmesg I see: [ 9511.288341] tone2wav[28766]: segfault at 8 ip 00007f5566bc5fe5 sp 00007fff7b662d40 error 4 in libfreeswitch.so.1.0.0[7f556680a000+4a7000] I was initially testing tone2wav on a mips router with musl toolchain. Then I went to x86_64 with musl and had a segfault as well. Then I tried on a x86_64 laptop with glibc toolchain and it segfaulted also. I recompiled FS 1.6.13 with debug enabled and got the backtrace below. Should I file a JIRA for this? # gdb tone2wav GNU gdb (Gentoo 7.10.1 vanilla) 7.10.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from tone2wav...Reading symbols from /usr/lib64/debug//usr/bin/tone2wav.debug...done. done. (gdb) run itu.wav itu.tone Starting program: /usr/bin/tone2wav itu.wav itu.tone [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7ffff7f0f700 (LWP 28707)] [New Thread 0x7ffff410b700 (LWP 28710)] File: itu.wav generated... Please support: FreeSWITCH http://www.freeswitch.org ClueCon http://www.cluecon.com [Thread 0x7ffff410b700 (LWP 28710) exited] [Thread 0x7ffff7f0f700 (LWP 28707) exited] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7ab5fe5 in apr_pool_destroy (pool=0x0) at memory/unix/apr_pools.c:748 748 while (pool->child) (gdb) set logging on Copying output to gdb.txt. (gdb) thread apply all backtrace full Thread 1 (Thread 0x7ffff7fd7780 (LWP 28703)): #0 0x00007ffff7ab5fe5 in apr_pool_destroy (pool=0x0) at memory/unix/apr_pools.c:748 active = 0x7ffff7db1ae8 allocator = 0x0 #1 0x00007ffff777ead4 in switch_core_perform_destroy_memory_pool (pool=0x7ffff7db21e8 , file=0x7ffff7b08243 "src/switch_core_media.c", func=0x7ffff7b0d7f0 <__func__.42791> "switch_core_media_deinit", line=11051) at src/switch_core_memory.c:439 __PRETTY_FUNCTION__ = "switch_core_perform_destroy_memory_pool" #2 0x00007ffff77dfdd6 in switch_core_media_deinit () at src/switch_core_media.c:11051 __func__ = "switch_core_media_deinit" #3 0x00007ffff77b3b11 in switch_core_destroy () at src/switch_core.c:2962 event = 0x0 __func__ = "switch_core_destroy" #4 0x0000000000401343 in main (argc=3, argv=0x7fffffffe278) at src/tone2wav.c:175 ts = {TONES = {{freqs = {0 }} , {freqs = {941, 1477, 0 }}, {freqs = { 0 }}, {freqs = {0 }}, {freqs = {0 }}, {freqs = {0 }}, { freqs = {0 }}, {freqs = {0 }}, {freqs = {941, 1209, 0 }}, {freqs = { 0 }}, {freqs = {0 }}, {freqs = {0 }}, {freqs = {0 }}, { freqs = {0 }}, {freqs = {941, 1336, 0 }}, {freqs = {697, 1209, 0 }}, {freqs = { 697, 1336, 0 }}, {freqs = {697, 1477, 0 }}, {freqs = {770, 1209, 0 }}, { freqs = {770, 1336, 0 }}, {freqs = {770, 1477, 0 }}, {freqs = {859, 1209, 0 }}, { freqs = {859, 1336, 0 }}, {freqs = {859, 1477, 0 }}, {freqs = {0 }}, {freqs = { 0 }}, {freqs = {0 }}, {freqs = {0 }}, {freqs = {0 }}, { freqs = {0 }}, {freqs = {0 }}, {freqs = {697, 1633, 0 }}, {freqs = {770, 1633, 0 }}, {freqs = {859, 1633, 0 }}, {freqs = {941, 1633, 0 }}, {freqs = { 0 }} }, channels = 1, rate = 8000, duration = 2000, wait = 400, tmp_duration = -1, tmp_wait = -1, loops = 0, LOOPS = 0, decay_factor = 1, decay_direction = 0, decay_step = 0, volume = -7, debug = 0, debug_stream = 0x0, user_data = 0x7fffffff9820, buffer = 0x0, datalen = 0, samples = 0, dynamic = 1024, handler = 0x400d46 } file_flags = 10 r = 0 rate = 8000 file = 0x7fffffffe523 "itu.wav" script = 0x7fffffffe52b "itu.tone" fh = {file_interface = 0x0, flags = 14, fd = 0x0, samples = 0, samplerate = 8000, native_rate = 8000, channels = 1, real_channels = 1, format = 65538, sections = 0, seekable = 0, sample_count = 0, speed = 0, memory_pool = 0x0, prebuf = 0, interval = 0, private_info = 0x7ff1a0, handler = 0x0, pos = 0, audio_buffer = 0x0, sp_audio_buffer = 0x0, thresh = 0, silence_hits = 0, offset_pos = 0, samples_in = 0, samples_out = 0, vol = 0, resampler = 0x0, buffer = 0x0, dbuf = 0x0, dbuflen = 0, pre_buffer = 0x0, pre_buffer_data = 0x0, pre_buffer_datalen = 0, file = 0x40158b "src/tone2wav.c", func = 0x40161c <__func__.17033> "main", line = 153, file_path = 0x7ff190 "itu.wav", spool_path = 0x0, prefix = 0x0, max_samples = 0, params = 0x0, cur_channels = 0, cur_samplerate = 0, stream_name = 0x0, modname = 0x0, mm = {samplerate = 44100, channels = 1, keyint = 60, ab = 128, vb = 0, vw = 0, vh = 0, cbr = 0, fps = 0, source_fps = 0, vbuf = 0, vprofile = SWITCH_VIDEO_PROFILE_BASELINE, vencspd = SWITCH_VIDEO_ENCODE_SPEED_DEFAULT, try_hardware_encoder = 1 '\001'}, flag_mutex = 0x7ff140, duration = 0, vpos = 0} err = 0x7ffff7b0f7e5 "" verbose = SWITCH_FALSE i = 1 c = 1 help = 0 __func__ = "main" quit Kind regards, Sebastian From italo at freeswitch.org Wed Dec 7 17:28:26 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Wed, 07 Dec 2016 14:28:26 +0000 Subject: [Freeswitch-users] Segfault when running tone2wav In-Reply-To: <20161206224406.GA28731@hotdamn.lan> References: <20161206224406.GA28731@hotdamn.lan> Message-ID: Yep, JIRA Em qua, 7 de dez de 2016 ?s 11:27, Sebastian Kemper escreveu: > Hello list, > > I was testing tone2wav and it basically just segfaulted. I put the > following line into file itu.tone: > > v=-7;%(100,0,941.0,1477.0);v=-7;>=2;+=.1;%(1400,0,350,440) > > Then I ran: > > # tone2wav itu.wav itu.tone > File: itu.wav generated... > > Please support: > FreeSWITCH http://www.freeswitch.org > ClueCon http://www.cluecon.com > Segmentation fault > # echo $? > 139 > # > > The WAV file is rather small (44 Bytes) and there's nothing audible. > > In dmesg I see: > > [ 9511.288341] tone2wav[28766]: segfault at 8 ip 00007f5566bc5fe5 sp > 00007fff7b662d40 error 4 in libfreeswitch.so.1.0.0[7f556680a000+4a7000] > > I was initially testing tone2wav on a mips router with musl toolchain. > Then I went to x86_64 with musl and had a segfault as well. Then I tried > on a x86_64 laptop with glibc toolchain and it segfaulted also. > > I recompiled FS 1.6.13 with debug enabled and got the backtrace below. > Should I file a JIRA for this? > > # gdb tone2wav > GNU gdb (Gentoo 7.10.1 vanilla) 7.10.1 > Copyright (C) 2015 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later < > http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-pc-linux-gnu". > Type "show configuration" for configuration details. > For bug reporting instructions, please see: > . > Find the GDB manual and other documentation resources online at: > . > For help, type "help". > Type "apropos word" to search for commands related to "word"... > Reading symbols from tone2wav...Reading symbols from > /usr/lib64/debug//usr/bin/tone2wav.debug...done. > done. > (gdb) run itu.wav itu.tone > Starting program: /usr/bin/tone2wav itu.wav itu.tone > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib64/libthread_db.so.1". > [New Thread 0x7ffff7f0f700 (LWP 28707)] > [New Thread 0x7ffff410b700 (LWP 28710)] > File: itu.wav generated... > > Please support: > FreeSWITCH http://www.freeswitch.org > ClueCon http://www.cluecon.com > [Thread 0x7ffff410b700 (LWP 28710) exited] > [Thread 0x7ffff7f0f700 (LWP 28707) exited] > > Program received signal SIGSEGV, Segmentation fault. > 0x00007ffff7ab5fe5 in apr_pool_destroy (pool=0x0) at > memory/unix/apr_pools.c:748 > 748 while (pool->child) > (gdb) set logging on > Copying output to gdb.txt. > (gdb) thread apply all backtrace full > > Thread 1 (Thread 0x7ffff7fd7780 (LWP 28703)): > #0 0x00007ffff7ab5fe5 in apr_pool_destroy (pool=0x0) at > memory/unix/apr_pools.c:748 > active = 0x7ffff7db1ae8 > allocator = 0x0 > #1 0x00007ffff777ead4 in switch_core_perform_destroy_memory_pool > (pool=0x7ffff7db21e8 , > file=0x7ffff7b08243 "src/switch_core_media.c", func=0x7ffff7b0d7f0 > <__func__.42791> "switch_core_media_deinit", line=11051) > at src/switch_core_memory.c:439 > __PRETTY_FUNCTION__ = "switch_core_perform_destroy_memory_pool" > #2 0x00007ffff77dfdd6 in switch_core_media_deinit () at > src/switch_core_media.c:11051 > __func__ = "switch_core_media_deinit" > #3 0x00007ffff77b3b11 in switch_core_destroy () at src/switch_core.c:2962 > event = 0x0 > __func__ = "switch_core_destroy" > #4 0x0000000000401343 in main (argc=3, argv=0x7fffffffe278) at > src/tone2wav.c:175 > ts = {TONES = {{freqs = {0 }} times>, {freqs = {941, 1477, 0 }}, {freqs = { > 0 }}, {freqs = {0 }}, > {freqs = {0 }}, {freqs = {0 }}, { > freqs = {0 }}, {freqs = {0 times>}}, {freqs = {941, 1209, 0 }}, {freqs = { > 0 }}, {freqs = {0 }}, > {freqs = {0 }}, {freqs = {0 }}, { > freqs = {0 }}, {freqs = {941, 1336, 0 > }}, {freqs = {697, 1209, 0 }}, {freqs = > { > 697, 1336, 0 }}, {freqs = {697, 1477, 0 > }}, {freqs = {770, 1209, 0 }}, { > freqs = {770, 1336, 0 }}, {freqs = {770, > 1477, 0 }}, {freqs = {859, 1209, 0 }}, { > freqs = {859, 1336, 0 }}, {freqs = {859, > 1477, 0 }}, {freqs = {0 }}, {freqs = { > 0 }}, {freqs = {0 }}, > {freqs = {0 }}, {freqs = {0 }}, { > freqs = {0 }}, {freqs = {0 times>}}, {freqs = {697, 1633, 0 }}, {freqs = {770, 1633, > 0 }}, {freqs = {859, 1633, 0 times>}}, {freqs = {941, 1633, 0 }}, {freqs = { > 0 }} }, channels = 1, > rate = 8000, duration = 2000, wait = 400, tmp_duration = -1, > tmp_wait = -1, loops = 0, LOOPS = 0, decay_factor = 1, > decay_direction = 0, decay_step = 0, volume = -7, debug = 0, debug_stream = > 0x0, > user_data = 0x7fffffff9820, buffer = 0x0, datalen = 0, samples = > 0, dynamic = 1024, handler = 0x400d46 } > file_flags = 10 > r = 0 > rate = 8000 > file = 0x7fffffffe523 "itu.wav" > script = 0x7fffffffe52b "itu.tone" > fh = {file_interface = 0x0, flags = 14, fd = 0x0, samples = 0, > samplerate = 8000, native_rate = 8000, channels = 1, real_channels = 1, > format = 65538, sections = 0, seekable = 0, sample_count = 0, > speed = 0, memory_pool = 0x0, prebuf = 0, interval = 0, > private_info = 0x7ff1a0, handler = 0x0, pos = 0, audio_buffer = > 0x0, sp_audio_buffer = 0x0, thresh = 0, silence_hits = 0, offset_pos = 0, > samples_in = 0, samples_out = 0, vol = 0, resampler = 0x0, > buffer = 0x0, dbuf = 0x0, dbuflen = 0, pre_buffer = 0x0, pre_buffer_data = > 0x0, > pre_buffer_datalen = 0, file = 0x40158b "src/tone2wav.c", func = > 0x40161c <__func__.17033> "main", line = 153, > file_path = 0x7ff190 "itu.wav", spool_path = 0x0, prefix = 0x0, > max_samples = 0, params = 0x0, cur_channels = 0, cur_samplerate = 0, > stream_name = 0x0, modname = 0x0, mm = {samplerate = 44100, > channels = 1, keyint = 60, ab = 128, vb = 0, vw = 0, vh = 0, cbr = 0, fps = > 0, > source_fps = 0, vbuf = 0, vprofile = > SWITCH_VIDEO_PROFILE_BASELINE, vencspd = SWITCH_VIDEO_ENCODE_SPEED_DEFAULT, > try_hardware_encoder = 1 '\001'}, flag_mutex = 0x7ff140, > duration = 0, vpos = 0} > err = 0x7ffff7b0f7e5 "" > verbose = SWITCH_FALSE > i = 1 > c = 1 > help = 0 > __func__ = "main" > quit > > Kind regards, > Sebastian > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/73ec2e5d/attachment-0001.html From krice at freeswitch.org Wed Dec 7 17:34:43 2016 From: krice at freeswitch.org (Ken Rice) Date: Wed, 7 Dec 2016 08:34:43 -0600 Subject: [Freeswitch-users] Segfault when running tone2wav In-Reply-To: <20161206224406.GA28731@hotdamn.lan> References: <20161206224406.GA28731@hotdamn.lan> Message-ID: <3ad601d25097$0ea565d0$2bf03170$@freeswitch.org> Segfaults are always bugs, and bugs always get reported to Jira -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Sebastian Kemper Sent: Tuesday, December 6, 2016 4:44 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Segfault when running tone2wav Hello list, I was testing tone2wav and it basically just segfaulted. I put the following line into file itu.tone: v=-7;%(100,0,941.0,1477.0);v=-7;>=2;+=.1;%(1400,0,350,440) Then I ran: # tone2wav itu.wav itu.tone File: itu.wav generated... Please support: FreeSWITCH http://www.freeswitch.org ClueCon http://www.cluecon.com Segmentation fault # echo $? 139 # The WAV file is rather small (44 Bytes) and there's nothing audible. In dmesg I see: [ 9511.288341] tone2wav[28766]: segfault at 8 ip 00007f5566bc5fe5 sp 00007fff7b662d40 error 4 in libfreeswitch.so.1.0.0[7f556680a000+4a7000] I was initially testing tone2wav on a mips router with musl toolchain. Then I went to x86_64 with musl and had a segfault as well. Then I tried on a x86_64 laptop with glibc toolchain and it segfaulted also. I recompiled FS 1.6.13 with debug enabled and got the backtrace below. Should I file a JIRA for this? # gdb tone2wav GNU gdb (Gentoo 7.10.1 vanilla) 7.10.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from tone2wav...Reading symbols from /usr/lib64/debug//usr/bin/tone2wav.debug...done. done. (gdb) run itu.wav itu.tone Starting program: /usr/bin/tone2wav itu.wav itu.tone [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7ffff7f0f700 (LWP 28707)] [New Thread 0x7ffff410b700 (LWP 28710)] File: itu.wav generated... Please support: FreeSWITCH http://www.freeswitch.org ClueCon http://www.cluecon.com [Thread 0x7ffff410b700 (LWP 28710) exited] [Thread 0x7ffff7f0f700 (LWP 28707) exited] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7ab5fe5 in apr_pool_destroy (pool=0x0) at memory/unix/apr_pools.c:748 748 while (pool->child) (gdb) set logging on Copying output to gdb.txt. (gdb) thread apply all backtrace full Thread 1 (Thread 0x7ffff7fd7780 (LWP 28703)): #0 0x00007ffff7ab5fe5 in apr_pool_destroy (pool=0x0) at memory/unix/apr_pools.c:748 active = 0x7ffff7db1ae8 allocator = 0x0 #1 0x00007ffff777ead4 in switch_core_perform_destroy_memory_pool (pool=0x7ffff7db21e8 , file=0x7ffff7b08243 "src/switch_core_media.c", func=0x7ffff7b0d7f0 <__func__.42791> "switch_core_media_deinit", line=11051) at src/switch_core_memory.c:439 __PRETTY_FUNCTION__ = "switch_core_perform_destroy_memory_pool" #2 0x00007ffff77dfdd6 in switch_core_media_deinit () at src/switch_core_media.c:11051 __func__ = "switch_core_media_deinit" #3 0x00007ffff77b3b11 in switch_core_destroy () at src/switch_core.c:2962 event = 0x0 __func__ = "switch_core_destroy" #4 0x0000000000401343 in main (argc=3, argv=0x7fffffffe278) at src/tone2wav.c:175 ts = {TONES = {{freqs = {0 }} , {freqs = {941, 1477, 0 }}, {freqs = { 0 }}, {freqs = {0 }}, {freqs = {0 }}, {freqs = {0 }}, { freqs = {0 }}, {freqs = {0 }}, {freqs = {941, 1209, 0 }}, {freqs = { 0 }}, {freqs = {0 }}, {freqs = {0 }}, {freqs = {0 }}, { freqs = {0 }}, {freqs = {941, 1336, 0 }}, {freqs = {697, 1209, 0 }}, {freqs = { 697, 1336, 0 }}, {freqs = {697, 1477, 0 }}, {freqs = {770, 1209, 0 }}, { freqs = {770, 1336, 0 }}, {freqs = {770, 1477, 0 }}, {freqs = {859, 1209, 0 }}, { freqs = {859, 1336, 0 }}, {freqs = {859, 1477, 0 }}, {freqs = {0 }}, {freqs = { 0 }}, {freqs = {0 }}, {freqs = {0 }}, {freqs = {0 }}, { freqs = {0 }}, {freqs = {0 }}, {freqs = {697, 1633, 0 }}, {freqs = {770, 1633, 0 }}, {freqs = {859, 1633, 0 }}, {freqs = {941, 1633, 0 }}, {freqs = { 0 }} }, channels = 1, rate = 8000, duration = 2000, wait = 400, tmp_duration = -1, tmp_wait = -1, loops = 0, LOOPS = 0, decay_factor = 1, decay_direction = 0, decay_step = 0, volume = -7, debug = 0, debug_stream = 0x0, user_data = 0x7fffffff9820, buffer = 0x0, datalen = 0, samples = 0, dynamic = 1024, handler = 0x400d46 } file_flags = 10 r = 0 rate = 8000 file = 0x7fffffffe523 "itu.wav" script = 0x7fffffffe52b "itu.tone" fh = {file_interface = 0x0, flags = 14, fd = 0x0, samples = 0, samplerate = 8000, native_rate = 8000, channels = 1, real_channels = 1, format = 65538, sections = 0, seekable = 0, sample_count = 0, speed = 0, memory_pool = 0x0, prebuf = 0, interval = 0, private_info = 0x7ff1a0, handler = 0x0, pos = 0, audio_buffer = 0x0, sp_audio_buffer = 0x0, thresh = 0, silence_hits = 0, offset_pos = 0, samples_in = 0, samples_out = 0, vol = 0, resampler = 0x0, buffer = 0x0, dbuf = 0x0, dbuflen = 0, pre_buffer = 0x0, pre_buffer_data = 0x0, pre_buffer_datalen = 0, file = 0x40158b "src/tone2wav.c", func = 0x40161c <__func__.17033> "main", line = 153, file_path = 0x7ff190 "itu.wav", spool_path = 0x0, prefix = 0x0, max_samples = 0, params = 0x0, cur_channels = 0, cur_samplerate = 0, stream_name = 0x0, modname = 0x0, mm = {samplerate = 44100, channels = 1, keyint = 60, ab = 128, vb = 0, vw = 0, vh = 0, cbr = 0, fps = 0, source_fps = 0, vbuf = 0, vprofile = SWITCH_VIDEO_PROFILE_BASELINE, vencspd = SWITCH_VIDEO_ENCODE_SPEED_DEFAULT, try_hardware_encoder = 1 '\001'}, flag_mutex = 0x7ff140, duration = 0, vpos = 0} err = 0x7ffff7b0f7e5 "" verbose = SWITCH_FALSE i = 1 c = 1 help = 0 __func__ = "main" quit Kind regards, Sebastian _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 Hector.Geraldino at ipsoft.com Wed Dec 7 18:08:22 2016 From: Hector.Geraldino at ipsoft.com (Hector Geraldino) Date: Wed, 7 Dec 2016 15:08:22 +0000 Subject: [Freeswitch-users] Freeswitch 1.6 with Nuance Vocalizer 6.2.3 - "Client connection refused" In-Reply-To: References: Message-ID: Is the Vocalizer for Network/NSS listening on that port? Can you nmap/telnet to that IP address on port 9200? I had no issues with using Nuance?s Vocalizer with MRCP using the mod_unimrcp module. From: on behalf of Anonim Stefan Reply-To: FreeSWITCH Users Help Date: Wednesday, December 7, 2016 at 5:56 AM To: Freeswitch-users Subject: [Freeswitch-users] Freeswitch 1.6 with Nuance Vocalizer 6.2.3 - "Client connection refused" Hi, I unsuccessfully tried to do TTS on Freeswitch using mod_unimrcp (with specific nuance profile), by connecting to nuance-server. I started the Nuance server in mrcp mode: [0] For MRCP v1 I get [1]. For MRCP v2 (using TCP) I get [2]. For nuance nvscmdline I get [3]. The FS unimrcp profiles I used are [4] for v1 and [5] for v2. Am I missing something here?! Have anyone tried this lately? Is Freeswitch 1.6 mod_unimrcp working with latest Nuance? Thank you, Stefan [0] http://pastebin.com/qXixTb5y [1] http://pastebin.com/dSxWNvX5 [2] http://pastebin.com/CPdRcpBY [3] http://pastebin.com/9D5kHuwc [4] http://pastebin.com/Q39PX74Q [5] http://pastebin.com/t2iAr6H1 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/354d36cd/attachment.html From brian at freeswitch.org Wed Dec 7 18:47:00 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 07 Dec 2016 15:47:00 +0000 Subject: [Freeswitch-users] t38 fax receive stuck In-Reply-To: References: Message-ID: You're gonna have to update, there is no telling what all was fixed since that one. On Wed, Dec 7, 2016 at 8:11 AM Mirko Brankovic wrote: > Hi, > > I have a strange situation where faxes gets stuck for good amount of time > on rxfax application. > > Detailed debugging let me to conclusion that one side doesn't send signal > back and the other side is not 'timing out'/ giving up. > > Callflow is fax...provider...gateway... rxfax(file.tif) > > Here is the log: > > b8a0b22f-5733-499d-a32f-712106821a53 2016-12-07 10:08:03.434513 [DEBUG] > sofia.c:5677 Channel sofia/external/496421607583 at 89.184.172.62 entering > state [ready][200] > 2016-12-07 10:08:03.504510 [DEBUG] mod_spandsp_fax.c:286 FLOW T.38T Type > FCD - CRC OK (clean) > 2016-12-07 10:08:03.504510 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Stop > none (0 remaining) > 2016-12-07 10:08:03.504510 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Rx: > FCD without final frame tag > 2016-12-07 10:08:03.504510 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Rx: ff > 03 06 41 02 d1 a5 0b d2 bf ef ff af ae 77 1f 06 eb 88 5e bf fb 82 40 5f 7f > 15 04 41 af ba 2e d5 13 48 8c 5f d7 9f 20 13 87 62 6c ba e8 e2 4b 5c 89 40 > ec ea 1b 32 c7 21 e2 29 08 7a 41 10 f4 d6 fd ff aa bf ff 1f 22 2e 30 1e 82 > e2 5f 02 81 56 e9 ab 6e 08 02 bd 21 5c c3 82 20 90 ff 08 d6 fa 5f 10 e1 b8 > 59 55 10 84 e8 e2 0e fd 55 a6 70 28 34 8e 7f 7f c7 02 4b 47 15 04 fd 0c e9 > ff 4d c9 53 1b 7d d5 af ff f5 bf 52 0e 02 f9 70 54 ad a3 7f bd 4a 70 cc 2d > 15 5d c4 67 08 59 69 fc 5f fa 15 ba f5 82 a0 c8 91 bd 25 fd 11 b5 be 5e 53 > 69 3a 2e ad ea 8f a8 af 12 04 fd ff 43 d0 10 e8 fd 54 8b 21 ba d8 fa ff 9a > 2f 53 89 24 04 21 9a 64 31 3f 52 69 e2 13 9f 2e ba e8 d2 ff 7f 21 04 aa 82 > 88 ff 35 7d ba 40 a0 5d 5f 7a bc 9e 10 fd 2f be 52 5b fa ef a8 a6 e2 ff ff > 6b f5 fd bf d0 d1 ff 7a ff > 2016-12-07 10:08:03.504510 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Storing > ECM frame 65, length 256 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Receive > complete in phase T30_PHASE_C_NON_ECM_RX, state 7 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Non-ECM > signal status is Carrier down (-1) in state 7 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 > Trainability (TCF) test result - 14512 total bits. longest run of zeros was > 14480 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 > Changing from phase T30_PHASE_C_NON_ECM_RX to T30_PHASE_B_TX > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.38T Set rx > type 0 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.38T Set tx > type 4 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 > Changing from state 7 to 8 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Tx: > CFR with final frame tag > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Tx: ff > 13 84 > 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 No > signal is present > > > > What I think from the log is that there is no signal from the initiating > side, which leads to the message "No signal is present" but my question is > why would spandsp still keep waiting? > > Problem is that this is quite old version of FreeSwitch (FreeSWITCH > Version 1.2.0 (git-89c590c 2012-05-08 20-08-26 +0000)) based on ooooold > commit 89c590c > > I've looked at the git diff between the current spandsp and that one, and > there are some changes but not that much. > > > Can anyone familiar with this bring some light to me please :) > > Thanks, > -- > Regards, > Mirko > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/256028be/attachment-0001.html From aqsyounas at gmail.com Wed Dec 7 20:53:13 2016 From: aqsyounas at gmail.com (Aqs Younas) Date: Wed, 7 Dec 2016 22:53:13 +0500 Subject: [Freeswitch-users] mod hiredis throwing response error[(null)][4] on getting value Message-ID: Greetings list, I am testing mod_hiredis to store some values in cache. I see whenever I try to get a value against a key which does not exist. I see errors in logs freeswitch at debian> hiredis_raw default get key2 2016-12-07 10:19:09.033417 [INFO] hiredis_profile.c:86 hiredis: recycled from pool[localhost, 6379] Unknown Command: hiredis_raw default get key2 2016-12-07 10:19:09.033417 [ERR] hiredis_profile.c:222 hiredis: response error[(null)][4] 2016-12-07 10:19:09.033417 [ERR] mod_hiredis.c:107 hiredis: profile[default] error executing [get key2] reason:[] whereas in the case of Memcache, this thing is handled well enough. freeswitch at debian> memcache get key2 -ERR NOT FOUND I have two questions here, 1) Is it possible to make hiredis to throw errors more sufficiently? Like returning null instead of throwing these errors. 2) Is hgetall available in hiredis? Best, Aqs Younas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/e87c17fd/attachment.html From cmrienzo at gmail.com Wed Dec 7 21:58:08 2016 From: cmrienzo at gmail.com (Christopher Rienzo) Date: Wed, 7 Dec 2016 13:58:08 -0500 Subject: [Freeswitch-users] mod hiredis throwing response error[(null)][4] on getting value In-Reply-To: References: Message-ID: I can add support for the NIL reply to mod_hiredis in addition to a few other fixes I need to push upstream. On Wed, Dec 7, 2016 at 12:53 PM, Aqs Younas wrote: > Greetings list, > I am testing mod_hiredis to store some values in cache. I see whenever > I try to get a value against a key which does not exist. I see errors in > logs > > freeswitch at debian> hiredis_raw default get key2 > 2016-12-07 10:19:09.033417 [INFO] hiredis_profile.c:86 hiredis: recycled > from pool[localhost, 6379] > Unknown Command: hiredis_raw default get key2 > 2016-12-07 10:19:09.033417 [ERR] hiredis_profile.c:222 hiredis: response > error[(null)][4] > 2016-12-07 10:19:09.033417 [ERR] mod_hiredis.c:107 hiredis: > profile[default] error executing [get key2] reason:[] > > whereas in the case of Memcache, this thing is handled well enough. > freeswitch at debian> memcache get key2 > > -ERR NOT FOUND > > I have two questions here, > > 1) Is it possible to make hiredis to throw errors more sufficiently? Like > returning null instead of throwing these errors. > 2) Is hgetall available in hiredis? > > Best, > Aqs Younas > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/61a20666/attachment.html From aqsyounas at gmail.com Wed Dec 7 22:05:10 2016 From: aqsyounas at gmail.com (Aqs Younas) Date: Thu, 8 Dec 2016 00:05:10 +0500 Subject: [Freeswitch-users] mod hiredis throwing response error[(null)][4] on getting value In-Reply-To: References: Message-ID: Thank You. Let me know if you want anything from my side. On 7 December 2016 at 23:58, Christopher Rienzo wrote: > I can add support for the NIL reply to mod_hiredis in addition to a few > other fixes I need to push upstream. > > On Wed, Dec 7, 2016 at 12:53 PM, Aqs Younas wrote: > >> Greetings list, >> I am testing mod_hiredis to store some values in cache. I see whenever >> I try to get a value against a key which does not exist. I see errors in >> logs >> >> freeswitch at debian> hiredis_raw default get key2 >> 2016-12-07 10:19:09.033417 [INFO] hiredis_profile.c:86 hiredis: recycled >> from pool[localhost, 6379] >> Unknown Command: hiredis_raw default get key2 >> 2016-12-07 10:19:09.033417 [ERR] hiredis_profile.c:222 hiredis: response >> error[(null)][4] >> 2016-12-07 10:19:09.033417 [ERR] mod_hiredis.c:107 hiredis: >> profile[default] error executing [get key2] reason:[] >> >> whereas in the case of Memcache, this thing is handled well enough. >> freeswitch at debian> memcache get key2 >> >> -ERR NOT FOUND >> >> I have two questions here, >> >> 1) Is it possible to make hiredis to throw errors more sufficiently? Like >> returning null instead of throwing these errors. >> 2) Is hgetall available in hiredis? >> >> Best, >> Aqs Younas >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161208/4f83caa0/attachment.html From chad at apartmentlines.com Wed Dec 7 23:37:41 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Wed, 7 Dec 2016 14:37:41 -0600 Subject: [Freeswitch-users] How can I cancel a bgapi job? In-Reply-To: References: <1498269843.85638.1480976600976.ref@mail.yahoo.com> <1498269843.85638.1480976600976@mail.yahoo.com> Message-ID: if you have access to channel/global vars in the job, one workable albeit clunky solution is to periodically check for the existance/value of a particular var inside the job itself, and then end the job when that change occurs. On Tue, Dec 6, 2016 at 5:39 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > There is no way implemented to do that. The async tasks are designed with > the expectation it will never be cancelled and that most tasks should be > executed immediately. > > > > On Tue, Dec 6, 2016 at 8:13 AM, Steven Ayre wrote: > >> In the case of originate you could do 'api uuid_kill my_uuid' to >> immediately hangup the call' >> >> On 5 December 2016 at 22:23, D D wrote: >> >>> Hi, >>> >>> How can I cancel a bgapi job? >>> >>> Let's suppose I do bgapi command to originate a call and then am >>> immediately told it needs to >>> be cancelled...but it has not started yet. Even if I supply my own uuid >>> on the originate >>> and a job-uud on the bgapi command, I don't see any way I can cancel the >>> "unstarted" call. >>> >>> Note that I can construct a test case for this situation by doing a >>> fs_cli command >>> bgapi originate {originate_delay_start=30000,o >>> rigination_uuid=my_uuid}sofia/gateway/... >>> This command will start a request that cannot be cancelled until the >>> call actually starts (thirty >>> seconds later). >>> >>> Any ideas? >>> >>> 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 >> > > > > -- > 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/20161207/cf562f3b/attachment-0001.html From babak.freeswitch at gmail.com Thu Dec 8 08:45:01 2016 From: babak.freeswitch at gmail.com (Babak Yakhchali) Date: Thu, 8 Dec 2016 09:15:01 +0330 Subject: [Freeswitch-users] how should I use "recording_follow_transfer=false" Message-ID: Hi I'm using a simple extension to bridge and record calls to local extensions: I need the recording to stop after each transfer, but after transfer, recording will not stop and there will be two recorded files and the first one records the second call too! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161208/8aa7fc13/attachment.html From mirkobrankovic at gmail.com Thu Dec 8 10:59:32 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Thu, 8 Dec 2016 08:59:32 +0100 Subject: [Freeswitch-users] t38 fax receive stuck In-Reply-To: References: Message-ID: Hi Brian, I guessed so. Thanks for answer. Mirko On Wed, Dec 7, 2016 at 4:47 PM, Brian West wrote: > You're gonna have to update, there is no telling what all was fixed since > that one. > > > On Wed, Dec 7, 2016 at 8:11 AM Mirko Brankovic > wrote: > >> Hi, >> >> I have a strange situation where faxes gets stuck for good amount of time >> on rxfax application. >> >> Detailed debugging let me to conclusion that one side doesn't send signal >> back and the other side is not 'timing out'/ giving up. >> >> Callflow is fax...provider...gateway... rxfax(file.tif) >> >> Here is the log: >> >> b8a0b22f-5733-499d-a32f-712106821a53 2016-12-07 10:08:03.434513 [DEBUG] >> sofia.c:5677 Channel sofia/external/496421607583 at 89.184.172.62 entering >> state [ready][200] >> 2016-12-07 10:08:03.504510 [DEBUG] mod_spandsp_fax.c:286 FLOW T.38T Type >> FCD - CRC OK (clean) >> 2016-12-07 10:08:03.504510 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Stop >> none (0 remaining) >> 2016-12-07 10:08:03.504510 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Rx: >> FCD without final frame tag >> 2016-12-07 10:08:03.504510 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Rx: >> ff 03 06 41 02 d1 a5 0b d2 bf ef ff af ae 77 1f 06 eb 88 5e bf fb 82 40 5f >> 7f 15 04 41 af ba 2e d5 13 48 8c 5f d7 9f 20 13 87 62 6c ba e8 e2 4b 5c 89 >> 40 ec ea 1b 32 c7 21 e2 29 08 7a 41 10 f4 d6 fd ff aa bf ff 1f 22 2e 30 1e >> 82 e2 5f 02 81 56 e9 ab 6e 08 02 bd 21 5c c3 82 20 90 ff 08 d6 fa 5f 10 e1 >> b8 59 55 10 84 e8 e2 0e fd 55 a6 70 28 34 8e 7f 7f c7 02 4b 47 15 04 fd 0c >> e9 ff 4d c9 53 1b 7d d5 af ff f5 bf 52 0e 02 f9 70 54 ad a3 7f bd 4a 70 cc >> 2d 15 5d c4 67 08 59 69 fc 5f fa 15 ba f5 82 a0 c8 91 bd 25 fd 11 b5 be 5e >> 53 69 3a 2e ad ea 8f a8 af 12 04 fd ff 43 d0 10 e8 fd 54 8b 21 ba d8 fa ff >> 9a 2f 53 89 24 04 21 9a 64 31 3f 52 69 e2 13 9f 2e ba e8 d2 ff 7f 21 04 aa >> 82 88 ff 35 7d ba 40 a0 5d 5f 7a bc 9e 10 fd 2f be 52 5b fa ef a8 a6 e2 ff >> ff 6b f5 fd bf d0 d1 ff 7a ff >> 2016-12-07 10:08:03.504510 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 >> Storing ECM frame 65, length 256 >> 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 >> Receive complete in phase T30_PHASE_C_NON_ECM_RX, state 7 >> 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 >> Non-ECM signal status is Carrier down (-1) in state 7 >> 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 >> Trainability (TCF) test result - 14512 total bits. longest run of zeros was >> 14480 >> 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 >> Changing from phase T30_PHASE_C_NON_ECM_RX to T30_PHASE_B_TX >> 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.38T Set >> rx type 0 >> 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.38T Set >> tx type 4 >> 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 >> Changing from state 7 to 8 >> 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Tx: >> CFR with final frame tag >> 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Tx: >> ff 13 84 >> 2016-12-07 10:08:03.524532 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 No >> signal is present >> >> >> >> What I think from the log is that there is no signal from the initiating >> side, which leads to the message "No signal is present" but my question is >> why would spandsp still keep waiting? >> >> Problem is that this is quite old version of FreeSwitch (FreeSWITCH >> Version 1.2.0 (git-89c590c 2012-05-08 20-08-26 +0000)) based on ooooold >> commit 89c590c >> >> I've looked at the git diff between the current spandsp and that one, and >> there are some changes but not that much. >> >> >> Can anyone familiar with this bring some light to me please :) >> >> Thanks, >> -- >> Regards, >> Mirko >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161208/faaeb13c/attachment.html From fanx07 at gmail.com Thu Dec 8 12:35:52 2016 From: fanx07 at gmail.com (Anonim Stefan) Date: Thu, 8 Dec 2016 11:35:52 +0200 Subject: [Freeswitch-users] Freeswitch 1.6 with Nuance Vocalizer 6.2.3 - "Client connection refused" In-Reply-To: References: Message-ID: Hi Hector, Yes, I double checked that the nuance-server is listening on 9200 port. the above [0] [1] [2] [3] messages I can see on the nuance-server side. On freeswitch side I can see: 2016-12-08 09:20:51.071110 [DEBUG] apt_consumer_task.c:141 () Wait for Messages [MRCP Client] 2016-12-08 09:20:51.071110 [INFO] mrcp_sofiasip_client_agent.c:609 () Receive SIP Event [nua_i_state] Status 0 INVITE sent [nuance6-mrcp2] 2016-12-08 09:20:51.071110 [NOTICE] mrcp_sofiasip_client_agent.c:547 (TTS-8) SIP Call State TTS-8 [calling] 2016-12-08 09:20:56.071087 [WARNING] mod_unimrcp.c:1051 (TTS-8) MRCP session has not opened after 5000 ms 2016-12-08 09:21:23.051103 [INFO] mrcp_sofiasip_client_agent.c:609 () Receive SIP Event [nua_r_invite] Status 408 Request Timeout [nuance6-mrcp2] 2016-12-08 09:21:23.051103 [INFO] mrcp_sofiasip_client_agent.c:609 () Receive SIP Event [nua_i_state] Status 408 Request Timeout [nuance6-mrcp2] 2016-12-08 09:21:23.051103 [NOTICE] mrcp_sofiasip_client_agent.c:547 (TTS-8) SIP Call State TTS-8 [terminated] 2016-12-08 09:21:23.051103 [DEBUG] apt_task.c:265 () Signal Message to [MRCP Client] [0x7f5198010d30;1;0] 2016-12-08 09:21:23.051103 [DEBUG] apt_task.c:337 () Process Message [MRCP Client] [0x7f5198010d30;1;0] 2016-12-08 09:21:23.051103 [INFO] mrcp_client_session.c:151 (TTS-8) Receive Answer TTS-8 [c:0 a:0 v:0] Status 408 2016-12-08 09:21:23.051103 [INFO] mrcp_client_session.c:455 (TTS-8) Raise App Response TTS-8 [2] FAILURE [2] 2016-12-08 09:21:23.051103 [ERR] mod_unimrcp.c:1913 (TTS-8) SYNTHESIZER channel error! 2016-12-08 09:21:23.051103 [DEBUG] mod_unimrcp.c:1577 (TTS-8) CLOSED ==> ERROR 2016-12-08 09:21:23.051103 [DEBUG] apt_consumer_task.c:141 () Wait for Messages [MRCP Client] 2016-12-08 09:21:23.051103 [DEBUG] mod_unimrcp.c:1061 (TTS-8) Terminating MRCP session I suspect that either something might have been "updated" in Vocalizer and won't recognize what Freeswitch sends it anymore *or* I am doing something wrong in the extension config: Can you tell me the Freeswitch and Vocalizer versions it worked for you? Thank you, Stefan On Wed, Dec 7, 2016 at 5:08 PM, Hector Geraldino < Hector.Geraldino at ipsoft.com> wrote: > Is the Vocalizer for Network/NSS listening on that port? Can you > nmap/telnet to that IP address on port 9200? > > > > I had no issues with using Nuance?s Vocalizer with MRCP using the > mod_unimrcp module. > > > > *From: * on behalf of > Anonim Stefan > *Reply-To: *FreeSWITCH Users Help > *Date: *Wednesday, December 7, 2016 at 5:56 AM > *To: *Freeswitch-users > *Subject: *[Freeswitch-users] Freeswitch 1.6 with Nuance Vocalizer 6.2.3 > - "Client connection refused" > > > > Hi, > > > > I unsuccessfully tried to do TTS on Freeswitch using mod_unimrcp (with > specific nuance profile), by connecting to nuance-server. > > > > I started the Nuance server in mrcp mode: [0] > > > > For MRCP v1 I get [1]. > > > > For MRCP v2 (using TCP) I get [2]. > > > > For nuance nvscmdline I get [3]. > > > > The FS unimrcp profiles I used are [4] for v1 and [5] for v2. > > > > Am I missing something here?! > > Have anyone tried this lately? Is Freeswitch 1.6 mod_unimrcp working with > latest Nuance? > > > > Thank you, > > Stefan > > > > [0] http://pastebin.com/qXixTb5y > [1] http://pastebin.com/dSxWNvX5 > > [2] http://pastebin.com/CPdRcpBY > > [3] http://pastebin.com/9D5kHuwc > > [4] http://pastebin.com/Q39PX74Q > > [5] http://pastebin.com/t2iAr6H1 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161208/0c280d6e/attachment-0001.html From loi.dangthanh at gmail.com Thu Dec 8 14:41:59 2016 From: loi.dangthanh at gmail.com (=?UTF-8?B?TOG7o2kgxJDhurduZw==?=) Date: Thu, 8 Dec 2016 18:41:59 +0700 Subject: [Freeswitch-users] Incoming call timeout Message-ID: Hi list, when the callee ignore the call, My FS automatically disconnect the call by responding to the caller leg `480 Temporarily Unavailable`, and compose CANCEL send to the callee, after exactly 60 seconds. Which parameter I could set in sip profile to disable that behavior, or possibly increase the timeout value. I'm sorry I was unable to find one. Many thanks. rgds, Loi Dang Thanh Phone : +84. 1224.735.448 Email : loi.dangthanh at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161208/eb423b99/attachment.html From caioebassis at hotmail.com Thu Dec 8 15:58:02 2016 From: caioebassis at hotmail.com (Caio Assis) Date: Thu, 8 Dec 2016 12:58:02 +0000 Subject: [Freeswitch-users] Socket Error [Too many open files] In-Reply-To: References: , Message-ID: Actually, I solved my problem accessing the file /etc/systemd/system/multi-user.target.wants/freeswitch.service, adding this parameters: TimeoutSec=45s Restart=always ; exec WorkingDirectory=/run/freeswitch User=freeswitch Group=daemon LimitCORE=infinity LimitNOFILE=100000 LimitNPROC=60000 ;LimitSTACK=240 LimitRTPRIO=infinity LimitRTTIME=7000000 IOSchedulingClass=realtime IOSchedulingPriority=2 CPUSchedulingPolicy=rr CPUSchedulingPriority=89 UMask=0007 Thanks. ________________________________ From: freeswitch-users-bounces at lists.freeswitch.org on behalf of Brian West Sent: Tuesday, December 6, 2016 1:10 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Socket Error [Too many open files] Depends on how your system is setup, Can you execute this at fs_cli: system ulimit -a On Tue, Dec 6, 2016 at 9:54 AM, Colin Morelli > wrote: When you say "I set the configuration below" - did you set this by executing the ulimit command or by editing /etc/security/limits.conf (or the equivalent for your distro)? IIRC the ulimit commands only change the limits for the current shell and its children. Depending on how FS is launched, it may very well not be a child of the current shell (or it's forking off as a different user), and as such those limits aren't applying. You can run "cat /proc/FS_PID/limits" to see the actual limits imposed on the FS process(es) Best, Colin On Tue, Dec 6, 2016 at 9:48 AM, Brian West > wrote: I can only guess you've done something or are using something that isn't closing the FD, Can you elaborate on what kinds of elements you have in your call flow? Conference, files, lua or some other scripts that might access files? /b On Tue, Dec 6, 2016 at 9:44 AM, Caio Assis > wrote: Good afternoon. Freeswitch info: Freeswitch version: Version 1.6.12 64bit O.S: Centos 7 Processor: Xeon Six Core RAM: 8GB Disk: SSD samsung 850 pro I've been facing a problem with freeswitch. When I generate many calls (around 300 calls), Freeswitch service stops receiving socket connection after this error: [ERR] mod_event_socket.c:3017 Error initilizing connection [CRIT] mod_event_socket.c:235 Stateful Listener 0 has expired [ERR] mod_event_socket.c:2975 Socket Error [Too many open files] I set the configuration below, but the problem persists and I have to restart the service to get it back up. ulimit -c unlimited # The maximum size of core files created. ulimit -d unlimited # The maximum size of a process's data segment. ulimit -f unlimited # The maximum size of files created by the shell (default option) ulimit -i unlimited # The maximum number of pending signals ulimit -n 999999 # The maximum number of open file descriptors. ulimit -q unlimited # The maximum POSIX message queue size ulimit -u unlimited # The maximum number of processes available to a single user. ulimit -v unlimited # The maximum amount of virtual memory available to the process. ulimit -x unlimited # ??? ulimit -s 240 # The maximum stack size ulimit -l unlimited # The maximum size that may be locked into memory. ulimit -a # All current limits are reported. I can't execute any freeswitch command, fs_cli -x "show calls", fs_cli -r, they all return that socket error. 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 [http://billing.freeswitch.org/templates/default/img/whmcslogo.png] Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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 [http://billing.freeswitch.org/templates/default/img/whmcslogo.png] Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161208/51e20e62/attachment-0001.html From devang.nathwani31589 at gmail.com Thu Dec 8 17:49:10 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Thu, 8 Dec 2016 20:19:10 +0530 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: <3267e4ba-ae9c-d349-e57e-50ea87c5ce84@xbipin.com> References: <6f558f34-08cc-7cac-1746-218ea334fe3d@xbipin.com> <3267e4ba-ae9c-d349-e57e-50ea87c5ce84@xbipin.com> Message-ID: Thanks Bipin On Wed, Dec 7, 2016 at 7:31 PM, Bipin Patel wrote: > hi, > > attached is the script > > > Regards, > Bipin > > > ------------------------------ > -------- Original Message -------- > Subject: Re: [Freeswitch-users] Fax 2 Email issue > From: devang nathwani > > To: FreeSWITCH Users Help > > Date: 12/7/2016, 3:57:45 PM > > @Bipin, > Yes please, share your python script > > > _________________________________________________________________________ > 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/20161208/ef881dcc/attachment.html From devang.nathwani31589 at gmail.com Thu Dec 8 17:54:23 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Thu, 8 Dec 2016 20:24:23 +0530 Subject: [Freeswitch-users] 503 service unavailable Message-ID: Hello, working one: http://pastebin.com/ncyxUQj8 nonworking one with 503 service unavailable http://pastebin.com/w7A689Bu Here i have two scenarios, first is configured with Provider(1), this call routed and established successfully. the second is configured with Provider(2), with this one freeswitch sending 503 event before routing the call to Provider(2) so why 503? - Devang. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161208/85be67c2/attachment.html From krice at freeswitch.org Thu Dec 8 18:00:29 2016 From: krice at freeswitch.org (Ken Rice) Date: Thu, 8 Dec 2016 09:00:29 -0600 Subject: [Freeswitch-users] 503 service unavailable In-Reply-To: References: Message-ID: <40f201d25163$d1a30660$74e91320$@freeswitch.org> Pastebins of just the sip are rarely useful, if you want to pastebin something useful try posting the debug log from freeswitch on pastebin.freeswitch.org. Also editing out information only serves to possibly mask the underlying issue. The IPs of your SIP servers (if they are on public IPs) are already well known to the sip scanners, it only took them about an hour to find your boxes once you turned it on) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of devang nathwani Sent: Thursday, December 8, 2016 8:54 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] 503 service unavailable Hello, working one: http://pastebin.com/ncyxUQj8 nonworking one with 503 service unavailable http://pastebin.com/w7A689Bu Here i have two scenarios, first is configured with Provider(1), this call routed and established successfully. the second is configured with Provider(2), with this one freeswitch sending 503 event before routing the call to Provider(2) so why 503? - Devang. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161208/e2fc90e8/attachment.html From brian at freeswitch.org Thu Dec 8 18:53:00 2016 From: brian at freeswitch.org (Brian West) Date: Thu, 8 Dec 2016 10:53:00 -0500 Subject: [Freeswitch-users] 503 service unavailable In-Reply-To: References: Message-ID: Because FreeSWITCH is receiving an ICMP Unreachable. run 'sofia loglevel all 9' and you'll see it. On Thu, Dec 8, 2016 at 9:54 AM, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > Hello, > > working one: > http://pastebin.com/ncyxUQj8 > > nonworking one with 503 service unavailable > http://pastebin.com/w7A689Bu > > Here i have two scenarios, first is configured with Provider(1), this call > routed and established successfully. > the second is configured with Provider(2), with this one freeswitch > sending 503 event before routing the call to Provider(2) > > so why 503? > > - Devang. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161208/d0fa32a6/attachment-0001.html From daniel at pocock.pro Thu Dec 8 13:15:44 2016 From: daniel at pocock.pro (Daniel Pocock) Date: Thu, 8 Dec 2016 11:15:44 +0100 Subject: [Freeswitch-users] FreeSWITCH blog RSS feed problems Message-ID: <34134723-7af2-4157-759b-0451d2eb0422@pocock.pro> Hi, I had been following the FreeSWITCH blog using the RSS feed https://freeswitch.org/feed/ but my feed reader is complaining with error 404 now when accessing that URL. It looks like the web site has been re-arranged and the blog page doesn't have the RSS or Atom icons nor does it have the meta-data for them in the page. What is the new URL for RSS? Maybe it would be a good idea to put a redirect in the web server so you don't lose followers? Regards, Daniel From jm at mayfirst.org Thu Dec 8 05:37:00 2016 From: jm at mayfirst.org (Jamie McClelland) Date: Wed, 7 Dec 2016 21:37:00 -0500 Subject: [Freeswitch-users] communication between verto and outbound proxy In-Reply-To: References: Message-ID: <20161208023700.qxlkgo767wb2qbrd@mayfirst.org> Hi all, I have written an outbound event socket that is executed every time a user joins a conference call. It executes special commands when the user presses certain digits. I've also written a verto-based web client that connects users to the conference via the outbound proxy so users can connect via the web or connect via phone. I'm looking for a way the outbound event socket can communicate directly with the verto web participants and vice-versa (e.g. a way it could subscribe to the verto conference chat channel). Right now, the verto web clients can communicate to the outbound event socket by sending dtmf keys. And, I've managed to get the outbound event socket to communicate to the verto clients using the "chat 'verto|from|to|message'" command. However, these methods are limited so I'm looking for alternatives. Thanks in advance for any help you can provide. jamie -- May First/People Link Growing networks to build a just world http://www.mayfirst.org https://support.mayfirst.org OpenPGP Key: http://current.workingdirectory.net/pages/identity/ xmpp: jamie at mayfirst.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/6b444a14/attachment.bin From mike at jerris.com Thu Dec 8 20:48:25 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 8 Dec 2016 12:48:25 -0500 Subject: [Freeswitch-users] Incoming call timeout In-Reply-To: References: Message-ID: <128DD5B7-40B9-4304-91F0-7869628F3DE2@jerris.com> I think we default to 120 seconds in the code. Check your config for where you set the 60. It could be a number of params but they all have ?timeout? in their name > On Dec 8, 2016, at 6:41 AM, L?i ??ng wrote: > > Hi list, when the callee ignore the call, My FS automatically disconnect the call by responding to the caller leg `480 Temporarily Unavailable`, and compose CANCEL send to the callee, after exactly 60 seconds. > > Which parameter I could set in sip profile to disable that behavior, or possibly increase the timeout value. I'm sorry I was unable to find one. From loi.dangthanh at gmail.com Fri Dec 9 10:31:43 2016 From: loi.dangthanh at gmail.com (=?UTF-8?B?TOG7o2kgxJDhurduZw==?=) Date: Fri, 9 Dec 2016 14:31:43 +0700 Subject: [Freeswitch-users] Incoming call timeout In-Reply-To: <128DD5B7-40B9-4304-91F0-7869628F3DE2@jerris.com> References: <128DD5B7-40B9-4304-91F0-7869628F3DE2@jerris.com> Message-ID: Hi Michael, I took a look at the sofia source code, just for listing all available param, but I couldn't find a sofia profile setting that help me in this, my config is clean, and even doesn't have one contain the 60. Instead, there are some channel variables that needed to be set in dialplan: `call_timeout` for incoming leg, and `originate_timeout` or `leg_timeout` for outgoing leg. The alternative way just works, but is redundant, since I need to set them in every single dialplan. rgds, Loi Dang Thanh Phone : +84. 1224.735.448 Email : loi.dangthanh at gmail.com On Fri, Dec 9, 2016 at 12:48 AM, Michael Jerris wrote: > I think we default to 120 seconds in the code. Check your config for > where you set the 60. It could be a number of params but they all have > ?timeout? in their name > > > On Dec 8, 2016, at 6:41 AM, L?i ??ng wrote: > > > > Hi list, when the callee ignore the call, My FS automatically disconnect > the call by responding to the caller leg `480 Temporarily Unavailable`, and > compose CANCEL send to the callee, after exactly 60 seconds. > > > > Which parameter I could set in sip profile to disable that behavior, or > possibly increase the timeout value. I'm sorry I was unable to find one. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161209/f218882a/attachment.html From devang.nathwani31589 at gmail.com Fri Dec 9 11:06:49 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Fri, 9 Dec 2016 13:36:49 +0530 Subject: [Freeswitch-users] 503 service unavailable In-Reply-To: References: Message-ID: @Brian sres.c:2987 sres_query_report_error() sres(q=0x7f204c0a8a10): reporting error NAME_ERR for A 26.18.87.27 nua_stack.c:271 nua_stack_event() nua(0x7f20442a9c80): event r_invite 503 DNS Error Got these suspicious lines from loglevel all 9 On Thu, Dec 8, 2016 at 9:23 PM, Brian West wrote: > Because FreeSWITCH is receiving an ICMP Unreachable. run 'sofia loglevel > all 9' and you'll see it. > > On Thu, Dec 8, 2016 at 9:54 AM, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> Hello, >> >> working one: >> http://pastebin.com/ncyxUQj8 >> >> nonworking one with 503 service unavailable >> http://pastebin.com/w7A689Bu >> >> Here i have two scenarios, first is configured with Provider(1), this >> call routed and established successfully. >> the second is configured with Provider(2), with this one freeswitch >> sending 503 event before routing the call to Provider(2) >> >> so why 503? >> >> - Devang. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > 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/20161209/e9198724/attachment-0001.html From devang.nathwani31589 at gmail.com Fri Dec 9 11:14:04 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Fri, 9 Dec 2016 13:44:04 +0530 Subject: [Freeswitch-users] 503 service unavailable In-Reply-To: References: Message-ID: and these too, sres.c:2987 sres_query_report_error() sres(q=0x7f204c1751e0): reporting error NAME_ERR for NAPTR 26.18.87.27 sres.c:2987 sres_query_report_error() sres(q=0x7f204c1e8e60): reporting error NAME_ERR for SRV _sip._udp. 26.18.87.27 On Fri, Dec 9, 2016 at 1:36 PM, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > @Brian > sres.c:2987 sres_query_report_error() sres(q=0x7f204c0a8a10): reporting > error NAME_ERR for A 26.18.87.27 > nua_stack.c:271 nua_stack_event() nua(0x7f20442a9c80): event r_invite 503 > DNS Error > > Got these suspicious lines from loglevel all 9 > > On Thu, Dec 8, 2016 at 9:23 PM, Brian West wrote: > >> Because FreeSWITCH is receiving an ICMP Unreachable. run 'sofia loglevel >> all 9' and you'll see it. >> >> On Thu, Dec 8, 2016 at 9:54 AM, devang nathwani < >> devang.nathwani31589 at gmail.com> wrote: >> >>> Hello, >>> >>> working one: >>> http://pastebin.com/ncyxUQj8 >>> >>> nonworking one with 503 service unavailable >>> http://pastebin.com/w7A689Bu >>> >>> Here i have two scenarios, first is configured with Provider(1), this >>> call routed and established successfully. >>> the second is configured with Provider(2), with this one freeswitch >>> sending 503 event before routing the call to Provider(2) >>> >>> so why 503? >>> >>> - Devang. >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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/20161209/f7995c62/attachment.html From italo at freeswitch.org Fri Dec 9 13:20:06 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Fri, 09 Dec 2016 10:20:06 +0000 Subject: [Freeswitch-users] FreeSWITCH blog RSS feed problems In-Reply-To: <34134723-7af2-4157-759b-0451d2eb0422@pocock.pro> References: <34134723-7af2-4157-759b-0451d2eb0422@pocock.pro> Message-ID: Thanks for letting us know, we'll put the feed back Em qui, 8 de dez de 2016 ?s 14:47, Daniel Pocock escreveu: > > > Hi, > > I had been following the FreeSWITCH blog using the RSS feed > > https://freeswitch.org/feed/ > > but my feed reader is complaining with error 404 now when accessing that > URL. > > It looks like the web site has been re-arranged and the blog page > doesn't have the RSS or Atom icons nor does it have the meta-data for > them in the page. > > What is the new URL for RSS? Maybe it would be a good idea to put a > redirect in the web server so you don't lose followers? > > Regards, > > Daniel > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161209/cb6df968/attachment.html From brian at freeswitch.org Fri Dec 9 18:26:50 2016 From: brian at freeswitch.org (Brian West) Date: Fri, 9 Dec 2016 09:26:50 -0600 Subject: [Freeswitch-users] 503 service unavailable In-Reply-To: References: Message-ID: I can only guess you have a space somewhere it doesn't belong, since you've not provided adequate logs its difficult to tell. You've also filtered the logs which also makes it hard to see the issue. /b On Fri, Dec 9, 2016 at 2:14 AM, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > and these too, > > sres.c:2987 sres_query_report_error() sres(q=0x7f204c1751e0): reporting > error NAME_ERR for NAPTR 26.18.87.27 > > sres.c:2987 sres_query_report_error() sres(q=0x7f204c1e8e60): reporting > error NAME_ERR for SRV _sip._udp. 26.18.87.27 > > On Fri, Dec 9, 2016 at 1:36 PM, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> @Brian >> sres.c:2987 sres_query_report_error() sres(q=0x7f204c0a8a10): reporting >> error NAME_ERR for A 26.18.87.27 >> nua_stack.c:271 nua_stack_event() nua(0x7f20442a9c80): event r_invite 503 >> DNS Error >> >> Got these suspicious lines from loglevel all 9 >> >> On Thu, Dec 8, 2016 at 9:23 PM, Brian West wrote: >> >>> Because FreeSWITCH is receiving an ICMP Unreachable. run 'sofia >>> loglevel all 9' and you'll see it. >>> >>> On Thu, Dec 8, 2016 at 9:54 AM, devang nathwani < >>> devang.nathwani31589 at gmail.com> wrote: >>> >>>> Hello, >>>> >>>> working one: >>>> http://pastebin.com/ncyxUQj8 >>>> >>>> nonworking one with 503 service unavailable >>>> http://pastebin.com/w7A689Bu >>>> >>>> Here i have two scenarios, first is configured with Provider(1), this >>>> call routed and established successfully. >>>> the second is configured with Provider(2), with this one freeswitch >>>> sending 503 event before routing the call to Provider(2) >>>> >>>> so why 503? >>>> >>>> - Devang. >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161209/14defad7/attachment-0001.html From Hector.Geraldino at ipsoft.com Fri Dec 9 18:45:05 2016 From: Hector.Geraldino at ipsoft.com (Hector Geraldino) Date: Fri, 9 Dec 2016 15:45:05 +0000 Subject: [Freeswitch-users] Freeswitch 1.6 with Nuance Vocalizer 6.2.3 - "Client connection refused" In-Reply-To: References: Message-ID: <3DCD2C50-804B-44EC-9F00-BF48B89DC3B5@ipsoft.com> IIRC it was Vocalizer for Network 5.0 and some other Nuance Speech Server or something like that. I think requests were being handled by an NSServer process that was started on a different directory. Sorry I cannot be more helpful, but I no longer have access to that environment. From: on behalf of Anonim Stefan Reply-To: FreeSWITCH Users Help Date: Thursday, December 8, 2016 at 4:35 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Freeswitch 1.6 with Nuance Vocalizer 6.2.3 - "Client connection refused" Hi Hector, Yes, I double checked that the nuance-server is listening on 9200 port. the above [0] [1] [2] [3] messages I can see on the nuance-server side. On freeswitch side I can see: 2016-12-08 09:20:51.071110 [DEBUG] apt_consumer_task.c:141 () Wait for Messages [MRCP Client] 2016-12-08 09:20:51.071110 [INFO] mrcp_sofiasip_client_agent.c:609 () Receive SIP Event [nua_i_state] Status 0 INVITE sent [nuance6-mrcp2] 2016-12-08 09:20:51.071110 [NOTICE] mrcp_sofiasip_client_agent.c:547 (TTS-8) SIP Call State TTS-8 [calling] 2016-12-08 09:20:56.071087 [WARNING] mod_unimrcp.c:1051 (TTS-8) MRCP session has not opened after 5000 ms 2016-12-08 09:21:23.051103 [INFO] mrcp_sofiasip_client_agent.c:609 () Receive SIP Event [nua_r_invite] Status 408 Request Timeout [nuance6-mrcp2] 2016-12-08 09:21:23.051103 [INFO] mrcp_sofiasip_client_agent.c:609 () Receive SIP Event [nua_i_state] Status 408 Request Timeout [nuance6-mrcp2] 2016-12-08 09:21:23.051103 [NOTICE] mrcp_sofiasip_client_agent.c:547 (TTS-8) SIP Call State TTS-8 [terminated] 2016-12-08 09:21:23.051103 [DEBUG] apt_task.c:265 () Signal Message to [MRCP Client] [0x7f5198010d30;1;0] 2016-12-08 09:21:23.051103 [DEBUG] apt_task.c:337 () Process Message [MRCP Client] [0x7f5198010d30;1;0] 2016-12-08 09:21:23.051103 [INFO] mrcp_client_session.c:151 (TTS-8) Receive Answer TTS-8 [c:0 a:0 v:0] Status 408 2016-12-08 09:21:23.051103 [INFO] mrcp_client_session.c:455 (TTS-8) Raise App Response TTS-8 [2] FAILURE [2] 2016-12-08 09:21:23.051103 [ERR] mod_unimrcp.c:1913 (TTS-8) SYNTHESIZER channel error! 2016-12-08 09:21:23.051103 [DEBUG] mod_unimrcp.c:1577 (TTS-8) CLOSED ==> ERROR 2016-12-08 09:21:23.051103 [DEBUG] apt_consumer_task.c:141 () Wait for Messages [MRCP Client] 2016-12-08 09:21:23.051103 [DEBUG] mod_unimrcp.c:1061 (TTS-8) Terminating MRCP session I suspect that either something might have been "updated" in Vocalizer and won't recognize what Freeswitch sends it anymore or I am doing something wrong in the extension config: Can you tell me the Freeswitch and Vocalizer versions it worked for you? Thank you, Stefan On Wed, Dec 7, 2016 at 5:08 PM, Hector Geraldino > wrote: Is the Vocalizer for Network/NSS listening on that port? Can you nmap/telnet to that IP address on port 9200? I had no issues with using Nuance?s Vocalizer with MRCP using the mod_unimrcp module. From: > on behalf of Anonim Stefan > Reply-To: FreeSWITCH Users Help > Date: Wednesday, December 7, 2016 at 5:56 AM To: Freeswitch-users > Subject: [Freeswitch-users] Freeswitch 1.6 with Nuance Vocalizer 6.2.3 - "Client connection refused" Hi, I unsuccessfully tried to do TTS on Freeswitch using mod_unimrcp (with specific nuance profile), by connecting to nuance-server. I started the Nuance server in mrcp mode: [0] For MRCP v1 I get [1]. For MRCP v2 (using TCP) I get [2]. For nuance nvscmdline I get [3]. The FS unimrcp profiles I used are [4] for v1 and [5] for v2. Am I missing something here?! Have anyone tried this lately? Is Freeswitch 1.6 mod_unimrcp working with latest Nuance? Thank you, Stefan [0] http://pastebin.com/qXixTb5y [1] http://pastebin.com/dSxWNvX5 [2] http://pastebin.com/CPdRcpBY [3] http://pastebin.com/9D5kHuwc [4] http://pastebin.com/Q39PX74Q [5] http://pastebin.com/t2iAr6H1 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161209/72689ec8/attachment-0001.html From mike at jerris.com Fri Dec 9 20:02:28 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 9 Dec 2016 12:02:28 -0500 Subject: [Freeswitch-users] Incoming call timeout In-Reply-To: References: <128DD5B7-40B9-4304-91F0-7869628F3DE2@jerris.com> Message-ID: <522C67DB-EDB2-4612-B818-425C34CE85CD@jerris.com> switch_ivr_originate.c:2073 it does default to 60 seconds unless you override > On Dec 9, 2016, at 2:31 AM, L?i ??ng wrote: > > Hi Michael, I took a look at the sofia source code, just for listing all available param, but I couldn't find a sofia profile setting that help me in this, my config is clean, and even doesn't have one contain the 60. > Instead, there are some channel variables that needed to be set in dialplan: `call_timeout` for incoming leg, and `originate_timeout` or `leg_timeout` for outgoing leg. > The alternative way just works, but is redundant, since I need to set them in every single dialplan. > > rgds, > > > Loi Dang Thanh > Phone : +84. 1224.735.448 > Email : loi.dangthanh at gmail.com > > On Fri, Dec 9, 2016 at 12:48 AM, Michael Jerris > wrote: > I think we default to 120 seconds in the code. Check your config for where you set the 60. It could be a number of params but they all have ?timeout? in their name > > > On Dec 8, 2016, at 6:41 AM, L?i ??ng > wrote: > > > > Hi list, when the callee ignore the call, My FS automatically disconnect the call by responding to the caller leg `480 Temporarily Unavailable`, and compose CANCEL send to the callee, after exactly 60 seconds. > > > > Which parameter I could set in sip profile to disable that behavior, or possibly increase the timeout value. I'm sorry I was unable to find one. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161209/47962121/attachment.html From valter at fastway.com.br Fri Dec 9 21:01:36 2016 From: valter at fastway.com.br (Valter Nogueira) Date: Fri, 9 Dec 2016 16:01:36 -0200 Subject: [Freeswitch-users] SBC Message-ID: I would like to set up FS to run as a small SBC. Profile "internal" (nic em1) would be source for N asterisks that will register in FS. Some Asterisks should be trusted by IP (acl) Profile "external" (nic em2) would connect in an SIP Provider. So call coming from internal would routed to external gateway and vice-versa in dialplan. To mimic external profile I added in internal Asterisks are unable to register. I guess that the problem is internal gateway should be in directory instead of in sip_profile. Thanks, Valter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161209/b5e5d9ae/attachment.html From v.zakhozhai at gmail.com Sat Dec 10 01:45:19 2016 From: v.zakhozhai at gmail.com (Vladyslav Zakhozhai) Date: Sat, 10 Dec 2016 00:45:19 +0200 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: Hi Valter, You are right that you need to use directory rather than sip_profiles. Gateways in sip profiles are gateways which freeswitch is registered against. By the way do I correctly understand you that you want Asterisk servers to register against freeswitch, i.e. freeswitch is registrar? And also you always can see exact problem in freeswitch console and logs. 2016-12-09 20:01 GMT+02:00 Valter Nogueira : > I would like to set up FS to run as a small SBC. > > Profile "internal" (nic em1) would be source for N asterisks that will > register in FS. Some Asterisks should be trusted by IP (acl) > > Profile "external" (nic em2) would connect in an SIP Provider. > > So call coming from internal would routed to external gateway and > vice-versa in dialplan. > > To mimic external profile I added in internal > > > > > > Asterisks are unable to register. I guess that the problem is internal > gateway should be in directory instead of in sip_profile. > > Thanks, > > Valter > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ? ?????????, ????????? ??????? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161210/3ce43a10/attachment.html From devang.nathwani31589 at gmail.com Sat Dec 10 08:52:39 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Sat, 10 Dec 2016 11:22:39 +0530 Subject: [Freeswitch-users] 503 service unavailable In-Reply-To: References: Message-ID: Yes Brian, you are right. There was a space before the provider ip. Resolved now. Thanks. On Fri, Dec 9, 2016 at 8:56 PM, Brian West wrote: > I can only guess you have a space somewhere it doesn't belong, since > you've not provided adequate logs its difficult to tell. You've also > filtered the logs which also makes it hard to see the issue. > > /b > > > On Fri, Dec 9, 2016 at 2:14 AM, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> and these too, >> >> sres.c:2987 sres_query_report_error() sres(q=0x7f204c1751e0): reporting >> error NAME_ERR for NAPTR 26.18.87.27 >> >> sres.c:2987 sres_query_report_error() sres(q=0x7f204c1e8e60): reporting >> error NAME_ERR for SRV _sip._udp. 26.18.87.27 >> >> On Fri, Dec 9, 2016 at 1:36 PM, devang nathwani < >> devang.nathwani31589 at gmail.com> wrote: >> >>> @Brian >>> sres.c:2987 sres_query_report_error() sres(q=0x7f204c0a8a10): reporting >>> error NAME_ERR for A 26.18.87.27 >>> nua_stack.c:271 nua_stack_event() nua(0x7f20442a9c80): event r_invite >>> 503 DNS Error >>> >>> Got these suspicious lines from loglevel all 9 >>> >>> On Thu, Dec 8, 2016 at 9:23 PM, Brian West wrote: >>> >>>> Because FreeSWITCH is receiving an ICMP Unreachable. run 'sofia >>>> loglevel all 9' and you'll see it. >>>> >>>> On Thu, Dec 8, 2016 at 9:54 AM, devang nathwani < >>>> devang.nathwani31589 at gmail.com> wrote: >>>> >>>>> Hello, >>>>> >>>>> working one: >>>>> http://pastebin.com/ncyxUQj8 >>>>> >>>>> nonworking one with 503 service unavailable >>>>> http://pastebin.com/w7A689Bu >>>>> >>>>> Here i have two scenarios, first is configured with Provider(1), this >>>>> call routed and established successfully. >>>>> the second is configured with Provider(2), with this one freeswitch >>>>> sending 503 event before routing the call to Provider(2) >>>>> >>>>> so why 503? >>>>> >>>>> - Devang. >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>>> http://www.freeswitchcookbook.com (50% Discount using code >>>> FreeSwitch50) >>>> https://www.gofundme.com/freeswitch_ubuntu >>>> >>>> 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/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > 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/20161210/a9cc1f53/attachment-0001.html From valter at fastway.com.br Sat Dec 10 15:38:23 2016 From: valter at fastway.com.br (Valter Nogueira) Date: Sat, 10 Dec 2016 10:38:23 -0200 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: Yes, I want to use FS as a registar. I already have this working in an asterisk server and want to test FS as a replacement. 18 servers share a single sip provider and FS will act as a gateway. I have seen example.com.xml which is a user and have a gateway inside its definition. What I don't get is why it is in external profile. By the way, if I won't register in a sip provider, should I declare it as a gateway? Thanks Em 9 de dez de 2016 20:47, "Vladyslav Zakhozhai" escreveu: > Hi Valter, > > You are right that you need to use directory rather than sip_profiles. > Gateways in sip profiles are gateways which freeswitch is registered > against. > > By the way do I correctly understand you that you want Asterisk servers to > register against freeswitch, i.e. freeswitch is registrar? And also you > always can see exact problem in freeswitch console and logs. > > > 2016-12-09 20:01 GMT+02:00 Valter Nogueira : > >> I would like to set up FS to run as a small SBC. >> >> Profile "internal" (nic em1) would be source for N asterisks that will >> register in FS. Some Asterisks should be trusted by IP (acl) >> >> Profile "external" (nic em2) would connect in an SIP Provider. >> >> So call coming from internal would routed to external gateway and >> vice-versa in dialplan. >> >> To mimic external profile I added in internal >> >> >> >> >> >> Asterisks are unable to register. I guess that the problem is internal >> gateway should be in directory instead of in sip_profile. >> >> Thanks, >> >> Valter >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > ? ?????????, > ????????? ??????? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161210/401f5297/attachment.html From david.villasmil.work at gmail.com Sat Dec 10 16:09:28 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Sat, 10 Dec 2016 14:09:28 +0100 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: Hello, You don't HAVE to, but it's good practice. Configure your provider anywhere you want, internal or external. The names are not relevant, really. They are just names indicating that the internal profile will authenticate registers/call (auth_calls parameter) whereas by default external doesn't, though you can auth via acl.xml.conf. Once registered with your provider, you just send the call out with, i.e.: {origination_caller_id_number=INCOMING_CALLER_ID}sofia/gateway/your-provider/$ 1 hope this helps David On Sat, Dec 10, 2016 at 1:39 PM Valter Nogueira wrote: > Yes, I want to use FS as a registar. > > I already have this working in an asterisk server and want to test FS as a > replacement. > > 18 servers share a single sip provider and FS will act as a gateway. > > I have seen example.com.xml which is a user and have a gateway inside its > definition. > > What I don't get is why it is in external profile. > > By the way, if I won't register in a sip provider, should I declare it as > a gateway? > > Thanks > > Em 9 de dez de 2016 20:47, "Vladyslav Zakhozhai" > escreveu: > > Hi Valter, > > You are right that you need to use directory rather than sip_profiles. > Gateways in sip profiles are gateways which freeswitch is registered > against. > > By the way do I correctly understand you that you want Asterisk servers to > register against freeswitch, i.e. freeswitch is registrar? And also you > always can see exact problem in freeswitch console and logs. > > > 2016-12-09 20:01 GMT+02:00 Valter Nogueira : > > I would like to set up FS to run as a small SBC. > > Profile "internal" (nic em1) would be source for N asterisks that will > register in FS. Some Asterisks should be trusted by IP (acl) > > Profile "external" (nic em2) would connect in an SIP Provider. > > So call coming from internal would routed to external gateway and > vice-versa in dialplan. > > To mimic external profile I added in internal > > > > > > Asterisks are unable to register. I guess that the problem is internal > gateway should be in directory instead of in sip_profile. > > Thanks, > > Valter > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > ? ?????????, > ????????? ??????? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161210/60479b44/attachment-0001.html From valter at fastway.com.br Sat Dec 10 16:38:00 2016 From: valter at fastway.com.br (Valter Nogueira) Date: Sat, 10 Dec 2016 11:38:00 -0200 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: Its a little hard to change the mind from asterisk to fs. I will try it tomorrow when users are away and the mice can play. Thanks Em 10 de dez de 2016 11:11 AM, "David Villasmil" < david.villasmil.work at gmail.com> escreveu: > Hello, > > You don't HAVE to, but it's good practice. > Configure your provider anywhere you want, internal or external. The names > are not relevant, really. They are just names indicating that the internal > profile will authenticate registers/call (auth_calls parameter) whereas by > default external doesn't, though you can auth via acl.xml.conf. > Once registered with your provider, you just send the call out with, i.e.: > > {origination_caller_id_number=INCOMING_CALLER_ID}sofia/gatew > ay/your-provider/$1 > > hope this helps > > David > > On Sat, Dec 10, 2016 at 1:39 PM Valter Nogueira > wrote: > >> Yes, I want to use FS as a registar. >> >> I already have this working in an asterisk server and want to test FS as >> a replacement. >> >> 18 servers share a single sip provider and FS will act as a gateway. >> >> I have seen example.com.xml which is a user and have a gateway inside its >> definition. >> >> What I don't get is why it is in external profile. >> >> By the way, if I won't register in a sip provider, should I declare it as >> a gateway? >> >> Thanks >> >> Em 9 de dez de 2016 20:47, "Vladyslav Zakhozhai" >> escreveu: >> >> Hi Valter, >> >> You are right that you need to use directory rather than sip_profiles. >> Gateways in sip profiles are gateways which freeswitch is registered >> against. >> >> By the way do I correctly understand you that you want Asterisk servers >> to register against freeswitch, i.e. freeswitch is registrar? And also you >> always can see exact problem in freeswitch console and logs. >> >> >> 2016-12-09 20:01 GMT+02:00 Valter Nogueira : >> >> I would like to set up FS to run as a small SBC. >> >> Profile "internal" (nic em1) would be source for N asterisks that will >> register in FS. Some Asterisks should be trusted by IP (acl) >> >> Profile "external" (nic em2) would connect in an SIP Provider. >> >> So call coming from internal would routed to external gateway and >> vice-versa in dialplan. >> >> To mimic external profile I added in internal >> >> >> >> >> >> Asterisks are unable to register. I guess that the problem is internal >> gateway should be in directory instead of in sip_profile. >> >> Thanks, >> >> Valter >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> -- >> ? ?????????, >> ????????? ??????? >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > ? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161210/ae05e459/attachment-0001.html From ssinyagin at gmail.com Mon Dec 12 02:17:47 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 12 Dec 2016 00:17:47 +0100 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: I hope this will help you to wrap your brain around FS and let you start easily: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example In general, your SIP profiles don't have to be "internal/external", and your dialplan contexts don't have to be "public" or anything else. In general, you can design the whole configuration to serve the exact purpose. For example, right now I'm setting up a configuration with "inbound" and "outbound" SIP profiles and correspondingly named dialplan contexts. For an SBC, it's quite logical to name your profiles as "inside" and "outside", and remove all unneeded parts of the configuration, such as IVR menus. If you want your inside SIP clients to register on your box, you set up a directory and enforce authentication on the corresponding SIP profile. Also in the example above, you can find a proposed design for multiple ITSPs and a simple selection rule based on the country code. Also it's good to read the book first. You would spend about a day to grasp the basic concepts, and it will streamline your further work. On Sat, Dec 10, 2016 at 2:38 PM, Valter Nogueira wrote: > Its a little hard to change the mind from asterisk to fs. > > I will try it tomorrow when users are away and the mice can play. > > Thanks > > Em 10 de dez de 2016 11:11 AM, "David Villasmil" < > david.villasmil.work at gmail.com> escreveu: > >> Hello, >> >> You don't HAVE to, but it's good practice. >> Configure your provider anywhere you want, internal or external. The >> names are not relevant, really. They are just names indicating that the >> internal profile will authenticate registers/call (auth_calls parameter) >> whereas by default external doesn't, though you can auth via acl.xml.conf. >> Once registered with your provider, you just send the call out with, >> i.e.: >> >> {origination_caller_id_number=INCOMING_CALLER_ID}sofia/gatew >> ay/your-provider/$1 >> >> hope this helps >> >> David >> >> On Sat, Dec 10, 2016 at 1:39 PM Valter Nogueira >> wrote: >> >>> Yes, I want to use FS as a registar. >>> >>> I already have this working in an asterisk server and want to test FS as >>> a replacement. >>> >>> 18 servers share a single sip provider and FS will act as a gateway. >>> >>> I have seen example.com.xml which is a user and have a gateway inside >>> its definition. >>> >>> What I don't get is why it is in external profile. >>> >>> By the way, if I won't register in a sip provider, should I declare it >>> as a gateway? >>> >>> Thanks >>> >>> Em 9 de dez de 2016 20:47, "Vladyslav Zakhozhai" >>> escreveu: >>> >>> Hi Valter, >>> >>> You are right that you need to use directory rather than sip_profiles. >>> Gateways in sip profiles are gateways which freeswitch is registered >>> against. >>> >>> By the way do I correctly understand you that you want Asterisk servers >>> to register against freeswitch, i.e. freeswitch is registrar? And also you >>> always can see exact problem in freeswitch console and logs. >>> >>> >>> 2016-12-09 20:01 GMT+02:00 Valter Nogueira : >>> >>> I would like to set up FS to run as a small SBC. >>> >>> Profile "internal" (nic em1) would be source for N asterisks that will >>> register in FS. Some Asterisks should be trusted by IP (acl) >>> >>> Profile "external" (nic em2) would connect in an SIP Provider. >>> >>> So call coming from internal would routed to external gateway and >>> vice-versa in dialplan. >>> >>> To mimic external profile I added in internal >>> >>> >>> >>> >>> >>> Asterisks are unable to register. I guess that the problem is internal >>> gateway should be in directory instead of in sip_profile. >>> >>> Thanks, >>> >>> Valter >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> >>> -- >>> ? ?????????, >>> ????????? ??????? >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> ? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/8c9668db/attachment-0001.html From daveh at beachdognet.com Mon Dec 12 02:46:13 2016 From: daveh at beachdognet.com (Dave Horton) Date: Sun, 11 Dec 2016 18:46:13 -0500 Subject: [Freeswitch-users] no audio on DTLS-SRTP call from Chrome to Freeswitch Message-ID: <7D848536-1D5F-41EC-B117-D348DCEA716A@beachdognet.com> I?m having an issue trying to set up a simple audio test from a Chrome browser to a Freeswitch using DTLS-SRTP. Everything seems to connect ok (in terms of the SIP signaling and the handshake negotiation), but when I try to play a file from Freeswitch I hear nothing in my browser. I?m looking for any tips on how to troubleshoot this (understanding that the problem may not be on the Freeswitch side, but any advice on how to troubleshoot SRTP would be useful since my usual approach of getting a wireshark and stripping the audio to listen to it doesn?t work). There is a pastebin showing the freeswitch debug and sip logs at http://pastebin.com/X2k0amY2 However, first some details on my setup, since it is has some custom pieces. My web application is using Sip.js (http://sipjs.com/) to establish a secure web socket connection to my edge proxy (which is not using Freeswitch, or verto). My edge proxy is connecting to Freeswitch using event socket, and upon receiving an INVITE from Chrome using wss transport, then generates an INVITE over UDP to Freeswitch. The call is answered and a file is played, using event socket to transmit those commands. I can see from the above trace that Freeswitch answers the call and negotiates the handshake for DTLS-SRTP ok. The file is played and I can see from a wireshark trace that packets are flowing. However, I hear no audio. Any thoughts on next steps for troubleshooting? Dave From daveh at beachdognet.com Mon Dec 12 03:02:20 2016 From: daveh at beachdognet.com (Dave Horton) Date: Sun, 11 Dec 2016 19:02:20 -0500 Subject: [Freeswitch-users] no audio on DTLS-SRTP call from Chrome to Freeswitch In-Reply-To: <7D848536-1D5F-41EC-B117-D348DCEA716A@beachdognet.com> References: <7D848536-1D5F-41EC-B117-D348DCEA716A@beachdognet.com> Message-ID: Sorry, I figured this out ? please disregard my request for help. (It was a problem in my sipjs implementation) Dave On Dec 11, 2016, at 6:46 PM, Dave Horton wrote: I?m having an issue trying to set up a simple audio test from a Chrome browser to a Freeswitch using DTLS-SRTP. Everything seems to connect ok (in terms of the SIP signaling and the handshake negotiation), but when I try to play a file from Freeswitch I hear nothing in my browser. I?m looking for any tips on how to troubleshoot this (understanding that the problem may not be on the Freeswitch side, but any advice on how to troubleshoot SRTP would be useful since my usual approach of getting a wireshark and stripping the audio to listen to it doesn?t work). There is a pastebin showing the freeswitch debug and sip logs at http://pastebin.com/X2k0amY2 However, first some details on my setup, since it is has some custom pieces. My web application is using Sip.js (http://sipjs.com/) to establish a secure web socket connection to my edge proxy (which is not using Freeswitch, or verto). My edge proxy is connecting to Freeswitch using event socket, and upon receiving an INVITE from Chrome using wss transport, then generates an INVITE over UDP to Freeswitch. The call is answered and a file is played, using event socket to transmit those commands. I can see from the above trace that Freeswitch answers the call and negotiates the handshake for DTLS-SRTP ok. The file is played and I can see from a wireshark trace that packets are flowing. However, I hear no audio. Any thoughts on next steps for troubleshooting? Dave From kamil.nigmatullin at gmail.com Mon Dec 12 05:17:57 2016 From: kamil.nigmatullin at gmail.com (Kamil Nigmatullin) Date: Mon, 12 Dec 2016 08:17:57 +0600 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: I love freeswitch, but frankly I would not recomend to set it as SBC. I personally faced two attacks where FS was not good at. And we lost a lot of money. It works perfectly as NAT between internal and extenal networks, actually in everything but it is weak as a firewall. Stanislav knows that, he helped me to resolve the problem first time when it happend. I cannot go into details as this is open forum. You need to put either kamailio or opensips in front of FS. 2016-12-12 5:17 GMT+06:00 Stanislav Sinyagin : > I hope this will help you to wrap your brain around FS and let you start > easily: > https://freeswitch.org/confluence/display/FREESWITCH/ > FreeSWITCH+PBX+Example > > In general, your SIP profiles don't have to be "internal/external", and > your dialplan contexts don't have to be "public" or anything else. In > general, you can design the whole configuration to serve the exact purpose. > For example, right now I'm setting up a configuration with "inbound" and > "outbound" SIP profiles and correspondingly named dialplan contexts. > > For an SBC, it's quite logical to name your profiles as "inside" and > "outside", and remove all unneeded parts of the configuration, such as IVR > menus. If you want your inside SIP clients to register on your box, you set > up a directory and enforce authentication on the corresponding SIP profile. > > Also in the example above, you can find a proposed design for multiple > ITSPs and a simple selection rule based on the country code. > > Also it's good to read the book first. You would spend about a day to > grasp the basic concepts, and it will streamline your further work. > > > > > > > > On Sat, Dec 10, 2016 at 2:38 PM, Valter Nogueira > wrote: > >> Its a little hard to change the mind from asterisk to fs. >> >> I will try it tomorrow when users are away and the mice can play. >> >> Thanks >> >> Em 10 de dez de 2016 11:11 AM, "David Villasmil" < >> david.villasmil.work at gmail.com> escreveu: >> >>> Hello, >>> >>> You don't HAVE to, but it's good practice. >>> Configure your provider anywhere you want, internal or external. The >>> names are not relevant, really. They are just names indicating that the >>> internal profile will authenticate registers/call (auth_calls parameter) >>> whereas by default external doesn't, though you can auth via acl.xml.conf. >>> Once registered with your provider, you just send the call out with, >>> i.e.: >>> >>> {origination_caller_id_number=INCOMING_CALLER_ID}sofia/gatew >>> ay/your-provider/$1 >>> >>> hope this helps >>> >>> David >>> >>> On Sat, Dec 10, 2016 at 1:39 PM Valter Nogueira >>> wrote: >>> >>>> Yes, I want to use FS as a registar. >>>> >>>> I already have this working in an asterisk server and want to test FS >>>> as a replacement. >>>> >>>> 18 servers share a single sip provider and FS will act as a gateway. >>>> >>>> I have seen example.com.xml which is a user and have a gateway inside >>>> its definition. >>>> >>>> What I don't get is why it is in external profile. >>>> >>>> By the way, if I won't register in a sip provider, should I declare it >>>> as a gateway? >>>> >>>> Thanks >>>> >>>> Em 9 de dez de 2016 20:47, "Vladyslav Zakhozhai" >>>> escreveu: >>>> >>>> Hi Valter, >>>> >>>> You are right that you need to use directory rather than sip_profiles. >>>> Gateways in sip profiles are gateways which freeswitch is registered >>>> against. >>>> >>>> By the way do I correctly understand you that you want Asterisk servers >>>> to register against freeswitch, i.e. freeswitch is registrar? And also you >>>> always can see exact problem in freeswitch console and logs. >>>> >>>> >>>> 2016-12-09 20:01 GMT+02:00 Valter Nogueira : >>>> >>>> I would like to set up FS to run as a small SBC. >>>> >>>> Profile "internal" (nic em1) would be source for N asterisks that will >>>> register in FS. Some Asterisks should be trusted by IP (acl) >>>> >>>> Profile "external" (nic em2) would connect in an SIP Provider. >>>> >>>> So call coming from internal would routed to external gateway and >>>> vice-versa in dialplan. >>>> >>>> To mimic external profile I added in internal >>>> >>>> >>>> >>>> >>>> >>>> Asterisks are unable to register. I guess that the problem is internal >>>> gateway should be in directory instead of in sip_profile. >>>> >>>> Thanks, >>>> >>>> Valter >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> -- >>>> ? ?????????, >>>> ????????? ??????? >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>> >>> ? >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/44776a5e/attachment-0001.html From david.villasmil.work at gmail.com Mon Dec 12 05:36:26 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Mon, 12 Dec 2016 02:36:26 +0000 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: It would be nice if you pointed out the problem you had, we all use freeswitch one way or another. Ot at least the type of attack and how did you "reinforced" it. On Mon, Dec 12, 2016 at 3:18 AM Kamil Nigmatullin < kamil.nigmatullin at gmail.com> wrote: > I love freeswitch, but frankly I would not recomend to set it as SBC. I > personally faced two attacks where FS was not good at. And we lost a lot of > money. It works perfectly as NAT between internal and extenal networks, > actually in everything but it is weak as a firewall. Stanislav knows that, > he helped me to resolve the problem first time when it happend. I cannot go > into details as this is open forum. You need to put either kamailio or > opensips in front of FS. > > 2016-12-12 5:17 GMT+06:00 Stanislav Sinyagin : > > I hope this will help you to wrap your brain around FS and let you start > easily: > https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example > > In general, your SIP profiles don't have to be "internal/external", and > your dialplan contexts don't have to be "public" or anything else. In > general, you can design the whole configuration to serve the exact purpose. > For example, right now I'm setting up a configuration with "inbound" and > "outbound" SIP profiles and correspondingly named dialplan contexts. > > For an SBC, it's quite logical to name your profiles as "inside" and > "outside", and remove all unneeded parts of the configuration, such as IVR > menus. If you want your inside SIP clients to register on your box, you set > up a directory and enforce authentication on the corresponding SIP profile. > > Also in the example above, you can find a proposed design for multiple > ITSPs and a simple selection rule based on the country code. > > Also it's good to read the book first. You would spend about a day to > grasp the basic concepts, and it will streamline your further work. > > > > > > > > On Sat, Dec 10, 2016 at 2:38 PM, Valter Nogueira > wrote: > > Its a little hard to change the mind from asterisk to fs. > > I will try it tomorrow when users are away and the mice can play. > > Thanks > > Em 10 de dez de 2016 11:11 AM, "David Villasmil" < > david.villasmil.work at gmail.com> escreveu: > > Hello, > > You don't HAVE to, but it's good practice. > Configure your provider anywhere you want, internal or external. The names > are not relevant, really. They are just names indicating that the internal > profile will authenticate registers/call (auth_calls parameter) whereas by > default external doesn't, though you can auth via acl.xml.conf. > Once registered with your provider, you just send the call out with, i.e.: > > > {origination_caller_id_number=INCOMING_CALLER_ID}sofia/gateway/your-provider/$1 > > hope this helps > > David > > On Sat, Dec 10, 2016 at 1:39 PM Valter Nogueira > wrote: > > Yes, I want to use FS as a registar. > > I already have this working in an asterisk server and want to test FS as a > replacement. > > 18 servers share a single sip provider and FS will act as a gateway. > > I have seen example.com.xml which is a user and have a gateway inside its > definition. > > What I don't get is why it is in external profile. > > By the way, if I won't register in a sip provider, should I declare it as > a gateway? > > Thanks > > Em 9 de dez de 2016 20:47, "Vladyslav Zakhozhai" > escreveu: > > Hi Valter, > > You are right that you need to use directory rather than sip_profiles. > Gateways in sip profiles are gateways which freeswitch is registered > against. > > By the way do I correctly understand you that you want Asterisk servers to > register against freeswitch, i.e. freeswitch is registrar? And also you > always can see exact problem in freeswitch console and logs. > > > 2016-12-09 20:01 GMT+02:00 Valter Nogueira : > > I would like to set up FS to run as a small SBC. > > Profile "internal" (nic em1) would be source for N asterisks that will > register in FS. Some Asterisks should be trusted by IP (acl) > > Profile "external" (nic em2) would connect in an SIP Provider. > > So call coming from internal would routed to external gateway and > vice-versa in dialplan. > > To mimic external profile I added in internal > > > > > > Asterisks are unable to register. I guess that the problem is internal > gateway should be in directory instead of in sip_profile. > > Thanks, > > Valter > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > ? ?????????, > ????????? ??????? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > ? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > Kamil Nigmatullin > Tel: 77272323748 > mob: 7 (707) 2517003 > Skype: kamil.nigmatullin > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/7b9fb274/attachment-0001.html From abalashov at evaristesys.com Mon Dec 12 05:56:05 2016 From: abalashov at evaristesys.com (Alex Balashov) Date: Sun, 11 Dec 2016 21:56:05 -0500 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: <20161212025605.GA15029@tlaquepaque.localdomain> On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: > I love freeswitch, but frankly I would not recomend to set it as SBC. I > personally faced two attacks where FS was not good at. And we lost a lot of > money. It works perfectly as NAT between internal and extenal networks, > actually in everything but it is weak as a firewall. Stanislav knows that, > he helped me to resolve the problem first time when it happend. I cannot go > into details as this is open forum. You need to put either kamailio or > opensips in front of FS. Strongly agree. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ From andrew.keil at visytel.com Mon Dec 12 06:19:08 2016 From: andrew.keil at visytel.com (Andrew Keil) Date: Mon, 12 Dec 2016 03:19:08 +0000 Subject: [Freeswitch-users] Re- mod_pocketsphinx working example Message-ID: To FreeSWITCH users, I am about to experiment with Speech Recognition inside FreeSWITCH and seem to have hit a wall. After building FreeSWITCH 1.6.13 with asr_tts/mod_pocketsphinx uncommented successfully. Then uncommenting from autoload_configs/modules.conf.xml MATTHEW_WILLIAMS MATT_WILLIAMS JOSEPH_SMITH JOE_SMITH Type make in the /usr/local/freeswitch/grammar directory. This should give you the following files. ls -la directory -rw-r--r-- 1 root root 82 2008-08-13 10:59 directory.dic -rw-r--r-- 1 root root 727 2008-08-13 10:59 directory.lm This does not work since the "make" does not work here! Any ideas? So far not much luck. I understand that pocketsphinx is not really a production product, however my client would like to make use of it for internal testing only. Any assistance would be great. Thanks in advance, Andrew Keil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/14822447/attachment.html From kamil.nigmatullin at gmail.com Mon Dec 12 06:43:11 2016 From: kamil.nigmatullin at gmail.com (Kamil Nigmatullin) Date: Mon, 12 Dec 2016 09:43:11 +0600 Subject: [Freeswitch-users] SBC In-Reply-To: <20161212025605.GA15029@tlaquepaque.localdomain> References: <20161212025605.GA15029@tlaquepaque.localdomain> Message-ID: The first was the problem, where attacker somehow got login and password (i think they broke thier ATA) from clinet and used it. But for this client there was a limit of one line. I used limit module with local database. What attacker actially did, is that they used REFER attack, where they put their own number as a referrer, and opened unlimited lines to PSTN. So the, solution was - to replace limit functunality to opensips. The second - it is not actually the FS issue. It is because Freeswitch is not flexible enouph to work at the low level where Kamailio or opensips operates. E.g, we programmed opensips to lookup for UserAgent database, we add useragent for each client manually. And only using client's IP and user-agent we allow this user to call to PSTN. We watch for blacklists of IP adresses, subnets. If it comes from Gaza, Panama, China we block it. And a lot of other things. Most of them is not out-of-box in opensips, but it is not hard to implement. All this functionality is very important. We lost about $10k last time. This is very serious. 2016-12-12 8:56 GMT+06:00 Alex Balashov : > On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: > > > I love freeswitch, but frankly I would not recomend to set it as SBC. I > > personally faced two attacks where FS was not good at. And we lost a lot > of > > money. It works perfectly as NAT between internal and extenal networks, > > actually in everything but it is weak as a firewall. Stanislav knows > that, > > he helped me to resolve the problem first time when it happend. I cannot > go > > into details as this is open forum. You need to put either kamailio or > > opensips in front of FS. > > Strongly agree. > > -- > Alex Balashov | Principal | Evariste Systems LLC > > Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) > Web: http://www.evaristesys.com/, http://www.csrpswitch.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 > -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/e02fd76f/attachment-0001.html From krice at freeswitch.org Mon Dec 12 07:00:54 2016 From: krice at freeswitch.org (Ken Rice) Date: Sun, 11 Dec 2016 22:00:54 -0600 Subject: [Freeswitch-users] SBC In-Reply-To: References: <20161212025605.GA15029@tlaquepaque.localdomain> Message-ID: <62058FBC-4001-496D-9C31-A6F6B818D936@freeswitch.org> You do realize all of these things can be chexked in freeswitch. However no amount of checking various things the user is sending will stop such fraud. This is where your cdr's and pattern analysis come into play. Theres a reason large providers have rooms full of fraud prevention people Sent from my iPhone > On Dec 11, 2016, at 21:43, Kamil Nigmatullin wrote: > > The first was the problem, where attacker somehow got login and password (i think they broke thier ATA) from clinet and used it. But for this client there was a limit of one line. I used limit module with local database. What attacker actially did, is that they used REFER attack, where they put their own number as a referrer, and opened unlimited lines to PSTN. So the, solution was - to replace limit functunality to opensips. > > The second - it is not actually the FS issue. It is because Freeswitch is not flexible enouph to work at the low level where Kamailio or opensips operates. E.g, we programmed opensips to lookup for UserAgent database, we add useragent for each client manually. And only using client's IP and user-agent we allow this user to call to PSTN. We watch for blacklists of IP adresses, subnets. If it comes from Gaza, Panama, China we block it. And a lot of other things. Most of them is not out-of-box in opensips, but it is not hard to implement. All this functionality is very important. We lost about $10k last time. This is very serious. > > 2016-12-12 8:56 GMT+06:00 Alex Balashov : >> On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: >> >> > I love freeswitch, but frankly I would not recomend to set it as SBC. I >> > personally faced two attacks where FS was not good at. And we lost a lot of >> > money. It works perfectly as NAT between internal and extenal networks, >> > actually in everything but it is weak as a firewall. Stanislav knows that, >> > he helped me to resolve the problem first time when it happend. I cannot go >> > into details as this is open forum. You need to put either kamailio or >> > opensips in front of FS. >> >> Strongly agree. >> >> -- >> Alex Balashov | Principal | Evariste Systems LLC >> >> Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) >> Web: http://www.evaristesys.com/, http://www.csrpswitch.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 > > > > -- > Kamil Nigmatullin > Tel: 77272323748 > mob: 7 (707) 2517003 > Skype: kamil.nigmatullin > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161211/1debf287/attachment.html From david.villasmil.work at gmail.com Mon Dec 12 07:02:56 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Mon, 12 Dec 2016 04:02:56 +0000 Subject: [Freeswitch-users] SBC In-Reply-To: References: <20161212025605.GA15029@tlaquepaque.localdomain> Message-ID: Kamil, Thanks a lot for pointing this out. Regards On Mon, Dec 12, 2016 at 4:44 AM Kamil Nigmatullin < kamil.nigmatullin at gmail.com> wrote: The first was the problem, where attacker somehow got login and password (i think they broke thier ATA) from clinet and used it. But for this client there was a limit of one line. I used limit module with local database. What attacker actially did, is that they used REFER attack, where they put their own number as a referrer, and opened unlimited lines to PSTN. So the, solution was - to replace limit functunality to opensips. The second - it is not actually the FS issue. It is because Freeswitch is not flexible enouph to work at the low level where Kamailio or opensips operates. E.g, we programmed opensips to lookup for UserAgent database, we add useragent for each client manually. And only using client's IP and user-agent we allow this user to call to PSTN. We watch for blacklists of IP adresses, subnets. If it comes from Gaza, Panama, China we block it. And a lot of other things. Most of them is not out-of-box in opensips, but it is not hard to implement. All this functionality is very important. We lost about $10k last time. This is very serious. 2016-12-12 8:56 GMT+06:00 Alex Balashov : On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: > I love freeswitch, but frankly I would not recomend to set it as SBC. I > personally faced two attacks where FS was not good at. And we lost a lot of > money. It works perfectly as NAT between internal and extenal networks, > actually in everything but it is weak as a firewall. Stanislav knows that, > he helped me to resolve the problem first time when it happend. I cannot go > into details as this is open forum. You need to put either kamailio or > opensips in front of FS. Strongly agree. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.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 -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/31e074ec/attachment.html From jaceksburghardt at gmail.com Fri Dec 9 20:50:29 2016 From: jaceksburghardt at gmail.com (jacek burghardt) Date: Fri, 9 Dec 2016 10:50:29 -0700 Subject: [Freeswitch-users] Gateway configuration Message-ID: I had installed freeswitch on centos 7 and I also installed fusionpbx. How I can get gateway to register. I configured my voip.ms account and it shows stoped and I cant get it started. How I can make sure fusionpbx and freeswitch are working together. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161209/8ca87d93/attachment-0001.html From sebastian_ml at gmx.net Sat Dec 10 00:47:35 2016 From: sebastian_ml at gmx.net (Sebastian Kemper) Date: Fri, 9 Dec 2016 22:47:35 +0100 Subject: [Freeswitch-users] FS changes to transcoding after hold Message-ID: <20161209214734.GA2498@hotdamn.lan> Hello all, I have this Gigaset C430 SIP phone connected to FreeSWITCH 1.6.13. The phone it configured to offer G722 and G711. I use this on both internal and external SIP profile: On the internal profile I also have the following, because the phone plays its own MOH so FS doesn't have to: So now I make an outbound call from the phone. It offers G722 and G711. FS offers both on the egress leg. On the egress G711 is negotiated. FS negotiates G711 with the Gigaset afterward. All fine. Next I push the R button on the phone and it sends a reINVITE to FS: INVITE sip:500 at 172.31.255.129:5892;transport=udp SIP/2.0 Via: SIP/2.0/UDP 172.31.255.132:5060;branch=z9hG4bK3acb589137e2c87caa513ddc3c92fb1d;rport From: ;tag=3900142461 To: ;tag=6SX155B96H1pp Call-ID: 1793314766 at 172_31_255_132 CSeq: 4 INVITE Contact: Proxy-Authorization: Digest username="301", realm="172.31.255.129", qop=auth, algorithm=MD5, uri="sip:500 at 172.31.255.129:5892;transport=udp", nonce="e68c4915-ef56-4f0a-ad28-f8c8535731c1", nc=00000002, cnonce="64b2c2e298dce6f8a5a79c06598c42f0", response="d9ab62f9b94158000dbf92dfe31a6a10" Max-Forwards: 70 User-Agent: C430A GO/42.240.00.000.000 Supported: replaces Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, SUBSCRIBE, NOTIFY, REFER, UPDATE Content-Type: application/sdp Content-Length: 143 v=0 o=301 5012 33 IN IP4 172.31.255.132 s=Mapping c=IN IP4 172.31.255.132 t=0 0 m=audio 5012 RTP/AVP 8 a=rtpmap:8 PCMA/8000 a=sendonly OK, so here it says it's going to send MOH and tells FS to listen. Next FS replies with 200-OK. FS does not send anything on the egress leg of this bridge (fine with me). SIP/2.0 200 OK Via: SIP/2.0/UDP 172.31.255.132:5060;branch=z9hG4bK3acb589137e2c87caa513ddc3c92fb1d;rport=5060 From: ;tag=3900142461 To: ;tag=6SX155B96H1pp Call-ID: 1793314766 at 172_31_255_132 CSeq: 4 INVITE Contact: Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY Supported: timer, path, replaces Session-Expires: 1800;refresher=uas Content-Type: application/sdp Content-Length: 195 v=0 o=root 1481307576 1481307578 IN IP4 172.31.255.129 s=root c=IN IP4 172.31.255.129 t=0 0 m=audio 10010 RTP/AVP 8 a=rtpmap:8 PCMA/8000 a=silenceSupp:off - - - - a=ptime:20 a=recvonly After a while I cancel the hold on the phone. Remember, G711 was negotiated on the initial bridge. INVITE sip:500 at 172.31.255.129:5892;transport=udp SIP/2.0 Via: SIP/2.0/UDP 172.31.255.132:5060;branch=z9hG4bK59938e08302f7ed7f1b3f1005aab27c3;rport From: ;tag=3900142461 To: ;tag=6SX155B96H1pp Call-ID: 1793314766 at 172_31_255_132 CSeq: 5 INVITE Contact: Proxy-Authorization: Digest username="301", realm="172.31.255.129", qop=auth, algorithm=MD5, uri="sip:500 at 172.31.255.129:5892;transport=udp", nonce="e68c4915-ef56-4f0a-ad28-f8c8535731c1", nc=00000003, cnonce="9bb91b66139de548b11790f4ccf2a838", response="12c5a33918a6890c0a675177c556239b" Max-Forwards: 70 User-Agent: C430A GO/42.240.00.000.000 Supported: replaces Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, SUBSCRIBE, NOTIFY, REFER, UPDATE Content-Type: application/sdp Content-Length: 223 v=0 o=301 5012 34 IN IP4 172.31.255.132 s=Mapping c=IN IP4 172.31.255.132 t=0 0 m=audio 5012 RTP/AVP 9 8 101 a=rtpmap:9 G722/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 So the phone offers again G722 and G711. And now FS replies with this: SIP/2.0 200 OK Via: SIP/2.0/UDP 172.31.255.132:5060;branch=z9hG4bK59938e08302f7ed7f1b3f1005aab27c3;rport=5060 From: ;tag=3900142461 To: ;tag=6SX155B96H1pp Call-ID: 1793314766 at 172_31_255_132 CSeq: 5 INVITE Contact: Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY Supported: timer, path, replaces Session-Expires: 1800;refresher=uas Content-Type: application/sdp Content-Length: 195 v=0 o=root 1481307576 1481307579 IN IP4 172.31.255.129 s=root c=IN IP4 172.31.255.129 t=0 0 m=audio 10010 RTP/AVP 9 a=rtpmap:9 G722/8000 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv Now the call is going on with transcoding from G711 to G722. I see it both in the increase in CPU usage (FS is running on a tiny for-home-use MIPS router) and with "show detailed_calls" where it showed read_codec, write_codec, b_read_codec and b_write_codec as PCMA before Hold, and read_codec and write_codec G722 and b_read_codec and b_write_codec PCMA after Hold. It's probably not the smartest move for the phone to renegotiate codecs at this point. But I think FS should be able to deal with it (without simply falling back to transcoding). I've tried if putting "disable-transcoding" into the profiles changes anything, but it didn't. "renegotiate-codec-on-hold" and "renegotiate-codec-on-reinvite" are gone since FS 1.6.10 so I can't try those. I read something about "indicate_hold" which probably means that FS will send a reINVITE on the other leg, so I might try that. Does anyone have any other thoughts on this? Kind regards, Sebastian From sebastian_ml at gmx.net Sat Dec 10 18:40:50 2016 From: sebastian_ml at gmx.net (Sebastian Kemper) Date: Sat, 10 Dec 2016 16:40:50 +0100 Subject: [Freeswitch-users] FS changes to transcoding after hold In-Reply-To: <20161209214734.GA2498@hotdamn.lan> References: <20161209214734.GA2498@hotdamn.lan> Message-ID: <20161210154049.GA2603@hotdamn.lan> On Fri, Dec 09, 2016 at 10:47:35PM +0100, Sebastian Kemper wrote: > It's probably not the smartest move for the phone to renegotiate codecs > at this point. But I think FS should be able to deal with it (without > simply falling back to transcoding). I've tried if putting > "disable-transcoding" into the profiles changes anything, but it didn't. > "renegotiate-codec-on-hold" and "renegotiate-codec-on-reinvite" are gone > since FS 1.6.10 so I can't try those. I read something about > "indicate_hold" which probably means that FS will send a reINVITE on the > other leg, so I might try that. I thought about it some more and came to the conclusion that for a B2BUA it does seem legit to accept the first codec in the reINVTIE's offer and use transcoding to make the bridge work. It's not what I would like to happen, but that's a different story :D I also found a posting from 2011 which mentions this behavior: http://lists.freeswitch.org/pipermail/freeswitch-users/2011-December/078228.html Anyway, "case closed". Regards, Sebastian From kamil.nigmatullin at gmail.com Mon Dec 12 07:48:40 2016 From: kamil.nigmatullin at gmail.com (Kamil Nigmatullin) Date: Mon, 12 Dec 2016 10:48:40 +0600 Subject: [Freeswitch-users] SBC In-Reply-To: <62058FBC-4001-496D-9C31-A6F6B818D936@freeswitch.org> References: <20161212025605.GA15029@tlaquepaque.localdomain> <62058FBC-4001-496D-9C31-A6F6B818D936@freeswitch.org> Message-ID: I understand that. But CDR comes after the call is done. Sometimes one minute costs 10$ and I understand this after 20 minutes. I agree that this things doest't guarantee anything but it is funcionality of so called SBC. And it helps almost in any case except attackers broke sip device and sends traffic from this devices where monitoring and various limitations are really important. And about REFFER attack it is really very dangerous thing that is not fixes yet. 2016-12-12 10:00 GMT+06:00 Ken Rice : > You do realize all of these things can be chexked in freeswitch. However > no amount of checking various things the user is sending will stop such > fraud. This is where your cdr's and pattern analysis come into play. Theres > a reason large providers have rooms full of fraud prevention people > > Sent from my iPhone > > On Dec 11, 2016, at 21:43, Kamil Nigmatullin > wrote: > > The first was the problem, where attacker somehow got login and password > (i think they broke thier ATA) from clinet and used it. But for this client > there was a limit of one line. I used limit module with local database. > What attacker actially did, is that they used REFER attack, where they put > their own number as a referrer, and opened unlimited lines to PSTN. So the, > solution was - to replace limit functunality to opensips. > > The second - it is not actually the FS issue. It is because Freeswitch is > not flexible enouph to work at the low level where Kamailio or opensips > operates. E.g, we programmed opensips to lookup for UserAgent database, we > add useragent for each client manually. And only using client's IP and > user-agent we allow this user to call to PSTN. We watch for blacklists of > IP adresses, subnets. If it comes from Gaza, Panama, China we block it. And > a lot of other things. Most of them is not out-of-box in opensips, but it > is not hard to implement. All this functionality is very important. We lost > about $10k last time. This is very serious. > > 2016-12-12 8:56 GMT+06:00 Alex Balashov : > >> On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: >> >> > I love freeswitch, but frankly I would not recomend to set it as SBC. I >> > personally faced two attacks where FS was not good at. And we lost a >> lot of >> > money. It works perfectly as NAT between internal and extenal networks, >> > actually in everything but it is weak as a firewall. Stanislav knows >> that, >> > he helped me to resolve the problem first time when it happend. I >> cannot go >> > into details as this is open forum. You need to put either kamailio or >> > opensips in front of FS. >> >> Strongly agree. >> >> -- >> Alex Balashov | Principal | Evariste Systems LLC >> >> Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) >> Web: http://www.evaristesys.com/, http://www.csrpswitch.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 >> > > > > -- > Kamil Nigmatullin > Tel: 77272323748 > mob: 7 (707) 2517003 <(707)%20251-7003> > Skype: kamil.nigmatullin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/e85b5054/attachment.html From krice at freeswitch.org Mon Dec 12 08:21:03 2016 From: krice at freeswitch.org (Ken Rice) Date: Sun, 11 Dec 2016 23:21:03 -0600 Subject: [Freeswitch-users] SBC In-Reply-To: References: <20161212025605.GA15029@tlaquepaque.localdomain> <62058FBC-4001-496D-9C31-A6F6B818D936@freeswitch.org> Message-ID: <014401d25437$89276300$9b762900$@freeswitch.org> You miss my point entirely? its not just CDR reporting, but its network traffic monitoring in general. There are things in FreeSWITCH specifically made to address this sort of attack. Limits can be applied in various ways, certain SIP features can be completely disable or handling in ways that allow for more stringent checks? for instance, why would you blindly follow a refer? That in and of itself is just asking to get owned. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Kamil Nigmatullin Sent: Sunday, December 11, 2016 10:49 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SBC I understand that. But CDR comes after the call is done. Sometimes one minute costs 10$ and I understand this after 20 minutes. I agree that this things doest't guarantee anything but it is funcionality of so called SBC. And it helps almost in any case except attackers broke sip device and sends traffic from this devices where monitoring and various limitations are really important. And about REFFER attack it is really very dangerous thing that is not fixes yet. 2016-12-12 10:00 GMT+06:00 Ken Rice >: You do realize all of these things can be chexked in freeswitch. However no amount of checking various things the user is sending will stop such fraud. This is where your cdr's and pattern analysis come into play. Theres a reason large providers have rooms full of fraud prevention people Sent from my iPhone On Dec 11, 2016, at 21:43, Kamil Nigmatullin > wrote: The first was the problem, where attacker somehow got login and password (i think they broke thier ATA) from clinet and used it. But for this client there was a limit of one line. I used limit module with local database. What attacker actially did, is that they used REFER attack, where they put their own number as a referrer, and opened unlimited lines to PSTN. So the, solution was - to replace limit functunality to opensips. The second - it is not actually the FS issue. It is because Freeswitch is not flexible enouph to work at the low level where Kamailio or opensips operates. E.g, we programmed opensips to lookup for UserAgent database, we add useragent for each client manually. And only using client's IP and user-agent we allow this user to call to PSTN. We watch for blacklists of IP adresses, subnets. If it comes from Gaza, Panama, China we block it. And a lot of other things. Most of them is not out-of-box in opensips, but it is not hard to implement. All this functionality is very important. We lost about $10k last time. This is very serious. 2016-12-12 8:56 GMT+06:00 Alex Balashov >: On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: > I love freeswitch, but frankly I would not recomend to set it as SBC. I > personally faced two attacks where FS was not good at. And we lost a lot of > money. It works perfectly as NAT between internal and extenal networks, > actually in everything but it is weak as a firewall. Stanislav knows that, > he helped me to resolve the problem first time when it happend. I cannot go > into details as this is open forum. You need to put either kamailio or > opensips in front of FS. Strongly agree. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.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 -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161211/e7e3e1ed/attachment-0001.html From giggsey at gmail.com Mon Dec 12 09:37:27 2016 From: giggsey at gmail.com (Joshua Gigg) Date: Mon, 12 Dec 2016 06:37:27 +0000 Subject: [Freeswitch-users] FS changes to transcoding after hold In-Reply-To: <20161210154049.GA2603@hotdamn.lan> References: <20161209214734.GA2498@hotdamn.lan> <20161210154049.GA2603@hotdamn.lan> Message-ID: I opened a JIRA on a related note earlier this year, because when you have this call recorded, and it gets switched between G711 and G722, it messes up the recording. On Mon, 12 Dec 2016, 04:11 Sebastian Kemper, wrote: > On Fri, Dec 09, 2016 at 10:47:35PM +0100, Sebastian Kemper wrote: > > > > > It's probably not the smartest move for the phone to renegotiate codecs > > at this point. But I think FS should be able to deal with it (without > > simply falling back to transcoding). I've tried if putting > > "disable-transcoding" into the profiles changes anything, but it didn't. > > "renegotiate-codec-on-hold" and "renegotiate-codec-on-reinvite" are gone > > since FS 1.6.10 so I can't try those. I read something about > > "indicate_hold" which probably means that FS will send a reINVITE on the > > other leg, so I might try that. > > I thought about it some more and came to the conclusion that for a B2BUA > it does seem legit to accept the first codec in the reINVTIE's offer and > use transcoding to make the bridge work. It's not what I would like to > happen, but that's a different story :D > > I also found a posting from 2011 which mentions this behavior: > > http://lists.freeswitch.org/pipermail/freeswitch-users/2011-December/078228.html > > Anyway, "case closed". > > Regards, > Sebastian > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/137bce31/attachment.html From s.safarov at gmail.com Mon Dec 12 09:37:32 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Mon, 12 Dec 2016 06:37:32 +0000 Subject: [Freeswitch-users] Gateway configuration In-Reply-To: References: Message-ID: How many simultanius registrarion from one SIP account is supported by your provider? If only one, then only one PBX can receive calls. If provider routes Cal to ip or dns name check provider instructions ??, 12 ???. 2016, 7:09 jacek burghardt : > I had installed freeswitch on centos 7 and I also installed fusionpbx. How > I can get gateway to register. I configured my voip.ms account and it > shows stoped and I cant get it started. How I can make sure fusionpbx and > freeswitch are working together. > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/da0fb0b0/attachment.html From kbdfck at gmail.com Mon Dec 12 10:24:14 2016 From: kbdfck at gmail.com (Dmitry Sytchev) Date: Mon, 12 Dec 2016 10:24:14 +0300 Subject: [Freeswitch-users] SBC In-Reply-To: <014401d25437$89276300$9b762900$@freeswitch.org> References: <20161212025605.GA15029@tlaquepaque.localdomain> <62058FBC-4001-496D-9C31-A6F6B818D936@freeswitch.org> <014401d25437$89276300$9b762900$@freeswitch.org> Message-ID: Hi guys, your talk about limit bypassing recalled me old thread I started in 2014: http://lists.freeswitch.org/pipermail/freeswitch-users/2014-March/103474.html We faced this type of attacks and were able to deal with it with this approach. It can be used with recent FS versions w almost without modifications. Of course, there can be some new functionality for this I don't know about. But I agree that FS is not an SBC, although it can be used in this role in some cases. 2016-12-12 8:21 GMT+03:00 Ken Rice : > You miss my point entirely? its not just CDR reporting, but its network > traffic monitoring in general. There are things in FreeSWITCH specifically > made to address this sort of attack. Limits can be applied in various ways, > certain SIP features can be completely disable or handling in ways that > allow for more stringent checks? for instance, why would you blindly follow > a refer? That in and of itself is just asking to get owned. > > > > > > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Kamil > Nigmatullin > Sent: Sunday, December 11, 2016 10:49 PM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] SBC > > > > I understand that. But CDR comes after the call is done. Sometimes one > minute costs 10$ and I understand this after 20 minutes. I agree that this > things doest't guarantee anything but it is funcionality of so called SBC. > And it helps almost in any case except attackers broke sip device and sends > traffic from this devices where monitoring and various limitations are > really important. And about REFFER attack it is really very dangerous thing > that is not fixes yet. > > > > 2016-12-12 10:00 GMT+06:00 Ken Rice : > > You do realize all of these things can be chexked in freeswitch. However no > amount of checking various things the user is sending will stop such fraud. > This is where your cdr's and pattern analysis come into play. Theres a > reason large providers have rooms full of fraud prevention people > > Sent from my iPhone > > > On Dec 11, 2016, at 21:43, Kamil Nigmatullin > wrote: > > The first was the problem, where attacker somehow got login and password (i > think they broke thier ATA) from clinet and used it. But for this client > there was a limit of one line. I used limit module with local database. What > attacker actially did, is that they used REFER attack, where they put their > own number as a referrer, and opened unlimited lines to PSTN. So the, > solution was - to replace limit functunality to opensips. > > > > The second - it is not actually the FS issue. It is because Freeswitch is > not flexible enouph to work at the low level where Kamailio or opensips > operates. E.g, we programmed opensips to lookup for UserAgent database, we > add useragent for each client manually. And only using client's IP and > user-agent we allow this user to call to PSTN. We watch for blacklists of IP > adresses, subnets. If it comes from Gaza, Panama, China we block it. And a > lot of other things. Most of them is not out-of-box in opensips, but it is > not hard to implement. All this functionality is very important. We lost > about $10k last time. This is very serious. > > > > 2016-12-12 8:56 GMT+06:00 Alex Balashov : > > On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: > >> I love freeswitch, but frankly I would not recomend to set it as SBC. I >> personally faced two attacks where FS was not good at. And we lost a lot >> of >> money. It works perfectly as NAT between internal and extenal networks, >> actually in everything but it is weak as a firewall. Stanislav knows that, >> he helped me to resolve the problem first time when it happend. I cannot >> go >> into details as this is open forum. You need to put either kamailio or >> opensips in front of FS. > > Strongly agree. > > -- > Alex Balashov | Principal | Evariste Systems LLC > > Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) > Web: http://www.evaristesys.com/, http://www.csrpswitch.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 > > > > > > -- > > Kamil Nigmatullin > Tel: 77272323748 > mob: 7 (707) 2517003 > Skype: kamil.nigmatullin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > -- > > Kamil Nigmatullin > Tel: 77272323748 > mob: 7 (707) 2517003 > Skype: kamil.nigmatullin > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Best regards, Dmitry Sytchev, IT Engineer From kamil.nigmatullin at gmail.com Mon Dec 12 10:52:07 2016 From: kamil.nigmatullin at gmail.com (Kamil Nigmatullin) Date: Mon, 12 Dec 2016 13:52:07 +0600 Subject: [Freeswitch-users] SBC In-Reply-To: <014401d25437$89276300$9b762900$@freeswitch.org> References: <20161212025605.GA15029@tlaquepaque.localdomain> <62058FBC-4001-496D-9C31-A6F6B818D936@freeswitch.org> <014401d25437$89276300$9b762900$@freeswitch.org> Message-ID: Well, I didn't know about that traffic monitoring tools. Is it some sort of software that works via ESL or it is built-in modules? At that moment when I asked about the problem with sip reffer atack I was asked not to share this information in open forum. So there were no recomendation on how to handle that. To disable reffer completly - means not to give clients an ability to make attxfer. How could I know that limit module may be broken that way? The only thing I thought of making an aditional handler of limitaton where SIP refer packets just cannot get. (put second FS or do it on B-LEG of kamailio/opensips) 2016-12-12 11:21 GMT+06:00 Ken Rice : > You miss my point entirely? its not just CDR reporting, but its network > traffic monitoring in general. There are things in FreeSWITCH specifically > made to address this sort of attack. Limits can be applied in various ways, > certain SIP features can be completely disable or handling in ways that > allow for more stringent checks? for instance, why would you blindly follow > a refer? That in and of itself is just asking to get owned. > > > > > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Kamil > Nigmatullin > *Sent:* Sunday, December 11, 2016 10:49 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] SBC > > > > I understand that. But CDR comes after the call is done. Sometimes one > minute costs 10$ and I understand this after 20 minutes. I agree that this > things doest't guarantee anything but it is funcionality of so called SBC. > And it helps almost in any case except attackers broke sip device and sends > traffic from this devices where monitoring and various limitations are > really important. And about REFFER attack it is really very dangerous thing > that is not fixes yet. > > > > 2016-12-12 10:00 GMT+06:00 Ken Rice : > > You do realize all of these things can be chexked in freeswitch. However > no amount of checking various things the user is sending will stop such > fraud. This is where your cdr's and pattern analysis come into play. Theres > a reason large providers have rooms full of fraud prevention people > > Sent from my iPhone > > > On Dec 11, 2016, at 21:43, Kamil Nigmatullin > wrote: > > The first was the problem, where attacker somehow got login and password > (i think they broke thier ATA) from clinet and used it. But for this client > there was a limit of one line. I used limit module with local database. > What attacker actially did, is that they used REFER attack, where they put > their own number as a referrer, and opened unlimited lines to PSTN. So the, > solution was - to replace limit functunality to opensips. > > > > The second - it is not actually the FS issue. It is because Freeswitch is > not flexible enouph to work at the low level where Kamailio or opensips > operates. E.g, we programmed opensips to lookup for UserAgent database, we > add useragent for each client manually. And only using client's IP and > user-agent we allow this user to call to PSTN. We watch for blacklists of > IP adresses, subnets. If it comes from Gaza, Panama, China we block it. And > a lot of other things. Most of them is not out-of-box in opensips, but it > is not hard to implement. All this functionality is very important. We lost > about $10k last time. This is very serious. > > > > 2016-12-12 8:56 GMT+06:00 Alex Balashov : > > On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: > > > I love freeswitch, but frankly I would not recomend to set it as SBC. I > > personally faced two attacks where FS was not good at. And we lost a lot > of > > money. It works perfectly as NAT between internal and extenal networks, > > actually in everything but it is weak as a firewall. Stanislav knows > that, > > he helped me to resolve the problem first time when it happend. I cannot > go > > into details as this is open forum. You need to put either kamailio or > > opensips in front of FS. > > Strongly agree. > > -- > Alex Balashov | Principal | Evariste Systems LLC > > Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) > Web: http://www.evaristesys.com/, http://www.csrpswitch.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 > > > > > > -- > > Kamil Nigmatullin > Tel: 77272323748 > mob: 7 (707) 2517003 <(707)%20251-7003> > Skype: kamil.nigmatullin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > -- > > Kamil Nigmatullin > Tel: 77272323748 > mob: 7 (707) 2517003 <(707)%20251-7003> > Skype: kamil.nigmatullin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/cc64755e/attachment-0001.html From ssinyagin at gmail.com Mon Dec 12 12:19:38 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 12 Dec 2016 10:19:38 +0100 Subject: [Freeswitch-users] SBC In-Reply-To: References: <20161212025605.GA15029@tlaquepaque.localdomain> Message-ID: but that's part of a job for an end-to-end system designer, it's not something specific to a particular piece of software. For the scenario that Valter has described, FreeSWITCH (or two servers in a cluster) will do the job just fine. But of course it needs to be designed, configured and tested properly, with security in mind. I would agree, it's good to place Kamailio as the first-hop Internet gateway if you need to process INVITEs from unknown sources in Internet. It has nice features that minimize the impact of various DOS attacks or hacking. Also if you need to scale up, Kamailio will serve nicely as a load-balancer. But there's nothing wrong in placing FreeSWITCH alone in the Internet if you know what you're doing. On Mon, Dec 12, 2016 at 4:43 AM, Kamil Nigmatullin wrote: > The first was the problem, where attacker somehow got login and password (i > think they broke thier ATA) from clinet and used it. But for this client > there was a limit of one line. I used limit module with local database. What > attacker actially did, is that they used REFER attack, where they put their > own number as a referrer, and opened unlimited lines to PSTN. So the, > solution was - to replace limit functunality to opensips. > > The second - it is not actually the FS issue. It is because Freeswitch is > not flexible enouph to work at the low level where Kamailio or opensips > operates. E.g, we programmed opensips to lookup for UserAgent database, we > add useragent for each client manually. And only using client's IP and > user-agent we allow this user to call to PSTN. We watch for blacklists of IP > adresses, subnets. If it comes from Gaza, Panama, China we block it. And a > lot of other things. Most of them is not out-of-box in opensips, but it is > not hard to implement. All this functionality is very important. We lost > about $10k last time. This is very serious. > > 2016-12-12 8:56 GMT+06:00 Alex Balashov : >> >> On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: >> >> > I love freeswitch, but frankly I would not recomend to set it as SBC. I >> > personally faced two attacks where FS was not good at. And we lost a lot >> > of >> > money. It works perfectly as NAT between internal and extenal networks, >> > actually in everything but it is weak as a firewall. Stanislav knows >> > that, >> > he helped me to resolve the problem first time when it happend. I cannot >> > go >> > into details as this is open forum. You need to put either kamailio or >> > opensips in front of FS. >> >> Strongly agree. >> >> -- >> Alex Balashov | Principal | Evariste Systems LLC >> >> Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) >> Web: http://www.evaristesys.com/, http://www.csrpswitch.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 > > > > > -- > Kamil Nigmatullin > Tel: 77272323748 > mob: 7 (707) 2517003 > Skype: kamil.nigmatullin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 david.villasmil.work at gmail.com Mon Dec 12 14:05:07 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Mon, 12 Dec 2016 12:05:07 +0100 Subject: [Freeswitch-users] Gateway configuration In-Reply-To: References: Message-ID: you also need to set the register parameter to true in the gw config Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Mon, Dec 12, 2016 at 7:37 AM, Sergey Safarov wrote: > How many simultanius registrarion from one SIP account is supported by > your provider? > > If only one, then only one PBX can receive calls. > If provider routes Cal to ip or dns name check provider instructions > > ??, 12 ???. 2016, 7:09 jacek burghardt : > >> I had installed freeswitch on centos 7 and I also installed fusionpbx. >> How I can get gateway to register. I configured my voip.ms account and >> it shows stoped and I cant get it started. How I can make sure fusionpbx >> and freeswitch are working together. >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/10d2edf5/attachment.html From victor.medina at cibersys.com Mon Dec 12 14:05:36 2016 From: victor.medina at cibersys.com (Victor Medina) Date: Mon, 12 Dec 2016 07:05:36 -0400 Subject: [Freeswitch-users] Ubuntu 14.x and 16.x Packages In-Reply-To: References: Message-ID: Hello Guys! I know they are not suitable for production, but I have some spare time and tried to test FS on Ubuntu 16.04, a clean install. It seems there is a problem with the key signature. W: http://files.freeswitch.org/repo/ubuntu-1604/freeswitch-unstable/dists/xenial/InRelease: Signature by key 9C0CADF0911F534CC19C218C018DDB2EF14D5181 uses weak digest algorithm (SHA1) 2016-09-01 12:19 GMT-04:00 Brian West : > FreeSWITCHers, > > We have published both Ubuntu repositories: > > https://freeswitch.org/confluence/display/FREESWITCH/Ubuntu+16.04+Xenial > https://freeswitch.org/confluence/display/FREESWITCH/Ubuntu+14.04+Trusty > > Please review and give us feedback. Also if you're new check out my > signature for a discount code for the ebooks, This code applies > to FreeSWITCH Cookbook And the new Mastering FreeSWITCH book. If you've > not done so check them out, The entire team put in a lot of work writing > and proofing the books. It will help you get started with FreeSWITCH > faster. > > Thanks, > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > 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 > -- 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/20161212/c8cf6cde/attachment.html From david.villasmil.work at gmail.com Mon Dec 12 14:09:46 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Mon, 12 Dec 2016 12:09:46 +0100 Subject: [Freeswitch-users] SBC In-Reply-To: References: <20161212025605.GA15029@tlaquepaque.localdomain> Message-ID: At the very least start by looking at Homer (http://sipcapture.org/) which works beautifully with kamailio (i assume also openSIPS) and freeswitch. and it generates by default some nice graphs and alarms. Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Mon, Dec 12, 2016 at 10:19 AM, Stanislav Sinyagin wrote: > but that's part of a job for an end-to-end system designer, it's not > something specific to a particular piece of software. > > For the scenario that Valter has described, FreeSWITCH (or two servers > in a cluster) will do the job just fine. But of course it needs to be > designed, configured and tested properly, with security in mind. > > I would agree, it's good to place Kamailio as the first-hop Internet > gateway if you need to process INVITEs from unknown sources in > Internet. It has nice features that minimize the impact of various DOS > attacks or hacking. Also if you need to scale up, Kamailio will serve > nicely as a load-balancer. But there's nothing wrong in placing > FreeSWITCH alone in the Internet if you know what you're doing. > > > > > > > > > On Mon, Dec 12, 2016 at 4:43 AM, Kamil Nigmatullin > wrote: > > The first was the problem, where attacker somehow got login and password > (i > > think they broke thier ATA) from clinet and used it. But for this client > > there was a limit of one line. I used limit module with local database. > What > > attacker actially did, is that they used REFER attack, where they put > their > > own number as a referrer, and opened unlimited lines to PSTN. So the, > > solution was - to replace limit functunality to opensips. > > > > The second - it is not actually the FS issue. It is because Freeswitch is > > not flexible enouph to work at the low level where Kamailio or opensips > > operates. E.g, we programmed opensips to lookup for UserAgent database, > we > > add useragent for each client manually. And only using client's IP and > > user-agent we allow this user to call to PSTN. We watch for blacklists > of IP > > adresses, subnets. If it comes from Gaza, Panama, China we block it. And > a > > lot of other things. Most of them is not out-of-box in opensips, but it > is > > not hard to implement. All this functionality is very important. We lost > > about $10k last time. This is very serious. > > > > 2016-12-12 8:56 GMT+06:00 Alex Balashov : > >> > >> On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: > >> > >> > I love freeswitch, but frankly I would not recomend to set it as SBC. > I > >> > personally faced two attacks where FS was not good at. And we lost a > lot > >> > of > >> > money. It works perfectly as NAT between internal and extenal > networks, > >> > actually in everything but it is weak as a firewall. Stanislav knows > >> > that, > >> > he helped me to resolve the problem first time when it happend. I > cannot > >> > go > >> > into details as this is open forum. You need to put either kamailio or > >> > opensips in front of FS. > >> > >> Strongly agree. > >> > >> -- > >> Alex Balashov | Principal | Evariste Systems LLC > >> > >> Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) > >> Web: http://www.evaristesys.com/, http://www.csrpswitch.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 > > > > > > > > > > -- > > Kamil Nigmatullin > > Tel: 77272323748 > > mob: 7 (707) 2517003 > > Skype: kamil.nigmatullin > > > > ____________________________________________________________ > _____________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/56980f63/attachment-0001.html From descartin at systemonenoc.com Mon Dec 12 14:53:48 2016 From: descartin at systemonenoc.com (david escartin) Date: Mon, 12 Dec 2016 12:53:48 +0100 Subject: [Freeswitch-users] detect dtmf tones in early media state Message-ID: <1481543628.2826.2.camel@systemonenoc.com> hello how are you? do you know if there is anyway to detect inbound dtmf tones in early media by doing a session preAnswer, not connecting the call? thanks a lot and regards david -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/a33a00dc/attachment.html From vbvbrj at gmail.com Mon Dec 12 15:12:18 2016 From: vbvbrj at gmail.com (Mimiko) Date: Mon, 12 Dec 2016 14:12:18 +0200 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: On 12.12.2016 04:17, Kamil Nigmatullin wrote: > I love freeswitch, but frankly I would not recomend to set it as SBC. I > personally faced two attacks where FS was not good at. And we lost a lot > of money. It works perfectly as NAT between internal and extenal > networks, actually in everything but it is weak as a firewall. Stanislav > knows that, he helped me to resolve the problem first time when it > happend. I cannot go into details as this is open forum. You need to put > either kamailio or opensips in front of FS. Hello. I have a FS for almost 4 year opened to the Internet for non-authenticated call to local extensions only and authenticated calls to external and local. Yes I've had attacks, some did a DDOS with packet spoofing. But using iptables and log I am clean now. The only attack I see is sending incorrect SIP packet. Which I see on my second monitor and block the IP. Just following wiki to use iptables, fail2ban, acls and so on. -- Mimiko desu. From ssinyagin at gmail.com Mon Dec 12 16:45:51 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 12 Dec 2016 14:45:51 +0100 Subject: [Freeswitch-users] mod_hiredis documentation Message-ID: mod_hiredis was not properly documented, and I updated the page to as much as I could dig from the source: https://freeswitch.org/confluence/display/FREESWITCH/mod_hiredis Please review and suggest additions if needed. From fanx07 at gmail.com Mon Dec 12 18:02:51 2016 From: fanx07 at gmail.com (Anonim Stefan) Date: Mon, 12 Dec 2016 17:02:51 +0200 Subject: [Freeswitch-users] Freeswitch 1.6 with Nuance Vocalizer 6.2.3 - "Client connection refused" In-Reply-To: <3DCD2C50-804B-44EC-9F00-BF48B89DC3B5@ipsoft.com> References: <3DCD2C50-804B-44EC-9F00-BF48B89DC3B5@ipsoft.com> Message-ID: Thank you for answring. I think Nuance Vocalizer and Nuance Speech Suite are two different products. I will try Nuance Speech Suite also and see to it. Stefan On Fri, Dec 9, 2016 at 5:45 PM, Hector Geraldino < Hector.Geraldino at ipsoft.com> wrote: > IIRC it was Vocalizer for Network 5.0 and some other Nuance Speech Server > or something like that. > > > > I think requests were being handled by an NSServer process that was > started on a different directory. Sorry I cannot be more helpful, but I no > longer have access to that environment. > > > > *From: * on behalf of > Anonim Stefan > *Reply-To: *FreeSWITCH Users Help > *Date: *Thursday, December 8, 2016 at 4:35 AM > *To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Freeswitch 1.6 with Nuance Vocalizer > 6.2.3 - "Client connection refused" > > > > Hi Hector, > > > > Yes, I double checked that the nuance-server is listening on 9200 port. > the above [0] [1] [2] [3] messages I can see on the nuance-server side. > > > > On freeswitch side I can see: > > 2016-12-08 09:20:51.071110 [DEBUG] apt_consumer_task.c:141 () Wait for > Messages [MRCP Client] > > 2016-12-08 09:20:51.071110 [INFO] mrcp_sofiasip_client_agent.c:609 () > Receive SIP Event [nua_i_state] Status 0 INVITE sent [nuance6-mrcp2] > > 2016-12-08 09:20:51.071110 [NOTICE] mrcp_sofiasip_client_agent.c:547 > (TTS-8) SIP Call State TTS-8 [calling] > > 2016-12-08 09:20:56.071087 [WARNING] mod_unimrcp.c:1051 (TTS-8) MRCP > session has not opened after 5000 ms > > 2016-12-08 09:21:23.051103 [INFO] mrcp_sofiasip_client_agent.c:609 () > Receive SIP Event [nua_r_invite] Status 408 Request Timeout [nuance6-mrcp2] > > 2016-12-08 09:21:23.051103 [INFO] mrcp_sofiasip_client_agent.c:609 () > Receive SIP Event [nua_i_state] Status 408 Request Timeout [nuance6-mrcp2] > > 2016-12-08 09:21:23.051103 [NOTICE] mrcp_sofiasip_client_agent.c:547 > (TTS-8) SIP Call State TTS-8 [terminated] > > 2016-12-08 09:21:23.051103 [DEBUG] apt_task.c:265 () Signal Message to > [MRCP Client] [0x7f5198010d30;1;0] > > 2016-12-08 09:21:23.051103 [DEBUG] apt_task.c:337 () Process Message [MRCP > Client] [0x7f5198010d30;1;0] > > 2016-12-08 09:21:23.051103 [INFO] mrcp_client_session.c:151 (TTS-8) > Receive Answer TTS-8 [c:0 a:0 v:0] Status 408 > > 2016-12-08 09:21:23.051103 [INFO] mrcp_client_session.c:455 (TTS-8) Raise > App Response TTS-8 [2] FAILURE [2] > > 2016-12-08 09:21:23.051103 [ERR] mod_unimrcp.c:1913 (TTS-8) SYNTHESIZER > channel error! > > 2016-12-08 09:21:23.051103 [DEBUG] mod_unimrcp.c:1577 (TTS-8) CLOSED ==> > ERROR > > 2016-12-08 09:21:23.051103 [DEBUG] apt_consumer_task.c:141 () Wait for > Messages [MRCP Client] > > 2016-12-08 09:21:23.051103 [DEBUG] mod_unimrcp.c:1061 (TTS-8) Terminating > MRCP session > > > > > > I suspect that either something might have been "updated" in Vocalizer and > won't recognize what Freeswitch sends it anymore *or* I am doing > something wrong in the extension config: > > > > > > > > data="default_language=en-GB"/> > > > > > > > > > > > > > > > > > > Can you tell me the Freeswitch and Vocalizer versions it worked for you? > > > > Thank you, > > Stefan > > > > On Wed, Dec 7, 2016 at 5:08 PM, Hector Geraldino < > Hector.Geraldino at ipsoft.com> wrote: > > Is the Vocalizer for Network/NSS listening on that port? Can you > nmap/telnet to that IP address on port 9200? > > > > I had no issues with using Nuance?s Vocalizer with MRCP using the > mod_unimrcp module. > > > > *From: * on behalf of > Anonim Stefan > *Reply-To: *FreeSWITCH Users Help > *Date: *Wednesday, December 7, 2016 at 5:56 AM > *To: *Freeswitch-users > *Subject: *[Freeswitch-users] Freeswitch 1.6 with Nuance Vocalizer 6.2.3 > - "Client connection refused" > > > > Hi, > > > > I unsuccessfully tried to do TTS on Freeswitch using mod_unimrcp (with > specific nuance profile), by connecting to nuance-server. > > > > I started the Nuance server in mrcp mode: [0] > > > > For MRCP v1 I get [1]. > > > > For MRCP v2 (using TCP) I get [2]. > > > > For nuance nvscmdline I get [3]. > > > > The FS unimrcp profiles I used are [4] for v1 and [5] for v2. > > > > Am I missing something here?! > > Have anyone tried this lately? Is Freeswitch 1.6 mod_unimrcp working with > latest Nuance? > > > > Thank you, > > Stefan > > > > [0] http://pastebin.com/qXixTb5y > [1] http://pastebin.com/dSxWNvX5 > > [2] http://pastebin.com/CPdRcpBY > > [3] http://pastebin.com/9D5kHuwc > > [4] http://pastebin.com/Q39PX74Q > > [5] http://pastebin.com/t2iAr6H1 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/fbeb8d25/attachment-0001.html From brian at freeswitch.org Mon Dec 12 18:22:58 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 12 Dec 2016 09:22:58 -0600 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: Kamil, The security model of FreeSWITCH can be quite complex, To blame FreeSWITCH itself for your misconfiguration is downright FUD, If you have issues or questions on how to properly configure FreeSWITCH for this specific role you can just ask, many of us will help you create a configuration that would be robust and secure. If you would have set 'disable-transfer', to true, and possibly 'disable-register' it would also help lower your attack surface, In addition you shouldn't open your system to the planet, thats irresponsible on your part for doing so. FreeSWITCH isn't a firewall, so of course its weak because its NOT a firewall. And these are in the configs: Thanks, /b On Sun, Dec 11, 2016 at 8:17 PM, Kamil Nigmatullin < kamil.nigmatullin at gmail.com> wrote: > I love freeswitch, but frankly I would not recomend to set it as SBC. I > personally faced two attacks where FS was not good at. And we lost a lot of > money. It works perfectly as NAT between internal and extenal networks, > actually in everything but it is weak as a firewall. Stanislav knows that, > he helped me to resolve the problem first time when it happend. I cannot go > into details as this is open forum. You need to put either kamailio or > opensips in front of FS. > > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161212/8766d0e5/attachment.html From david.villasmil.work at gmail.com Mon Dec 12 18:30:26 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Mon, 12 Dec 2016 16:30:26 +0100 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: I'm just thinking out loud, but maybe it'd be a good idea to have 2 default configs somehow. 1 which is the current one, and the second would be a ver-very-hardened one. I usually start-off with https://github.com/voxserv/freeswitch_conf_minimal or https://github.com/mx4492/freeswitch-minimal-conf which are very basic, but it would be a great idea to have available a "hardened" one. Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Mon, Dec 12, 2016 at 4:22 PM, Brian West wrote: > Kamil, > > The security model of FreeSWITCH can be quite complex, To blame FreeSWITCH > itself for your misconfiguration is downright FUD, If you have issues or > questions on how to properly configure FreeSWITCH for this specific role > you can just ask, many of us will help you create a configuration that > would be robust and secure. If you would have set 'disable-transfer', to > true, and possibly 'disable-register' it would also help lower your attack > surface, In addition you shouldn't open your system to the planet, thats > irresponsible on your part for doing so. > > FreeSWITCH isn't a firewall, so of course its weak because its NOT a > firewall. > > And these are in the configs: > > > > > > > > > Thanks, > /b > > > On Sun, Dec 11, 2016 at 8:17 PM, Kamil Nigmatullin < > kamil.nigmatullin at gmail.com> wrote: > >> I love freeswitch, but frankly I would not recomend to set it as SBC. I >> personally faced two attacks where FS was not good at. And we lost a lot of >> money. It works perfectly as NAT between internal and extenal networks, >> actually in everything but it is weak as a firewall. Stanislav knows that, >> he helped me to resolve the problem first time when it happend. I cannot go >> into details as this is open forum. You need to put either kamailio or >> opensips in front of FS. >> >> > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> > | *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/20161212/f3507f17/attachment.html From brian at freeswitch.org Mon Dec 12 18:56:40 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 12 Dec 2016 09:56:40 -0600 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: I've given everyone the opportunity to get involved in the new 1.8 configs, So far very few people have stepped up to assist me in this task. It should be hardened by default, or have a way to toggle the hardened configs on. https://freeswitch.org/stash/projects/FS/repos/fs18configs/browse If you wish to review. /b On Mon, Dec 12, 2016 at 9:30 AM, David Villasmil < david.villasmil.work at gmail.com> wrote: > I'm just thinking out loud, but maybe it'd be a good idea to have 2 > default configs somehow. 1 which is the current one, and the second would > be a ver-very-hardened one. > I usually start-off with https://github.com/voxserv/freeswitch_conf_ > minimal or https://github.com/mx4492/freeswitch-minimal-conf which are > very basic, but it would be a great idea to have available a "hardened" one. > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > > On Mon, Dec 12, 2016 at 4:22 PM, Brian West wrote: > >> Kamil, >> >> The security model of FreeSWITCH can be quite complex, To blame >> FreeSWITCH itself for your misconfiguration is downright FUD, If you have >> issues or questions on how to properly configure FreeSWITCH for this >> specific role you can just ask, many of us will help you create a >> configuration that would be robust and secure. If you would have set >> 'disable-transfer', to true, and possibly 'disable-register' it would also >> help lower your attack surface, In addition you shouldn't open your system >> to the planet, thats irresponsible on your part for doing so. >> >> FreeSWITCH isn't a firewall, so of course its weak because its NOT a >> firewall. >> >> And these are in the configs: >> >> >> >> >> >> >> >> >> Thanks, >> /b >> >> >> On Sun, Dec 11, 2016 at 8:17 PM, Kamil Nigmatullin < >> kamil.nigmatullin at gmail.com> wrote: >> >>> I love freeswitch, but frankly I would not recomend to set it as SBC. I >>> personally faced two attacks where FS was not good at. And we lost a lot of >>> money. It works perfectly as NAT between internal and extenal networks, >>> actually in everything but it is weak as a firewall. Stanislav knows that, >>> he helped me to resolve the problem first time when it happend. I cannot go >>> into details as this is open forum. You need to put either kamailio or >>> opensips in front of FS. >>> >>> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> >> | *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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161212/49804508/attachment-0001.html From david.villasmil.work at gmail.com Mon Dec 12 18:59:04 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Mon, 12 Dec 2016 16:59:04 +0100 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: Sounds good, I'll take a look. Thanks Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Mon, Dec 12, 2016 at 4:56 PM, Brian West wrote: > I've given everyone the opportunity to get involved in the new 1.8 > configs, So far very few people have stepped up to assist me in this task. > > It should be hardened by default, or have a way to toggle the hardened > configs on. > > https://freeswitch.org/stash/projects/FS/repos/fs18configs/browse > > If you wish to review. > > /b > > > On Mon, Dec 12, 2016 at 9:30 AM, David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> I'm just thinking out loud, but maybe it'd be a good idea to have 2 >> default configs somehow. 1 which is the current one, and the second would >> be a ver-very-hardened one. >> I usually start-off with https://github.com/voxser >> v/freeswitch_conf_minimal or https://github.com/mx4492/f >> reeswitch-minimal-conf which are very basic, but it would be a great >> idea to have available a "hardened" one. >> >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> >> On Mon, Dec 12, 2016 at 4:22 PM, Brian West wrote: >> >>> Kamil, >>> >>> The security model of FreeSWITCH can be quite complex, To blame >>> FreeSWITCH itself for your misconfiguration is downright FUD, If you have >>> issues or questions on how to properly configure FreeSWITCH for this >>> specific role you can just ask, many of us will help you create a >>> configuration that would be robust and secure. If you would have set >>> 'disable-transfer', to true, and possibly 'disable-register' it would also >>> help lower your attack surface, In addition you shouldn't open your system >>> to the planet, thats irresponsible on your part for doing so. >>> >>> FreeSWITCH isn't a firewall, so of course its weak because its NOT a >>> firewall. >>> >>> And these are in the configs: >>> >>> >>> >>> >>> >>> >>> >>> >>> Thanks, >>> /b >>> >>> >>> On Sun, Dec 11, 2016 at 8:17 PM, Kamil Nigmatullin < >>> kamil.nigmatullin at gmail.com> wrote: >>> >>>> I love freeswitch, but frankly I would not recomend to set it as SBC. I >>>> personally faced two attacks where FS was not good at. And we lost a lot of >>>> money. It works perfectly as NAT between internal and extenal networks, >>>> actually in everything but it is weak as a firewall. Stanislav knows that, >>>> he helped me to resolve the problem first time when it happend. I cannot go >>>> into details as this is open forum. You need to put either kamailio or >>>> opensips in front of FS. >>>> >>>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> Got Bugs? Report them here ! | Reddit: >>> /r/freeswitch >>> >>> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 >>> <(918)%20420-9002> | *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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> > | *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/20161212/5d350b34/attachment.html From david.villasmil.work at gmail.com Mon Dec 12 19:01:32 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Mon, 12 Dec 2016 17:01:32 +0100 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: Is there a thread to discuss this or should I just fork and propose as always? Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Mon, Dec 12, 2016 at 4:59 PM, David Villasmil < david.villasmil.work at gmail.com> wrote: > Sounds good, I'll take a look. > > Thanks > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 <+34%20669%2044%2083%2037> > > On Mon, Dec 12, 2016 at 4:56 PM, Brian West wrote: > >> I've given everyone the opportunity to get involved in the new 1.8 >> configs, So far very few people have stepped up to assist me in this task. >> >> It should be hardened by default, or have a way to toggle the hardened >> configs on. >> >> https://freeswitch.org/stash/projects/FS/repos/fs18configs/browse >> >> If you wish to review. >> >> /b >> >> >> On Mon, Dec 12, 2016 at 9:30 AM, David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >>> I'm just thinking out loud, but maybe it'd be a good idea to have 2 >>> default configs somehow. 1 which is the current one, and the second would >>> be a ver-very-hardened one. >>> I usually start-off with https://github.com/voxser >>> v/freeswitch_conf_minimal or https://github.com/mx4492/f >>> reeswitch-minimal-conf which are very basic, but it would be a great >>> idea to have available a "hardened" one. >>> >>> Regards, >>> >>> David Villasmil >>> email: david.villasmil.work at gmail.com >>> phone: +34669448337 >>> >>> On Mon, Dec 12, 2016 at 4:22 PM, Brian West >>> wrote: >>> >>>> Kamil, >>>> >>>> The security model of FreeSWITCH can be quite complex, To blame >>>> FreeSWITCH itself for your misconfiguration is downright FUD, If you have >>>> issues or questions on how to properly configure FreeSWITCH for this >>>> specific role you can just ask, many of us will help you create a >>>> configuration that would be robust and secure. If you would have set >>>> 'disable-transfer', to true, and possibly 'disable-register' it would also >>>> help lower your attack surface, In addition you shouldn't open your system >>>> to the planet, thats irresponsible on your part for doing so. >>>> >>>> FreeSWITCH isn't a firewall, so of course its weak because its NOT a >>>> firewall. >>>> >>>> And these are in the configs: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Thanks, >>>> /b >>>> >>>> >>>> On Sun, Dec 11, 2016 at 8:17 PM, Kamil Nigmatullin < >>>> kamil.nigmatullin at gmail.com> wrote: >>>> >>>>> I love freeswitch, but frankly I would not recomend to set it as SBC. >>>>> I personally faced two attacks where FS was not good at. And we lost a lot >>>>> of money. It works perfectly as NAT between internal and extenal networks, >>>>> actually in everything but it is weak as a firewall. Stanislav knows that, >>>>> he helped me to resolve the problem first time when it happend. I cannot go >>>>> into details as this is open forum. You need to put either kamailio or >>>>> opensips in front of FS. >>>>> >>>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>>> http://www.freeswitchcookbook.com (50% Discount using code >>>> FreeSwitch50) >>>> https://www.gofundme.com/freeswitch_ubuntu >>>> >>>> Got Bugs? Report them here ! | Reddit: >>>> /r/freeswitch >>>> >>>> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 >>>> <(918)%20420-9002> | *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/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> >> | *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/20161212/c93f9812/attachment-0001.html From brian at freeswitch.org Mon Dec 12 19:06:28 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 12 Dec 2016 10:06:28 -0600 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: Fork, pull request like usual, we can start a new thread for this discussion once you start reviewing it. /b On Mon, Dec 12, 2016 at 10:01 AM, David Villasmil < david.villasmil.work at gmail.com> wrote: > Is there a thread to discuss this or should I just fork and propose as > always? > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > > On Mon, Dec 12, 2016 at 4:59 PM, David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> Sounds good, I'll take a look. >> >> Thanks >> >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 <+34%20669%2044%2083%2037> >> >> On Mon, Dec 12, 2016 at 4:56 PM, Brian West wrote: >> >>> I've given everyone the opportunity to get involved in the new 1.8 >>> configs, So far very few people have stepped up to assist me in this task. >>> >>> It should be hardened by default, or have a way to toggle the hardened >>> configs on. >>> >>> https://freeswitch.org/stash/projects/FS/repos/fs18configs/browse >>> >>> If you wish to review. >>> >>> /b >>> >>> >>> On Mon, Dec 12, 2016 at 9:30 AM, David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >>>> I'm just thinking out loud, but maybe it'd be a good idea to have 2 >>>> default configs somehow. 1 which is the current one, and the second would >>>> be a ver-very-hardened one. >>>> I usually start-off with https://github.com/voxser >>>> v/freeswitch_conf_minimal or https://github.com/mx4492/f >>>> reeswitch-minimal-conf which are very basic, but it would be a great >>>> idea to have available a "hardened" one. >>>> >>>> Regards, >>>> >>>> David Villasmil >>>> email: david.villasmil.work at gmail.com >>>> phone: +34669448337 >>>> >>>> On Mon, Dec 12, 2016 at 4:22 PM, Brian West >>>> wrote: >>>> >>>>> Kamil, >>>>> >>>>> The security model of FreeSWITCH can be quite complex, To blame >>>>> FreeSWITCH itself for your misconfiguration is downright FUD, If you have >>>>> issues or questions on how to properly configure FreeSWITCH for this >>>>> specific role you can just ask, many of us will help you create a >>>>> configuration that would be robust and secure. If you would have set >>>>> 'disable-transfer', to true, and possibly 'disable-register' it would also >>>>> help lower your attack surface, In addition you shouldn't open your system >>>>> to the planet, thats irresponsible on your part for doing so. >>>>> >>>>> FreeSWITCH isn't a firewall, so of course its weak because its NOT a >>>>> firewall. >>>>> >>>>> And these are in the configs: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Thanks, >>>>> /b >>>>> >>>>> >>>>> On Sun, Dec 11, 2016 at 8:17 PM, Kamil Nigmatullin < >>>>> kamil.nigmatullin at gmail.com> wrote: >>>>> >>>>>> I love freeswitch, but frankly I would not recomend to set it as SBC. >>>>>> I personally faced two attacks where FS was not good at. And we lost a lot >>>>>> of money. It works perfectly as NAT between internal and extenal networks, >>>>>> actually in everything but it is weak as a firewall. Stanislav knows that, >>>>>> he helped me to resolve the problem first time when it happend. I cannot go >>>>>> into details as this is open forum. You need to put either kamailio or >>>>>> opensips in front of FS. >>>>>> >>>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>>>> http://www.freeswitchcookbook.com (50% Discount using code >>>>> FreeSwitch50) >>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>> >>>>> Got Bugs? Report them here ! | Reddit: >>>>> /r/freeswitch >>>>> >>>>> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 >>>>> <(918)%20420-9002> | *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/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> Got Bugs? Report them here ! | Reddit: >>> /r/freeswitch >>> >>> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 >>> <(918)%20420-9002> | *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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161212/85ad0e4a/attachment-0001.html From brian at freeswitch.org Mon Dec 12 19:30:56 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 12 Dec 2016 10:30:56 -0600 Subject: [Freeswitch-users] detect dtmf tones in early media state In-Reply-To: <1481543628.2826.2.camel@systemonenoc.com> References: <1481543628.2826.2.camel@systemonenoc.com> Message-ID: Thats going to depend on your provider, Some may not have two way media during that stage, You'll have to just test it and see. /b On Mon, Dec 12, 2016 at 5:53 AM, david escartin wrote: > hello how are you? > > do you know if there is anyway to detect inbound dtmf tones in early media > by doing a session preAnswer, not connecting the call? > > thanks a lot and regards > 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 > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161212/2bbc6eee/attachment.html From mike at jerris.com Mon Dec 12 19:31:26 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 12 Dec 2016 11:31:26 -0500 Subject: [Freeswitch-users] Ubuntu 14.x and 16.x Packages In-Reply-To: References: Message-ID: please file bugs at https://freeswitch.org/jira Thanks Mike > On Dec 12, 2016, at 6:05 AM, Victor Medina wrote: > > Hello Guys! > > I know they are not suitable for production, but I have some spare time and tried to test FS on Ubuntu 16.04, a clean install. > > It seems there is a problem with the key signature. > > W: http://files.freeswitch.org/repo/ubuntu-1604/freeswitch-unstable/dists/xenial/InRelease : Signature by key 9C0CADF0911F534CC19C218C018DDB2EF14D5181 uses weak digest algorithm (SHA1) > > > 2016-09-01 12:19 GMT-04:00 Brian West >: > FreeSWITCHers, > > We have published both Ubuntu repositories: > > https://freeswitch.org/confluence/display/FREESWITCH/Ubuntu+16.04+Xenial > https://freeswitch.org/confluence/display/FREESWITCH/Ubuntu+14.04+Trusty > > Please review and give us feedback. Also if you're new check out my signature for a discount code for the ebooks, This code applies to FreeSWITCH Cookbook And the new Mastering FreeSWITCH book. If you've not done so check them out, The entire team put in a lot of work writing and proofing the books. It will help you get started with FreeSWITCH faster. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/7ad94e94/attachment.html From gmaruzz at gmail.com Mon Dec 12 19:48:34 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 12 Dec 2016 17:48:34 +0100 Subject: [Freeswitch-users] mod_hiredis documentation In-Reply-To: References: Message-ID: Thanks Stanislav!! sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT On Dec 12, 2016 14:46, "Stanislav Sinyagin" wrote: > mod_hiredis was not properly documented, and I updated the page to as > much as I could dig from the source: > https://freeswitch.org/confluence/display/FREESWITCH/mod_hiredis > > Please review and suggest additions if needed. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/32fbf9bd/attachment.html From kamil.nigmatullin at gmail.com Mon Dec 12 19:51:08 2016 From: kamil.nigmatullin at gmail.com (Kamil Nigmatullin) Date: Mon, 12 Dec 2016 22:51:08 +0600 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: 2016-12-12 21:22 GMT+06:00 Brian West : > ur system to the planet, I, by no means, blame freeswithch. Just tell about problems we had. And we paid quite a lot for that attack, and it is not fixed in FS. I personally need register, I need transfer, I need all features.Why should I disable it? We run cloud callcenter. That is seen from public Internet. So, with my experiance I just recomend to use something with Freeswitch, or use two freeswitch. And that will last until I can make reffer attack to FS. I had my own script, if anyone want to test I can try to break their limit. About that features I don't know about - I belive I am not the only one. And not because I am lazy to ask or to read. I just always thought that FS is very advanced mediagateway. And Its pace not in front of the voip network. There must be load balancer, firewall, monitoring that controls all failaures and attmetmpts. Simply, FS is not level 5 of OSI. -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/2fb9da12/attachment.html From zrothy at monmouth.com Mon Dec 12 19:57:49 2016 From: zrothy at monmouth.com (Zach Rothy) Date: Mon, 12 Dec 2016 11:57:49 -0500 Subject: [Freeswitch-users] High Availability & Verto Communicator Message-ID: <23b0ce84c60baea7b79c6d2f16b1103f@monmouth.com> Good Morning, A project I am working on is using Freeswitch and Verto for video conferencing. In a previous post to the mailing list I saw someone mention the high availability capability Freeswitch has and thought it would be of use. While reading through the instructions I see it only mentions sip profiles only, and to my understanding Verto is its own signaling protocol separate from the sip/sip profiles on Freeswitch. So I tried to do some research on this, but didn't seem to get any results. I was wondering if the High Availability option also would work properly with Verto. If it does work, does it more or less follow the same set up instructions as it does for SIP? Thanks in advance, Zach R From anthony.minessale at gmail.com Mon Dec 12 21:05:06 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 12 Dec 2016 12:05:06 -0600 Subject: [Freeswitch-users] High Availability & Verto Communicator In-Reply-To: <23b0ce84c60baea7b79c6d2f16b1103f@monmouth.com> References: <23b0ce84c60baea7b79c6d2f16b1103f@monmouth.com> Message-ID: There is some support for it, it does not need to be enabled (i.e. track-calls=true )in verto itself, its actually always enable by default. The rest of the setup probably still applies. Verto can support resuming calls in cases where the browser has been closed and re-opened as well as cases where the server restarts assuming it has fsctl recover issued at startup. It does not currently support failing over to another machine to recover the calls. That would require some additional development from the commercial side. On Mon, Dec 12, 2016 at 10:57 AM, Zach Rothy wrote: > Good Morning, > > A project I am working on is using Freeswitch and Verto for video > conferencing. In a previous post to the mailing list I saw someone > mention the high availability capability Freeswitch has and thought it > would be of use. > > While reading through the instructions I see it only mentions sip > profiles only, and to my understanding Verto is its own signaling > protocol separate from the sip/sip profiles on Freeswitch. So I tried to > do some research on this, but didn't seem to get any results. > > I was wondering if the High Availability option also would work properly > with Verto. If it does work, does it more or less follow the same set up > instructions as it does for SIP? > > Thanks in advance, > Zach R > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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/20161212/bc1ed46f/attachment.html From david.villasmil.work at gmail.com Mon Dec 12 21:07:45 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Mon, 12 Dec 2016 19:07:45 +0100 Subject: [Freeswitch-users] "FreeSWITCH" I have in my gateway "caller-id-in-from" to true... i have in my bridge: 13 14 15 why do i keep seeing going out like: From: "FreeSWITCH" ;tag=Qgtcrcv3NmD4B ... Remote-Party-ID: "FreeSWITCH" ;party=calling;screen=yes;privacy=off i seem to have forgotten or... Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/6a74fd14/attachment.html From aqsyounas at gmail.com Mon Dec 12 21:12:18 2016 From: aqsyounas at gmail.com (Aqs Younas) Date: Mon, 12 Dec 2016 23:12:18 +0500 Subject: [Freeswitch-users] mod_hiredis documentation In-Reply-To: References: Message-ID: Thank You. On Dec 12, 2016 9:51 PM, "Giovanni Maruzzelli" wrote: > Thanks Stanislav!! > > sent from mobile > cell: +39 347 266 56 18 > Giovanni Maruzzelli > OpenTelecom.IT > > On Dec 12, 2016 14:46, "Stanislav Sinyagin" wrote: > >> mod_hiredis was not properly documented, and I updated the page to as >> much as I could dig from the source: >> https://freeswitch.org/confluence/display/FREESWITCH/mod_hiredis >> >> Please review and suggest additions if needed. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/25a684c6/attachment.html From gregor at infomedia.si Mon Dec 12 21:22:37 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Mon, 12 Dec 2016 18:22:37 +0000 Subject: [Freeswitch-users] "FreeSWITCH" References: Message-ID: I have have similar problem when calling from Verto extension. Regardless what I set in extension profile, it is always 000000000. On Mon, Dec 12, 2016, 19:09 David Villasmil wrote: > I have in my gateway "caller-id-in-from" to true... > i have in my bridge: > > 13 data="effective_caller_id_number=3051111111"/> > 14 data="effective_caller_id_name=30511111112"/> > 15 data="{origination_caller_id_number=3051111111,origination_caller_id_name=3051111111}sofia/gateway/mygw/$1"/> > > why do i keep seeing going out like: > > From: "FreeSWITCH" ;tag=Qgtcrcv3NmD4B > ... > Remote-Party-ID: "FreeSWITCH" >;party=calling;screen=yes;privacy=off > > i seem to have forgotten or... > > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/87eef012/attachment-0001.html From brian at freeswitch.org Mon Dec 12 21:41:30 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 12 Dec 2016 12:41:30 -0600 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: Even if you're not placing blame you're creating FUD. And I won't tolerate that without proof. If its a problem I'd like to fix it. Send me details. /b On Mon, Dec 12, 2016 at 10:51 AM, Kamil Nigmatullin < kamil.nigmatullin at gmail.com> wrote: > > 2016-12-12 21:22 GMT+06:00 Brian West : > >> ur system to the planet, > > > I, by no means, blame freeswithch. Just tell about problems we had. And we > paid quite a lot for that attack, and it is not fixed in FS. I personally > need register, I need transfer, I need all features.Why should I disable > it? We run cloud callcenter. That is seen from public Internet. So, with > my experiance I just recomend to use something with Freeswitch, or use two > freeswitch. And that will last until I can make reffer attack to FS. I had > my own script, if anyone want to test I can try to break their limit. > > About that features I don't know about - I belive I am not the only one. > And not because I am lazy to ask or to read. I just always thought that FS > is very advanced mediagateway. And Its pace not in front of the voip > network. There must be load balancer, firewall, monitoring that controls > all failaures and attmetmpts. Simply, FS is not level 5 of OSI. > > > -- > Kamil Nigmatullin > Tel: 77272323748 > mob: 7 (707) 2517003 > Skype: kamil.nigmatullin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu 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/20161212/99457847/attachment.html From kamil.nigmatullin at gmail.com Mon Dec 12 21:46:32 2016 From: kamil.nigmatullin at gmail.com (Kamil Nigmatullin) Date: Tue, 13 Dec 2016 00:46:32 +0600 Subject: [Freeswitch-users] SBC In-Reply-To: References: Message-ID: 2016-12-13 0:41 GMT+06:00 Brian West : > FUD Ok. I'll try to find a sip trace -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/a34de7f9/attachment.html From valter at fastway.com.br Mon Dec 12 23:42:04 2016 From: valter at fastway.com.br (Valter Nogueira) Date: Mon, 12 Dec 2016 18:42:04 -0200 Subject: [Freeswitch-users] SBC In-Reply-To: References: <20161212025605.GA15029@tlaquepaque.localdomain> Message-ID: I am studying opensips and kamailio, but to be honest, I am a little affraid of them - just because I am not sure if I can figure out every situation in route. My environment is strictly controlled with iptables drop policy and just friendly traffic is allowed. What I understood by now is that I must have a profile for every NIC used to route traffic. What I don't get yet is how directory relates to profiles. In file directory/default/example.com.xml there is a user "joe" which have a gateway defined inside it and that sofia shows in every gateway availble (expect in internal) Just to make me more confused: https://wiki.freeswitch.org/wiki/SBC_Setup In which internal and external are binded to the same ip+port but to different vlans. How vlans tags are binded to internatl and external profiles? Atenciosamente, 2016-12-12 9:09 GMT-02:00 David Villasmil : > At the very least start by looking at Homer (http://sipcapture.org/) > which works beautifully with kamailio (i assume also openSIPS) and > freeswitch. and it generates by default some nice graphs and alarms. > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 <+34%20669%2044%2083%2037> > > On Mon, Dec 12, 2016 at 10:19 AM, Stanislav Sinyagin > wrote: > >> but that's part of a job for an end-to-end system designer, it's not >> something specific to a particular piece of software. >> >> For the scenario that Valter has described, FreeSWITCH (or two servers >> in a cluster) will do the job just fine. But of course it needs to be >> designed, configured and tested properly, with security in mind. >> >> I would agree, it's good to place Kamailio as the first-hop Internet >> gateway if you need to process INVITEs from unknown sources in >> Internet. It has nice features that minimize the impact of various DOS >> attacks or hacking. Also if you need to scale up, Kamailio will serve >> nicely as a load-balancer. But there's nothing wrong in placing >> FreeSWITCH alone in the Internet if you know what you're doing. >> >> >> >> >> >> >> >> >> On Mon, Dec 12, 2016 at 4:43 AM, Kamil Nigmatullin >> wrote: >> > The first was the problem, where attacker somehow got login and >> password (i >> > think they broke thier ATA) from clinet and used it. But for this client >> > there was a limit of one line. I used limit module with local database. >> What >> > attacker actially did, is that they used REFER attack, where they put >> their >> > own number as a referrer, and opened unlimited lines to PSTN. So the, >> > solution was - to replace limit functunality to opensips. >> > >> > The second - it is not actually the FS issue. It is because Freeswitch >> is >> > not flexible enouph to work at the low level where Kamailio or opensips >> > operates. E.g, we programmed opensips to lookup for UserAgent database, >> we >> > add useragent for each client manually. And only using client's IP and >> > user-agent we allow this user to call to PSTN. We watch for blacklists >> of IP >> > adresses, subnets. If it comes from Gaza, Panama, China we block it. >> And a >> > lot of other things. Most of them is not out-of-box in opensips, but it >> is >> > not hard to implement. All this functionality is very important. We lost >> > about $10k last time. This is very serious. >> > >> > 2016-12-12 8:56 GMT+06:00 Alex Balashov : >> >> >> >> On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: >> >> >> >> > I love freeswitch, but frankly I would not recomend to set it as >> SBC. I >> >> > personally faced two attacks where FS was not good at. And we lost a >> lot >> >> > of >> >> > money. It works perfectly as NAT between internal and extenal >> networks, >> >> > actually in everything but it is weak as a firewall. Stanislav knows >> >> > that, >> >> > he helped me to resolve the problem first time when it happend. I >> cannot >> >> > go >> >> > into details as this is open forum. You need to put either kamailio >> or >> >> > opensips in front of FS. >> >> >> >> Strongly agree. >> >> >> >> -- >> >> Alex Balashov | Principal | Evariste Systems LLC >> >> >> >> Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) >> >> Web: http://www.evaristesys.com/, http://www.csrpswitch.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 >> > >> > >> > >> > >> > -- >> > Kamil Nigmatullin >> > Tel: 77272323748 >> > mob: 7 (707) 2517003 >> > Skype: kamil.nigmatullin >> > >> > ____________________________________________________________ >> _____________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >> freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161212/0a2753b1/attachment-0001.html From david.villasmil.work at gmail.com Tue Dec 13 04:30:22 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 13 Dec 2016 02:30:22 +0100 Subject: [Freeswitch-users] SBC In-Reply-To: References: <20161212025605.GA15029@tlaquepaque.localdomain> Message-ID: Hello, Every time fs receives a REGISTER it will look up the user trying to register (if the profile is configured to authenticate) in the directory path. You can register via any profile if configured. You can control what user may register where by enabling multi-domain as per https://wiki.freeswitch.org/wiki/Multiple_Companies. By default, the directory.xml is as follows: ... ... So, as you can see, there's only one domain directory ($${domain} which is the ip address of your server) which has only one group called "users" which *includes* any xml in "default/" hope this helps. David ? Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Mon, Dec 12, 2016 at 9:42 PM, Valter Nogueira wrote: > I am studying opensips and kamailio, but to be honest, I am a little > affraid of them - just because I am not sure if I can figure out every > situation in route. > > My environment is strictly controlled with iptables drop policy and just > friendly traffic is allowed. > > What I understood by now is that I must have a profile for every NIC used > to route traffic. > > What I don't get yet is how directory relates to profiles. In file > directory/default/example.com.xml there is a user "joe" which have a > gateway defined inside it and that sofia shows in every gateway availble > (expect in internal) > > Just to make me more confused: https://wiki.freeswitch.org/wiki/SBC_Setup > > In which internal and external are binded to the same ip+port but to > different vlans. How vlans tags are binded to internatl and external > profiles? > > > > > > Atenciosamente, > > > > 2016-12-12 9:09 GMT-02:00 David Villasmil > : > >> At the very least start by looking at Homer (http://sipcapture.org/) >> which works beautifully with kamailio (i assume also openSIPS) and >> freeswitch. and it generates by default some nice graphs and alarms. >> >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 <+34%20669%2044%2083%2037> >> >> On Mon, Dec 12, 2016 at 10:19 AM, Stanislav Sinyagin > > wrote: >> >>> but that's part of a job for an end-to-end system designer, it's not >>> something specific to a particular piece of software. >>> >>> For the scenario that Valter has described, FreeSWITCH (or two servers >>> in a cluster) will do the job just fine. But of course it needs to be >>> designed, configured and tested properly, with security in mind. >>> >>> I would agree, it's good to place Kamailio as the first-hop Internet >>> gateway if you need to process INVITEs from unknown sources in >>> Internet. It has nice features that minimize the impact of various DOS >>> attacks or hacking. Also if you need to scale up, Kamailio will serve >>> nicely as a load-balancer. But there's nothing wrong in placing >>> FreeSWITCH alone in the Internet if you know what you're doing. >>> >>> >>> >>> >>> >>> >>> >>> >>> On Mon, Dec 12, 2016 at 4:43 AM, Kamil Nigmatullin >>> wrote: >>> > The first was the problem, where attacker somehow got login and >>> password (i >>> > think they broke thier ATA) from clinet and used it. But for this >>> client >>> > there was a limit of one line. I used limit module with local >>> database. What >>> > attacker actially did, is that they used REFER attack, where they put >>> their >>> > own number as a referrer, and opened unlimited lines to PSTN. So the, >>> > solution was - to replace limit functunality to opensips. >>> > >>> > The second - it is not actually the FS issue. It is because Freeswitch >>> is >>> > not flexible enouph to work at the low level where Kamailio or opensips >>> > operates. E.g, we programmed opensips to lookup for UserAgent >>> database, we >>> > add useragent for each client manually. And only using client's IP and >>> > user-agent we allow this user to call to PSTN. We watch for blacklists >>> of IP >>> > adresses, subnets. If it comes from Gaza, Panama, China we block it. >>> And a >>> > lot of other things. Most of them is not out-of-box in opensips, but >>> it is >>> > not hard to implement. All this functionality is very important. We >>> lost >>> > about $10k last time. This is very serious. >>> > >>> > 2016-12-12 8:56 GMT+06:00 Alex Balashov : >>> >> >>> >> On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: >>> >> >>> >> > I love freeswitch, but frankly I would not recomend to set it as >>> SBC. I >>> >> > personally faced two attacks where FS was not good at. And we lost >>> a lot >>> >> > of >>> >> > money. It works perfectly as NAT between internal and extenal >>> networks, >>> >> > actually in everything but it is weak as a firewall. Stanislav knows >>> >> > that, >>> >> > he helped me to resolve the problem first time when it happend. I >>> cannot >>> >> > go >>> >> > into details as this is open forum. You need to put either kamailio >>> or >>> >> > opensips in front of FS. >>> >> >>> >> Strongly agree. >>> >> >>> >> -- >>> >> Alex Balashov | Principal | Evariste Systems LLC >>> >> >>> >> Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) >>> >> Web: http://www.evaristesys.com/, http://www.csrpswitch.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/free >>> switch-users >>> >> http://www.freeswitch.org >>> > >>> > >>> > >>> > >>> > -- >>> > Kamil Nigmatullin >>> > Tel: 77272323748 >>> > mob: 7 (707) 2517003 >>> > Skype: kamil.nigmatullin >>> > >>> > ____________________________________________________________ >>> _____________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>> switch-users >>> > http://www.freeswitch.org >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/1bb9f149/attachment.html From valter at fastway.com.br Tue Dec 13 05:19:10 2016 From: valter at fastway.com.br (Valter Nogueira) Date: Tue, 13 Dec 2016 00:19:10 -0200 Subject: [Freeswitch-users] SBC In-Reply-To: References: <20161212025605.GA15029@tlaquepaque.localdomain> Message-ID: Which parameter I use to enable a profile to registration? Atenciosamente, 2016-12-12 23:30 GMT-02:00 David Villasmil : > Hello, > > Every time fs receives a REGISTER it will look up the user trying to > register (if the profile is configured to authenticate) in the directory > path. You can register via any profile if configured. You can control what > user may register where by enabling multi-domain as per > https://wiki.freeswitch.org/wiki/Multiple_Companies. > > By default, the directory.xml is as follows: > > > > > ... > > > > > > > ... > > So, as you can see, there's only one domain directory ($${domain} which is > the ip address of your server) which has only one group called "users" > which *includes* any xml in "default/" > > hope this helps. > > David > ? > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 <+34%20669%2044%2083%2037> > > On Mon, Dec 12, 2016 at 9:42 PM, Valter Nogueira > wrote: > >> I am studying opensips and kamailio, but to be honest, I am a little >> affraid of them - just because I am not sure if I can figure out every >> situation in route. >> >> My environment is strictly controlled with iptables drop policy and just >> friendly traffic is allowed. >> >> What I understood by now is that I must have a profile for every NIC used >> to route traffic. >> >> What I don't get yet is how directory relates to profiles. In file >> directory/default/example.com.xml there is a user "joe" which have a >> gateway defined inside it and that sofia shows in every gateway availble >> (expect in internal) >> >> Just to make me more confused: https://wiki.freeswitch.org/wiki/SBC_Setup >> >> In which internal and external are binded to the same ip+port but to >> different vlans. How vlans tags are binded to internatl and external >> profiles? >> >> >> >> >> >> Atenciosamente, >> >> >> >> 2016-12-12 9:09 GMT-02:00 David Villasmil > >: >> >>> At the very least start by looking at Homer (http://sipcapture.org/) >>> which works beautifully with kamailio (i assume also openSIPS) and >>> freeswitch. and it generates by default some nice graphs and alarms. >>> >>> Regards, >>> >>> David Villasmil >>> email: david.villasmil.work at gmail.com >>> phone: +34669448337 <+34%20669%2044%2083%2037> >>> >>> On Mon, Dec 12, 2016 at 10:19 AM, Stanislav Sinyagin < >>> ssinyagin at gmail.com> wrote: >>> >>>> but that's part of a job for an end-to-end system designer, it's not >>>> something specific to a particular piece of software. >>>> >>>> For the scenario that Valter has described, FreeSWITCH (or two servers >>>> in a cluster) will do the job just fine. But of course it needs to be >>>> designed, configured and tested properly, with security in mind. >>>> >>>> I would agree, it's good to place Kamailio as the first-hop Internet >>>> gateway if you need to process INVITEs from unknown sources in >>>> Internet. It has nice features that minimize the impact of various DOS >>>> attacks or hacking. Also if you need to scale up, Kamailio will serve >>>> nicely as a load-balancer. But there's nothing wrong in placing >>>> FreeSWITCH alone in the Internet if you know what you're doing. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Mon, Dec 12, 2016 at 4:43 AM, Kamil Nigmatullin >>>> wrote: >>>> > The first was the problem, where attacker somehow got login and >>>> password (i >>>> > think they broke thier ATA) from clinet and used it. But for this >>>> client >>>> > there was a limit of one line. I used limit module with local >>>> database. What >>>> > attacker actially did, is that they used REFER attack, where they put >>>> their >>>> > own number as a referrer, and opened unlimited lines to PSTN. So the, >>>> > solution was - to replace limit functunality to opensips. >>>> > >>>> > The second - it is not actually the FS issue. It is because >>>> Freeswitch is >>>> > not flexible enouph to work at the low level where Kamailio or >>>> opensips >>>> > operates. E.g, we programmed opensips to lookup for UserAgent >>>> database, we >>>> > add useragent for each client manually. And only using client's IP >>>> and >>>> > user-agent we allow this user to call to PSTN. We watch for >>>> blacklists of IP >>>> > adresses, subnets. If it comes from Gaza, Panama, China we block it. >>>> And a >>>> > lot of other things. Most of them is not out-of-box in opensips, but >>>> it is >>>> > not hard to implement. All this functionality is very important. We >>>> lost >>>> > about $10k last time. This is very serious. >>>> > >>>> > 2016-12-12 8:56 GMT+06:00 Alex Balashov : >>>> >> >>>> >> On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: >>>> >> >>>> >> > I love freeswitch, but frankly I would not recomend to set it as >>>> SBC. I >>>> >> > personally faced two attacks where FS was not good at. And we lost >>>> a lot >>>> >> > of >>>> >> > money. It works perfectly as NAT between internal and extenal >>>> networks, >>>> >> > actually in everything but it is weak as a firewall. Stanislav >>>> knows >>>> >> > that, >>>> >> > he helped me to resolve the problem first time when it happend. I >>>> cannot >>>> >> > go >>>> >> > into details as this is open forum. You need to put either >>>> kamailio or >>>> >> > opensips in front of FS. >>>> >> >>>> >> Strongly agree. >>>> >> >>>> >> -- >>>> >> Alex Balashov | Principal | Evariste Systems LLC >>>> >> >>>> >> Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) >>>> >> Web: http://www.evaristesys.com/, http://www.csrpswitch.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/free >>>> switch-users >>>> >> http://www.freeswitch.org >>>> > >>>> > >>>> > >>>> > >>>> > -- >>>> > Kamil Nigmatullin >>>> > Tel: 77272323748 >>>> > mob: 7 (707) 2517003 >>>> > Skype: kamil.nigmatullin >>>> > >>>> > ____________________________________________________________ >>>> _____________ >>>> > Professional FreeSWITCH Consulting Services: >>>> > consulting at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> > http://www.freeswitch.org >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/4b94dd97/attachment-0001.html From david.villasmil.work at gmail.com Tue Dec 13 05:25:49 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 13 Dec 2016 02:25:49 +0000 Subject: [Freeswitch-users] SBC In-Reply-To: References: <20161212025605.GA15029@tlaquepaque.localdomain> Message-ID: I also enable auth-calls and auth-all-packets. On Tue, Dec 13, 2016 at 3:19 AM Valter Nogueira wrote: > Which parameter I use to enable a profile to registration? > > > > > > > > Atenciosamente, > > > > 2016-12-12 23:30 GMT-02:00 David Villasmil >: > > Hello, > > Every time fs receives a REGISTER it will look up the user trying to > register (if the profile is configured to authenticate) in the directory > path. You can register via any profile if configured. You can control what > user may register where by enabling multi-domain as per > https://wiki.freeswitch.org/wiki/Multiple_Companies. > > By default, the directory.xml is as follows: > > > > > ... > > > > > > > ... > > So, as you can see, there's only one domain directory ($${domain} which is > the ip address of your server) which has only one group called "users" > which *includes* any xml in "default/" > > hope this helps. > > David > ? > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 <+34%20669%2044%2083%2037> > > On Mon, Dec 12, 2016 at 9:42 PM, Valter Nogueira > wrote: > > I am studying opensips and kamailio, but to be honest, I am a little > affraid of them - just because I am not sure if I can figure out every > situation in route. > > My environment is strictly controlled with iptables drop policy and just > friendly traffic is allowed. > > What I understood by now is that I must have a profile for every NIC used > to route traffic. > > What I don't get yet is how directory relates to profiles. In file > directory/default/example.com.xml there is a user "joe" which have a > gateway defined inside it and that sofia shows in every gateway availble > (expect in internal) > > Just to make me more confused: https://wiki.freeswitch.org/wiki/SBC_Setup > > In which internal and external are binded to the same ip+port but to > different vlans. How vlans tags are binded to internatl and external > profiles? > > > > > > Atenciosamente, > > > > 2016-12-12 9:09 GMT-02:00 David Villasmil > : > > At the very least start by looking at Homer (http://sipcapture.org/) > which works beautifully with kamailio (i assume also openSIPS) and > freeswitch. and it generates by default some nice graphs and alarms. > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 <+34%20669%2044%2083%2037> > > On Mon, Dec 12, 2016 at 10:19 AM, Stanislav Sinyagin > wrote: > > but that's part of a job for an end-to-end system designer, it's not > something specific to a particular piece of software. > > For the scenario that Valter has described, FreeSWITCH (or two servers > in a cluster) will do the job just fine. But of course it needs to be > designed, configured and tested properly, with security in mind. > > I would agree, it's good to place Kamailio as the first-hop Internet > gateway if you need to process INVITEs from unknown sources in > Internet. It has nice features that minimize the impact of various DOS > attacks or hacking. Also if you need to scale up, Kamailio will serve > nicely as a load-balancer. But there's nothing wrong in placing > FreeSWITCH alone in the Internet if you know what you're doing. > > > > > > > > > On Mon, Dec 12, 2016 at 4:43 AM, Kamil Nigmatullin > wrote: > > The first was the problem, where attacker somehow got login and password > (i > > think they broke thier ATA) from clinet and used it. But for this client > > there was a limit of one line. I used limit module with local database. > What > > attacker actially did, is that they used REFER attack, where they put > their > > own number as a referrer, and opened unlimited lines to PSTN. So the, > > solution was - to replace limit functunality to opensips. > > > > The second - it is not actually the FS issue. It is because Freeswitch is > > not flexible enouph to work at the low level where Kamailio or opensips > > operates. E.g, we programmed opensips to lookup for UserAgent database, > we > > add useragent for each client manually. And only using client's IP and > > user-agent we allow this user to call to PSTN. We watch for blacklists > of IP > > adresses, subnets. If it comes from Gaza, Panama, China we block it. And > a > > lot of other things. Most of them is not out-of-box in opensips, but it > is > > not hard to implement. All this functionality is very important. We lost > > about $10k last time. This is very serious. > > > > 2016-12-12 8:56 GMT+06:00 Alex Balashov : > >> > >> On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: > >> > >> > I love freeswitch, but frankly I would not recomend to set it as SBC. > I > >> > personally faced two attacks where FS was not good at. And we lost a > lot > >> > of > >> > money. It works perfectly as NAT between internal and extenal > networks, > >> > actually in everything but it is weak as a firewall. Stanislav knows > >> > that, > >> > he helped me to resolve the problem first time when it happend. I > cannot > >> > go > >> > into details as this is open forum. You need to put either kamailio or > >> > opensips in front of FS. > >> > >> Strongly agree. > >> > >> -- > >> Alex Balashov | Principal | Evariste Systems LLC > >> > >> Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) > >> Web: http://www.evaristesys.com/, http://www.csrpswitch.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 > > > > > > > > > > -- > > Kamil Nigmatullin > > Tel: 77272323748 > > mob: 7 (707) 2517003 > > Skype: kamil.nigmatullin > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/c28ba989/attachment-0001.html From valter at fastway.com.br Tue Dec 13 05:33:04 2016 From: valter at fastway.com.br (Valter Nogueira) Date: Tue, 13 Dec 2016 00:33:04 -0200 Subject: [Freeswitch-users] SBC In-Reply-To: References: <20161212025605.GA15029@tlaquepaque.localdomain> Message-ID: So "inside" profile should not have gateways at all. I should declare asterisks as users like asterisk-1, asterisk-2 and soon. And bridge calls to them using user/asterisk-1. On "outside" profile I should have gateways but not users and bridge calls to sofia/gateway/myistsp.com Atenciosamente, 2016-12-13 0:25 GMT-02:00 David Villasmil : > I also enable auth-calls and auth-all-packets. > > On Tue, Dec 13, 2016 at 3:19 AM Valter Nogueira > wrote: > >> Which parameter I use to enable a profile to registration? >> >> >> >> >> >> >> >> Atenciosamente, >> >> >> >> 2016-12-12 23:30 GMT-02:00 David Villasmil > com>: >> >> Hello, >> >> Every time fs receives a REGISTER it will look up the user trying to >> register (if the profile is configured to authenticate) in the directory >> path. You can register via any profile if configured. You can control what >> user may register where by enabling multi-domain as per >> https://wiki.freeswitch.org/wiki/Multiple_Companies. >> >> By default, the directory.xml is as follows: >> >> >> >> >> ... >> >> >> >> >> >> >> ... >> >> So, as you can see, there's only one domain directory ($${domain} which >> is the ip address of your server) which has only one group called "users" >> which *includes* any xml in "default/" >> >> hope this helps. >> >> David >> ? >> >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 <+34%20669%2044%2083%2037> >> >> On Mon, Dec 12, 2016 at 9:42 PM, Valter Nogueira >> wrote: >> >> I am studying opensips and kamailio, but to be honest, I am a little >> affraid of them - just because I am not sure if I can figure out every >> situation in route. >> >> My environment is strictly controlled with iptables drop policy and just >> friendly traffic is allowed. >> >> What I understood by now is that I must have a profile for every NIC used >> to route traffic. >> >> What I don't get yet is how directory relates to profiles. In file >> directory/default/example.com.xml there is a user "joe" which have a >> gateway defined inside it and that sofia shows in every gateway availble >> (expect in internal) >> >> Just to make me more confused: https://wiki.freeswitch.org/wiki/SBC_Setup >> >> In which internal and external are binded to the same ip+port but to >> different vlans. How vlans tags are binded to internatl and external >> profiles? >> >> >> >> >> >> Atenciosamente, >> >> >> >> 2016-12-12 9:09 GMT-02:00 David Villasmil > >: >> >> At the very least start by looking at Homer (http://sipcapture.org/) >> which works beautifully with kamailio (i assume also openSIPS) and >> freeswitch. and it generates by default some nice graphs and alarms. >> >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 <+34%20669%2044%2083%2037> >> >> On Mon, Dec 12, 2016 at 10:19 AM, Stanislav Sinyagin > > wrote: >> >> but that's part of a job for an end-to-end system designer, it's not >> something specific to a particular piece of software. >> >> For the scenario that Valter has described, FreeSWITCH (or two servers >> in a cluster) will do the job just fine. But of course it needs to be >> designed, configured and tested properly, with security in mind. >> >> I would agree, it's good to place Kamailio as the first-hop Internet >> gateway if you need to process INVITEs from unknown sources in >> Internet. It has nice features that minimize the impact of various DOS >> attacks or hacking. Also if you need to scale up, Kamailio will serve >> nicely as a load-balancer. But there's nothing wrong in placing >> FreeSWITCH alone in the Internet if you know what you're doing. >> >> >> >> >> >> >> >> >> On Mon, Dec 12, 2016 at 4:43 AM, Kamil Nigmatullin >> wrote: >> > The first was the problem, where attacker somehow got login and >> password (i >> > think they broke thier ATA) from clinet and used it. But for this client >> > there was a limit of one line. I used limit module with local database. >> What >> > attacker actially did, is that they used REFER attack, where they put >> their >> > own number as a referrer, and opened unlimited lines to PSTN. So the, >> > solution was - to replace limit functunality to opensips. >> > >> > The second - it is not actually the FS issue. It is because Freeswitch >> is >> > not flexible enouph to work at the low level where Kamailio or opensips >> > operates. E.g, we programmed opensips to lookup for UserAgent database, >> we >> > add useragent for each client manually. And only using client's IP and >> > user-agent we allow this user to call to PSTN. We watch for blacklists >> of IP >> > adresses, subnets. If it comes from Gaza, Panama, China we block it. >> And a >> > lot of other things. Most of them is not out-of-box in opensips, but it >> is >> > not hard to implement. All this functionality is very important. We lost >> > about $10k last time. This is very serious. >> > >> > 2016-12-12 8:56 GMT+06:00 Alex Balashov : >> >> >> >> On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: >> >> >> >> > I love freeswitch, but frankly I would not recomend to set it as >> SBC. I >> >> > personally faced two attacks where FS was not good at. And we lost a >> lot >> >> > of >> >> > money. It works perfectly as NAT between internal and extenal >> networks, >> >> > actually in everything but it is weak as a firewall. Stanislav knows >> >> > that, >> >> > he helped me to resolve the problem first time when it happend. I >> cannot >> >> > go >> >> > into details as this is open forum. You need to put either kamailio >> or >> >> > opensips in front of FS. >> >> >> >> Strongly agree. >> >> >> >> -- >> >> Alex Balashov | Principal | Evariste Systems LLC >> >> >> >> Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) >> >> Web: http://www.evaristesys.com/, http://www.csrpswitch.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 >> > >> > >> > >> > >> > -- >> > Kamil Nigmatullin >> > Tel: 77272323748 >> > mob: 7 (707) 2517003 >> > Skype: kamil.nigmatullin >> > >> > ____________________________________________________________ >> _____________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ >> options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/889d08f4/attachment-0001.html From daveh at beachdognet.com Tue Dec 13 05:58:07 2016 From: daveh at beachdognet.com (Dave Horton) Date: Mon, 12 Dec 2016 21:58:07 -0500 Subject: [Freeswitch-users] Dialplan not executed when INVITE has no SDP (3pcc) Message-ID: I notice that when I set: wrote: > I notice that when I set: > > asterisks as users like asterisk-1, asterisk-2 and soon. And bridge calls > to them using user/asterisk-1. > > On "outside" profile I should have gateways but not users and bridge calls > to sofia/gateway/myistsp.com > > > > Atenciosamente, > > > > 2016-12-13 0:25 GMT-02:00 David Villasmil > : > > I also enable auth-calls and auth-all-packets. > > On Tue, Dec 13, 2016 at 3:19 AM Valter Nogueira > wrote: > > Which parameter I use to enable a profile to registration? > > > > > > > > Atenciosamente, > > > > 2016-12-12 23:30 GMT-02:00 David Villasmil >: > > Hello, > > Every time fs receives a REGISTER it will look up the user trying to > register (if the profile is configured to authenticate) in the directory > path. You can register via any profile if configured. You can control what > user may register where by enabling multi-domain as per > https://wiki.freeswitch.org/wiki/Multiple_Companies. > > By default, the directory.xml is as follows: > > > > > ... > > > > > > > ... > > So, as you can see, there's only one domain directory ($${domain} which is > the ip address of your server) which has only one group called "users" > which *includes* any xml in "default/" > > hope this helps. > > David > ? > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 <+34%20669%2044%2083%2037> > > On Mon, Dec 12, 2016 at 9:42 PM, Valter Nogueira > wrote: > > I am studying opensips and kamailio, but to be honest, I am a little > affraid of them - just because I am not sure if I can figure out every > situation in route. > > My environment is strictly controlled with iptables drop policy and just > friendly traffic is allowed. > > What I understood by now is that I must have a profile for every NIC used > to route traffic. > > What I don't get yet is how directory relates to profiles. In file > directory/default/example.com.xml there is a user "joe" which have a > gateway defined inside it and that sofia shows in every gateway availble > (expect in internal) > > Just to make me more confused: https://wiki.freeswitch.org/wiki/SBC_Setup > > In which internal and external are binded to the same ip+port but to > different vlans. How vlans tags are binded to internatl and external > profiles? > > > > > > Atenciosamente, > > > > 2016-12-12 9:09 GMT-02:00 David Villasmil > : > > At the very least start by looking at Homer (http://sipcapture.org/) > which works beautifully with kamailio (i assume also openSIPS) and > freeswitch. and it generates by default some nice graphs and alarms. > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 <+34%20669%2044%2083%2037> > > On Mon, Dec 12, 2016 at 10:19 AM, Stanislav Sinyagin > wrote: > > but that's part of a job for an end-to-end system designer, it's not > something specific to a particular piece of software. > > For the scenario that Valter has described, FreeSWITCH (or two servers > in a cluster) will do the job just fine. But of course it needs to be > designed, configured and tested properly, with security in mind. > > I would agree, it's good to place Kamailio as the first-hop Internet > gateway if you need to process INVITEs from unknown sources in > Internet. It has nice features that minimize the impact of various DOS > attacks or hacking. Also if you need to scale up, Kamailio will serve > nicely as a load-balancer. But there's nothing wrong in placing > FreeSWITCH alone in the Internet if you know what you're doing. > > > > > > > > > On Mon, Dec 12, 2016 at 4:43 AM, Kamil Nigmatullin > wrote: > > The first was the problem, where attacker somehow got login and password > (i > > think they broke thier ATA) from clinet and used it. But for this client > > there was a limit of one line. I used limit module with local database. > What > > attacker actially did, is that they used REFER attack, where they put > their > > own number as a referrer, and opened unlimited lines to PSTN. So the, > > solution was - to replace limit functunality to opensips. > > > > The second - it is not actually the FS issue. It is because Freeswitch is > > not flexible enouph to work at the low level where Kamailio or opensips > > operates. E.g, we programmed opensips to lookup for UserAgent database, > we > > add useragent for each client manually. And only using client's IP and > > user-agent we allow this user to call to PSTN. We watch for blacklists > of IP > > adresses, subnets. If it comes from Gaza, Panama, China we block it. And > a > > lot of other things. Most of them is not out-of-box in opensips, but it > is > > not hard to implement. All this functionality is very important. We lost > > about $10k last time. This is very serious. > > > > 2016-12-12 8:56 GMT+06:00 Alex Balashov : > >> > >> On Mon, Dec 12, 2016 at 08:17:57AM +0600, Kamil Nigmatullin wrote: > >> > >> > I love freeswitch, but frankly I would not recomend to set it as SBC. > I > >> > personally faced two attacks where FS was not good at. And we lost a > lot > >> > of > >> > money. It works perfectly as NAT between internal and extenal > networks, > >> > actually in everything but it is weak as a firewall. Stanislav knows > >> > that, > >> > he helped me to resolve the problem first time when it happend. I > cannot > >> > go > >> > into details as this is open forum. You need to put either kamailio or > >> > opensips in front of FS. > >> > >> Strongly agree. > >> > >> -- > >> Alex Balashov | Principal | Evariste Systems LLC > >> > >> Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) > >> Web: http://www.evaristesys.com/, http://www.csrpswitch.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 > > > > > > > > > > -- > > Kamil Nigmatullin > > Tel: 77272323748 > > mob: 7 (707) 2517003 > > Skype: kamil.nigmatullin > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/3c5058a7/attachment-0001.html From babak.freeswitch at gmail.com Tue Dec 13 12:29:30 2016 From: babak.freeswitch at gmail.com (Babak Yakhchali) Date: Tue, 13 Dec 2016 12:59:30 +0330 Subject: [Freeswitch-users] Voice quality problem Message-ID: Hi We are using freeswitch for our callcenter. Sometimes agents complain that when the call is connected to them voice is robotic and after they hold the call for some seconds quality becomes ok! how can I troubleshoot such a problem. all agents are using cisco 7941, 7942 or cisco ipcommunicator -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/9a44c431/attachment.html From me at nevian.org Tue Dec 13 13:13:43 2016 From: me at nevian.org (Serge S. Yuriev) Date: Tue, 13 Dec 2016 13:13:43 +0300 Subject: [Freeswitch-users] Dialplan not executed when INVITE has no SDP (3pcc) In-Reply-To: References: Message-ID: 3pcc was deadly broken on very beginning of June. Last working version - last of May. On 13/12/16 05:58, Dave Horton wrote: > I notice that when I set: > > > wrote: I notice that when I set: > wrote: I notice that when I set: > wrote: I notice that when I set: wrote: > Hi there - > > I?m actually the one that opened this topic (though it seems like Serge > has done some testing on it as well). > > I?d be happy to test on latest master and open JIRA etc., and will do so > today... > > The one thing that would be helpful to me though, would be to understand > what is expected behavior: > > specifically, if I send an INVITE without SDP, and with enable-3pcc=true, > should it execute the dialplan? > > If this is not expected behavior, I?d really like to understand why. > > Knowing the above will help me open a more appropriate and targeted JIRA. > > Dave > > On Dec 13, 2016, at 11:41 AM, Brian West wrote: > > Serge, > > Have you tried lastest master? How are we to fix issues that come up if > nobody tells us about it. Please re-test on master, and verify if the > issue persists, if so then file a JIRA with the appropriate details. > Packet Captures and such, I would also like to have a SIPP scenario created > that can speed the resolution of your issue, Do you know how to make one of > those from your pcap? > > This sipp business might make a great topic for one of our weekly calls. > > /b > > On Tue, Dec 13, 2016 at 4:13 AM, Serge S. Yuriev wrote: > >> 3pcc was deadly broken on very beginning of June. Last working version - >> last of May. >> >> On 13/12/16 05:58, Dave Horton wrote: >> > I notice that when I set: >> > >> > References: Message-ID: Hello all, Can Anyone help on this? Thanks On Mon, Dec 12, 2016 at 7:23 PM Gregor Nanger wrote: > I have have similar problem when calling from Verto extension. Regardless > what I set in extension profile, it is always 000000000. > > On Mon, Dec 12, 2016, 19:09 David Villasmil < > david.villasmil.work at gmail.com> wrote: > > I have in my gateway "caller-id-in-from" to true... > i have in my bridge: > > 13 data="effective_caller_id_number=3051111111"/> > 14 data="effective_caller_id_name=30511111112"/> > 15 data="{origination_caller_id_number=3051111111,origination_caller_id_name=3051111111}sofia/gateway/mygw/$1"/> > > why do i keep seeing going out like: > > From: "FreeSWITCH" ;tag=Qgtcrcv3NmD4B > ... > Remote-Party-ID: "FreeSWITCH" >;party=calling;screen=yes;privacy=off > > i seem to have forgotten or... > > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/e5d63f75/attachment-0001.html From igor.potjevlesch at gmail.com Tue Dec 13 13:32:59 2016 From: igor.potjevlesch at gmail.com (Igor Potjevlesch) Date: Tue, 13 Dec 2016 11:32:59 +0100 Subject: [Freeswitch-users] 503 Maximum Calls Message-ID: <00ce01d2552c$46dac4b0$d4904e10$@gmail.com> Hello, During some call peaks, FS replies with 503 Maximum Calls and produces the following log: /var/log/freeswitch/freeswitch.log.2016-12-12-10-20-33.1:2016-12-12 10:08:54.964919 [CRIT] switch_core_session.c:2270 Over Session Limit! 973 /var/log/freeswitch/freeswitch.log.2016-12-12-10-20-33.1:2016-12-12 10:08:54.964919 [CRIT] mod_sofia.c:4406 Error Creating Sessi I dig into the configuration to change many settings related to this error. So, our current "status" is: FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready 1207363 session(s) since startup 684 session(s) - peak 983, last 5min 694 0 session(s) per Sec out of max 400, peak 164, last 5min 8 973 session(s) max min idle cpu 0.00/39.77 Current Stack Size/Max 240K/8192K I don't understand how the 973 sessions max is determined? The switch.conf.xml is set as follow: I also made modifications to the OS himself, into limits.conf: freeswitch hard nofile 500000 freeswitch soft nofile 500000 freeswitch hard nproc 62815 freeswitch soft nproc 62815 The setup looks to be active: # cat /proc/25695/limits Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 245760 8388608 bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes 62815 62815 processes Max open files 500000 500000 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 62815 62815 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Any idea? Thanks. Regards, Igor. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/75928d10/attachment-0001.html From Jeremy.Duke at absg.com Tue Dec 13 20:10:22 2016 From: Jeremy.Duke at absg.com (Duke, Jeremy) Date: Tue, 13 Dec 2016 17:10:22 +0000 Subject: [Freeswitch-users] Windows Azure and Freeswitch Compatibility / Issue Message-ID: <59D21573199E6D43A622267021639E68337A946A@100-exmb-p-010.absg.net> Hello, I'm fairly new to FS and hopeful that someone can help me with this problem. We are trying to do a basic POC and make sure FS can work on Azure. Setup: Azure (MS Cloud) Windows 2008 R2 FS Installed X Lite Softphone Installed on Server Current State / Issue: I'm able to use the softphone to register, make extension calls, etc. from the server itself using local IP address (10.0.0.4). However, when I use the servers public IP address I can't register the softphone. I'm sure I'll have NAT issues to deal once I get past the phone registration. However, given I don't see registration attempts I'm thinking I have configuration issue within FS (ACL, ...). Things I've Done: - I've opened up UDP and TCP port ranges 5000-9000 for both inbound and outbound in Azure Portal. - I opened ticket with MS and we used network trace to verify that UDP traffic was mapping into server from outside and getting through the Azure firewall (network security group). I had initially suspected this as culprit, but MS is telling me they now allow UDP traffic. - Ran FS_CLI in debug to look at registry events and I get nothing on the failed registry attempts. - Looked at FS log. I don't see any clues. Thoughts on issue? Anyone else had experiences with Azure and FS. Thanks, Jeremy ------------------------------------------------------------------------------ CONFIDENTIALITY NOTICE. This electronic mail transmission may contain privileged, confidential and/or protected health information and is intended only for the review of the party to whom it is addressed. Any unauthorized use or disclosure of the information contained herein may be a violation of federal law, including the Health Insurance Portability and Accountability Act (HIPAA). If you have received this transmission in error, please immediately return it to the sender, delete it and destroy it without reading it. Unintended transmission shall not constitute the waiver of the attorney-client or any other privilege. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/015f78c4/attachment-0001.html From gregor at infomedia.si Tue Dec 13 20:31:49 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Tue, 13 Dec 2016 17:31:49 +0000 Subject: [Freeswitch-users] Windows Azure and Freeswitch Compatibility / Issue In-Reply-To: <59D21573199E6D43A622267021639E68337A946A@100-exmb-p-010.absg.net> References: <59D21573199E6D43A622267021639E68337A946A@100-exmb-p-010.absg.net> Message-ID: Hi! We have Vm in Azure. Open ports in Azure FW as stated on FS confluence. And set ext-ip rtp and sip to your public ip. And this should work. We also use Azure MS sql DB via Odbc in FS instead of internal sqlite. Xml dial plan is feed from asp.net hosted on Azure via xml_curl. On Tue, Dec 13, 2016, 18:25 Duke, Jeremy wrote: > Hello, > > I?m fairly new to FS and hopeful that someone can help me with this > problem. We are trying to do a basic POC and make sure FS can work on > Azure. > > > > *Setup:* > > Azure (MS Cloud) > > Windows 2008 R2 > > FS Installed > > X Lite Softphone Installed on Server > > > > *Current State / Issue:* > > I?m able to use the softphone to register, make extension calls, etc. from > the server itself using local IP address (10.0.0.4). However, when I use > the servers public IP address I can?t register the softphone. I?m sure I?ll > have NAT issues to deal once I get past the phone registration. However, > given I don?t see registration attempts I?m thinking I have configuration > issue within FS (ACL, ?). > > > > *Things I?ve Done:* > > - I?ve opened up UDP and TCP port ranges 5000-9000 for both > inbound and outbound in Azure Portal. > > - I opened ticket with MS and we used network trace to verify > that UDP traffic was mapping into server from outside and getting through > the Azure firewall (network security group). I had initially suspected this > as culprit, but MS is telling me they now allow UDP traffic. > > - Ran FS_CLI in debug to look at registry events and I get > nothing on the failed registry attempts. > > - Looked at FS log. I don?t see any clues. > > > > Thoughts on issue? Anyone else had experiences with Azure and FS. > > > > Thanks, > > Jeremy > > > ------------------------------ > > CONFIDENTIALITY NOTICE. This electronic mail transmission may contain > privileged, confidential and/or protected health information and is > intended only for the review of the party to whom it is addressed. Any > unauthorized use or disclosure of the information contained herein may be a > violation of federal law, including the Health Insurance Portability and > Accountability Act (HIPAA). If you have received this transmission in > error, please immediately return it to the sender, delete it and destroy > it without reading it. Unintended transmission shall not constitute the > waiver of the attorney-client or any other privilege. > ------------------------------ > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/bbba913a/attachment.html From mike at jerris.com Tue Dec 13 20:40:46 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 13 Dec 2016 17:40:46 +0000 Subject: [Freeswitch-users] 503 Maximum Calls In-Reply-To: <00ce01d2552c$46dac4b0$d4904e10$@gmail.com> References: <00ce01d2552c$46dac4b0$d4904e10$@gmail.com> Message-ID: was probably the default 1000, then when hit with a big peak the box couldn't handle, it failed to create some threads, causing freeswitch to automatically lower the limit to better match what the box is capable of handling. if you grep the logs for 973 you'll see a log where it's lowered. On Tue, Dec 13, 2016 at 12:27 PM Igor Potjevlesch < igor.potjevlesch at gmail.com> wrote: > Hello, > > > > During some call peaks, FS replies with 503 Maximum Calls and produces the > following log: > > > > /var/log/freeswitch/freeswitch.log.2016-12-12-10-20-33.1:2016-12-12 > 10:08:54.964919 [CRIT] switch_core_session.c:2270 Over Session Limit! 973 > > /var/log/freeswitch/freeswitch.log.2016-12-12-10-20-33.1:2016-12-12 > 10:08:54.964919 [CRIT] mod_sofia.c:4406 Error Creating Sessi > > > > I dig into the configuration to change many settings related to this > error. So, our current "status" is: > > > > FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready > > 1207363 session(s) since startup > > 684 session(s) - peak 983, last 5min 694 > > 0 session(s) per Sec out of max 400, peak 164, last 5min 8 > > 973 session(s) max > > min idle cpu 0.00/39.77 > > Current Stack Size/Max 240K/8192K > > > > I don't understand how the 973 sessions max is determined? The > switch.conf.xml is set as follow: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I also made modifications to the OS himself, into limits.conf: > > > > freeswitch hard nofile 500000 > > freeswitch soft nofile 500000 > > freeswitch hard nproc 62815 > > freeswitch soft nproc 62815 > > > > The setup looks to be active: > > > > # cat /proc/25695/limits > > Limit Soft Limit Hard Limit > Units > > Max cpu time unlimited unlimited > seconds > > Max file size unlimited unlimited > bytes > > Max data size unlimited unlimited > bytes > > Max stack size 245760 8388608 > bytes > > Max core file size unlimited unlimited > bytes > > Max resident set unlimited unlimited > bytes > > Max processes 62815 62815 > processes > > Max open files 500000 500000 > files > > Max locked memory 65536 65536 > bytes > > Max address space unlimited unlimited > bytes > > Max file locks unlimited unlimited > locks > > Max pending signals 62815 62815 > signals > > Max msgqueue size 819200 819200 > bytes > > Max nice priority 0 0 > > Max realtime priority 0 0 > > Max realtime timeout unlimited unlimited > us > > > > Any idea? Thanks. > > > > Regards, > > > > Igor. > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/a0e2700d/attachment-0001.html From daveh at beachdognet.com Tue Dec 13 21:23:58 2016 From: daveh at beachdognet.com (Dave Horton) Date: Tue, 13 Dec 2016 13:23:58 -0500 Subject: [Freeswitch-users] Dialplan not executed when INVITE has no SDP (3pcc) In-Reply-To: <39BB44CB-29AA-4A06-BCB1-04717036A960@beachdognet.com> References: <39BB44CB-29AA-4A06-BCB1-04717036A960@beachdognet.com> Message-ID: <2F136580-7AE0-49CF-9BB0-A4F2D087225F@beachdognet.com> I?ve opened JIRA 9849 on this issue https://freeswitch.org/jira/browse/FS-9849 On Dec 13, 2016, at 11:51 AM, Dave Horton wrote: Hi there - I?m actually the one that opened this topic (though it seems like Serge has done some testing on it as well). I?d be happy to test on latest master and open JIRA etc., and will do so today... The one thing that would be helpful to me though, would be to understand what is expected behavior: specifically, if I send an INVITE without SDP, and with enable-3pcc=true, should it execute the dialplan? If this is not expected behavior, I?d really like to understand why. Knowing the above will help me open a more appropriate and targeted JIRA. Dave On Dec 13, 2016, at 11:41 AM, Brian West > wrote: Serge, Have you tried lastest master? How are we to fix issues that come up if nobody tells us about it. Please re-test on master, and verify if the issue persists, if so then file a JIRA with the appropriate details. Packet Captures and such, I would also like to have a SIPP scenario created that can speed the resolution of your issue, Do you know how to make one of those from your pcap? This sipp business might make a great topic for one of our weekly calls. /b On Tue, Dec 13, 2016 at 4:13 AM, Serge S. Yuriev > wrote: 3pcc was deadly broken on very beginning of June. Last working version - last of May. On 13/12/16 05:58, Dave Horton wrote: > I notice that when I set: > > wrote: > Yes, right now I do not have the ACK working. And I can fix that, but it > is not what is blocking me. > > The fact that freeswitch does not execute the dialplan means that my > application does not get notified of this channel. > > Essentially, if I provide an SDP in the ACK I could get a channel > allocated, but no way to control it. > > Why is the dialplan not being executed? Would it be executed upon the > arrival of an ACK w/ SDP ? > > On Dec 13, 2016, at 1:38 PM, Michael Jerris wrote: > > Looked at your trace. The endpoint is broken. Its doing a 3pcc invite, > then ACKing w/o SDP. > > > On Dec 13, 2016, at 1:23 PM, Dave Horton wrote: > > I?ve opened JIRA 9849 on this issue > > https://freeswitch.org/jira/browse/FS-9849 > > On Dec 13, 2016, at 11:51 AM, Dave Horton wrote: > > Hi there - > > I?m actually the one that opened this topic (though it seems like Serge > has done some testing on it as well). > > I?d be happy to test on latest master and open JIRA etc., and will do so > today... > > The one thing that would be helpful to me though, would be to understand > what is expected behavior: > > specifically, if I send an INVITE without SDP, and with enable-3pcc=true, > should it execute the dialplan? > > If this is not expected behavior, I?d really like to understand why. > > Knowing the above will help me open a more appropriate and targeted JIRA. > > Dave > > On Dec 13, 2016, at 11:41 AM, Brian West wrote: > > Serge, > > Have you tried lastest master? How are we to fix issues that come up if > nobody tells us about it. Please re-test on master, and verify if the > issue persists, if so then file a JIRA with the appropriate details. > Packet Captures and such, I would also like to have a SIPP scenario created > that can speed the resolution of your issue, Do you know how to make one of > those from your pcap? > > This sipp business might make a great topic for one of our weekly calls. > > /b > > On Tue, Dec 13, 2016 at 4:13 AM, Serge S. Yuriev wrote: > >> 3pcc was deadly broken on very beginning of June. Last working version - >> last of May. >> >> On 13/12/16 05:58, Dave Horton wrote: >> > I notice that when I set: >> > >> > www.cassidyweb.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/82600031/attachment.html From daveh at beachdognet.com Tue Dec 13 22:16:09 2016 From: daveh at beachdognet.com (Dave Horton) Date: Tue, 13 Dec 2016 14:16:09 -0500 Subject: [Freeswitch-users] Dialplan not executed when INVITE has no SDP (3pcc) In-Reply-To: References: <39BB44CB-29AA-4A06-BCB1-04717036A960@beachdognet.com> <2F136580-7AE0-49CF-9BB0-A4F2D087225F@beachdognet.com> <73FCA478-3729-4E70-BD04-2C131D827523@jerris.com> <92ECA4E7-ACE5-4BF9-BA57-7E6D2961075B@beachdognet.com> Message-ID: <2CBB00E1-ECF7-43D5-B4F0-5294DB049D59@beachdognet.com> Ah, ok thanks! Will try that now... On Dec 13, 2016, at 2:00 PM, Anthony Minessale wrote: Yes when you set the 3pcc to "true" that is how it works. it waits for the ack + sdp then it hits the dialplan. When 3pcc=proxy it hits the dialplan expecting you to bridge the call to another device such as a phone and uses that phone's SDP in the response. On Tue, Dec 13, 2016 at 12:56 PM, Dave Horton > wrote: Yes, right now I do not have the ACK working. And I can fix that, but it is not what is blocking me. The fact that freeswitch does not execute the dialplan means that my application does not get notified of this channel. Essentially, if I provide an SDP in the ACK I could get a channel allocated, but no way to control it. Why is the dialplan not being executed? Would it be executed upon the arrival of an ACK w/ SDP ? On Dec 13, 2016, at 1:38 PM, Michael Jerris > wrote: Looked at your trace. The endpoint is broken. Its doing a 3pcc invite, then ACKing w/o SDP. > On Dec 13, 2016, at 1:23 PM, Dave Horton > wrote: > > I?ve opened JIRA 9849 on this issue > > https://freeswitch.org/jira/browse/FS-9849 > > On Dec 13, 2016, at 11:51 AM, Dave Horton > wrote: > > Hi there - > > I?m actually the one that opened this topic (though it seems like Serge has done some testing on it as well). > > I?d be happy to test on latest master and open JIRA etc., and will do so today... > > The one thing that would be helpful to me though, would be to understand what is expected behavior: > > specifically, if I send an INVITE without SDP, and with enable-3pcc=true, should it execute the dialplan? > > If this is not expected behavior, I?d really like to understand why. > > Knowing the above will help me open a more appropriate and targeted JIRA. > > Dave > > On Dec 13, 2016, at 11:41 AM, Brian West > wrote: > > Serge, > > Have you tried lastest master? How are we to fix issues that come up if nobody tells us about it. Please re-test on master, and verify if the issue persists, if so then file a JIRA with the appropriate details. Packet Captures and such, I would also like to have a SIPP scenario created that can speed the resolution of your issue, Do you know how to make one of those from your pcap? > > This sipp business might make a great topic for one of our weekly calls. > > /b > > On Tue, Dec 13, 2016 at 4:13 AM, Serge S. Yuriev > wrote: > 3pcc was deadly broken on very beginning of June. Last working version - > last of May. > > On 13/12/16 05:58, Dave Horton wrote: > > I notice that when I set: > > > > session:setVariable("tts_voice", "stm") > digits = session:playAndGetDigits(2, 30, 3, 5000, "#", "say:Please enter some digits, followed by the hash key.", "say:Sorry, I didn't catch that. Please try again.", "\\d+") > session:execute("speak", "flite|stm|" .. digits) > > I keep getting the following error and can't work out why: > > 2016-12-13 19:16:10.377932 [ERR] mod_lua.cpp:203 /usr/share/freeswitch/scripts/dtmf_test.lua:9: attempt to concatenate field '?' (a nil value) > stack traceback: > /usr/share/freeswitch/scripts/dtmf_test.lua:2: in main chunk > > It's mostly something stupid I'm doing, out of everything I'm good at lua isn't one of them! > > Does anyone have any ideas what I'm doing wrong? > > Kind regards, > > -- > Andrew Cassidy BSc (Hons) MBCS SSCA > Managing Director > > 03303 880 960 andrew at cassidyweb.co.uk www.cassidyweb.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/3aeb371b/attachment.html From aqsyounas at gmail.com Tue Dec 13 22:56:54 2016 From: aqsyounas at gmail.com (Aqs Younas) Date: Wed, 14 Dec 2016 00:56:54 +0500 Subject: [Freeswitch-users] freeswitch fetching old records from sqlite In-Reply-To: References: Message-ID: I should have provided more info. Yes, this is a separate SQLite database being shared with FreeSWITCH. Below is the javascript code snippet accessing database and querying the records. var coreDbFile = "/opt/db/db.db" // This is a sparate database then freeswitch core database having custome tables only. var db = new CoreDB(coreDbFile); sql = "SELECT * FROM pool_campaigns_view WHERE pool_id = '" + 65 + "'"; db.prepare(sql); while(db.next()) { hash = db.fetch(); console_log("info", "Campaign ID: " + hash['campaign_id'] + ", Weight: " + hash['weight']); } Sorry if there was something inappropriate in previous email and also not clear what type of logs i should provide for this. On 13 December 2016 at 23:58, Anthony Minessale wrote: > Which data do you mean exactly? > > You said you use sqlite but its a different db than FS core. So is this > extra sqlite db being shared with FS? How is FS accessing it. > Its not really clear enough of an explanation to understand fully. > > > On Tue, Dec 13, 2016 at 12:46 PM, Aqs Younas wrote: > >> Thanks for replying. We are not caching data it is just a simple select >> query and logging in the console. >> >> On 13 December 2016 at 23:39, Michael Jerris wrote: >> >>> I can?t think of anyplace we would be caching data unless its somewhere >>> in your js code that you are caching results. >>> >>> >>> > On Dec 13, 2016, at 1:35 PM, Aqs Younas wrote: >>> > >>> > Hi, >>> > We are using SQLite(separate database than core) with javascript and >>> have observed a bizarre issue. Freeswitch query (Select) shows old records >>> whereas data was changed a few minutes before. >>> > >>> > Sometimes updated data reflects back in FreeSWITCH after several >>> minutes. Whereas in PHPadmin I see updated data for the query. >>> > I have asked the question on IRC where they advised me to change the >>> database. >>> > >>> > Is there any workaround for this? Does freeswich caches data from >>> sqlite? >>> > >>> > Sorry for asking again, we have a system in production doing some >>> sqlite select queries, changing database would be the last option. >>> > >>> > Best, >>> > Aqs Younas >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> 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 <(919)%20386-9900> > > 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/20161214/b587d81e/attachment.html From igor.potjevlesch at gmail.com Wed Dec 14 01:29:20 2016 From: igor.potjevlesch at gmail.com (Igor Potjevlesch) Date: Tue, 13 Dec 2016 23:29:20 +0100 Subject: [Freeswitch-users] 503 Maximum Calls In-Reply-To: References: <00ce01d2552c$46dac4b0$d4904e10$@gmail.com> Message-ID: <004601d25590$5a17b380$0e471a80$@gmail.com> Hi Michael, Thanks for your response. Indeed, I find this: freeswitch.log.2016-12-05-11-24-27.1:Artoo reduces the max sessions to 973 thus, saving the switch from certain doom. It was last Monday when I decided to modify the limits.conf. So, what I can do to back on 4000 sessions max as defined in the switchs.conf? Regards, Igor. De : freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] De la part de Michael Jerris Envoy? : mardi 13 d?cembre 2016 18:41 ? : FreeSWITCH Users Help Objet : Re: [Freeswitch-users] 503 Maximum Calls was probably the default 1000, then when hit with a big peak the box couldn't handle, it failed to create some threads, causing freeswitch to automatically lower the limit to better match what the box is capable of handling. if you grep the logs for 973 you'll see a log where it's lowered. On Tue, Dec 13, 2016 at 12:27 PM Igor Potjevlesch > wrote: Hello, During some call peaks, FS replies with 503 Maximum Calls and produces the following log: /var/log/freeswitch/freeswitch.log.2016-12-12-10-20-33.1:2016-12-12 10:08:54.964919 [CRIT] switch_core_session.c:2270 Over Session Limit! 973 /var/log/freeswitch/freeswitch.log.2016-12-12-10-20-33.1:2016-12-12 10:08:54.964919 [CRIT] mod_sofia.c:4406 Error Creating Sessi I dig into the configuration to change many settings related to this error. So, our current "status" is: FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready 1207363 session(s) since startup 684 session(s) - peak 983, last 5min 694 0 session(s) per Sec out of max 400, peak 164, last 5min 8 973 session(s) max min idle cpu 0.00/39.77 Current Stack Size/Max 240K/8192K I don't understand how the 973 sessions max is determined? The switch.conf.xml is set as follow: I also made modifications to the OS himself, into limits.conf: freeswitch hard nofile 500000 freeswitch soft nofile 500000 freeswitch hard nproc 62815 freeswitch soft nproc 62815 The setup looks to be active: # cat /proc/25695/limits Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 245760 8388608 bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes 62815 62815 processes Max open files 500000 500000 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 62815 62815 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Any idea? Thanks. Regards, Igor. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/18c3f91c/attachment-0001.html From mike at jerris.com Wed Dec 14 01:35:37 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 13 Dec 2016 17:35:37 -0500 Subject: [Freeswitch-users] 503 Maximum Calls In-Reply-To: <004601d25590$5a17b380$0e471a80$@gmail.com> References: <00ce01d2552c$46dac4b0$d4904e10$@gmail.com> <004601d25590$5a17b380$0e471a80$@gmail.com> Message-ID: <2F470D8F-E849-4544-8F76-773F318E156A@jerris.com> if you are hitting that error? the answer is likely to upgrade your hardware to have enough to actually handle those limits, or else it will just lower itself again when it hits the same error next time > On Dec 13, 2016, at 5:29 PM, Igor Potjevlesch wrote: > > Hi Michael, > > Thanks for your response. > Indeed, I find this: > freeswitch.log.2016-12-05-11-24-27.1:Artoo reduces the max sessions to 973 thus, saving the switch from certain doom. > > It was last Monday when I decided to modify the limits.conf. > > So, what I can do to back on 4000 sessions max as defined in the switchs.conf? > > Regards, > > Igor. > ? <> > De : freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] De la part de Michael Jerris > Envoy? : mardi 13 d?cembre 2016 18:41 > ? : FreeSWITCH Users Help > Objet : Re: [Freeswitch-users] 503 Maximum Calls > > was probably the default 1000, then when hit with a big peak the box couldn't handle, it failed to create some threads, causing freeswitch to automatically lower the limit to better match what the box is capable of handling. if you grep the logs for 973 you'll see a log where it's lowered. > > On Tue, Dec 13, 2016 at 12:27 PM Igor Potjevlesch > wrote: >> Hello, >> >> During some call peaks, FS replies with 503 Maximum Calls and produces the following log: >> >> /var/log/freeswitch/freeswitch.log.2016-12-12-10-20-33.1:2016-12-12 10:08:54.964919 [CRIT] switch_core_session.c:2270 Over Session Limit! 973 >> /var/log/freeswitch/freeswitch.log.2016-12-12-10-20-33.1:2016-12-12 10:08:54.964919 [CRIT] mod_sofia.c:4406 Error Creating Sessi >> >> I dig into the configuration to change many settings related to this error. So, our current "status" is: >> >> FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready >> 1207363 session(s) since startup >> 684 session(s) - peak 983, last 5min 694 >> 0 session(s) per Sec out of max 400, peak 164, last 5min 8 >> 973 session(s) max >> min idle cpu 0.00/39.77 >> Current Stack Size/Max 240K/8192K >> >> I don't understand how the 973 sessions max is determined? The switch.conf.xml is set as follow: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> I also made modifications to the OS himself, into limits.conf: >> >> freeswitch hard nofile 500000 >> freeswitch soft nofile 500000 >> freeswitch hard nproc 62815 >> freeswitch soft nproc 62815 >> >> The setup looks to be active: >> >> # cat /proc/25695/limits >> Limit Soft Limit Hard Limit Units >> Max cpu time unlimited unlimited seconds >> Max file size unlimited unlimited bytes >> Max data size unlimited unlimited bytes >> Max stack size 245760 8388608 bytes >> Max core file size unlimited unlimited bytes >> Max resident set unlimited unlimited bytes >> Max processes 62815 62815 processes >> Max open files 500000 500000 files >> Max locked memory 65536 65536 bytes >> Max address space unlimited unlimited bytes >> Max file locks unlimited unlimited locks >> Max pending signals 62815 62815 signals >> Max msgqueue size 819200 819200 bytes >> Max nice priority 0 0 >> Max realtime priority 0 0 >> Max realtime timeout unlimited unlimited us >> >> Any idea? Thanks. >> >> Regards, >> >> Igor. >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/1fbbe7c0/attachment-0001.html From igor.potjevlesch at gmail.com Wed Dec 14 01:40:50 2016 From: igor.potjevlesch at gmail.com (Igor Potjevlesch) Date: Tue, 13 Dec 2016 23:40:50 +0100 Subject: [Freeswitch-users] 503 Maximum Calls In-Reply-To: <2F470D8F-E849-4544-8F76-773F318E156A@jerris.com> References: <00ce01d2552c$46dac4b0$d4904e10$@gmail.com> <004601d25590$5a17b380$0e471a80$@gmail.com> <2F470D8F-E849-4544-8F76-773F318E156A@jerris.com> Message-ID: <005001d25591$f4d19340$de74b9c0$@gmail.com> I think that there is enough hardware: 8GB of RAM and 8x2Ghz. But before the error, freeswitch user was limited by OS to open 1024 files only. Is this can cause FS to lower the max session? Regards, Igor. De : freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] De la part de Michael Jerris Envoy? : mardi 13 d?cembre 2016 23:36 ? : FreeSWITCH Users Help Objet : Re: [Freeswitch-users] 503 Maximum Calls if you are hitting that error? the answer is likely to upgrade your hardware to have enough to actually handle those limits, or else it will just lower itself again when it hits the same error next time On Dec 13, 2016, at 5:29 PM, Igor Potjevlesch > wrote: Hi Michael, Thanks for your response. Indeed, I find this: freeswitch.log.2016-12-05-11-24-27.1:Artoo reduces the max sessions to 973 thus, saving the switch from certain doom. It was last Monday when I decided to modify the limits.conf. So, what I can do to back on 4000 sessions max as defined in the switchs.conf? Regards, Igor. De : freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] De la part de Michael Jerris Envoy? : mardi 13 d?cembre 2016 18:41 ? : FreeSWITCH Users Help > Objet : Re: [Freeswitch-users] 503 Maximum Calls was probably the default 1000, then when hit with a big peak the box couldn't handle, it failed to create some threads, causing freeswitch to automatically lower the limit to better match what the box is capable of handling. if you grep the logs for 973 you'll see a log where it's lowered. On Tue, Dec 13, 2016 at 12:27 PM Igor Potjevlesch < igor.potjevlesch at gmail.com> wrote: Hello, During some call peaks, FS replies with 503 Maximum Calls and produces the following log: /var/log/freeswitch/freeswitch.log.2016-12-12-10-20-33.1:2016-12-12 10:08:54.964919 [CRIT] switch_core_session.c:2270 Over Session Limit! 973 /var/log/freeswitch/freeswitch.log.2016-12-12-10-20-33.1:2016-12-12 10:08:54.964919 [CRIT] mod_sofia.c:4406 Error Creating Sessi I dig into the configuration to change many settings related to this error. So, our current "status" is: FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready 1207363 session(s) since startup 684 session(s) - peak 983, last 5min 694 0 session(s) per Sec out of max 400, peak 164, last 5min 8 973 session(s) max min idle cpu 0.00/39.77 Current Stack Size/Max 240K/8192K I don't understand how the 973 sessions max is determined? The switch.conf.xml is set as follow: I also made modifications to the OS himself, into limits.conf: freeswitch hard nofile 500000 freeswitch soft nofile 500000 freeswitch hard nproc 62815 freeswitch soft nproc 62815 The setup looks to be active: # cat /proc/25695/limits Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 245760 8388608 bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes 62815 62815 processes Max open files 500000 500000 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 62815 62815 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Any idea? Thanks. Regards, Igor. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/23f0000d/attachment-0001.html From mike at jerris.com Wed Dec 14 01:54:08 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 13 Dec 2016 17:54:08 -0500 Subject: [Freeswitch-users] 503 Maximum Calls In-Reply-To: <005001d25591$f4d19340$de74b9c0$@gmail.com> References: <00ce01d2552c$46dac4b0$d4904e10$@gmail.com> <004601d25590$5a17b380$0e471a80$@gmail.com> <2F470D8F-E849-4544-8F76-773F318E156A@jerris.com> <005001d25591$f4d19340$de74b9c0$@gmail.com> Message-ID: it would, yes. > On Dec 13, 2016, at 5:40 PM, Igor Potjevlesch wrote: > > I think that there is enough hardware: 8GB of RAM and 8x2Ghz. > > But before the error, freeswitch user was limited by OS to open 1024 files only. Is this can cause FS to lower the max session? > > Regards, > > Igor. > ? <> > De : freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] De la part de Michael Jerris > Envoy? : mardi 13 d?cembre 2016 23:36 > ? : FreeSWITCH Users Help > Objet : Re: [Freeswitch-users] 503 Maximum Calls > > if you are hitting that error? the answer is likely to upgrade your hardware to have enough to actually handle those limits, or else it will just lower itself again when it hits the same error next time > >> On Dec 13, 2016, at 5:29 PM, Igor Potjevlesch > wrote: >> >> Hi Michael, >> >> Thanks for your response. >> Indeed, I find this: >> freeswitch.log.2016-12-05-11-24-27.1:Artoo reduces the max sessions to 973 thus, saving the switch from certain doom. >> >> It was last Monday when I decided to modify the limits.conf. >> >> So, what I can do to back on 4000 sessions max as defined in the switchs.conf? >> >> Regards, >> >> Igor. >> >> De : freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] De la part de Michael Jerris >> Envoy? : mardi 13 d?cembre 2016 18:41 >> ? : FreeSWITCH Users Help > >> Objet : Re: [Freeswitch-users] 503 Maximum Calls >> >> was probably the default 1000, then when hit with a big peak the box couldn't handle, it failed to create some threads, causing freeswitch to automatically lower the limit to better match what the box is capable of handling. if you grep the logs for 973 you'll see a log where it's lowered. >> >> On Tue, Dec 13, 2016 at 12:27 PM Igor Potjevlesch > wrote: >>> Hello, >>> >>> During some call peaks, FS replies with 503 Maximum Calls and produces the following log: >>> >>> /var/log/freeswitch/freeswitch.log.2016-12-12-10-20-33.1:2016-12-12 10:08:54.964919 [CRIT] switch_core_session.c:2270 Over Session Limit! 973 >>> /var/log/freeswitch/freeswitch.log.2016-12-12-10-20-33.1:2016-12-12 10:08:54.964919 [CRIT] mod_sofia.c:4406 Error Creating Sessi >>> >>> I dig into the configuration to change many settings related to this error. So, our current "status" is: >>> >>> FreeSWITCH (Version 1.6.5 git 70b8c17 2015-11-20 20:57:50Z 64bit) is ready >>> 1207363 session(s) since startup >>> 684 session(s) - peak 983, last 5min 694 >>> 0 session(s) per Sec out of max 400, peak 164, last 5min 8 >>> 973 session(s) max >>> min idle cpu 0.00/39.77 >>> Current Stack Size/Max 240K/8192K >>> >>> I don't understand how the 973 sessions max is determined? The switch.conf.xml is set as follow: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> I also made modifications to the OS himself, into limits.conf: >>> >>> freeswitch hard nofile 500000 >>> freeswitch soft nofile 500000 >>> freeswitch hard nproc 62815 >>> freeswitch soft nproc 62815 >>> >>> The setup looks to be active: >>> >>> # cat /proc/25695/limits >>> Limit Soft Limit Hard Limit Units >>> Max cpu time unlimited unlimited seconds >>> Max file size unlimited unlimited bytes >>> Max data size unlimited unlimited bytes >>> Max stack size 245760 8388608 bytes >>> Max core file size unlimited unlimited bytes >>> Max resident set unlimited unlimited bytes >>> Max processes 62815 62815 processes >>> Max open files 500000 500000 files >>> Max locked memory 65536 65536 bytes >>> Max address space unlimited unlimited bytes >>> Max file locks unlimited unlimited locks >>> Max pending signals 62815 62815 signals >>> Max msgqueue size 819200 819200 bytes >>> Max nice priority 0 0 >>> Max realtime priority 0 0 >>> Max realtime timeout unlimited unlimited us >>> >>> Any idea? Thanks. >>> >>> Regards, >>> >>> Igor. >>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/2c57b93c/attachment-0001.html From anthony.minessale at gmail.com Wed Dec 14 09:14:42 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 14 Dec 2016 00:14:42 -0600 Subject: [Freeswitch-users] freeswitch fetching old records from sqlite In-Reply-To: References: Message-ID: What version of FS are you using? Does the same thing happen if you use LUA? Maybe you can try a LUA example script to rule out an issue in JS. Does your code use any closures that may be causing the appearance of cached data? What about the sqlite command line tool? On Tue, Dec 13, 2016 at 1:56 PM, Aqs Younas wrote: > I should have provided more info. > Yes, this is a separate SQLite database being shared with FreeSWITCH. > Below is the javascript code snippet accessing database and querying the > records. > > var coreDbFile = "/opt/db/db.db" // This is a sparate database then > freeswitch core database having custome tables only. > var db = new CoreDB(coreDbFile); > sql = "SELECT * FROM pool_campaigns_view WHERE pool_id = '" + 65 + "'"; > db.prepare(sql); > while(db.next()) { > hash = db.fetch(); > console_log("info", "Campaign ID: " + hash['campaign_id'] + ", Weight: " + > hash['weight']); > } > Sorry if there was something inappropriate in previous email and also not > clear what type of logs i should provide for this. > > On 13 December 2016 at 23:58, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> Which data do you mean exactly? >> >> You said you use sqlite but its a different db than FS core. So is this >> extra sqlite db being shared with FS? How is FS accessing it. >> Its not really clear enough of an explanation to understand fully. >> >> >> On Tue, Dec 13, 2016 at 12:46 PM, Aqs Younas wrote: >> >>> Thanks for replying. We are not caching data it is just a simple select >>> query and logging in the console. >>> >>> On 13 December 2016 at 23:39, Michael Jerris wrote: >>> >>>> I can?t think of anyplace we would be caching data unless its somewhere >>>> in your js code that you are caching results. >>>> >>>> >>>> > On Dec 13, 2016, at 1:35 PM, Aqs Younas wrote: >>>> > >>>> > Hi, >>>> > We are using SQLite(separate database than core) with javascript and >>>> have observed a bizarre issue. Freeswitch query (Select) shows old records >>>> whereas data was changed a few minutes before. >>>> > >>>> > Sometimes updated data reflects back in FreeSWITCH after several >>>> minutes. Whereas in PHPadmin I see updated data for the query. >>>> > I have asked the question on IRC where they advised me to change the >>>> database. >>>> > >>>> > Is there any workaround for this? Does freeswich caches data from >>>> sqlite? >>>> > >>>> > Sorry for asking again, we have a system in production doing some >>>> sqlite select queries, changing database would be the last option. >>>> > >>>> > Best, >>>> > Aqs Younas >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> 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 <(919)%20386-9900> >> >> 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/20161214/de764a5a/attachment.html From anthony.minessale at gmail.com Wed Dec 14 09:49:27 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 14 Dec 2016 00:49:27 -0600 Subject: [Freeswitch-users] FS changes to transcoding after hold In-Reply-To: References: <20161209214734.GA2498@hotdamn.lan> <20161210154049.GA2603@hotdamn.lan> Message-ID: you could try setting execute_on_answer variable to lock in the codec Make an extension in the same context "assuming default for this example" In your normal call processing extension add this condition before calling bridge: Then when the channel is answered it will execute the extension and set the absolute_codec_string to whatever codec was first negotiated, that should limit what it will choose on the re-invite. You can probably set it on both legs with "export" instead of set or by adding it also to the {} before bridge. Dialplan: sofia/internal/1007 at 192.168.168.35 Regex (PASS) [lock_codec] destination_number(lock_codec) =~ /^lock_codec$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.168.35 Action set(absolute_codec_string=${rtp_use_codec_name}) 2016-12-14 00:51:19.722495 [NOTICE] switch_core_session.c:2966 Execute set(absolute_codec_string=${rtp_use_codec_name}) EXECUTE sofia/internal/1007 at 192.168.168.35 set(absolute_codec_string=PCMU) 2016-12-14 00:51:19.722495 [DEBUG] mod_dptools.c:1562 SET sofia/internal/ 1007 at 192.168.168.35 [absolute_codec_string]=[PCMU] On Mon, Dec 12, 2016 at 12:37 AM, Joshua Gigg wrote: > I opened a JIRA on a related note earlier this year, because when you have > this call recorded, and it gets switched between G711 and G722, it messes > up the recording. > > On Mon, 12 Dec 2016, 04:11 Sebastian Kemper, wrote: > >> On Fri, Dec 09, 2016 at 10:47:35PM +0100, Sebastian Kemper wrote: >> >> >> >> > It's probably not the smartest move for the phone to renegotiate codecs >> > at this point. But I think FS should be able to deal with it (without >> > simply falling back to transcoding). I've tried if putting >> > "disable-transcoding" into the profiles changes anything, but it didn't. >> > "renegotiate-codec-on-hold" and "renegotiate-codec-on-reinvite" are >> gone >> > since FS 1.6.10 so I can't try those. I read something about >> > "indicate_hold" which probably means that FS will send a reINVITE on the >> > other leg, so I might try that. >> >> I thought about it some more and came to the conclusion that for a B2BUA >> it does seem legit to accept the first codec in the reINVTIE's offer and >> use transcoding to make the bridge work. It's not what I would like to >> happen, but that's a different story :D >> >> I also found a posting from 2011 which mentions this behavior: >> http://lists.freeswitch.org/pipermail/freeswitch-users/ >> 2011-December/078228.html >> >> Anyway, "case closed". >> >> Regards, >> Sebastian >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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/20161214/97b3c05c/attachment-0001.html From t90fpe at outlook.com Wed Dec 14 10:46:25 2016 From: t90fpe at outlook.com (Fred Pettersson) Date: Wed, 14 Dec 2016 07:46:25 +0000 Subject: [Freeswitch-users] Screen/document sharing with WebRTC/Verto API? In-Reply-To: References: , Message-ID: Thank you Anthony. I'll look into that. Any examples out there and what about document sharing? /Fred ________________________________ Fr?n: freeswitch-users-bounces at lists.freeswitch.org f?r Anthony Minessale Skickat: den 13 december 2016 17:08:27 Till: FreeSWITCH Users Help ?mne: Re: [Freeswitch-users] Screen/document sharing with WebRTC/Verto API? Screen share works with conferences, its added as an additional call from the same client with no audio. The video feed of that extra call is the image from your share. On Tue, Dec 13, 2016 at 9:44 AM, Fred Pettersson > wrote: Can someone point me to an example of how-to do screen/document sharing and Verto API? Maybe a stupid question: since FreeSWITCH is a b2bua - does documents go (flow) through FreeSWITCH when screen/document sharing with WebRTC/Verto? Regards, Fred _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org 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/20161214/4b03bc45/attachment.html From andrew at cassidywebservices.co.uk Wed Dec 14 12:09:21 2016 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Wed, 14 Dec 2016 09:09:21 +0000 Subject: [Freeswitch-users] Lua DTMF Test In-Reply-To: <3AC0F971-B37C-490A-8890-ECD92CE0E07A@jerris.com> References: <3AC0F971-B37C-490A-8890-ECD92CE0E07A@jerris.com> Message-ID: Hi Mike, Thanks for responding but I've resolved the issue by not being a moron, the code I quoted works just fine. The code that was throwing the error is session = freeswitch.Session("sofia/external/" .. argv[1] .. "@london.out.simwood.com"); Which has a superfluous semi-colon on the end On 13 December 2016 at 19:51, Michael Jerris wrote: > what is the exact complete contents of those 2 lua scripts? > > On Dec 13, 2016, at 2:15 PM, Andrew Cassidy uk> wrote: > > Hi guys, > > Trying to build a DTMF test using flite TTS. So far I have this: > > session:setVariable("tts_engine", "flite") > session:setVariable("tts_voice", "stm") > digits = session:playAndGetDigits(2, 30, 3, 5000, "#", "say:Please enter some digits, followed by the hash key.", "say:Sorry, I didn't catch that. Please try again.", "\\d+") > session:execute("speak", "flite|stm|" .. digits) > > > I keep getting the following error and can't work out why: > > 2016-12-13 19:16:10.377932 [ERR] mod_lua.cpp:203 > /usr/share/freeswitch/scripts/dtmf_test.lua:9: attempt to concatenate > field '?' (a nil value) > stack traceback: > /usr/share/freeswitch/scripts/dtmf_test.lua:2: in main chunk > > It's mostly something stupid I'm doing, out of everything I'm good at lua > isn't one of them! > > Does anyone have any ideas what I'm doing wrong? > > Kind regards, > > -- > *Andrew Cassidy BSc (Hons) MBCS SSCA* > Managing Director > > 03303 880 960 <0330%20388%200960> andrew at cassidyweb.co.uk > www.cassidyweb.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 > -- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director 03303 880 960 andrew at cassidyweb.co.uk www.cassidyweb.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161214/cdc25740/attachment.html From vbvbrj at gmail.com Wed Dec 14 14:01:21 2016 From: vbvbrj at gmail.com (Mimiko) Date: Wed, 14 Dec 2016 13:01:21 +0200 Subject: [Freeswitch-users] mod_conference Error Opening File Message-ID: <9f6a92d2-9ff6-db45-48ef-95ff355533df@gmail.com> Hello. Recentrly I've added to conference configs. So, despite the path is writable by freeswitch user under which FS is running, `Error Opening File` appears lots of times. As soon I create the corresponding folder structure - the problem disappear. As I configured to have each day folder, next day problem appears and I have to manually create folder. I'm on FreeSWITCH Version 1.5.6b+git~20130928T022323Z~6b9382290d Yes, its old, but callcenter module creates folders automatically. Does in latest version FS creates folders automatically for conference recordings? -- Mimiko desu. From devang.nathwani31589 at gmail.com Wed Dec 14 14:04:23 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Wed, 14 Dec 2016 16:34:23 +0530 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: References: <6f558f34-08cc-7cac-1746-218ea334fe3d@xbipin.com> <3267e4ba-ae9c-d349-e57e-50ea87c5ce84@xbipin.com> Message-ID: I am sending fax from the Zoiper for testing and getting this error from server, freeswitch version: FreeSWITCH Version 1.6.12~64bit ( 64bit) OS:Debian GNU/Linux 8 https://pastebin.freeswitch.org/view/3cd3c224 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:496 ============================================================================== 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (35) Unexpected DCN while waiting for DCS or DIS. 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 14400 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:521 ECM status off 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:522 remote country: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:523 remote vendor: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:524 remote model: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:526 ============================================================================== On Thu, Dec 8, 2016 at 8:19 PM, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > Thanks Bipin > > On Wed, Dec 7, 2016 at 7:31 PM, Bipin Patel wrote: > >> hi, >> >> attached is the script >> >> >> Regards, >> Bipin >> >> >> ------------------------------ >> -------- Original Message -------- >> Subject: Re: [Freeswitch-users] Fax 2 Email issue >> From: devang nathwani >> >> To: FreeSWITCH Users Help >> >> Date: 12/7/2016, 3:57:45 PM >> >> @Bipin, >> Yes please, share your python script >> >> >> _________________________________________________________________________ >> 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/20161214/1cc46524/attachment.html From aqsyounas at gmail.com Wed Dec 14 16:22:25 2016 From: aqsyounas at gmail.com (Aqs Younas) Date: Wed, 14 Dec 2016 18:22:25 +0500 Subject: [Freeswitch-users] freeswitch fetching old records from sqlite In-Reply-To: References: Message-ID: 1) FreeSWITCH Version 1.6.9+git~20160613T181044Z~d574870720~64bit (git d574870 2016-06-13 18:10:44Z 64bit) 2) No, I had not tried Lua yet but would give Lua a try and reply back with results here 3) We are not using closures in code. 4) We get updated results through command line Thank you for your time. On 14 December 2016 at 11:14, Anthony Minessale wrote: > What version of FS are you using? > Does the same thing happen if you use LUA? Maybe you can try a LUA > example script to rule out an issue in JS. > Does your code use any closures that may be causing the appearance of > cached data? > What about the sqlite command line tool? > > > > > On Tue, Dec 13, 2016 at 1:56 PM, Aqs Younas wrote: > >> I should have provided more info. >> Yes, this is a separate SQLite database being shared with FreeSWITCH. >> Below is the javascript code snippet accessing database and querying the >> records. >> >> var coreDbFile = "/opt/db/db.db" // This is a sparate database then >> freeswitch core database having custome tables only. >> var db = new CoreDB(coreDbFile); >> sql = "SELECT * FROM pool_campaigns_view WHERE pool_id = '" + 65 + "'"; >> db.prepare(sql); >> while(db.next()) { >> hash = db.fetch(); >> console_log("info", "Campaign ID: " + hash['campaign_id'] + ", Weight: " >> + hash['weight']); >> } >> Sorry if there was something inappropriate in previous email and also not >> clear what type of logs i should provide for this. >> >> On 13 December 2016 at 23:58, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> Which data do you mean exactly? >>> >>> You said you use sqlite but its a different db than FS core. So is this >>> extra sqlite db being shared with FS? How is FS accessing it. >>> Its not really clear enough of an explanation to understand fully. >>> >>> >>> On Tue, Dec 13, 2016 at 12:46 PM, Aqs Younas >>> wrote: >>> >>>> Thanks for replying. We are not caching data it is just a simple select >>>> query and logging in the console. >>>> >>>> On 13 December 2016 at 23:39, Michael Jerris wrote: >>>> >>>>> I can?t think of anyplace we would be caching data unless its >>>>> somewhere in your js code that you are caching results. >>>>> >>>>> >>>>> > On Dec 13, 2016, at 1:35 PM, Aqs Younas wrote: >>>>> > >>>>> > Hi, >>>>> > We are using SQLite(separate database than core) with javascript and >>>>> have observed a bizarre issue. Freeswitch query (Select) shows old records >>>>> whereas data was changed a few minutes before. >>>>> > >>>>> > Sometimes updated data reflects back in FreeSWITCH after several >>>>> minutes. Whereas in PHPadmin I see updated data for the query. >>>>> > I have asked the question on IRC where they advised me to change the >>>>> database. >>>>> > >>>>> > Is there any workaround for this? Does freeswich caches data from >>>>> sqlite? >>>>> > >>>>> > Sorry for asking again, we have a system in production doing some >>>>> sqlite select queries, changing database would be the last option. >>>>> > >>>>> > Best, >>>>> > Aqs Younas >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-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 <(919)%20386-9900> >>> >>> 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 <(919)%20386-9900> > > 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/20161214/cd969ea2/attachment-0001.html From brian at freeswitch.org Wed Dec 14 18:24:31 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 14 Dec 2016 09:24:31 -0600 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: References: <6f558f34-08cc-7cac-1746-218ea334fe3d@xbipin.com> <3267e4ba-ae9c-d349-e57e-50ea87c5ce84@xbipin.com> Message-ID: You should try 1.6.13, it has a fix specifically to correct a somewhat problematic error in fax handing. Especially t.38. /b On Wed, Dec 14, 2016 at 5:04 AM, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > I am sending fax from the Zoiper for testing and getting this error from server, > freeswitch version: FreeSWITCH Version 1.6.12~64bit ( 64bit) > OS:Debian GNU/Linux 8 > > https://pastebin.freeswitch.org/view/3cd3c224 > > 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:496 ============================================================================== > 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (35) Unexpected DCN while waiting for DCS or DIS. > 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:513 Remote station id: > 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident > 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 > 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 > 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 > 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 14400 > 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:521 ECM status off > 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:522 remote country: > 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:523 remote vendor: > 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:524 remote model: > 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:526 ============================================================================== > > > On Thu, Dec 8, 2016 at 8:19 PM, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> Thanks Bipin >> >> On Wed, Dec 7, 2016 at 7:31 PM, Bipin Patel wrote: >> >>> hi, >>> >>> attached is the script >>> >>> >>> Regards, >>> Bipin >>> >>> >>> ------------------------------ >>> -------- Original Message -------- >>> Subject: Re: [Freeswitch-users] Fax 2 Email issue >>> From: devang nathwani >>> >>> To: FreeSWITCH Users Help >>> >>> Date: 12/7/2016, 3:57:45 PM >>> >>> @Bipin, >>> Yes please, share your python script >>> >>> >>> _________________________________________________________________________ >>> 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 > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161214/3cf64968/attachment.html From marcel.haldemann at convercom.ch Wed Dec 14 18:36:20 2016 From: marcel.haldemann at convercom.ch (Marcel Haldemann) Date: Wed, 14 Dec 2016 15:36:20 +0000 Subject: [Freeswitch-users] Generating a INVITE with multipart content Message-ID: Hi, I need to generate a "content-type: Multipart" Body and add two additional content parts to an INVITE on the B-LEG (bridge). Is this currently supported ? I found there is the variable sip_multipart. If I set something in this var the outbound INVITE is MULTIPART. How can I add two additional parts to the body ? Tried some wired stuff such as: How to add this body parts ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161214/d60d4d50/attachment-0001.html From mike at jerris.com Wed Dec 14 19:23:50 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 14 Dec 2016 11:23:50 -0500 Subject: [Freeswitch-users] mod_conference Error Opening File In-Reply-To: <9f6a92d2-9ff6-db45-48ef-95ff355533df@gmail.com> References: <9f6a92d2-9ff6-db45-48ef-95ff355533df@gmail.com> Message-ID: <26728E1C-DA86-4365-B0F2-23C021067494@jerris.com> I think this has been fixed in newer code. I suggest you test to be sure, and if not file a lira and we can look at it. > On Dec 14, 2016, at 6:01 AM, Mimiko wrote: > > Hello. > > Recentrly I've added > value="$${recordings_dir}/conference/${conference_name}/${strftime(%Y)}/${strftime(%Y-%m)}/${strftime(%Y-%m-%d)}/${conference_name}_${strftime(%Y-%m-%d-%H-%M-%S)}.mp3"/> > > to conference configs. So, despite the path is writable by freeswitch > user under which FS is running, `Error Opening File` appears lots of > times. As soon I create the corresponding folder structure - the problem > disappear. As I configured to have each day folder, next day problem > appears and I have to manually create folder. > > I'm on FreeSWITCH Version 1.5.6b+git~20130928T022323Z~6b9382290d > Yes, its old, but callcenter module creates folders automatically. > > Does in latest version FS creates folders automatically for conference > recordings? > > -- > Mimiko desu. From s.safarov at gmail.com Wed Dec 14 19:34:50 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 14 Dec 2016 16:34:50 +0000 Subject: [Freeswitch-users] WebRTC call Message-ID: Are is possible to originate call via WebRTC from one FreeSwitch to other? Like > Sergey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161214/dba72528/attachment.html From Shawn.Wheeler at interlockconcepts.com Wed Dec 14 20:16:06 2016 From: Shawn.Wheeler at interlockconcepts.com (Shawn Wheeler) Date: Wed, 14 Dec 2016 17:16:06 +0000 Subject: [Freeswitch-users] Outbound calling with Flow route Message-ID: I have in the past setup a FS system to use FLowroute.com as my gateway and it worked well. I am trying on a new machine. I can into the FS system. But when I try to call out, it fails. I am sure I missed a setting but do not remember where to look. My phone screen reads bad gate way Any help is appreciated. Shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161214/b33c5a6d/attachment.html From tculjaga at gmail.com Wed Dec 14 21:26:31 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Wed, 14 Dec 2016 19:26:31 +0100 Subject: [Freeswitch-users] WebRTC QoS Message-ID: hello, is there any way to set DSCP flag on media packets fro WebRTC or verto ? T. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161214/84fc3b79/attachment.html From tculjaga at gmail.com Wed Dec 14 21:37:56 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Wed, 14 Dec 2016 19:37:56 +0100 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: References: <6f558f34-08cc-7cac-1746-218ea334fe3d@xbipin.com> <3267e4ba-ae9c-d349-e57e-50ea87c5ce84@xbipin.com> Message-ID: Try using ECM = true on the remote fax, this helps a lot. Also, lower speed from 14400 to 9600. im using T.30 faxing with FreeSWITCH 1.4.7 version and it works really nice. T. On 14 December 2016 at 16:24, Brian West wrote: > You should try 1.6.13, it has a fix specifically to correct a somewhat > problematic error in fax handing. Especially t.38. > > /b > > > On Wed, Dec 14, 2016 at 5:04 AM, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> I am sending fax from the Zoiper for testing and getting this error from server, >> freeswitch version: FreeSWITCH Version 1.6.12~64bit ( 64bit) >> OS:Debian GNU/Linux 8 >> >> https://pastebin.freeswitch.org/view/3cd3c224 >> >> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:496 ============================================================================== >> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (35) Unexpected DCN while waiting for DCS or DIS. >> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:513 Remote station id: >> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident >> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 >> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 >> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 >> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 14400 >> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:521 ECM status off >> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:522 remote country: >> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:523 remote vendor: >> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:524 remote model: >> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:526 ============================================================================== >> >> >> On Thu, Dec 8, 2016 at 8:19 PM, devang nathwani < >> devang.nathwani31589 at gmail.com> wrote: >> >>> Thanks Bipin >>> >>> On Wed, Dec 7, 2016 at 7:31 PM, Bipin Patel wrote: >>> >>>> hi, >>>> >>>> attached is the script >>>> >>>> >>>> Regards, >>>> Bipin >>>> >>>> >>>> ------------------------------ >>>> -------- Original Message -------- >>>> Subject: Re: [Freeswitch-users] Fax 2 Email issue >>>> From: devang nathwani >>>> >>>> To: FreeSWITCH Users Help >>>> >>>> Date: 12/7/2016, 3:57:45 PM >>>> >>>> @Bipin, >>>> Yes please, share your python script >>>> >>>> >>>> _________________________________________________________________________ >>>> 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/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 > <+1%20918-420-9002> | *M:*+1918424WEST (9378) > *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/20161214/e1b0c3aa/attachment-0001.html From anthony.minessale at gmail.com Wed Dec 14 22:32:11 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 14 Dec 2016 13:32:11 -0600 Subject: [Freeswitch-users] Screen/document sharing with WebRTC/Verto API? In-Reply-To: References: Message-ID: The Verto Communicator is in tree and has controls for it. On Wed, Dec 14, 2016 at 1:46 AM, Fred Pettersson wrote: > Thank you Anthony. I'll look into that. > > > Any examples out there and what about document sharing? > > > /Fred > ------------------------------ > *Fr?n:* freeswitch-users-bounces at lists.freeswitch.org < > freeswitch-users-bounces at lists.freeswitch.org> f?r Anthony Minessale < > anthony.minessale at gmail.com> > *Skickat:* den 13 december 2016 17:08:27 > *Till:* FreeSWITCH Users Help > *?mne:* Re: [Freeswitch-users] Screen/document sharing with WebRTC/Verto > API? > > Screen share works with conferences, its added as an additional call from > the same client with no audio. > The video feed of that extra call is the image from your share. > > > On Tue, Dec 13, 2016 at 9:44 AM, Fred Pettersson > wrote: > >> Can someone point me to an example of how-to do screen/document sharing >> and Verto API? >> >> >> Maybe a stupid question: since FreeSWITCH is a b2bua - does documents go >> (flow) through FreeSWITCH when screen/document sharing with WebRTC/Verto? >> >> >> >> Regards, >> >> Fred >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> 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 <(919)%20386-9900> > > 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 > -- 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/20161214/197e4678/attachment.html From tculjaga at gmail.com Wed Dec 14 23:04:16 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Wed, 14 Dec 2016 21:04:16 +0100 Subject: [Freeswitch-users] Voice quality problem In-Reply-To: References: Message-ID: i would start looking at your IP connectivity between the agent phone and your client. "robotic" voice is sign of packets dropping out of jitter buffer so my guess is you are running your call center on top of a best effort data network. try configure QoS on your network. T. On 13 December 2016 at 10:29, Babak Yakhchali wrote: > Hi > We are using freeswitch for our callcenter. Sometimes agents complain that > when the call is connected to them voice is robotic and after they hold the > call for some seconds quality becomes ok! how can I troubleshoot such a > problem. all agents are using cisco 7941, 7942 or cisco ipcommunicator > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161214/2120b306/attachment.html From andretodd at verizon.net Wed Dec 14 23:12:50 2016 From: andretodd at verizon.net (Andre DeMattia) Date: Wed, 14 Dec 2016 15:12:50 -0500 Subject: [Freeswitch-users] change P-Asserted-Identity Message-ID: <01b601d25646$720bc880$56235980$@verizon.net> HI, We have a dial plan that we require our customers to send us the Dial Number with a custom prefix, let's say 7000. We use this prefix to know where to route the call. We will strip the prefix and dial the correct number (sofia/internal/1xxxxxxxxxx;npdi=yes at xxx.xxx.xxx.xxxx:5060) On the 183 the pcap shows P-Asserted-Identity: "7000xxxxxxxxxx" I have no idea how that prefix got onto the P-Assereted-Identity. Can someone help me know how to change that to the real dialed number and strip the prefix? From anton.vazir at gmail.com Wed Dec 14 23:50:45 2016 From: anton.vazir at gmail.com (Anton VG) Date: Wed, 14 Dec 2016 23:50:45 +0300 Subject: [Freeswitch-users] FS not sending me BYE when channel hangup Message-ID: Hello ) 2nd day fighting with issue, not able to find it's source. We developed 2 SIP apps - for Android and IOS (using PJSIP) For Android all fine :) For IOS - when remote party hangs up - FS does not send BYE message. There must be something I'm missing, when doing either INVIE or else - but I can't find any serious difference between Android and IOS invites. Maybe someone have a clue, how it's possible to ask FS to not send BYE? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161214/a0ae2b58/attachment.html From daveh at beachdognet.com Wed Dec 14 23:53:54 2016 From: daveh at beachdognet.com (Dave Horton) Date: Wed, 14 Dec 2016 15:53:54 -0500 Subject: [Freeswitch-users] Dialplan not executed when INVITE has no SDP (3pcc) In-Reply-To: References: <39BB44CB-29AA-4A06-BCB1-04717036A960@beachdognet.com> <2F136580-7AE0-49CF-9BB0-A4F2D087225F@beachdognet.com> <73FCA478-3729-4E70-BD04-2C131D827523@jerris.com> <92ECA4E7-ACE5-4BF9-BA57-7E6D2961075B@beachdognet.com> Message-ID: Just to close this out, I can confirm that 3pcc INVITEs are now working for me (enable-3pcc=true) and dialplan triggered upon arrival of proper ACK. Many thanks! On Dec 13, 2016, at 2:00 PM, Anthony Minessale wrote: Yes when you set the 3pcc to "true" that is how it works. it waits for the ack + sdp then it hits the dialplan. When 3pcc=proxy it hits the dialplan expecting you to bridge the call to another device such as a phone and uses that phone's SDP in the response. On Tue, Dec 13, 2016 at 12:56 PM, Dave Horton > wrote: Yes, right now I do not have the ACK working. And I can fix that, but it is not what is blocking me. The fact that freeswitch does not execute the dialplan means that my application does not get notified of this channel. Essentially, if I provide an SDP in the ACK I could get a channel allocated, but no way to control it. Why is the dialplan not being executed? Would it be executed upon the arrival of an ACK w/ SDP ? On Dec 13, 2016, at 1:38 PM, Michael Jerris > wrote: Looked at your trace. The endpoint is broken. Its doing a 3pcc invite, then ACKing w/o SDP. > On Dec 13, 2016, at 1:23 PM, Dave Horton > wrote: > > I?ve opened JIRA 9849 on this issue > > https://freeswitch.org/jira/browse/FS-9849 > > On Dec 13, 2016, at 11:51 AM, Dave Horton > wrote: > > Hi there - > > I?m actually the one that opened this topic (though it seems like Serge has done some testing on it as well). > > I?d be happy to test on latest master and open JIRA etc., and will do so today... > > The one thing that would be helpful to me though, would be to understand what is expected behavior: > > specifically, if I send an INVITE without SDP, and with enable-3pcc=true, should it execute the dialplan? > > If this is not expected behavior, I?d really like to understand why. > > Knowing the above will help me open a more appropriate and targeted JIRA. > > Dave > > On Dec 13, 2016, at 11:41 AM, Brian West > wrote: > > Serge, > > Have you tried lastest master? How are we to fix issues that come up if nobody tells us about it. Please re-test on master, and verify if the issue persists, if so then file a JIRA with the appropriate details. Packet Captures and such, I would also like to have a SIPP scenario created that can speed the resolution of your issue, Do you know how to make one of those from your pcap? > > This sipp business might make a great topic for one of our weekly calls. > > /b > > On Tue, Dec 13, 2016 at 4:13 AM, Serge S. Yuriev > wrote: > 3pcc was deadly broken on very beginning of June. Last working version - > last of May. > > On 13/12/16 05:58, Dave Horton wrote: > > I notice that when I set: > > > > To: freeswitch-users at lists.freeswitch.org Good Evening, I recently set up a floating IP on freeswitch as I have 2 servers that will be running as active and standby in case one goes down. I have the sip profiles for internal and external ipv4 as well as verto communicator's conf file set to bind to this floating IP. I also added the required thing to sysctl as listed on the high availability page so that it won't have problems binding to that IP if it wasn't there for some reason. After I set this all up I noticed I could no longer connect to the CLI with fs_cli. Is there some special arguments that have to be passed or used to access the CLI when using a floating IP address? Some notes of my set up: Though I mention high availability, I only referenced it for any settings that may be needed for freeswitch to bind properly to a floating IP and do not actually plan on doing anything else besides this floating IP. Right before I set this up my coworker had shut IPv6 off on the server as it was not needed. I noticed this as the IPv6 profiles couldn't bind anymore, and I had temporarily removed the sip profiles to remove errors in case that was a problem. Thanks in advance, Zach R From gascagonzalo at gmail.com Thu Dec 15 04:54:40 2016 From: gascagonzalo at gmail.com (Gonzalo Gasca Meza) Date: Wed, 14 Dec 2016 17:54:40 -0800 Subject: [Freeswitch-users] WebRTC QoS In-Reply-To: References: Message-ID: Hi Tihomir, DSCP marking depends really on the browser and OS platform as its internal modules are the ones building up and tagging the Media information. My understanding is that Chrome DSCP config settings is being there for couple of years (Set 'googdscp' to true) , just bear in mind that depending on the platform and OS you may need to test it. https://bugs.chromium.org/p/webrtc/issues/detail?id=5836 I found this defect on Mozilla Browser website which still open: https://bugzilla.mozilla.org/show_bug.cgi?id=1249575 Apart from setting DSCP value at the source which is the recommended options for QOS endpoints, remember you can always rewrite at any entry point in your network and make sure that DSCP value is honored and prioritize end to end. -Gonzalo On Wed, Dec 14, 2016 at 10:26 AM, Tihomir Culjaga wrote: > hello, > > is there any way to set DSCP flag on media packets fro WebRTC or verto ? > > 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/20161214/ae45a06b/attachment.html From gascagonzalo at gmail.com Thu Dec 15 06:37:07 2016 From: gascagonzalo at gmail.com (Gonzalo Gasca Meza) Date: Wed, 14 Dec 2016 19:37:07 -0800 Subject: [Freeswitch-users] Voice quality problem In-Reply-To: References: Message-ID: Is Freeswitch terminating the call as well? Or media flows between IP Phone and external SIP Trunk. Cisco Phones offer your CDR/CMR records which give you a good detail in terms of Media statistics. If using CUCM you need to enable it in Service Parameters. You need to isolate it to: 1. Device, device firmware 2. Location 3. Time of the day when this happens. 4. Check all network path ( IP Phone -> Access switch -> Core switch -> Router -> Public Router -> Internet...) etc. 5. Validate correct NIC settings (speed) and LAN QoS. 6. Etc... On Tue, Dec 13, 2016 at 1:29 AM, Babak Yakhchali wrote: > Hi > We are using freeswitch for our callcenter. Sometimes agents complain that > when the call is connected to them voice is robotic and after they hold the > call for some seconds quality becomes ok! how can I troubleshoot such a > problem. all agents are using cisco 7941, 7942 or cisco ipcommunicator > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161214/d17b0ac9/attachment.html From vbvbrj at gmail.com Thu Dec 15 09:48:14 2016 From: vbvbrj at gmail.com (Mimiko) Date: Thu, 15 Dec 2016 08:48:14 +0200 Subject: [Freeswitch-users] mod_conference Error Opening File In-Reply-To: <26728E1C-DA86-4365-B0F2-23C021067494@jerris.com> References: <9f6a92d2-9ff6-db45-48ef-95ff355533df@gmail.com> <26728E1C-DA86-4365-B0F2-23C021067494@jerris.com> Message-ID: <5fa8ed53-1af3-75f5-1f3f-1c6b736be79b@gmail.com> On 14.12.2016 18:23, Michael Jerris wrote: > I think this has been fixed in newer code. I suggest you test to be sure, and if not file a lira and we can look at it. Thank you. I cannot test right now. Latest version does not compile on Debian 6. Thats why I asked if it is resolved in newer version. Otherwise I'd test. -- Mimiko desu. From devang.nathwani31589 at gmail.com Thu Dec 15 10:02:31 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Thu, 15 Dec 2016 12:32:31 +0530 Subject: [Freeswitch-users] Multi domain voice mail issue Message-ID: Hello, I am using multi-domain system in freeswitch, i have register sip-devices using domain name(demo1.xyz.com) and trying to make call to sip to sip(on-net/local) call and it's working but when another sip-device was busy or not register that time call should pass in voicemail but in getting ' Can't find user [1883317281 at demo1.xyz.com]'. 192.168.1.35 is server IP 192.168.1.30 from where i am regsitring. https://pastebin.freeswitch.org/view/efb0d2e5 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/91f1ea9b/attachment.html From s.safarov at gmail.com Thu Dec 15 11:14:43 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 15 Dec 2016 08:14:43 +0000 Subject: [Freeswitch-users] FS not sending me BYE when channel hangup In-Reply-To: References: Message-ID: I have similar issue. Look at sip authentication in bye message. Thing in your case Auth header not present. ??, 14 ???. 2016, 23:51 Anton VG : > Hello ) > > 2nd day fighting with issue, not able to find it's source. > We developed 2 SIP apps - for Android and IOS (using PJSIP) > For Android all fine :) > For IOS - when remote party hangs up - FS does not send BYE message. > There must be something I'm missing, when doing either INVIE or else - but > I can't find any serious difference between Android and IOS invites. > Maybe someone have a clue, how it's possible to ask FS to not send BYE? > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/9399e46d/attachment-0001.html From thesipguy at gmail.com Thu Dec 15 11:27:06 2016 From: thesipguy at gmail.com (Schneur Rosenberg) Date: Thu, 15 Dec 2016 10:27:06 +0200 Subject: [Freeswitch-users] FS not sending me BYE when channel hangup In-Reply-To: References: Message-ID: Sometimes it can be due to NAT issues, for example if the ACK does not replace the contact with a external address. On Dec 15, 2016 10:15, "Sergey Safarov" wrote: > I have similar issue. Look at sip authentication in bye message. Thing in > your case Auth header not present. > > ??, 14 ???. 2016, 23:51 Anton VG : > >> Hello ) >> >> 2nd day fighting with issue, not able to find it's source. >> We developed 2 SIP apps - for Android and IOS (using PJSIP) >> For Android all fine :) >> For IOS - when remote party hangs up - FS does not send BYE message. >> There must be something I'm missing, when doing either INVIE or else - >> but I can't find any serious difference between Android and IOS invites. >> Maybe someone have a clue, how it's possible to ask FS to not send BYE? >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/29acdbdf/attachment.html From asilva at wirelessmundi.com Thu Dec 15 12:01:21 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Thu, 15 Dec 2016 10:01:21 +0100 Subject: [Freeswitch-users] sqlite3 in core with journal_mode=wall Message-ID: Hi all, In the code i see PRAGMA journal_mode=OFF; when using sqlite3 for core dbs, it's there a downside of using PRAGMA journal_mode=WAL ? Anyone using this mode? Thanks. -- Saludos / Regards / Cumprimentos, Ant?nio silva From devang.nathwani31589 at gmail.com Thu Dec 15 15:04:40 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Thu, 15 Dec 2016 17:34:40 +0530 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: References: <6f558f34-08cc-7cac-1746-218ea334fe3d@xbipin.com> <3267e4ba-ae9c-d349-e57e-50ea87c5ce84@xbipin.com> Message-ID: Freeswitch upgraded, FreeSWITCH Version 1.6.13~64bit ( 64bit) facing the same issue. On Thu, Dec 15, 2016 at 12:07 AM, Tihomir Culjaga wrote: > Try using ECM = true on the remote fax, this helps a lot. > Also, lower speed from 14400 to 9600. > > im using T.30 faxing with FreeSWITCH 1.4.7 version and it works really > nice. > > T. > > On 14 December 2016 at 16:24, Brian West wrote: > >> You should try 1.6.13, it has a fix specifically to correct a somewhat >> problematic error in fax handing. Especially t.38. >> >> /b >> >> >> On Wed, Dec 14, 2016 at 5:04 AM, devang nathwani < >> devang.nathwani31589 at gmail.com> wrote: >> >>> I am sending fax from the Zoiper for testing and getting this error from server, >>> freeswitch version: FreeSWITCH Version 1.6.12~64bit ( 64bit) >>> OS:Debian GNU/Linux 8 >>> >>> https://pastebin.freeswitch.org/view/3cd3c224 >>> >>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:496 ============================================================================== >>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (35) Unexpected DCN while waiting for DCS or DIS. >>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:513 Remote station id: >>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident >>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 >>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 >>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 >>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 14400 >>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:521 ECM status off >>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:522 remote country: >>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:523 remote vendor: >>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:524 remote model: >>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:526 ============================================================================== >>> >>> >>> On Thu, Dec 8, 2016 at 8:19 PM, devang nathwani < >>> devang.nathwani31589 at gmail.com> wrote: >>> >>>> Thanks Bipin >>>> >>>> On Wed, Dec 7, 2016 at 7:31 PM, Bipin Patel wrote: >>>> >>>>> hi, >>>>> >>>>> attached is the script >>>>> >>>>> >>>>> Regards, >>>>> Bipin >>>>> >>>>> >>>>> ------------------------------ >>>>> -------- Original Message -------- >>>>> Subject: Re: [Freeswitch-users] Fax 2 Email issue >>>>> From: devang nathwani >>>>> >>>>> To: FreeSWITCH Users Help >>>>> >>>>> Date: 12/7/2016, 3:57:45 PM >>>>> >>>>> @Bipin, >>>>> Yes please, share your python script >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> 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/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 >> <+1%20918-420-9002> | *M:*+1918424WEST (9378) >> *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/20161215/642cf8ae/attachment-0001.html From tculjaga at gmail.com Thu Dec 15 15:11:52 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Thu, 15 Dec 2016 13:11:52 +0100 Subject: [Freeswitch-users] WebRTC QoS In-Reply-To: References: Message-ID: hi Gonzalo, thanks for your kind response. I'm using verto and i was able to add audioParams: { googEchoCancellation: true, googAutoGainControl: true, googNoiseSuppression: true, googHighpassFilter: true, googTypingNoiseDetection: true, googEchoCancellation2: false, googAutoGainControl2: false, googDscp: true, }, within verto init. well, my chrome still didn't want to mark the media packets :=) i tried this on win7 and an older version of chrome (Version 49.0.2623.110 m) i had hands on. Im going to try this with latest chrome on both win10 and linux. maybe this is going to work :=) as for dscp rewriting, i can do it easy, but when chrome does a video streaming ( e.g. youtube ) and makes a webrtc call, it should somehow give priority to webrtc call bofore video striming :=) Also, unfortunately, many clients are not be able to re-mark media packets generated by webrtc call we need to find a solution on the browser itself. On 15 December 2016 at 02:54, Gonzalo Gasca Meza wrote: > Hi Tihomir, > > DSCP marking depends really on the browser and OS platform as its internal > modules are the ones building up and tagging the Media information. > > My understanding is that Chrome DSCP config settings is being there for > couple of years (Set 'googdscp' to true) , just bear in mind that > depending on the platform and OS you may need to test it. > > https://bugs.chromium.org/p/webrtc/issues/detail?id=5836 > > I found this defect on Mozilla Browser website which still open: > https://bugzilla.mozilla.org/show_bug.cgi?id=1249575 > > Apart from setting DSCP value at the source which is the recommended > options for QOS endpoints, remember you can always rewrite at any entry > point in your network and make sure that DSCP value is honored and > prioritize end to end. > > -Gonzalo > > > On Wed, Dec 14, 2016 at 10:26 AM, Tihomir Culjaga > wrote: > >> hello, >> >> is there any way to set DSCP flag on media packets fro WebRTC or verto ? >> >> 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 >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/624bda13/attachment.html From tculjaga at gmail.com Thu Dec 15 15:22:31 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Thu, 15 Dec 2016 13:22:31 +0100 Subject: [Freeswitch-users] Fax 2 Email issue In-Reply-To: References: <6f558f34-08cc-7cac-1746-218ea334fe3d@xbipin.com> <3267e4ba-ae9c-d349-e57e-50ea87c5ce84@xbipin.com> Message-ID: can you try using ECM ? also, try using a real fax machine instead of zoiper. i never tried to send a fax with zoiper, what is it using, T.30 or T.38 ? but, anyhow, what you are trying to do is a basic call flow that works out of the box. if you are using T.30, get a tcpdump/wireshark dump of your fax call, extract the audio from it and try decoding it with fax_decode utility included with spandsp. This will give you more details. T. On 15 December 2016 at 13:04, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > Freeswitch upgraded, > FreeSWITCH Version 1.6.13~64bit ( 64bit) > facing the same issue. > > On Thu, Dec 15, 2016 at 12:07 AM, Tihomir Culjaga > wrote: > >> Try using ECM = true on the remote fax, this helps a lot. >> Also, lower speed from 14400 to 9600. >> >> im using T.30 faxing with FreeSWITCH 1.4.7 version and it works really >> nice. >> >> T. >> >> On 14 December 2016 at 16:24, Brian West wrote: >> >>> You should try 1.6.13, it has a fix specifically to correct a somewhat >>> problematic error in fax handing. Especially t.38. >>> >>> /b >>> >>> >>> On Wed, Dec 14, 2016 at 5:04 AM, devang nathwani < >>> devang.nathwani31589 at gmail.com> wrote: >>> >>>> I am sending fax from the Zoiper for testing and getting this error from server, >>>> freeswitch version: FreeSWITCH Version 1.6.12~64bit ( 64bit) >>>> OS:Debian GNU/Linux 8 >>>> >>>> https://pastebin.freeswitch.org/view/3cd3c224 >>>> >>>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:496 ============================================================================== >>>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (35) Unexpected DCN while waiting for DCS or DIS. >>>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:513 Remote station id: >>>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident >>>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 >>>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 >>>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 >>>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 14400 >>>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:521 ECM status off >>>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:522 remote country: >>>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:523 remote vendor: >>>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:524 remote model: >>>> 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:526 ============================================================================== >>>> >>>> >>>> On Thu, Dec 8, 2016 at 8:19 PM, devang nathwani < >>>> devang.nathwani31589 at gmail.com> wrote: >>>> >>>>> Thanks Bipin >>>>> >>>>> On Wed, Dec 7, 2016 at 7:31 PM, Bipin Patel wrote: >>>>> >>>>>> hi, >>>>>> >>>>>> attached is the script >>>>>> >>>>>> >>>>>> Regards, >>>>>> Bipin >>>>>> >>>>>> >>>>>> ------------------------------ >>>>>> -------- Original Message -------- >>>>>> Subject: Re: [Freeswitch-users] Fax 2 Email issue >>>>>> From: devang nathwani >>>>>> >>>>>> To: FreeSWITCH Users Help >>>>>> >>>>>> Date: 12/7/2016, 3:57:45 PM >>>>>> >>>>>> @Bipin, >>>>>> Yes please, share your python script >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> 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/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> Got Bugs? Report them here ! | Reddit: >>> /r/freeswitch >>> >>> *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 >>> <+1%20918-420-9002> | *M:*+1918424WEST (9378) >>> *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/20161215/eefcfe4b/attachment-0001.html From tculjaga at gmail.com Thu Dec 15 15:44:37 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Thu, 15 Dec 2016 13:44:37 +0100 Subject: [Freeswitch-users] Multi domain voice mail issue In-Reply-To: References: Message-ID: use set a release cause you want FS to continue processing after bridge and it will hit voicemail. On 15 December 2016 at 08:02, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > Hello, > > I am using multi-domain system in freeswitch, i have register sip-devices > using domain name(demo1.xyz.com) and trying to make call to sip to > sip(on-net/local) call and it's working but when another sip-device was > busy or not register that time call should pass in voicemail but in getting > ' Can't find user [1883317281 at demo1.xyz.com]'. > 192.168.1.35 is server IP > 192.168.1.30 from where i am regsitring. > > https://pastebin.freeswitch.org/view/efb0d2e5 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/934504ca/attachment.html From david.ponzone at ipeva.fr Thu Dec 15 18:10:36 2016 From: david.ponzone at ipeva.fr (David Ponzone) Date: Thu, 15 Dec 2016 16:10:36 +0100 Subject: [Freeswitch-users] To get rid of P-Asserted-Identity ? Message-ID: Hello all, when FS receives an inbound call with a PAID header, it uses this number to fill the caller_id_number channel variable. I can?t manage to alter this behavior for inbound legs. At least, I?d like to tell FS to ignore the PAID because it?s wrong, and to use the SIP From for the caller_id_number. Ideas ? Am I missing something obvious ? David Ponzone Direction Technique email: david.ponzone at ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/27547d3c/attachment.html From italo at freeswitch.org Thu Dec 15 18:49:35 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Thu, 15 Dec 2016 15:49:35 +0000 Subject: [Freeswitch-users] To get rid of P-Asserted-Identity ? In-Reply-To: References: Message-ID: Try caller-id-type profile param Em qui, 15 de dez de 2016 ?s 12:12, David Ponzone escreveu: > Hello all, > > when FS receives an inbound call with a PAID header, it uses this number > to fill the caller_id_number channel variable. > I can?t manage to alter this behavior for inbound legs. > At least, I?d like to tell FS to ignore the PAID because it?s wrong, and > to use the SIP From for the caller_id_number. > > Ideas ? Am I missing something obvious ? > > David Ponzone Direction Technique > email: david.ponzone at ipeva.fr > tel: 01 74 03 18 97 > gsm: 06 66 98 76 34 > > Service Client IPeva > tel: 0811 46 26 26 > www.ipeva.fr - www.ipeva-studio.com > > *Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? > l'intention exclusive de ses destinataires. Toute utilisation ou diffusion > non autoris?e est interdite. Tout message ?lectronique est susceptible > d'alt?ration. **IPeva** d?cline toute responsabilit? au titre de ce > message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas > destinataire de ce message, merci de le d?truire imm?diatement et d'avertir > l'exp?diteur.* > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/37976600/attachment-0001.html From mike at jerris.com Thu Dec 15 18:58:29 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 15 Dec 2016 15:58:29 +0000 Subject: [Freeswitch-users] To get rid of P-Asserted-Identity ? In-Reply-To: References: Message-ID: think that's good to affect send... in this case probably need to set profile var and override it in dialplan On Thu, Dec 15, 2016 at 10:51 AM ?talo Rossi wrote: > Try caller-id-type profile param > Em qui, 15 de dez de 2016 ?s 12:12, David Ponzone > escreveu: > > Hello all, > > when FS receives an inbound call with a PAID header, it uses this number > to fill the caller_id_number channel variable. > I can?t manage to alter this behavior for inbound legs. > At least, I?d like to tell FS to ignore the PAID because it?s wrong, and > to use the SIP From for the caller_id_number. > > Ideas ? Am I missing something obvious ? > > > > David Ponzone Direction Technique > email: david.ponzone at ipeva.fr > tel: 01 74 03 18 97 > gsm: 06 66 98 76 34 > > Service Client IPeva > tel: 0811 46 26 26 > www.ipeva.fr - www.ipeva-studio.com > > *Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? > l'intention exclusive de ses destinataires. Toute utilisation ou diffusion > non autoris?e est interdite. Tout message ?lectronique est susceptible > d'alt?ration. **IPeva** d?cline toute responsabilit? au titre de ce > message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas > destinataire de ce message, merci de le d?truire imm?diatement et d'avertir > l'exp?diteur.* > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/2452f578/attachment.html From vma at 440hz.fr Thu Dec 15 19:17:28 2016 From: vma at 440hz.fr (Vallimamod Abdullah) Date: Thu, 15 Dec 2016 17:17:28 +0100 Subject: [Freeswitch-users] To get rid of P-Asserted-Identity ? In-Reply-To: References: Message-ID: <65EF370A-1C6C-4760-BFE9-3363A4B4BB9B@440hz.fr> Hi, You can tell freeswitch to not set the pid automatically with the param caller-id-type=none in your sip profile. Then you can export the sip_h_P-Asserted-Identity var before the bridge to set the header manually. For gateways, you also have caller-id-in-from=true param to retrieve the caller_id_number in the From header. Best Regards, -- Vallimamod Abdullah vma at vallimamod.org . > On 15 Dec 2016, at 16:10, David Ponzone wrote: > > Hello all, > > when FS receives an inbound call with a PAID header, it uses this number to fill the caller_id_number channel variable. > I can?t manage to alter this behavior for inbound legs. > At least, I?d like to tell FS to ignore the PAID because it?s wrong, and to use the SIP From for the caller_id_number. > > Ideas ? Am I missing something obvious ? > > David Ponzone Direction Technique > email: david.ponzone at ipeva.fr > tel: 01 74 03 18 97 > gsm: 06 66 98 76 34 > > Service Client IPeva > tel: 0811 46 26 26 > www.ipeva.fr - www.ipeva-studio.com > > Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 manpower13.cse at gmail.com Thu Dec 15 20:40:21 2016 From: manpower13.cse at gmail.com (Murugan Pandian) Date: Thu, 15 Dec 2016 23:10:21 +0530 Subject: [Freeswitch-users] Debian 8.6 installation issue Message-ID: Hi, When i try install freeswitch 1.6 in Debian i am getting following error in my console . The following packages have unmet dependencies: freeswitch-meta-all : Depends: freeswitch (= 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed Depends: freeswitch-meta-codecs (= 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed Depends: freeswitch-meta-mod-say (= 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed Depends: freeswitch-music Depends: freeswitch-sounds Depends: freeswitch-mod-abstraction (= 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed Depends: freeswitch-mod-avmd (= 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed Depends: freeswitch-mod-av (= 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed My Kernal Version: *3.16.0-4-amd64* My Server details: *Architecture: x86_64CPU op-mode(s): 32-bit, 64-bitByte Order: Little EndianCPU(s): 4On-line CPU(s) list: 0-3Thread(s) per core: 1Core(s) per socket: 4Socket(s): 1NUMA node(s): 1Vendor ID: GenuineIntelCPU family: 6Model: 30Model name: Intel(R) Xeon(R) CPU X3430 @ 2.40GHzStepping: 5CPU MHz: 2394.116BogoMIPS: 4788.23Virtualization: VT-xL1d cache: 32KL1i cache: 32KL2 cache: 256KL3 cache: 8192KNUMA node0 CPU(s): 0-3* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/95f637a5/attachment-0001.html From brian at freeswitch.org Thu Dec 15 20:47:45 2016 From: brian at freeswitch.org (Brian West) Date: Thu, 15 Dec 2016 11:47:45 -0600 Subject: [Freeswitch-users] Debian 8.6 installation issue In-Reply-To: References: Message-ID: This was fixed a bit ago, can you heck the 1.6-testing repo? On Thu, Dec 15, 2016 at 11:40 AM, Murugan Pandian wrote: > Hi, > > When i try install freeswitch 1.6 in Debian i am getting > following error in my console . > > > The following packages have unmet dependencies: > freeswitch-meta-all : Depends: freeswitch (= > 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed > Depends: freeswitch-meta-codecs (= > 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed > Depends: freeswitch-meta-mod-say (= > 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed > Depends: freeswitch-music > Depends: freeswitch-sounds > Depends: freeswitch-mod-abstraction (= > 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed > Depends: freeswitch-mod-avmd (= > 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed > Depends: freeswitch-mod-av (= > 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed > > > My Kernal Version: > > *3.16.0-4-amd64* > > My Server details: > > > > > > > > > > > > > > > > > > > > > > > > *Architecture: x86_64CPU op-mode(s): 32-bit, 64-bitByte > Order: Little EndianCPU(s): 4On-line CPU(s) > list: 0-3Thread(s) per core: 1Core(s) per socket: > 4Socket(s): 1NUMA node(s): 1Vendor ID: > GenuineIntelCPU family: 6Model: 30Model > name: Intel(R) Xeon(R) CPU X3430 @ > 2.40GHzStepping: 5CPU MHz: > 2394.116BogoMIPS: 4788.23Virtualization: VT-xL1d > cache: 32KL1i cache: 32KL2 cache: > 256KL3 cache: 8192KNUMA node0 CPU(s): 0-3* > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/d2239b60/attachment.html From krice at freeswitch.org Thu Dec 15 20:50:45 2016 From: krice at freeswitch.org (Ken Rice) Date: Thu, 15 Dec 2016 11:50:45 -0600 Subject: [Freeswitch-users] Debian 8.6 installation issue In-Reply-To: References: Message-ID: <162c01d256fb$c3f46700$4bdd3500$@freeswitch.org> Apt-get install freeswitch and see if you get an error, you probably will, you have something in the dependency chain blocking here From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Murugan Pandian Sent: Thursday, December 15, 2016 11:40 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Debian 8.6 installation issue Hi, When i try install freeswitch 1.6 in Debian i am getting following error in my console . The following packages have unmet dependencies: freeswitch-meta-all : Depends: freeswitch (= 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed Depends: freeswitch-meta-codecs (= 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed Depends: freeswitch-meta-mod-say (= 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed Depends: freeswitch-music Depends: freeswitch-sounds Depends: freeswitch-mod-abstraction (= 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed Depends: freeswitch-mod-avmd (= 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed Depends: freeswitch-mod-av (= 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed My Kernal Version: 3.16.0-4-amd64 My Server details: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 30 Model name: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz Stepping: 5 CPU MHz: 2394.116 BogoMIPS: 4788.23 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 8192K NUMA node0 CPU(s): 0-3 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/226344ca/attachment.html From jaceksburghardt at gmail.com Thu Dec 15 22:57:59 2016 From: jaceksburghardt at gmail.com (jacek burghardt) Date: Thu, 15 Dec 2016 12:57:59 -0700 Subject: [Freeswitch-users] freeswitch mysql integration Message-ID: Can someone point me in right direction on integrating freeswitch with mysql ? I am trying to store all configuration files in mysql just like asterisk does. I used this sample config how I get it to use mysql database and how I can get gateway to register with voip.ms include> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/45c1aee6/attachment-0001.html From krice at freeswitch.org Thu Dec 15 23:11:02 2016 From: krice at freeswitch.org (Ken Rice) Date: Thu, 15 Dec 2016 14:11:02 -0600 Subject: [Freeswitch-users] freeswitch mysql integration In-Reply-To: References: Message-ID: <1acd01d2570f$5c55ab90$150102b0$@freeswitch.org> FreeSWITCH does not store configuration directly in a data like ARA? FreeSWITCH uses XML trees for configuration data? You can still store the configs in a DB of your choice and generate the configs that are required via mod_xml_curl or similar processes. These are documented quite well at https://freeswitch.org/confluence (start your search with xml_curl there) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of jacek burghardt Sent: Thursday, December 15, 2016 1:58 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] freeswitch mysql integration Can someone point me in right direction on integrating freeswitch with mysql ? I am trying to store all configuration files in mysql just like asterisk does. I used this sample config how I get it to use mysql database and how I can get gateway to register with voip.ms include> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/55e216c1/attachment.html From david.villasmil.work at gmail.com Thu Dec 15 23:26:47 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 15 Dec 2016 21:26:47 +0100 Subject: [Freeswitch-users] freeswitch mysql integration In-Reply-To: <1acd01d2570f$5c55ab90$150102b0$@freeswitch.org> References: <1acd01d2570f$5c55ab90$150102b0$@freeswitch.org> Message-ID: or maybe use fusinpbx, which for a fs newbie is quite good... downside is you probably won't learn much about fs.. the curve will be very very steep ? Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Thu, Dec 15, 2016 at 9:11 PM, Ken Rice wrote: > FreeSWITCH does not store configuration directly in a data like ARA? > FreeSWITCH uses XML trees for configuration data? You can still store the > configs in a DB of your choice and generate the configs that are required > via mod_xml_curl or similar processes. These are documented quite well at > https://freeswitch.org/confluence (start your search with xml_curl there) > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *jacek > burghardt > *Sent:* Thursday, December 15, 2016 1:58 PM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] freeswitch mysql integration > > > > Can someone point me in right direction on integrating freeswitch with > mysql ? > > I am trying to store all configuration files in mysql just like asterisk > does. > > I used this sample config how I get it to use mysql database and how I can > get gateway to register with voip.ms > > include> > > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/86500991/attachment.html From Shawn.Wheeler at interlockconcepts.com Thu Dec 15 23:28:09 2016 From: Shawn.Wheeler at interlockconcepts.com (Shawn Wheeler) Date: Thu, 15 Dec 2016 20:28:09 +0000 Subject: [Freeswitch-users] Error Question Message-ID: I am seeing this notice when trying to make an outbound call. 2016-12-15 12:14:15.923560 [NOTICE] sofia.c:7530 Hangup sofia/external/16027927276 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER] I have not been able to find anything on the wiki about this notice. Can anyone provide some insight? Thank you Shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/1dd93e66/attachment-0001.html From david.villasmil.work at gmail.com Thu Dec 15 23:32:07 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 15 Dec 2016 21:32:07 +0100 Subject: [Freeswitch-users] Error Question In-Reply-To: References: Message-ID: are you sending this call somewhere? the string should be something like: sofia/gateway/[YOUR-CONFIGURED-GATEWAY]/PHONENUMBER did you configure a gateway? if not, take a look here: https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Thu, Dec 15, 2016 at 9:28 PM, Shawn Wheeler < Shawn.Wheeler at interlockconcepts.com> wrote: > I am seeing this notice when trying to make an outbound call. > 2016-12-15 12:14:15.923560 [NOTICE] sofia.c:7530 Hangup sofia/external/ > 16027927276 <(602)%20792-7276> [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER] > > > > I have not been able to find anything on the wiki about this notice. Can > anyone provide some insight? > > > > Thank you > > > Shawn > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/945325e9/attachment.html From Shawn.Wheeler at interlockconcepts.com Thu Dec 15 23:37:10 2016 From: Shawn.Wheeler at interlockconcepts.com (Shawn Wheeler) Date: Thu, 15 Dec 2016 20:37:10 +0000 Subject: [Freeswitch-users] Error Question In-Reply-To: References: Message-ID: Yes Sir, I do have a gateway. I can calll into the FS server using an outside phone (cell) but when I try to call back, it fails. Some added inforation. The gateway is regististered through Broadcore aka Masergy. Thank youi Shawn From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of David Villasmil Sent: Thursday, December 15, 2016 1:32 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Error Question are you sending this call somewhere? the string should be something like: sofia/gateway/[YOUR-CONFIGURED-GATEWAY]/PHONENUMBER did you configure a gateway? if not, take a look here: https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Thu, Dec 15, 2016 at 9:28 PM, Shawn Wheeler > wrote: I am seeing this notice when trying to make an outbound call. 2016-12-15 12:14:15.923560 [NOTICE] sofia.c:7530 Hangup sofia/external/16027927276 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER] I have not been able to find anything on the wiki about this notice. Can anyone provide some insight? Thank you Shawn _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org [https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=ce1e7d70-a4be-4d2b-96af-911fdde0173f]? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/4d20bee2/attachment.html From david.villasmil.work at gmail.com Thu Dec 15 23:39:26 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 15 Dec 2016 20:39:26 +0000 Subject: [Freeswitch-users] Error Question In-Reply-To: References: Message-ID: Try using the string i gave you before. On Thu, Dec 15, 2016 at 9:37 PM Shawn Wheeler < Shawn.Wheeler at interlockconcepts.com> wrote: > Yes Sir, > > > > I do have a gateway. I can calll into the FS server using an outside > phone (cell) but when I try to call back, it fails. > > > > Some added inforation. The gateway is regististered through Broadcore > aka Masergy. > > > > Thank youi > > Shawn > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *David > Villasmil > *Sent:* Thursday, December 15, 2016 1:32 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Error Question > > > > are you sending this call somewhere? the string should be something like: > > > > sofia/gateway/[YOUR-CONFIGURED-GATEWAY]/PHONENUMBER > > > > did you configure a gateway? if not, take a look here: > https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration > > > > > > > Regards, > > > > David Villasmil > > email: david.villasmil.work at gmail.com > > phone: +34669448337 > > > > On Thu, Dec 15, 2016 at 9:28 PM, Shawn Wheeler < > Shawn.Wheeler at interlockconcepts.com> wrote: > > I am seeing this notice when trying to make an outbound call. > 2016-12-15 12:14:15.923560 [NOTICE] sofia.c:7530 Hangup sofia/external/ > 16027927276 <(602)%20792-7276> [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER] > > > > I have not been able to find anything on the wiki about this notice. Can > anyone provide some insight? > > > > Thank you > > > Shawn > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > ? > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/52da8019/attachment-0001.html From jaceksburghardt at gmail.com Fri Dec 16 00:09:30 2016 From: jaceksburghardt at gmail.com (jacek burghardt) Date: Thu, 15 Dec 2016 14:09:30 -0700 Subject: [Freeswitch-users] freeswitch mysql integration In-Reply-To: References: <1acd01d2570f$5c55ab90$150102b0$@freeswitch.org> Message-ID: I can get gateway registered, with voip.ms. I am trying to use freeswitch and fusionpbx on centos 7. I guess I need to learn how to setup dial plans and extension. Using fusionpbx would be nice, but xml files are well documented. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/153856ef/attachment.html From brian at freeswitch.org Fri Dec 16 00:30:52 2016 From: brian at freeswitch.org (Brian West) Date: Thu, 15 Dec 2016 15:30:52 -0600 Subject: [Freeswitch-users] freeswitch mysql integration In-Reply-To: References: <1acd01d2570f$5c55ab90$150102b0$@freeswitch.org> Message-ID: I'd like to frame this email and hang it on my wall. :) On Thu, Dec 15, 2016 at 3:09 PM, jacek burghardt wrote: > > > I can get gateway registered, with voip.ms. I am trying to use freeswitch > and fusionpbx on centos 7. I guess I need to learn how to setup dial plans > and extension. Using fusionpbx would be nice,* but xml files are well > documented. * > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/e0035796/attachment.html From martin.hoole at emailn.de Fri Dec 16 01:53:00 2016 From: martin.hoole at emailn.de (martin.hoole at emailn.de) Date: Thu, 15 Dec 2016 23:53:00 +0100 Subject: [Freeswitch-users] mod_verto Signaling and websocket closed Message-ID: <4dcf6eeda7c7e3ef52f824e20513df5d@mail.emailn.de> Can you configure mod_verto to keep the RTC media connection even when the websockets is closed after signaling? I was looking for a REST API for signaling, and didn't find one for SDP Offer/Answer exchange. So I ended up using the websocket in mod_verto. Martin From anthony.minessale at gmail.com Fri Dec 16 01:59:14 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 15 Dec 2016 16:59:14 -0600 Subject: [Freeswitch-users] mod_verto Signaling and websocket closed In-Reply-To: <4dcf6eeda7c7e3ef52f824e20513df5d@mail.emailn.de> References: <4dcf6eeda7c7e3ef52f824e20513df5d@mail.emailn.de> Message-ID: No, the current implementation will end calls when the websocket is lost. On Thu, Dec 15, 2016 at 4:53 PM, wrote: > Can you configure mod_verto to keep the RTC media connection even when the > websockets is closed after signaling? > I was looking for a REST API for signaling, and didn't find one for SDP > Offer/Answer exchange. So I ended up using the websocket in mod_verto. > > Martin > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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/20161215/ce045486/attachment.html From jaceksburghardt at gmail.com Fri Dec 16 02:21:21 2016 From: jaceksburghardt at gmail.com (jacek burghardt) Date: Thu, 15 Dec 2016 16:21:21 -0700 Subject: [Freeswitch-users] freeswitch mysql integration In-Reply-To: References: <1acd01d2570f$5c55ab90$150102b0$@freeswitch.org> Message-ID: I run update on centos 7 now tons of modules will not load and freeswitch will not start. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/2ea7e9b6/attachment.html From martin.hoole at emailn.de Fri Dec 16 02:28:35 2016 From: martin.hoole at emailn.de (martin.hoole at emailn.de) Date: Fri, 16 Dec 2016 00:28:35 +0100 Subject: [Freeswitch-users] mod_verto Signaling and websocket closed In-Reply-To: References: <4dcf6eeda7c7e3ef52f824e20513df5d@mail.emailn.de> Message-ID: Thanks for clarification. If you would manually remove that websocket dependency once the call is established, what's your sense on mod_verto.c, a few lines of code to change to get that behavior? Martin --- Message: --- Von: Anthony Minessale Datum: 15.12.2016 23:59:14 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] mod_verto Signaling and websocket closed No, the current implementation will end calls when the websocket is lost. On Thu, Dec 15, 2016 at 4:53 PM, wrote: Can you configure mod_verto to keep the RTC media connection even when the websockets is closed after signaling? I was looking for a REST API for signaling, and didn't find one for SDP Offer/Answer exchange. So I ended up using the websocket in mod_verto. Martin _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org 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 From krice at freeswitch.org Fri Dec 16 02:27:34 2016 From: krice at freeswitch.org (Ken Rice) Date: Thu, 15 Dec 2016 17:27:34 -0600 Subject: [Freeswitch-users] mod_verto Signaling and websocket closed In-Reply-To: References: <4dcf6eeda7c7e3ef52f824e20513df5d@mail.emailn.de> Message-ID: <1c8301d2572a$d13881b0$73a98510$@freeswitch.org> Hey Martin, I'm not sure that this is really a simple change... I would recommend emailing consulting at freeswitch.org and setting up something to talk with the devs on this. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of martin.hoole at emailn.de Sent: Thursday, December 15, 2016 5:29 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_verto Signaling and websocket closed Thanks for clarification. If you would manually remove that websocket dependency once the call is established, what's your sense on mod_verto.c, a few lines of code to change to get that behavior? Martin --- Message: --- Von: Anthony Minessale Datum: 15.12.2016 23:59:14 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] mod_verto Signaling and websocket closed No, the current implementation will end calls when the websocket is lost. On Thu, Dec 15, 2016 at 4:53 PM, wrote: Can you configure mod_verto to keep the RTC media connection even when the websockets is closed after signaling? I was looking for a REST API for signaling, and didn't find one for SDP Offer/Answer exchange. So I ended up using the websocket in mod_verto. Martin _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org 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 From brian at freeswitch.org Fri Dec 16 03:26:43 2016 From: brian at freeswitch.org (Brian West) Date: Thu, 15 Dec 2016 18:26:43 -0600 Subject: [Freeswitch-users] Error Question In-Reply-To: References: Message-ID: It can also be the caller id number you're presenting, some providers filter it. /b On Thu, Dec 15, 2016 at 2:39 PM, David Villasmil < david.villasmil.work at gmail.com> wrote: > Try using the string i gave you before. > > > On Thu, Dec 15, 2016 at 9:37 PM Shawn Wheeler interlockconcepts.com> wrote: > >> Yes Sir, >> >> >> >> I do have a gateway. I can calll into the FS server using an outside >> phone (cell) but when I try to call back, it fails. >> >> >> >> Some added inforation. The gateway is regististered through Broadcore >> aka Masergy. >> >> >> >> Thank youi >> >> Shawn >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *David >> Villasmil >> *Sent:* Thursday, December 15, 2016 1:32 PM >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] Error Question >> >> >> >> are you sending this call somewhere? the string should be something like: >> >> >> >> sofia/gateway/[YOUR-CONFIGURED-GATEWAY]/PHONENUMBER >> >> >> >> did you configure a gateway? if not, take a look here: >> https://freeswitch.org/confluence/display/FREESWITCH/ >> Gateways+Configuration >> >> >> >> >> >> >> Regards, >> >> >> >> David Villasmil >> >> email: david.villasmil.work at gmail.com >> >> phone: +34669448337 <+34%20669%2044%2083%2037> >> >> >> >> On Thu, Dec 15, 2016 at 9:28 PM, Shawn Wheeler > interlockconcepts.com> wrote: >> >> I am seeing this notice when trying to make an outbound call. >> 2016-12-15 12:14:15.923560 [NOTICE] sofia.c:7530 Hangup sofia/external/ >> 16027927276 <(602)%20792-7276> [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER] >> >> >> >> I have not been able to find anything on the wiki about this notice. Can >> anyone provide some insight? >> >> >> >> Thank you >> >> >> Shawn >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> ? >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/30c12e57/attachment.html From anthony.minessale at gmail.com Fri Dec 16 05:35:02 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 15 Dec 2016 20:35:02 -0600 Subject: [Freeswitch-users] mod_verto Signaling and websocket closed In-Reply-To: <1c8301d2572a$d13881b0$73a98510$@freeswitch.org> References: <4dcf6eeda7c7e3ef52f824e20513df5d@mail.emailn.de> <1c8301d2572a$d13881b0$73a98510$@freeswitch.org> Message-ID: When the socket is lost, FS has no way to send the signaling to end the call so it cannot survive in that state. On Thu, Dec 15, 2016 at 5:27 PM, Ken Rice wrote: > Hey Martin, I'm not sure that this is really a simple change... I would > recommend emailing consulting at freeswitch.org and setting up something to > talk with the devs on this. > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > martin.hoole at emailn.de > Sent: Thursday, December 15, 2016 5:29 PM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] mod_verto Signaling and websocket closed > > Thanks for clarification. > If you would manually remove that websocket dependency once the call is > established, what's your sense on mod_verto.c, a few lines of code to > change to get that behavior? > > Martin > > --- Message: --- > Von: Anthony Minessale > Datum: 15.12.2016 23:59:14 > An: FreeSWITCH Users Help > Betreff: Re: [Freeswitch-users] mod_verto Signaling and websocket closed > > No, the current implementation will end calls when the websocket is lost. > > > > On Thu, Dec 15, 2016 at 4:53 PM, wrote: > Can you configure mod_verto to keep the RTC media connection even when the > websockets is closed after signaling? > I was looking for a REST API for signaling, and didn't find one for SDP > Offer/Answer exchange. So I ended up using the websocket in mod_verto. > > Martin > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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/20161215/0da78454/attachment-0001.html From manpower13.cse at gmail.com Fri Dec 16 13:48:02 2016 From: manpower13.cse at gmail.com (Murugan Pandian) Date: Fri, 16 Dec 2016 16:18:02 +0530 Subject: [Freeswitch-users] Debian 8.6 installation issue In-Reply-To: <162c01d256fb$c3f46700$4bdd3500$@freeswitch.org> References: <162c01d256fb$c3f46700$4bdd3500$@freeswitch.org> Message-ID: Thanks for yours reply,I used 1.6-testing still i am getting same error Brain On Thu, Dec 15, 2016 at 11:20 PM, Ken Rice wrote: > Apt-get install freeswitch and see if you get an error, you probably will, > you have something in the dependency chain blocking here > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Murugan > Pandian > *Sent:* Thursday, December 15, 2016 11:40 AM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] Debian 8.6 installation issue > > > > Hi, > > When i try install freeswitch 1.6 in Debian i am getting > following error in my console . > > > The following packages have unmet dependencies: > freeswitch-meta-all : Depends: freeswitch (= > 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed > Depends: freeswitch-meta-codecs (= > 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed > Depends: freeswitch-meta-mod-say (= > 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed > Depends: freeswitch-music > Depends: freeswitch-sounds > Depends: freeswitch-mod-abstraction (= > 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed > Depends: freeswitch-mod-avmd (= > 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed > Depends: freeswitch-mod-av (= > 1.6.13~21~e755b43-1~jessie+1) but it is not going to be installed > > My Kernal Version: > > *3.16.0-4-amd64* > > My Server details: > > > > > > > > > > > > > > > > > > > > > > > > > *Architecture: x86_64CPU op-mode(s): 32-bit, 64-bitByte > Order: Little EndianCPU(s): 4On-line CPU(s) > list: 0-3Thread(s) per core: 1Core(s) per socket: > 4Socket(s): 1NUMA node(s): 1Vendor ID: > GenuineIntelCPU family: 6Model: 30Model > name: Intel(R) Xeon(R) CPU X3430 @ > 2.40GHzStepping: 5CPU MHz: > 2394.116BogoMIPS: 4788.23Virtualization: VT-xL1d > cache: 32KL1i cache: 32KL2 cache: > 256KL3 cache: 8192KNUMA node0 CPU(s): 0-3* > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161216/91961438/attachment.html From david.ponzone at ipeva.fr Fri Dec 16 15:23:09 2016 From: david.ponzone at ipeva.fr (David Ponzone) Date: Fri, 16 Dec 2016 13:23:09 +0100 Subject: [Freeswitch-users] To get rid of P-Asserted-Identity ? In-Reply-To: <65EF370A-1C6C-4760-BFE9-3363A4B4BB9B@440hz.fr> References: <65EF370A-1C6C-4760-BFE9-3363A4B4BB9B@440hz.fr> Message-ID: Abdullah, I am talking only about inbound. I am not even sending a call yet. I just don?t want a wrong caller_id_number read-only chanvar to be set as it will be propagated in the CDR. Also, AFAIK, caller-id-in-from is for outbound calls only. David Ponzone Direction Technique email: david.ponzone at ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. > Le 15 d?c. 2016 ? 17:17, Vallimamod Abdullah a ?crit : > > Hi, > > You can tell freeswitch to not set the pid automatically with the param caller-id-type=none in your sip profile. Then you can export the sip_h_P-Asserted-Identity var before the bridge to set the header manually. > > For gateways, you also have caller-id-in-from=true param to retrieve the caller_id_number in the From header. > > Best Regards, > -- > Vallimamod Abdullah > vma at vallimamod.org > . > >> On 15 Dec 2016, at 16:10, David Ponzone wrote: >> >> Hello all, >> >> when FS receives an inbound call with a PAID header, it uses this number to fill the caller_id_number channel variable. >> I can?t manage to alter this behavior for inbound legs. >> At least, I?d like to tell FS to ignore the PAID because it?s wrong, and to use the SIP From for the caller_id_number. >> >> Ideas ? Am I missing something obvious ? >> >> David Ponzone Direction Technique >> email: david.ponzone at ipeva.fr >> tel: 01 74 03 18 97 >> gsm: 06 66 98 76 34 >> >> Service Client IPeva >> tel: 0811 46 26 26 >> www.ipeva.fr - www.ipeva-studio.com >> >> Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161216/c4abdd70/attachment-0001.html From david.ponzone at ipeva.fr Fri Dec 16 15:28:56 2016 From: david.ponzone at ipeva.fr (David Ponzone) Date: Fri, 16 Dec 2016 13:28:56 +0100 Subject: [Freeswitch-users] To get rid of P-Asserted-Identity ? In-Reply-To: References: Message-ID: <1CA3223D-961E-44ED-BC2C-730A4B914F5B@ipeva.fr> Mike, yes. In fact, the behavior I am looking to alter is the one documented on Confluence as: caller_id_number: The caller id phone number set by the inbound call, not a real variable. Practically it is read only. From sofia.c, the values used (in precedence) are the user parts from: P-Preferred-Identity, P-Asserted-Identity, Remote-Party-ID, and the From header. I am trying to figure out a good reason to prevent this behavior to be altered. As there is no real normalization on PPI/PAI/RPID/From usage (is there at least an attempt ?), one should be able to define its own order of priority per profile. If if was better at C, I would write the patch myself, but I generally write awful code :) David Ponzone Direction Technique email: david.ponzone at ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. > Le 15 d?c. 2016 ? 16:58, Michael Jerris a ?crit : > > think that's good to affect send... in this case probably need to set profile var and override it in dialplan > > On Thu, Dec 15, 2016 at 10:51 AM ?talo Rossi > wrote: > Try caller-id-type profile param > Em qui, 15 de dez de 2016 ?s 12:12, David Ponzone > escreveu: > Hello all, > > when FS receives an inbound call with a PAID header, it uses this number to fill the caller_id_number channel variable. > I can?t manage to alter this behavior for inbound legs. > At least, I?d like to tell FS to ignore the PAID because it?s wrong, and to use the SIP From for the caller_id_number. > > Ideas ? Am I missing something obvious ? > > > > David Ponzone Direction Technique > email: david.ponzone at ipeva.fr > tel: 01 74 03 18 97 > gsm: 06 66 98 76 34 > > Service Client IPeva > tel: 0811 46 26 26 > www.ipeva.fr <> - www.ipeva-studio.com <> > > Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161216/48737e93/attachment-0001.html From david.villasmil.work at gmail.com Fri Dec 16 16:00:29 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Fri, 16 Dec 2016 14:00:29 +0100 Subject: [Freeswitch-users] "FreeSWITCH" References: Message-ID: There 2 ways to set it, with effective_caller_id_number or with origination_caller_id_number. Caveat is, *effective_caller_id_number* can ONLY be set *BEFORE* the bridge, like so: if you set it on the bridge it will not work. And you can also use origination_caller_id_number, BUT you need to set it *on the bridge itself*: hope it's clear. Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Tue, Dec 13, 2016 at 6:06 PM, David Villasmil < david.villasmil.work at gmail.com> wrote: > Hello all, > > Can Anyone help on this? > > Thanks > > On Mon, Dec 12, 2016 at 7:23 PM Gregor Nanger wrote: > >> I have have similar problem when calling from Verto extension. Regardless >> what I set in extension profile, it is always 000000000. >> >> On Mon, Dec 12, 2016, 19:09 David Villasmil > com> wrote: >> >> I have in my gateway "caller-id-in-from" to true... >> i have in my bridge: >> >> 13 >> 14 >> 15 >> >> why do i keep seeing going out like: >> >> From: "FreeSWITCH" ;tag=Qgtcrcv3NmD4B >> ... >> Remote-Party-ID: "FreeSWITCH" ; >> party=calling;screen=yes;privacy=off >> >> i seem to have forgotten or... >> >> >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 <+34%20669%2044%2083%2037> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> -- >> Gregor Nanger >> >> *CTO* >> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >> ? www.infomedia.si >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161216/13eed491/attachment.html From gregor at infomedia.si Fri Dec 16 19:13:17 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Fri, 16 Dec 2016 17:13:17 +0100 Subject: [Freeswitch-users] "FreeSWITCH" References: Message-ID: Thank you for this post, to make it clear :-) 2016-12-16 14:00 GMT+01:00 David Villasmil : > There 2 ways to set it, with effective_caller_id_number or with > origination_caller_id_number. > > Caveat is, *effective_caller_id_number* can ONLY be set *BEFORE* the > bridge, like so: > > > > > > if you set it on the bridge it will not work. > > And you can also use origination_caller_id_number, BUT you need to set it *on > the bridge itself*: > > > > hope it's clear. > > > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 <+34%20669%2044%2083%2037> > > On Tue, Dec 13, 2016 at 6:06 PM, David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> Hello all, >> >> Can Anyone help on this? >> >> Thanks >> >> On Mon, Dec 12, 2016 at 7:23 PM Gregor Nanger >> wrote: >> >>> I have have similar problem when calling from Verto extension. >>> Regardless what I set in extension profile, it is always 000000000. >>> >>> On Mon, Dec 12, 2016, 19:09 David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >>> I have in my gateway "caller-id-in-from" to true... >>> i have in my bridge: >>> >>> 13 >>> 14 >>> 15 >>> >>> why do i keep seeing going out like: >>> >>> From: "FreeSWITCH" ;tag=Qgtcrcv3NmD4B >>> ... >>> Remote-Party-ID: "FreeSWITCH" ;party >>> =calling;screen=yes;privacy=off >>> >>> i seem to have forgotten or... >>> >>> >>> Regards, >>> >>> David Villasmil >>> email: david.villasmil.work at gmail.com >>> phone: +34669448337 <+34%20669%2044%2083%2037> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> -- >>> Gregor Nanger >>> >>> *CTO* >>> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >>> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >>> ? www.infomedia.si >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161216/30c30230/attachment-0001.html From tom at tomlynn.com Fri Dec 16 23:37:40 2016 From: tom at tomlynn.com (Tom Lynn) Date: Fri, 16 Dec 2016 12:37:40 -0800 Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? In-Reply-To: <567E8671-F505-4830-8904-3C984B77108B@freeswitch.org> References: <590401d18705$9457e6f0$bd07b4d0$@freeswitch.org> <567E8671-F505-4830-8904-3C984B77108B@freeswitch.org> Message-ID: Ken, Have you ever considered developing an Alexa Skill that could have freeswitch call someone in your google or outlook contacts? Set up a conference call amongst people, etc? On Fri, Mar 25, 2016 at 8:13 PM, Ken Rice wrote: > Yeah i have a few pi's the script is constantly evolving and is a work in > progress think infound a bug in it the other day i need to track down > > Sent from my iPhone > > On Mar 25, 2016, at 9:25 PM, Tom Lynn wrote: > > Understood, Ken. I'm looking forward to it. I suspect you're the Pi > enthusiast of the teamgiven your past history turning one into a phone. > > I got really excited when I saw the new install instructions and then the > install script. I tried the new script, but something went horribly wrong, > but I lost my notes, so I haven't tried to submit feedback. I'll try again > soon. > > Thanks! > > On Fri, Mar 25, 2016 at 7:16 PM, Ken Rice wrote: > >> We?re working on the offline recording of it. Youtube has screwed us over >> twice now and we?ve opened tickets with youtube but have gotten 0 answers >> from them?. Wish I could find a good spot they actually respond to >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Tom Lynn >> *Sent:* Friday, March 25, 2016 7:04 PM >> *To:* FreeSWITCH Users Help >> *Subject:* [Freeswitch-users] March 23rd Cluecon Weekly lost? >> >> >> >> I've tried to play back the March 23rd entry of Cluecon Weekly on >> Youtube.com but keep getting "An error Occurred. >> Please try again later." >> >> >> >> Can this episode be reposted? or is it lost? >> >> >> >> Thank you. >> >> >> >> Tom >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161216/8b5a1500/attachment.html From krice at freeswitch.org Fri Dec 16 23:48:05 2016 From: krice at freeswitch.org (Ken Rice) Date: Fri, 16 Dec 2016 14:48:05 -0600 Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? In-Reply-To: References: <590401d18705$9457e6f0$bd07b4d0$@freeswitch.org> <567E8671-F505-4830-8904-3C984B77108B@freeswitch.org> Message-ID: <20ea01d257dd$b4249150$1c6db3f0$@freeswitch.org> We have talked about possiblying linking FS to Alexa but nothing has been done on that at this time From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Tom Lynn Sent: Friday, December 16, 2016 2:38 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] March 23rd Cluecon Weekly lost? Ken, Have you ever considered developing an Alexa Skill that could have freeswitch call someone in your google or outlook contacts? Set up a conference call amongst people, etc? On Fri, Mar 25, 2016 at 8:13 PM, Ken Rice > wrote: Yeah i have a few pi's the script is constantly evolving and is a work in progress think infound a bug in it the other day i need to track down Sent from my iPhone On Mar 25, 2016, at 9:25 PM, Tom Lynn > wrote: Understood, Ken. I'm looking forward to it. I suspect you're the Pi enthusiast of the teamgiven your past history turning one into a phone. I got really excited when I saw the new install instructions and then the install script. I tried the new script, but something went horribly wrong, but I lost my notes, so I haven't tried to submit feedback. I'll try again soon. Thanks! On Fri, Mar 25, 2016 at 7:16 PM, Ken Rice > wrote: We?re working on the offline recording of it. Youtube has screwed us over twice now and we?ve opened tickets with youtube but have gotten 0 answers from them?. Wish I could find a good spot they actually respond to From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Tom Lynn Sent: Friday, March 25, 2016 7:04 PM To: FreeSWITCH Users Help > Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? I've tried to play back the March 23rd entry of Cluecon Weekly on Youtube.com but keep getting "An error Occurred. Please try again later." Can this episode be reposted? or is it lost? Thank you. Tom _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161216/7f698bf8/attachment-0001.html From jungleboogie0 at gmail.com Sat Dec 17 00:00:25 2016 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Fri, 16 Dec 2016 13:00:25 -0800 Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? In-Reply-To: References: <590401d18705$9457e6f0$bd07b4d0$@freeswitch.org> <567E8671-F505-4830-8904-3C984B77108B@freeswitch.org> Message-ID: On Dec 16, 2016 12:39 PM, "Tom Lynn" wrote: > > Ken, > Have you ever considered developing an Alexa Skill that could have freeswitch call someone in your google or outlook contacts? Set up a conference call amongst people, etc? > What's Alexa and what can it do with freeswitch? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161216/f40c0a10/attachment.html From krice at freeswitch.org Sat Dec 17 00:03:49 2016 From: krice at freeswitch.org (Ken Rice) Date: Fri, 16 Dec 2016 15:03:49 -0600 Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? In-Reply-To: References: <590401d18705$9457e6f0$bd07b4d0$@freeswitch.org> <567E8671-F505-4830-8904-3C984B77108B@freeswitch.org> Message-ID: <213c01d257df$e6a85240$b3f8f6c0$@freeswitch.org> Alexa is to Amazon as Siri is to Apple From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of jungle Boogie Sent: Friday, December 16, 2016 3:00 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] March 23rd Cluecon Weekly lost? On Dec 16, 2016 12:39 PM, "Tom Lynn" > wrote: > > Ken, > Have you ever considered developing an Alexa Skill that could have freeswitch call someone in your google or outlook contacts? Set up a conference call amongst people, etc? > What's Alexa and what can it do with freeswitch? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161216/0f562b83/attachment.html From tom at tomlynn.com Sat Dec 17 00:04:28 2016 From: tom at tomlynn.com (Tom Lynn) Date: Fri, 16 Dec 2016 13:04:28 -0800 Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? In-Reply-To: <20ea01d257dd$b4249150$1c6db3f0$@freeswitch.org> References: <590401d18705$9457e6f0$bd07b4d0$@freeswitch.org> <567E8671-F505-4830-8904-3C984B77108B@freeswitch.org> <20ea01d257dd$b4249150$1c6db3f0$@freeswitch.org> Message-ID: Thanks, Ken. Good to hear it's been thought of. @jungle boogie. Think voice control of devices. On Fri, Dec 16, 2016 at 12:48 PM, Ken Rice wrote: > We have talked about possiblying linking FS to Alexa but nothing has been > done on that at this time > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Tom Lynn > *Sent:* Friday, December 16, 2016 2:38 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] March 23rd Cluecon Weekly lost? > > > > Ken, > > Have you ever considered developing an Alexa Skill that could have > freeswitch call someone in your google or outlook contacts? Set up a > conference call amongst people, etc? > > > > On Fri, Mar 25, 2016 at 8:13 PM, Ken Rice wrote: > > Yeah i have a few pi's the script is constantly evolving and is a work in > progress think infound a bug in it the other day i need to track down > > Sent from my iPhone > > > On Mar 25, 2016, at 9:25 PM, Tom Lynn wrote: > > Understood, Ken. I'm looking forward to it. I suspect you're the Pi > enthusiast of the teamgiven your past history turning one into a phone. > > > > I got really excited when I saw the new install instructions and then the > install script. I tried the new script, but something went horribly wrong, > but I lost my notes, so I haven't tried to submit feedback. I'll try again > soon. > > > > Thanks! > > > > On Fri, Mar 25, 2016 at 7:16 PM, Ken Rice wrote: > > We?re working on the offline recording of it. Youtube has screwed us over > twice now and we?ve opened tickets with youtube but have gotten 0 answers > from them?. Wish I could find a good spot they actually respond to > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Tom Lynn > *Sent:* Friday, March 25, 2016 7:04 PM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] March 23rd Cluecon Weekly lost? > > > > I've tried to play back the March 23rd entry of Cluecon Weekly on > Youtube.com but keep getting "An error Occurred. > Please try again later." > > > > Can this episode be reposted? or is it lost? > > > > Thank you. > > > > Tom > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161216/6e54b72b/attachment-0001.html From krice at freeswitch.org Sat Dec 17 00:08:49 2016 From: krice at freeswitch.org (Ken Rice) Date: Fri, 16 Dec 2016 15:08:49 -0600 Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? In-Reply-To: References: <590401d18705$9457e6f0$bd07b4d0$@freeswitch.org> <567E8671-F505-4830-8904-3C984B77108B@freeswitch.org> <20ea01d257dd$b4249150$1c6db3f0$@freeswitch.org> Message-ID: <215601d257e0$99c63400$cd529c00$@freeswitch.org> Tom, Don?t forget FreeSWITCH has support for various Speech Recognition bits already, it even has support for key word recognition? this means you could mock up something like Alexa or Sira with some scripts and then answer requests with TTS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Tom Lynn Sent: Friday, December 16, 2016 3:04 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] March 23rd Cluecon Weekly lost? Thanks, Ken. Good to hear it's been thought of. @jungle boogie. Think voice control of devices. On Fri, Dec 16, 2016 at 12:48 PM, Ken Rice > wrote: We have talked about possiblying linking FS to Alexa but nothing has been done on that at this time From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Tom Lynn Sent: Friday, December 16, 2016 2:38 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] March 23rd Cluecon Weekly lost? Ken, Have you ever considered developing an Alexa Skill that could have freeswitch call someone in your google or outlook contacts? Set up a conference call amongst people, etc? On Fri, Mar 25, 2016 at 8:13 PM, Ken Rice > wrote: Yeah i have a few pi's the script is constantly evolving and is a work in progress think infound a bug in it the other day i need to track down Sent from my iPhone On Mar 25, 2016, at 9:25 PM, Tom Lynn > wrote: Understood, Ken. I'm looking forward to it. I suspect you're the Pi enthusiast of the teamgiven your past history turning one into a phone. I got really excited when I saw the new install instructions and then the install script. I tried the new script, but something went horribly wrong, but I lost my notes, so I haven't tried to submit feedback. I'll try again soon. Thanks! On Fri, Mar 25, 2016 at 7:16 PM, Ken Rice > wrote: We?re working on the offline recording of it. Youtube has screwed us over twice now and we?ve opened tickets with youtube but have gotten 0 answers from them?. Wish I could find a good spot they actually respond to From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Tom Lynn Sent: Friday, March 25, 2016 7:04 PM To: FreeSWITCH Users Help > Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? I've tried to play back the March 23rd entry of Cluecon Weekly on Youtube.com but keep getting "An error Occurred. Please try again later." Can this episode be reposted? or is it lost? Thank you. Tom _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161216/93cbd35e/attachment.html From vbvbrj at gmail.com Sat Dec 17 00:34:59 2016 From: vbvbrj at gmail.com (Mimiko) Date: Fri, 16 Dec 2016 23:34:59 +0200 Subject: [Freeswitch-users] Setting rpid and from for a gateway in its definition. Message-ID: <910759dc-e63b-c912-9db1-f50f63927865@gmail.com> Hello. I use sip_from_display, sip_from_uri, sip_cid_type, origination_caller_id_name, and origination_caller_id_number to dinamically rewrite from and rpid headers. Like: sip_from_display=$${default_external_exit}$${default_areacode}${effective_caller_id_number} How can I place this in gateway definition for a profile to skip specifying this in dialplan? I want to use mod_lcr and all this fields does not feet in the column. I've tried to use But this does not change after parsing XML and ${effective_caller_id_number} is not evaluated on calling thru gateway. Also tried: ]]> And this does not have any effect. How can accomplish this? Thank you. From david.villasmil.work at gmail.com Sat Dec 17 00:37:35 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Fri, 16 Dec 2016 21:37:35 +0000 Subject: [Freeswitch-users] Setting rpid and from for a gateway in its definition. In-Reply-To: <910759dc-e63b-c912-9db1-f50f63927865@gmail.com> References: <910759dc-e63b-c912-9db1-f50f63927865@gmail.com> Message-ID: This may sound obvious, but Have you tried making the table's field bigger? On Fri, Dec 16, 2016 at 10:35 PM Mimiko wrote: > Hello. > > I use sip_from_display, sip_from_uri, sip_cid_type, > origination_caller_id_name, and origination_caller_id_number to > dinamically rewrite from and rpid headers. Like: > > > sip_from_display=$${default_external_exit}$${default_areacode}${effective_caller_id_number} > > How can I place this in gateway definition for a profile to skip > specifying this in dialplan? I want to use mod_lcr and all this fields > does not feet in the column. > > I've tried to use > > > value="$${default_external_exit}$${default_areacode}${effective_caller_id_number}"/> > > But this does not change after parsing XML and > ${effective_caller_id_number} is not evaluated on calling thru gateway. > > Also tried: > > > > direction="outbound"> $${gateway_ip_v4_bind}>]]> > > > And this does not have any effect. > > How can accomplish this? > > 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/20161216/cf71f15c/attachment-0001.html From tom at tomlynn.com Sat Dec 17 08:11:26 2016 From: tom at tomlynn.com (Tom Lynn) Date: Fri, 16 Dec 2016 21:11:26 -0800 Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? In-Reply-To: <215601d257e0$99c63400$cd529c00$@freeswitch.org> References: <590401d18705$9457e6f0$bd07b4d0$@freeswitch.org> <567E8671-F505-4830-8904-3C984B77108B@freeswitch.org> <20ea01d257dd$b4249150$1c6db3f0$@freeswitch.org> <215601d257e0$99c63400$cd529c00$@freeswitch.org> Message-ID: Ken, I understand that and have experimented. Alexa has such a broad reach, it makes a lot of sense to concentrate my interest there, at least until they make it economically undesirable. Maybe Google Home will catch up. On Fri, Dec 16, 2016 at 1:08 PM, Ken Rice wrote: > Tom, > > > > Don?t forget FreeSWITCH has support for various Speech Recognition bits > already, it even has support for key word recognition? this means you could > mock up something like Alexa or Sira with some scripts and then answer > requests with TTS > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Tom Lynn > *Sent:* Friday, December 16, 2016 3:04 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] March 23rd Cluecon Weekly lost? > > > > Thanks, Ken. Good to hear it's been thought of. > > > > @jungle boogie. Think voice control of devices. > > > > On Fri, Dec 16, 2016 at 12:48 PM, Ken Rice wrote: > > We have talked about possiblying linking FS to Alexa but nothing has been > done on that at this time > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Tom Lynn > *Sent:* Friday, December 16, 2016 2:38 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] March 23rd Cluecon Weekly lost? > > > > Ken, > > Have you ever considered developing an Alexa Skill that could have > freeswitch call someone in your google or outlook contacts? Set up a > conference call amongst people, etc? > > > > On Fri, Mar 25, 2016 at 8:13 PM, Ken Rice wrote: > > Yeah i have a few pi's the script is constantly evolving and is a work in > progress think infound a bug in it the other day i need to track down > > Sent from my iPhone > > > On Mar 25, 2016, at 9:25 PM, Tom Lynn wrote: > > Understood, Ken. I'm looking forward to it. I suspect you're the Pi > enthusiast of the teamgiven your past history turning one into a phone. > > > > I got really excited when I saw the new install instructions and then the > install script. I tried the new script, but something went horribly wrong, > but I lost my notes, so I haven't tried to submit feedback. I'll try again > soon. > > > > Thanks! > > > > On Fri, Mar 25, 2016 at 7:16 PM, Ken Rice wrote: > > We?re working on the offline recording of it. Youtube has screwed us over > twice now and we?ve opened tickets with youtube but have gotten 0 answers > from them?. Wish I could find a good spot they actually respond to > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Tom Lynn > *Sent:* Friday, March 25, 2016 7:04 PM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] March 23rd Cluecon Weekly lost? > > > > I've tried to play back the March 23rd entry of Cluecon Weekly on > Youtube.com but keep getting "An error Occurred. > Please try again later." > > > > Can this episode be reposted? or is it lost? > > > > Thank you. > > > > Tom > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161216/14f23248/attachment.html From tom at tomlynn.com Sat Dec 17 08:12:27 2016 From: tom at tomlynn.com (Tom Lynn) Date: Fri, 16 Dec 2016 21:12:27 -0800 Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? In-Reply-To: References: <590401d18705$9457e6f0$bd07b4d0$@freeswitch.org> <567E8671-F505-4830-8904-3C984B77108B@freeswitch.org> <20ea01d257dd$b4249150$1c6db3f0$@freeswitch.org> <215601d257e0$99c63400$cd529c00$@freeswitch.org> Message-ID: My last thoughts on the matter: * isn't on Alexa either. On Fri, Dec 16, 2016 at 9:11 PM, Tom Lynn wrote: > Ken, I understand that and have experimented. Alexa has such a broad > reach, it makes a lot of sense to concentrate my interest there, at least > until they make it economically undesirable. Maybe Google Home will catch > up. > > On Fri, Dec 16, 2016 at 1:08 PM, Ken Rice wrote: > >> Tom, >> >> >> >> Don?t forget FreeSWITCH has support for various Speech Recognition bits >> already, it even has support for key word recognition? this means you could >> mock up something like Alexa or Sira with some scripts and then answer >> requests with TTS >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Tom Lynn >> *Sent:* Friday, December 16, 2016 3:04 PM >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] March 23rd Cluecon Weekly lost? >> >> >> >> Thanks, Ken. Good to hear it's been thought of. >> >> >> >> @jungle boogie. Think voice control of devices. >> >> >> >> On Fri, Dec 16, 2016 at 12:48 PM, Ken Rice wrote: >> >> We have talked about possiblying linking FS to Alexa but nothing has been >> done on that at this time >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Tom Lynn >> *Sent:* Friday, December 16, 2016 2:38 PM >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] March 23rd Cluecon Weekly lost? >> >> >> >> Ken, >> >> Have you ever considered developing an Alexa Skill that could have >> freeswitch call someone in your google or outlook contacts? Set up a >> conference call amongst people, etc? >> >> >> >> On Fri, Mar 25, 2016 at 8:13 PM, Ken Rice wrote: >> >> Yeah i have a few pi's the script is constantly evolving and is a work in >> progress think infound a bug in it the other day i need to track down >> >> Sent from my iPhone >> >> >> On Mar 25, 2016, at 9:25 PM, Tom Lynn wrote: >> >> Understood, Ken. I'm looking forward to it. I suspect you're the Pi >> enthusiast of the teamgiven your past history turning one into a phone. >> >> >> >> I got really excited when I saw the new install instructions and then the >> install script. I tried the new script, but something went horribly wrong, >> but I lost my notes, so I haven't tried to submit feedback. I'll try again >> soon. >> >> >> >> Thanks! >> >> >> >> On Fri, Mar 25, 2016 at 7:16 PM, Ken Rice wrote: >> >> We?re working on the offline recording of it. Youtube has screwed us over >> twice now and we?ve opened tickets with youtube but have gotten 0 answers >> from them?. Wish I could find a good spot they actually respond to >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Tom Lynn >> *Sent:* Friday, March 25, 2016 7:04 PM >> *To:* FreeSWITCH Users Help >> *Subject:* [Freeswitch-users] March 23rd Cluecon Weekly lost? >> >> >> >> I've tried to play back the March 23rd entry of Cluecon Weekly on >> Youtube.com but keep getting "An error Occurred. >> Please try again later." >> >> >> >> Can this episode be reposted? or is it lost? >> >> >> >> Thank you. >> >> >> >> Tom >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161216/a1853eb9/attachment-0001.html From vbvbrj at gmail.com Sat Dec 17 09:11:33 2016 From: vbvbrj at gmail.com (Mimiko) Date: Sat, 17 Dec 2016 08:11:33 +0200 Subject: [Freeswitch-users] Setting rpid and from for a gateway in its definition. In-Reply-To: References: <910759dc-e63b-c912-9db1-f50f63927865@gmail.com> Message-ID: <8b0cde2d-85d2-74fa-8e74-7397c420e57f@gmail.com> Yes, I did think about extending field. But the question is, would ${effective_caller_id_number} be resolved when lcr is called? I dont think that preprocessed vars would be. On 16.12.2016 23:37, David Villasmil wrote: > This may sound obvious, but Have you tried making the table's field bigger? > On Fri, Dec 16, 2016 at 10:35 PM Mimiko > wrote: > > Hello. > > I use sip_from_display, sip_from_uri, sip_cid_type, > origination_caller_id_name, and origination_caller_id_number to > dinamically rewrite from and rpid headers. Like: > > sip_from_display=$${default_external_exit}$${default_areacode}${effective_caller_id_number} > > How can I place this in gateway definition for a profile to skip > specifying this in dialplan? I want to use mod_lcr and all this fields > does not feet in the column. -- Mimiko desu. From tculjaga at gmail.com Sun Dec 18 21:12:42 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Sun, 18 Dec 2016 19:12:42 +0100 Subject: [Freeswitch-users] mod_verto & a1-hash Message-ID: i made a modification on mod_verto to allow a1-hash auth. where do i send patches ? T. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161218/61a37708/attachment.html From rajil.s at gmail.com Sun Dec 18 21:12:34 2016 From: rajil.s at gmail.com (Rajil Saraswat) Date: Sun, 18 Dec 2016 12:12:34 -0600 Subject: [Freeswitch-users] SIP ATA and dect phone suggestions Message-ID: <4851905e-648e-2a85-1120-2729bb7c4914@gmail.com> Hello, I have been using a Linksys SPA-3102 ATA with a Panasonic KX-TG7120E dect phone for quite some time. However, I am looking to upgrade these with devices which support HD audio. My preference is to have a cordless device for home environment. Also a dect phone +SIP ATA seems to me a better choice over an integrated IP cordless phone since the dect phone is cheaper to replace in the long run. Can i have some suggestions on what people use? Thanks From lconroy at insensate.co.uk Sun Dec 18 23:54:16 2016 From: lconroy at insensate.co.uk (Lawrence Conroy) Date: Sun, 18 Dec 2016 20:54:16 +0000 Subject: [Freeswitch-users] SIP ATA and dect phone suggestions In-Reply-To: <4851905e-648e-2a85-1120-2729bb7c4914@gmail.com> References: <4851905e-648e-2a85-1120-2729bb7c4914@gmail.com> Message-ID: Hi there, you don't say where you are, but as the title says DECT, I use the Gigaset N-300A. Best of both/all worlds; DECT base station with HD audio, SIP endpoint, and (analogue) landline. If you want an in-built answerphone, it's the N300A. Will work with all DECT GAP handsets. Has multiple concurrent call presentations, so does what I need. Over here in the UK, it's about 40-50 GBP. They now do another one (N510 pro), but I haven't used that -- for me, the N300A just works. all the best Lawrence On 18 Dec 2016, at 18:12, Rajil Saraswat wrote: > Hello, > > I have been using a Linksys SPA-3102 ATA with a Panasonic KX-TG7120E > dect phone for quite some time. However, I am looking to upgrade these > with devices which support HD audio. My preference is to have a cordless > device for home environment. Also a dect phone +SIP ATA seems to me a > better choice over an integrated IP cordless phone since the dect phone > is cheaper to replace in the long run. > > Can i have some suggestions on what people use? > > Thanks From asilva at wirelessmundi.com Mon Dec 19 00:12:46 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Sun, 18 Dec 2016 22:12:46 +0100 Subject: [Freeswitch-users] mod_verto & a1-hash In-Reply-To: References: Message-ID: i think the right way is to create a jira and them a pull request, all the steps can be found here: https://freeswitch.org/confluence/display/FREESWITCH/Pull+Requests On 12/18/2016 07:12 PM, Tihomir Culjaga wrote: > i made a modification on mod_verto to allow a1-hash auth. > > where do i send patches ? > > 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/20161218/6194e227/attachment.html From jeff.chua.linux at gmail.com Mon Dec 19 06:31:27 2016 From: jeff.chua.linux at gmail.com (Jeff Chua) Date: Mon, 19 Dec 2016 03:31:27 +0000 Subject: [Freeswitch-users] gsmopen with E1762 ? Message-ID: Before I go out to purchase the E1762 for gsmopen, just want to check to see if there is a better alternative? Is there any update to the list from https://wiki.freeswitch.org/wiki/Gsmopen ? Thanks, Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161219/28043068/attachment.html From jleung at v10networks.ca Mon Dec 19 09:58:55 2016 From: jleung at v10networks.ca (Jeff Leung) Date: Sun, 18 Dec 2016 22:58:55 -0800 Subject: [Freeswitch-users] gsmopen with E1762 ? In-Reply-To: References: Message-ID: > Before I go out to purchase the E1762 for gsmopen, just want to check to see > if there is a better alternative? There are dedicated hardware GSM-SIP gateways out there on eBay. I'd look into those solutions as they do seem to be a lot less of a hassle to get up and running > Is there any update to the list from > https://wiki.freeswitch.org/wiki/Gsmopen ? > > Thanks, > Jeff From ovoshlook at gmail.com Mon Dec 19 11:54:49 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Mon, 19 Dec 2016 11:54:49 +0300 Subject: [Freeswitch-users] Picking up conference after second leg (called by autocall) joined Message-ID: Hi. I have conference and for now it works with autocall to other members I want to add all members at the room only when aoutocalled members will pick up call. Is it possible by conference configuration ori will I need to create bridges by myself and then join them (redirect for example) to conference room by scripting -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161219/0dbfd5a0/attachment.html From ovoshlook at gmail.com Mon Dec 19 17:36:04 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Mon, 19 Dec 2016 17:36:04 +0300 Subject: [Freeswitch-users] Handle outgoing call after answer Message-ID: Hi. I want to make some staff (inserting in database s?me data and then transfer call) after it was answered by dialplan(does not matter is it lua dialplan or something other). I have experience with other products (pushing handlers after 200 arrived), but in freeSwitch i found only hangup_hook for handling call after it was hanged up Is it have method to do this? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161219/41d0d53d/attachment-0001.html From ovoshlook at gmail.com Mon Dec 19 17:59:50 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Mon, 19 Dec 2016 17:59:50 +0300 Subject: [Freeswitch-users] Handle outgoing call after answer In-Reply-To: References: Message-ID: I just found only session:answered method but i suppose it not works if i ll use it in a dialplan scripting because i tried add it in my dialplan nad saw to reaction on it 2016-12-19 17:36 GMT+03:00 Yuriy Gorlichenko : > Hi. I want to make some staff (inserting in database s?me data and then > transfer call) after it was answered by dialplan(does not matter is it lua > dialplan or something other). > I have experience with other products (pushing handlers after 200 > arrived), but in freeSwitch i found only hangup_hook for handling call > after it was hanged up > > Is it have method to do this? > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161219/6b9a6c97/attachment.html From ssinyagin at gmail.com Mon Dec 19 18:43:21 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 19 Dec 2016 16:43:21 +0100 Subject: [Freeswitch-users] Handle outgoing call after answer In-Reply-To: References: Message-ID: you can set channel variables that will trigger corresponding actions: execute_on_answer execute_on_media execute_on_media_timeout execute_on_pre_answer execute_on_ring they are well documented in the wiki. In more complex cases, you can set up an event listener via an ESL socket, and process the call state events at your wish. On Mon, Dec 19, 2016 at 3:59 PM, Yuriy Gorlichenko wrote: > I just found only > session:answered method but i suppose it not works if i ll use it in a > dialplan scripting > because i tried add it in my dialplan nad saw to reaction on it > > 2016-12-19 17:36 GMT+03:00 Yuriy Gorlichenko : >> >> Hi. I want to make some staff (inserting in database s?me data and then >> transfer call) after it was answered by dialplan(does not matter is it lua >> dialplan or something other). >> I have experience with other products (pushing handlers after 200 >> arrived), but in freeSwitch i found only hangup_hook for handling call after >> it was hanged up >> >> Is it have method to do 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 From ovoshlook at gmail.com Mon Dec 19 19:43:14 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Mon, 19 Dec 2016 19:43:14 +0300 Subject: [Freeswitch-users] Handle outgoing call after answer In-Reply-To: References: Message-ID: hm... thnks a lot! It is goos solution for me) 2016-12-19 18:43 GMT+03:00 Stanislav Sinyagin : > you can set channel variables that will trigger corresponding actions: > > execute_on_answer > execute_on_media > execute_on_media_timeout > execute_on_pre_answer > execute_on_ring > > they are well documented in the wiki. > > In more complex cases, you can set up an event listener via an ESL > socket, and process the call state events at your wish. > > > > On Mon, Dec 19, 2016 at 3:59 PM, Yuriy Gorlichenko > wrote: > > I just found only > > session:answered method but i suppose it not works if i ll use it in a > > dialplan scripting > > because i tried add it in my dialplan nad saw to reaction on it > > > > 2016-12-19 17:36 GMT+03:00 Yuriy Gorlichenko : > >> > >> Hi. I want to make some staff (inserting in database s?me data and then > >> transfer call) after it was answered by dialplan(does not matter is it > lua > >> dialplan or something other). > >> I have experience with other products (pushing handlers after 200 > >> arrived), but in freeSwitch i found only hangup_hook for handling call > after > >> it was hanged up > >> > >> Is it have method to do 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161219/df0d3d8c/attachment.html From jeff.chua.linux at gmail.com Mon Dec 19 20:58:06 2016 From: jeff.chua.linux at gmail.com (Jeff Chua) Date: Tue, 20 Dec 2016 01:58:06 +0800 Subject: [Freeswitch-users] gsmopen with E1762 ? In-Reply-To: References: Message-ID: On Mon, Dec 19, 2016 at 2:58 PM, Jeff Leung wrote: >> Before I go out to purchase the E1762 for gsmopen, just want to check to see >> if there is a better alternative? > > There are dedicated hardware GSM-SIP gateways out there on eBay. I'd look into those solutions as they do seem to be a lot less of a hassle to get up and running Appreciate that. I'll look into it. Thanks, Jeff From david.ponzone at ipeva.fr Mon Dec 19 21:16:40 2016 From: david.ponzone at ipeva.fr (David Ponzone) Date: Mon, 19 Dec 2016 19:16:40 +0100 Subject: [Freeswitch-users] "FreeSWITCH" References: Message-ID: David, It?s like if your call was not using the dialplan you defined. Can you recheck in the logs that it?s going through the right dialplan and parsing the right extensions ? David Ponzone Direction Technique email: david.ponzone at ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. > Le 12 d?c. 2016 ? 19:07, David Villasmil a ?crit : > > I have in my gateway "caller-id-in-from" to true... > i have in my bridge: > > 13 > 14 > 15 > > why do i keep seeing going out like: > > From: "FreeSWITCH" >;tag=Qgtcrcv3NmD4B > ... > Remote-Party-ID: "FreeSWITCH" >;party=calling;screen=yes;privacy=off > > i seem to have forgotten or... > > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161219/1a8f8439/attachment-0001.html From david.ponzone at ipeva.fr Mon Dec 19 21:19:23 2016 From: david.ponzone at ipeva.fr (David Ponzone) Date: Mon, 19 Dec 2016 19:19:23 +0100 Subject: [Freeswitch-users] change P-Asserted-Identity In-Reply-To: <01b601d25646$720bc880$56235980$@verizon.net> References: <01b601d25646$720bc880$56235980$@verizon.net> Message-ID: Andre, the pcap is the capture of the 183 you send back to your customer ? Can you check if your customer sent you a PAI in its INVITE ? David Ponzone Direction Technique email: david.ponzone at ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. > Le 14 d?c. 2016 ? 21:12, Andre DeMattia a ?crit : > > HI, > We have a dial plan that we require our customers to send us the Dial > Number with a custom prefix, let's say 7000. > > We use this prefix to know where to route the call. > We will strip the prefix and dial the correct number > (sofia/internal/1xxxxxxxxxx;npdi=yes at xxx.xxx.xxx.xxxx:5060) > > On the 183 the pcap shows P-Asserted-Identity: "7000xxxxxxxxxx" > > > I have no idea how that prefix got onto the P-Assereted-Identity. Can > someone help me know how to change that to the real dialed number and strip > the prefix? > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161219/b6711a93/attachment.html From ssinyagin at gmail.com Tue Dec 20 00:24:11 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 19 Dec 2016 22:24:11 +0100 Subject: [Freeswitch-users] gsmopen with E1762 ? In-Reply-To: References: Message-ID: my customer is using three Yeastar GSM gateways. They are quite stable, and work flawlessly with FreeSWITCH. There are of course many other vendors too. On Mon, Dec 19, 2016 at 6:58 PM, Jeff Chua wrote: > On Mon, Dec 19, 2016 at 2:58 PM, Jeff Leung wrote: >>> Before I go out to purchase the E1762 for gsmopen, just want to check to see >>> if there is a better alternative? >> >> There are dedicated hardware GSM-SIP gateways out there on eBay. I'd look into those solutions as they do seem to be a lot less of a hassle to get up and running > > Appreciate that. I'll look into it. > > Thanks, > Jeff > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From tculjaga at gmail.com Tue Dec 20 01:11:27 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Mon, 19 Dec 2016 23:11:27 +0100 Subject: [Freeswitch-users] mod_verto & a1-hash In-Reply-To: References: Message-ID: thanks Antonio, will create a jira and we will see thats gonna happen... anyhow its strange nobody from dev team got interested :=) T. On 18 December 2016 at 22:12, Antonio Silva wrote: > i think the right way is to create a jira and them a pull request, all the > steps can be found here: > > https://freeswitch.org/confluence/display/FREESWITCH/Pull+Requests > > > > On 12/18/2016 07:12 PM, Tihomir Culjaga wrote: > > i made a modification on mod_verto to allow a1-hash auth. > > where do i send patches ? > > T. > > > _________________________________________________________________________ > 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/20161219/b455756f/attachment.html From vittico at gmail.com Tue Dec 20 01:36:44 2016 From: vittico at gmail.com (Victor Medina) Date: Mon, 19 Dec 2016 18:36:44 -0400 Subject: [Freeswitch-users] mod_callcenter and agents disconnected Message-ID: Hello guys! I have been working with mod callcenter today and noted something. If logged as an agent and shutdown the softphone, FS shows the extension when off, but keep the agent as Available, is there any way to change agent status when a registration dies? freeswitch at internal> callcenter_config agent list name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time operador127 at soporte|single_box||callback|[call_timeout=10]user/127@ ${domain_name}|Available|Waiting|20|10|10|40|0|0|0|0|1482186051|0|0|0|0 operador128 at soporte|single_box||callback|[call_timeout=10]user/128@ ${domain_name}|Available|Waiting|20|10|10|40|0|0|0|0|1482186045|0|0|0|0 operador126 at soporte|single_box||callback|[call_timeout=10]user/126@${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador129 at soporte|single_box||callback|[call_timeout=10]user/129@${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador148 at soporte|single_box||callback|[call_timeout=10]user/148@${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador149 at soporte|single_box||callback|[call_timeout=10]user/149@${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 operador999 at soporte|single_box||callback|[call_timeout=10]user/999@${domain_name}|Logged Out|Waiting|5|10|10|40|0|0|0|0|1482185645|0|0|0|0 +OK Sin mas a que hacer referencia, Victor Medina -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161219/d3eea37c/attachment-0001.html From anthony.minessale at gmail.com Tue Dec 20 01:42:10 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 19 Dec 2016 16:42:10 -0600 Subject: [Freeswitch-users] mod_verto & a1-hash In-Reply-To: References: Message-ID: On Mon, Dec 19, 2016 at 4:11 PM, Tihomir Culjaga wrote: > thanks Antonio, > > will create a jira and we will see thats gonna happen... > anyhow its strange nobody from dev team got interested :=) > Because you are making the false assumption that the dev team can keep up with every email here. When you start with JIRA you have an infinitely better chance of communicating with us, especially about DEV related things. > > T. > > > > On 18 December 2016 at 22:12, Antonio Silva > wrote: > >> i think the right way is to create a jira and them a pull request, all >> the steps can be found here: >> >> https://freeswitch.org/confluence/display/FREESWITCH/Pull+Requests >> >> >> >> On 12/18/2016 07:12 PM, Tihomir Culjaga wrote: >> >> i made a modification on mod_verto to allow a1-hash auth. >> >> where do i send patches ? >> >> T. >> >> >> _________________________________________________________________________ >> 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 > -- 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/20161219/5f74a8f6/attachment.html From asilva at wirelessmundi.com Tue Dec 20 02:50:53 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Tue, 20 Dec 2016 00:50:53 +0100 Subject: [Freeswitch-users] mod_callcenter and agents disconnected In-Reply-To: References: Message-ID: hi, there is a pull request that i'm working to add that feature, so you can put the action to execute if the agent answers not registered, the same way as it is now with the option no-answer. Tomorrow i should do the commit so Italo Rossi can review it, the link where you can follow the work: https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/1099/overview On 12/19/2016 11:36 PM, Victor Medina wrote: > Hello guys! > > I have been working with mod callcenter today and noted something. If > logged as an agent and shutdown the softphone, FS shows the extension > when off, but keep the agent as Available, is there any way to change > agent status when a registration dies? > > freeswitch at internal> callcenter_config agent list > name|system|uuid|type|contact|status|state|max_no_answer|wrap_up_time|reject_delay_time|busy_delay_time|no_answer_delay_time|last_bridge_start|last_bridge_end|last_offered_call|last_status_change|no_answer_count|calls_answered|talk_time|ready_time > operador127 at soporte|single_box||callback|[call_timeout=10]user/127@${domain_name}|Available|Waiting|20|10|10|40|0|0|0|0|1482186051|0|0|0|0 > operador128 at soporte|single_box||callback|[call_timeout=10]user/128@${domain_name}|Available|Waiting|20|10|10|40|0|0|0|0|1482186045|0|0|0|0 > operador126 at soporte|single_box||callback|[call_timeout=10]user/126@${domain_name}|Logged > Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 > operador129 at soporte|single_box||callback|[call_timeout=10]user/129@${domain_name}|Logged > Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 > operador148 at soporte|single_box||callback|[call_timeout=10]user/148@${domain_name}|Logged > Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 > operador149 at soporte|single_box||callback|[call_timeout=10]user/149@${domain_name}|Logged > Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 > operador999 at soporte|single_box||callback|[call_timeout=10]user/999@${domain_name}|Logged > Out|Waiting|5|10|10|40|0|0|0|0|1482185645|0|0|0|0 > +OK > > > Sin mas a que hacer referencia, > > Victor Medina > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161220/be218a69/attachment.html From sebastian_ml at gmx.net Fri Dec 16 01:36:00 2016 From: sebastian_ml at gmx.net (Sebastian Kemper) Date: Thu, 15 Dec 2016 23:36:00 +0100 Subject: [Freeswitch-users] FS changes to transcoding after hold In-Reply-To: References: <20161209214734.GA2498@hotdamn.lan> <20161210154049.GA2603@hotdamn.lan> Message-ID: <20161215223559.GA2358@hotdamn.lan> On Wed, Dec 14, 2016 at 12:49:27AM -0600, Anthony Minessale wrote: > you could try setting execute_on_answer variable to lock in the codec > > Make an extension in the same context "assuming default for this example" > > > > > > data="absolute_codec_string=${rtp_use_codec_name}"/> > > Hello Anthony, I tried it out and it worked. I added a new context with the lock_codec extension and then added the execute_on_answer in the context I was making test calls from. When using "set" the absolute_codec_string was set on A leg, when using "export" on both legs, like you said. Thanks! Sebastian From volga629 at networklab.ca Sun Dec 18 17:40:40 2016 From: volga629 at networklab.ca (Slava Bendersky) Date: Sun, 18 Dec 2016 09:40:40 -0500 (EST) Subject: [Freeswitch-users] oubound proxy Message-ID: <583288213.111931891.1482072040124.JavaMail.zimbra@skillsearch.ca> Hello Everyone, I have issue where freeswitch use received part and not uri of proxy for saved extension contact. This cause send call to wrong direction instead of to edge proxy. freeswitch at casip00.myorg.prod> sofia status profile internal reg Registrations: ================================================================================================= Call-ID: 137861_rel44NDdhMTljNzNmYTJmZTY3OTVlNmQzYmIwNmYxMzI5NzI User: 45241 at domain.net Contact: "volga629" Agent: Bria Android 3.7.5 build 92486 Status: Registered(UDP)(unknown) EXP(2016-12-18 09:43:24) EXPSECS(745) Ping-Status: Reachable Ping-Time: 0.00 Host: casip01.myorg.prod IP: 10.18.130.27 Port: 5060 Auth-User: 45241 Auth-Realm: domain.net MWI-Account: 45241 at domain.net Total items returned: 2 ================================================================================================= freeswitch at casip00.myorg.prod> here are failing call log. https://paste.fedoraproject.org/508859/48206989/ Any help thank you. volga629 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161218/824b0b19/attachment-0001.html From am126258 at gmail.com Tue Dec 20 04:49:55 2016 From: am126258 at gmail.com (david william) Date: Mon, 19 Dec 2016 20:49:55 -0500 Subject: [Freeswitch-users] How do I get dialplans from database? Message-ID: Can Freeswitch get dialplans from database without using *mod_xml_curl? I just played FusionPBX for days and I got some impression that it just uses a pure database for configuration and dialplans. Am I right? I like to save users and dialplans in database. What is the best approach for it. I read through two books about Freeswitch. * *Thanks,* *David* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161219/27d337a8/attachment.html From krice at freeswitch.org Tue Dec 20 05:03:44 2016 From: krice at freeswitch.org (Ken Rice) Date: Mon, 19 Dec 2016 20:03:44 -0600 Subject: [Freeswitch-users] How do I get dialplans from database? In-Reply-To: References: Message-ID: <2e9c01d25a65$4c021f90$e4065eb0$@freeswitch.org> FreeSWITCH can use xml_curl or you can do xml bindings in things like Lua, FusionPBX does the later. Also keep in mind that things like the dialplan and the directory are both modular. Don?t like mod_dialplan_xml you don?t have to use it. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of david william Sent: Monday, December 19, 2016 7:50 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] How do I get dialplans from database? Can Freeswitch get dialplans from database without using mod_xml_curl? I just played FusionPBX for days and I got some impression that it just uses a pure database for configuration and dialplans. Am I right? I like to save users and dialplans in database. What is the best approach for it. I read through two books about Freeswitch. Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161219/c8059827/attachment.html From v.zakhozhai at gmail.com Tue Dec 20 11:04:47 2016 From: v.zakhozhai at gmail.com (Vladyslav Zakhozhai) Date: Tue, 20 Dec 2016 10:04:47 +0200 Subject: [Freeswitch-users] oubound proxy In-Reply-To: <583288213.111931891.1482072040124.JavaMail.zimbra@skillsearch.ca> References: <583288213.111931891.1482072040124.JavaMail.zimbra@skillsearch.ca> Message-ID: Hi Slava, Are you sure that originated call to registered user does not pass edge proxy? Inbound registrations passes the same edge proxy and it's address specified in fs_path? What is dialstring for the user? SIP trace would be useful too. Unfortunately link that you have provided is broken. 2016-12-18 16:40 GMT+02:00 Slava Bendersky : > Hello Everyone, > I have issue where freeswitch use received part and not uri of proxy for > saved extension contact. This cause send call to wrong direction instead of > to edge proxy. > > > freeswitch at casip00.myorg.prod> sofia status profile internal reg > > Registrations: > ============================================================ > ===================================== > Call-ID: 137861_rel44NDdhMTljNzNmYTJmZTY3OTVlNmQzYmIwNmYxMzI5NzI > User: 45241 at domain.net > Contact: "volga629" 5d29fcadab1edf67;transport=udp;fs_path=sip%3A10.18.130. > 27%3Blr%3Breceived%3Dsip%3Aclient_public_ip%3A45950%3Btransport%3Dtls> > Agent: Bria Android 3.7.5 build 92486 > Status: Registered(UDP)(unknown) EXP(2016-12-18 09:43:24) EXPSECS(745) > Ping-Status: Reachable > Ping-Time: 0.00 > Host: casip01.myorg.prod > IP: 10.18.130.27 > Port: 5060 > Auth-User: 45241 > Auth-Realm: domain.net > MWI-Account: 45241 at domain.net > > Total items returned: 2 > ============================================================ > ===================================== > > freeswitch at casip00.myorg.prod> > > > here are failing call log. > > https://paste.fedoraproject.org/508859/48206989/ > > Any help thank you. > > volga629 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ? ?????????, ????????? ??????? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161220/08a5c3ae/attachment.html From david.ponzone at ipeva.fr Tue Dec 20 11:56:05 2016 From: david.ponzone at ipeva.fr (David Ponzone) Date: Tue, 20 Dec 2016 09:56:05 +0100 Subject: [Freeswitch-users] oubound proxy In-Reply-To: <583288213.111931891.1482072040124.JavaMail.zimbra@skillsearch.ca> References: <583288213.111931891.1482072040124.JavaMail.zimbra@skillsearch.ca> Message-ID: <6FBBE7A4-FE7B-4719-A015-C3B6ED9F495E@ipeva.fr> In your user configuration (directory), you can try to add: > Agent: Bria Android 3.7.5 build 92486 > Status: Registered(UDP)(unknown) EXP(2016-12-18 09:43:24) EXPSECS(745) > Ping-Status: Reachable > Ping-Time: 0.00 > Host: casip01.myorg.prod > IP: 10.18.130.27 > Port: 5060 > Auth-User: 45241 > Auth-Realm: domain.net > MWI-Account: 45241 at domain.net > > Total items returned: 2 > ================================================================================================= > > freeswitch at casip00.myorg.prod> > > > here are failing call log. > > https://paste.fedoraproject.org/508859/48206989/ > > Any help thank you. > > volga629 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161220/a40aaaa8/attachment-0001.html From vittico at gmail.com Tue Dec 20 15:09:10 2016 From: vittico at gmail.com (Victor Medina) Date: Tue, 20 Dec 2016 08:09:10 -0400 Subject: [Freeswitch-users] mod_callcenter and agents disconnected In-Reply-To: References: Message-ID: Excellent! Sin mas a que hacer referencia, Victor Medina On Mon, Dec 19, 2016 at 7:50 PM, Antonio Silva wrote: > hi, > > there is a pull request that i'm working to add that feature, so you can > put the action to execute if the agent answers not registered, the same way > as it is now with the option no-answer. > > Tomorrow i should do the commit so Italo Rossi can review it, the link > where you can follow the work: > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/ > pull-requests/1099/overview > > > > On 12/19/2016 11:36 PM, Victor Medina wrote: > > Hello guys! > > I have been working with mod callcenter today and noted something. If > logged as an agent and shutdown the softphone, FS shows the extension when > off, but keep the agent as Available, is there any way to change agent > status when a registration dies? > > freeswitch at internal> callcenter_config agent list > name|system|uuid|type|contact|status|state|max_no_answer| > wrap_up_time|reject_delay_time|busy_delay_time|no_ > answer_delay_time|last_bridge_start|last_bridge_end|last_ > offered_call|last_status_change|no_answer_count|calls_ > answered|talk_time|ready_time > operador127 at soporte|single_box||callback|[call_timeout=10]user/127@ > ${domain_name}|Available|Waiting|20|10|10|40|0|0|0|0|1482186051|0|0|0|0 > operador128 at soporte|single_box||callback|[call_timeout=10]user/128@ > ${domain_name}|Available|Waiting|20|10|10|40|0|0|0|0|1482186045|0|0|0|0 > operador126 at soporte|single_box||callback|[call_timeout=10]user/126@ > ${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 > operador129 at soporte|single_box||callback|[call_timeout=10]user/129@ > ${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 > operador148 at soporte|single_box||callback|[call_timeout=10]user/148@ > ${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 > operador149 at soporte|single_box||callback|[call_timeout=10]user/149@ > ${domain_name}|Logged Out|Waiting|20|10|10|40|0|0|0|0|1482185645|0|0|0|0 > operador999 at soporte|single_box||callback|[call_timeout=10]user/999@ > ${domain_name}|Logged Out|Waiting|5|10|10|40|0|0|0|0|1482185645|0|0|0|0 > +OK > > > Sin mas a que hacer referencia, > > Victor Medina > > > _________________________________________________________________________ > 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/20161220/962ecc36/attachment.html From jeff.chua.linux at gmail.com Tue Dec 20 17:25:27 2016 From: jeff.chua.linux at gmail.com (Jeff Chua) Date: Tue, 20 Dec 2016 22:25:27 +0800 Subject: [Freeswitch-users] gsmopen with E1762 ? In-Reply-To: References: Message-ID: On Tue, Dec 20, 2016 at 5:24 AM, Stanislav Sinyagin wrote: > my customer is using three Yeastar GSM gateways. They are quite > stable, and work flawlessly with FreeSWITCH. There are of course many > other vendors too. Interesting :) Thanks for the lead. Jeff From netcentrica at gmail.com Tue Dec 20 18:26:32 2016 From: netcentrica at gmail.com (Adam Raszynski) Date: Tue, 20 Dec 2016 16:26:32 +0100 Subject: [Freeswitch-users] Bridged calls randomly interrupted by MOH Message-ID: Hi all I have some strange problem with my FS setup. During bridged call sometimes callers hear MOH music for a moment (instead of each other) and than call is continued. It happens completely randomly and without additional action (ie. no DTMF). It happens both on stable 1.6.x version and on legacy system based on 1.2.x I use call queue position announcement hack described in wiki - executing in dialplan and - lua script that runs in loop, uuid_broadcasts position in queue, uuid_bridges callers when agent answers call Is this problem with random call interruption by MOH related to any known bug? or maybe there is currently some standard method of announce position in queue without background execution hack? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161220/0398d1e0/attachment.html From tomp at tomp.uk Tue Dec 20 11:46:54 2016 From: tomp at tomp.uk (Tom Parrott) Date: Tue, 20 Dec 2016 08:46:54 +0000 Subject: [Freeswitch-users] Reloading mod_verto certificates Message-ID: Hi, With the rise of LetsEncrypt and short lived automated certificates being allocated, I wondered what is the best approach for reloading a Verto encryption certificate without taking down the Freeswitch server or verto module? Thanks Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3801 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161220/f697798a/attachment-0001.bin From vma at vallimamod.org Tue Dec 20 15:32:59 2016 From: vma at vallimamod.org (Vallimamod Abdullah) Date: Tue, 20 Dec 2016 13:32:59 +0100 Subject: [Freeswitch-users] To get rid of P-Asserted-Identity ? In-Reply-To: References: <65EF370A-1C6C-4760-BFE9-3363A4B4BB9B@440hz.fr> Message-ID: <0A107EAF-9D09-4C6E-BE2A-936A70BFCD16@vallimamod.org> Hi David, Have you tried to change its value with set_profile_var? According to the source, it should work? :) Best Regards, -- Vallimamod Abdullah vma at vallimamod.org . > On 16 Dec 2016, at 13:23, David Ponzone wrote: > > Abdullah, > > I am talking only about inbound. > I am not even sending a call yet. I just don?t want a wrong caller_id_number read-only chanvar to be set as it will be propagated in the CDR. > > Also, AFAIK, caller-id-in-from is for outbound calls only. > > David Ponzone Direction Technique > email: david.ponzone at ipeva.fr > tel: 01 74 03 18 97 > gsm: 06 66 98 76 34 > > Service Client IPeva > tel: 0811 46 26 26 > www.ipeva.fr - www.ipeva-studio.com > > Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. > > > > >> Le 15 d?c. 2016 ? 17:17, Vallimamod Abdullah a ?crit : >> >> Hi, >> >> You can tell freeswitch to not set the pid automatically with the param caller-id-type=none in your sip profile. Then you can export the sip_h_P-Asserted-Identity var before the bridge to set the header manually. >> >> For gateways, you also have caller-id-in-from=true param to retrieve the caller_id_number in the From header. >> >> Best Regards, >> -- >> Vallimamod Abdullah >> vma at vallimamod.org >> . >> >>> On 15 Dec 2016, at 16:10, David Ponzone wrote: >>> >>> Hello all, >>> >>> when FS receives an inbound call with a PAID header, it uses this number to fill the caller_id_number channel variable. >>> I can?t manage to alter this behavior for inbound legs. >>> At least, I?d like to tell FS to ignore the PAID because it?s wrong, and to use the SIP From for the caller_id_number. >>> >>> Ideas ? Am I missing something obvious ? >>> >>> David Ponzone Direction Technique >>> email: david.ponzone at ipeva.fr >>> tel: 01 74 03 18 97 >>> gsm: 06 66 98 76 34 >>> >>> Service Client IPeva >>> tel: 0811 46 26 26 >>> www.ipeva.fr - www.ipeva-studio.com >>> >>> Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 bilaln018 at gmail.com Tue Dec 20 20:32:28 2016 From: bilaln018 at gmail.com (Bilal Abbasi) Date: Tue, 20 Dec 2016 22:32:28 +0500 Subject: [Freeswitch-users] [FS Unable to evaluate large regex] Message-ID: Hi users, i am getting some weird regex problem with my FS, if you have your regex length in more then 3000 characters if does not accept that in the condition, i split my regex in around 2000 characters, now i can see that FS is unable to resolve the Below Regex in the condition( i have a lot of other concatenated with that) ^(0092|\+92|92|0)313(9([0-9][0-9])|5([0-9][0-9])|0(0[59]|1[59]|2[6789]|5[01234567]|8[56789]|9[01278934])|1(2[6789]|5[01234567]|8[56789]|9[0-9]))[0-9]{4}$ But when i try that alone in the condition that works, i even tried to execute the whole in online regex tester and that did worked, but not working on FS. There must be a length of regex in condition that FS can evaluate, So i) i want to know that length so i can split my regex even shorter.and FS can evaluate that. ii) How FS people will look into this issue, so they can guide/fix this issue. Regards Abbasi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161220/ccde0bb8/attachment.html From John.Nowlin at tresta.com Wed Dec 21 00:41:47 2016 From: John.Nowlin at tresta.com (John.Nowlin at tresta.com) Date: Tue, 20 Dec 2016 16:41:47 -0500 Subject: [Freeswitch-users] [ERR] switch_ivr_originate.c:224 sofia/sipinterface_1/ Error Playing File! Message-ID: FreeSWITCH Version 1.4.26~64bit ( 64bit) We receive this error, "[ERR] switch_ivr_originate.c:224 sofia/sipinterface_1/ Error Playing File!" whenever the leg receiving the call hangs up before the extant media can start playing. After looking through switch_ivr_originate.c, I tried setting the global variables playback_timeout_sec=10 and playback_timeout_as_success=true but did not see a change in behavior. status = switch_ivr_read(collect->session, (uint32_t)len, (uint32_t)len, collect->file, NULL, buf, sizeof(buf), collect->confirm_timeout, NULL, 0); if (status != SWITCH_STATUS_SUCCESS && status != SWITCH_STATUS_BREAK && status != SWITCH_STATUS_TOO_SMALL) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(collect->session), SWITCH_LOG_ERROR, "%s Error Playing File!\n", switch_channel_get_name(channel)); switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER); } Is there some other setting that can inform switch_ivr_originate to not worry about having not played the media after the recipient has hung up? john nowlin Senior Software Developer Tresta office: 850.383.7756 mobile: 850.294.5635 www.tresta.com - A Better Phone Experience -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161220/96c4c89e/attachment.html From shakumarsoftware at gmail.com Wed Dec 21 01:11:46 2016 From: shakumarsoftware at gmail.com (Sharath Kumar) Date: Tue, 20 Dec 2016 15:11:46 -0700 Subject: [Freeswitch-users] enable-3pcc=proxy behavior Message-ID: Hello, I am using FS as an endpoint. I need some clarification the below scenario - When I receive an INV w/o SDP and enable-3pcc=proxy, the FS sends out a 18x and then when I answer the call it indicates in the logs that it is sending a 200 OK i.e[3PCC-PROXY, Sent a 200 OK, waiting for ACK] but the call fails with "SIP/2.0 500 No session set by user". Should I be setting the local-sdp somewhere from my application? I know this is not a very common usage of FS. I would've tried this with the FS client to confirm the behavior but I don't think it supports 3pcc=pxoxy only 3pcc=true. Thank you, Shaks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161220/eb18ab11/attachment.html From anthony.minessale at gmail.com Wed Dec 21 01:20:50 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 20 Dec 2016 16:20:50 -0600 Subject: [Freeswitch-users] enable-3pcc=proxy behavior In-Reply-To: References: Message-ID: What channel type is the outgoing leg? The inbound leg needs the variable switch_m_sdp set with the SDP of the outbound leg at the time when the outbound leg is answered. In the case of mod_verto a patch was added today to set that variable. If you are using something non-standard you will have to set that variable yourself. On Tue, Dec 20, 2016 at 4:11 PM, Sharath Kumar wrote: > Hello, > > I am using FS as an endpoint. I need some clarification the below scenario > - > > When I receive an INV w/o SDP and enable-3pcc=proxy, the FS sends out a > 18x and then when I answer the call it indicates in the logs that it is > sending a 200 OK i.e[3PCC-PROXY, Sent a 200 OK, waiting for ACK] but the > call fails with "SIP/2.0 500 No session set by user". > > Should I be setting the local-sdp somewhere from my application? I know > this is not a very common usage of FS. I would've tried this with the FS > client to confirm the behavior but I don't think it supports 3pcc=pxoxy > only 3pcc=true. > > Thank you, > Shaks > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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/20161220/bb5a927f/attachment.html From shakumarsoftware at gmail.com Wed Dec 21 01:39:12 2016 From: shakumarsoftware at gmail.com (Sharath Kumar) Date: Tue, 20 Dec 2016 15:39:12 -0700 Subject: [Freeswitch-users] enable-3pcc=proxy behavior In-Reply-To: References: Message-ID: There is no outbound leg. It is just my application answering.(just like a FS client) So I guess I will have to set the inbound leg with the local sdp. I am not sure if I can actually make it out of thin air .ie session id and ports etc ? Is there an API for me to generate the local SDP ? Or Am I completely missing something basic here! thank you so much! -Sharath On Tue, Dec 20, 2016 at 3:20 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > What channel type is the outgoing leg? > > The inbound leg needs the variable switch_m_sdp set with the SDP of the > outbound leg at the time when the outbound leg is answered. > In the case of mod_verto a patch was added today to set that variable. If > you are using something non-standard you will have to set that variable > yourself. > > > On Tue, Dec 20, 2016 at 4:11 PM, Sharath Kumar > wrote: > >> Hello, >> >> I am using FS as an endpoint. I need some clarification the below >> scenario - >> >> When I receive an INV w/o SDP and enable-3pcc=proxy, the FS sends out a >> 18x and then when I answer the call it indicates in the logs that it is >> sending a 200 OK i.e[3PCC-PROXY, Sent a 200 OK, waiting for ACK] but the >> call fails with "SIP/2.0 500 No session set by user". >> >> Should I be setting the local-sdp somewhere from my application? I know >> this is not a very common usage of FS. I would've tried this with the FS >> client to confirm the behavior but I don't think it supports 3pcc=pxoxy >> only 3pcc=true. >> >> Thank you, >> Shaks >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> 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 <(919)%20386-9900> > > 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/20161220/182b1473/attachment-0001.html From paul.mateer at outlook.com Wed Dec 21 01:39:10 2016 From: paul.mateer at outlook.com (Paul Mateer) Date: Tue, 20 Dec 2016 22:39:10 +0000 Subject: [Freeswitch-users] Problem using FSClient and FreeSWITCH Message-ID: I?m doing a little experimenting with FreeSWITCH and I've encountered a problem which hopefully someone can help with. I have a system running a generic build/install of FreeSWITCH and another with the FSClient running. I am trying to dial some of the numbers that should respond, such as 9664 or 9198, but when I try the call connects to the server but is then disconnected at the client end. Debugging the client I've found that there are two threads executing the audio_bridge_thread function. Both have the same two channels but they're reversed between threads. The problem seems to be that one channel has no media_handle assigned so when switch_core_session_write_frame is called to write the sound data that should be played by the client, the function returns a failure code and the client hangs up. Does anyone have any idea why one channel would not have had a media handle assigned ? I can call the same numbers from X-Lite on the same client PC and the call connects successfully and the audio stream is played ok. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161220/2071d719/attachment.html From anthony.minessale at gmail.com Wed Dec 21 01:45:37 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 20 Dec 2016 16:45:37 -0600 Subject: [Freeswitch-users] enable-3pcc=proxy behavior In-Reply-To: References: Message-ID: The whole point of =proxy is to place another outbound call and use the SDP from that outbound call in the answer to the INVITE. If you don't need that, then you should just use the =true mode. On Tue, Dec 20, 2016 at 4:39 PM, Sharath Kumar wrote: > There is no outbound leg. It is just my application answering.(just like a > FS client) So I guess I will have to set the inbound leg with the local > sdp. I am not sure if I can actually make it out of thin air .ie session id > and ports etc ? Is there an API for me to generate the local SDP ? Or Am I > completely missing something basic here! > > thank you so much! > -Sharath > > > On Tue, Dec 20, 2016 at 3:20 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> What channel type is the outgoing leg? >> >> The inbound leg needs the variable switch_m_sdp set with the SDP of the >> outbound leg at the time when the outbound leg is answered. >> In the case of mod_verto a patch was added today to set that variable. >> If you are using something non-standard you will have to set that variable >> yourself. >> >> >> On Tue, Dec 20, 2016 at 4:11 PM, Sharath Kumar < >> shakumarsoftware at gmail.com> wrote: >> >>> Hello, >>> >>> I am using FS as an endpoint. I need some clarification the below >>> scenario - >>> >>> When I receive an INV w/o SDP and enable-3pcc=proxy, the FS sends out a >>> 18x and then when I answer the call it indicates in the logs that it is >>> sending a 200 OK i.e[3PCC-PROXY, Sent a 200 OK, waiting for ACK] but the >>> call fails with "SIP/2.0 500 No session set by user". >>> >>> Should I be setting the local-sdp somewhere from my application? I know >>> this is not a very common usage of FS. I would've tried this with the FS >>> client to confirm the behavior but I don't think it supports 3pcc=pxoxy >>> only 3pcc=true. >>> >>> Thank you, >>> Shaks >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> 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 <(919)%20386-9900> >> >> 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/20161220/c58b519c/attachment.html From mitch.capper at gmail.com Wed Dec 21 01:47:22 2016 From: mitch.capper at gmail.com (Mitch Capper) Date: Tue, 20 Dec 2016 14:47:22 -0800 Subject: [Freeswitch-users] Problem using FSClient and FreeSWITCH In-Reply-To: References: Message-ID: Have you tried just verbose logging on the client and server? Remember FSClient you can turn up logging just like freeswitch. ~Mitch ~mitch On Tue, Dec 20, 2016 at 2:39 PM, Paul Mateer wrote: > I?m doing a little experimenting with FreeSWITCH and I've encountered a > problem which hopefully someone can help with. > > > > I have a system running a generic build/install of FreeSWITCH and another > with the FSClient running. > > > > I am trying to dial some of the numbers that should respond, such as 9664 > or 9198, but when I try the call connects to the server but is then > disconnected at the client end. > > > > Debugging the client I've found that there are two threads executing the > audio_bridge_thread function. Both have the same two channels but they're > reversed between threads. > > > > The problem seems to be that one channel has no media_handle assigned so > when switch_core_session_write_frame is called to write the sound data > that should be played by the client, the function returns a failure code > and the client hangs up. > > > > Does anyone have any idea why one channel would not have had a media > handle assigned ? I can call the same numbers from X-Lite on the same > client PC and the call connects successfully and the audio stream is played > ok. > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161220/1cc023fe/attachment-0001.html From shakumarsoftware at gmail.com Wed Dec 21 01:53:09 2016 From: shakumarsoftware at gmail.com (Sharath Kumar) Date: Tue, 20 Dec 2016 15:53:09 -0700 Subject: [Freeswitch-users] enable-3pcc=proxy behavior In-Reply-To: References: Message-ID: Ok. You are right the =true works but It gives me the unpleasant side effect of auto-answering the call even before the user has answered the call. So I thought the =proxy will help and give me the control over providing the answer by the user(200 OK) rather than Fs supplying it. Do you know if I can hook up an API for generating the local SDP and setting the m_sdp variable ? I can contribute it back if it useful for other FS endpoint users who don't use verto. Or is this something that can be done in verto ? -Shaks On Tue, Dec 20, 2016 at 3:45 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > The whole point of =proxy is to place another outbound call and use the > SDP from that outbound call in the answer to the INVITE. > If you don't need that, then you should just use the =true mode. > > > On Tue, Dec 20, 2016 at 4:39 PM, Sharath Kumar > wrote: > >> There is no outbound leg. It is just my application answering.(just like >> a FS client) So I guess I will have to set the inbound leg with the local >> sdp. I am not sure if I can actually make it out of thin air .ie session id >> and ports etc ? Is there an API for me to generate the local SDP ? Or Am I >> completely missing something basic here! >> >> thank you so much! >> -Sharath >> >> >> On Tue, Dec 20, 2016 at 3:20 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> What channel type is the outgoing leg? >>> >>> The inbound leg needs the variable switch_m_sdp set with the SDP of the >>> outbound leg at the time when the outbound leg is answered. >>> In the case of mod_verto a patch was added today to set that variable. >>> If you are using something non-standard you will have to set that variable >>> yourself. >>> >>> >>> On Tue, Dec 20, 2016 at 4:11 PM, Sharath Kumar < >>> shakumarsoftware at gmail.com> wrote: >>> >>>> Hello, >>>> >>>> I am using FS as an endpoint. I need some clarification the below >>>> scenario - >>>> >>>> When I receive an INV w/o SDP and enable-3pcc=proxy, the FS sends out a >>>> 18x and then when I answer the call it indicates in the logs that it is >>>> sending a 200 OK i.e[3PCC-PROXY, Sent a 200 OK, waiting for ACK] but the >>>> call fails with "SIP/2.0 500 No session set by user". >>>> >>>> Should I be setting the local-sdp somewhere from my application? I know >>>> this is not a very common usage of FS. I would've tried this with the FS >>>> client to confirm the behavior but I don't think it supports 3pcc=pxoxy >>>> only 3pcc=true. >>>> >>>> Thank you, >>>> Shaks >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-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 <(919)%20386-9900> >>> >>> 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 <(919)%20386-9900> > > 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/20161220/7a247998/attachment.html From anthony.minessale at gmail.com Wed Dec 21 01:54:59 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 20 Dec 2016 16:54:59 -0600 Subject: [Freeswitch-users] Problem using FSClient and FreeSWITCH In-Reply-To: References: Message-ID: Try latest master and see if you still see that. We just fixed something similar this morning. On Tue, Dec 20, 2016 at 4:47 PM, Mitch Capper wrote: > Have you tried just verbose logging on the client and server? Remember > FSClient you can turn up logging just like freeswitch. > > ~Mitch > > > ~mitch > > On Tue, Dec 20, 2016 at 2:39 PM, Paul Mateer > wrote: > >> I?m doing a little experimenting with FreeSWITCH and I've encountered a >> problem which hopefully someone can help with. >> >> >> >> I have a system running a generic build/install of FreeSWITCH and another >> with the FSClient running. >> >> >> >> I am trying to dial some of the numbers that should respond, such as 9664 >> or 9198, but when I try the call connects to the server but is then >> disconnected at the client end. >> >> >> >> Debugging the client I've found that there are two threads executing the >> audio_bridge_thread function. Both have the same two channels but they're >> reversed between threads. >> >> >> >> The problem seems to be that one channel has no media_handle assigned so >> when switch_core_session_write_frame is called to write the sound data >> that should be played by the client, the function returns a failure code >> and the client hangs up. >> >> >> >> Does anyone have any idea why one channel would not have had a media >> handle assigned ? I can call the same numbers from X-Lite on the same >> client PC and the call connects successfully and the audio stream is played >> ok. >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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/20161220/48bb466b/attachment-0001.html From anthony.minessale at gmail.com Wed Dec 21 02:31:30 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 20 Dec 2016 17:31:30 -0600 Subject: [Freeswitch-users] enable-3pcc=proxy behavior In-Reply-To: References: Message-ID: We could possible add a patch where, if we do not have the sdp from the variable that, at that moment we can generate a local sdp instead. You would have to file a JIRA so we don't forget. On Tue, Dec 20, 2016 at 4:53 PM, Sharath Kumar wrote: > Ok. You are right the =true works but It gives me the unpleasant side > effect of auto-answering the call even before the user has answered the > call. So I thought the =proxy will help and give me the control over > providing the answer by the user(200 OK) rather than Fs supplying it. Do > you know if I can hook up an API for generating the local SDP and setting > the m_sdp variable ? I can contribute it back if it useful for other FS > endpoint users who don't use verto. Or is this something that can be done > in verto ? > -Shaks > > On Tue, Dec 20, 2016 at 3:45 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> The whole point of =proxy is to place another outbound call and use the >> SDP from that outbound call in the answer to the INVITE. >> If you don't need that, then you should just use the =true mode. >> >> >> On Tue, Dec 20, 2016 at 4:39 PM, Sharath Kumar < >> shakumarsoftware at gmail.com> wrote: >> >>> There is no outbound leg. It is just my application answering.(just like >>> a FS client) So I guess I will have to set the inbound leg with the local >>> sdp. I am not sure if I can actually make it out of thin air .ie session id >>> and ports etc ? Is there an API for me to generate the local SDP ? Or Am I >>> completely missing something basic here! >>> >>> thank you so much! >>> -Sharath >>> >>> >>> On Tue, Dec 20, 2016 at 3:20 PM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> What channel type is the outgoing leg? >>>> >>>> The inbound leg needs the variable switch_m_sdp set with the SDP of the >>>> outbound leg at the time when the outbound leg is answered. >>>> In the case of mod_verto a patch was added today to set that variable. >>>> If you are using something non-standard you will have to set that variable >>>> yourself. >>>> >>>> >>>> On Tue, Dec 20, 2016 at 4:11 PM, Sharath Kumar < >>>> shakumarsoftware at gmail.com> wrote: >>>> >>>>> Hello, >>>>> >>>>> I am using FS as an endpoint. I need some clarification the below >>>>> scenario - >>>>> >>>>> When I receive an INV w/o SDP and enable-3pcc=proxy, the FS sends out >>>>> a 18x and then when I answer the call it indicates in the logs that it is >>>>> sending a 200 OK i.e[3PCC-PROXY, Sent a 200 OK, waiting for ACK] but the >>>>> call fails with "SIP/2.0 500 No session set by user". >>>>> >>>>> Should I be setting the local-sdp somewhere from my application? I >>>>> know this is not a very common usage of FS. I would've tried this with the >>>>> FS client to confirm the behavior but I don't think it supports 3pcc=pxoxy >>>>> only 3pcc=true. >>>>> >>>>> Thank you, >>>>> Shaks >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-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 <(919)%20386-9900> >>>> >>>> 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/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> 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 <(919)%20386-9900> >> >> 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/20161220/805fab18/attachment.html From shakumarsoftware at gmail.com Wed Dec 21 02:36:50 2016 From: shakumarsoftware at gmail.com (Sharath Kumar) Date: Tue, 20 Dec 2016 16:36:50 -0700 Subject: [Freeswitch-users] enable-3pcc=proxy behavior In-Reply-To: References: Message-ID: Anthony, Thank you so much! I will file a JIRA and let you know. -Shaks On Tue, Dec 20, 2016 at 4:31 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > We could possible add a patch where, if we do not have the sdp from the > variable that, at that moment we can generate a local sdp instead. > You would have to file a JIRA so we don't forget. > > > On Tue, Dec 20, 2016 at 4:53 PM, Sharath Kumar > wrote: > >> Ok. You are right the =true works but It gives me the unpleasant side >> effect of auto-answering the call even before the user has answered the >> call. So I thought the =proxy will help and give me the control over >> providing the answer by the user(200 OK) rather than Fs supplying it. Do >> you know if I can hook up an API for generating the local SDP and setting >> the m_sdp variable ? I can contribute it back if it useful for other FS >> endpoint users who don't use verto. Or is this something that can be done >> in verto ? >> -Shaks >> >> On Tue, Dec 20, 2016 at 3:45 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> The whole point of =proxy is to place another outbound call and use the >>> SDP from that outbound call in the answer to the INVITE. >>> If you don't need that, then you should just use the =true mode. >>> >>> >>> On Tue, Dec 20, 2016 at 4:39 PM, Sharath Kumar < >>> shakumarsoftware at gmail.com> wrote: >>> >>>> There is no outbound leg. It is just my application answering.(just >>>> like a FS client) So I guess I will have to set the inbound leg with the >>>> local sdp. I am not sure if I can actually make it out of thin air .ie >>>> session id and ports etc ? Is there an API for me to generate the local SDP >>>> ? Or Am I completely missing something basic here! >>>> >>>> thank you so much! >>>> -Sharath >>>> >>>> >>>> On Tue, Dec 20, 2016 at 3:20 PM, Anthony Minessale < >>>> anthony.minessale at gmail.com> wrote: >>>> >>>>> What channel type is the outgoing leg? >>>>> >>>>> The inbound leg needs the variable switch_m_sdp set with the SDP of >>>>> the outbound leg at the time when the outbound leg is answered. >>>>> In the case of mod_verto a patch was added today to set that >>>>> variable. If you are using something non-standard you will have to set >>>>> that variable yourself. >>>>> >>>>> >>>>> On Tue, Dec 20, 2016 at 4:11 PM, Sharath Kumar < >>>>> shakumarsoftware at gmail.com> wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> I am using FS as an endpoint. I need some clarification the below >>>>>> scenario - >>>>>> >>>>>> When I receive an INV w/o SDP and enable-3pcc=proxy, the FS sends out >>>>>> a 18x and then when I answer the call it indicates in the logs that it is >>>>>> sending a 200 OK i.e[3PCC-PROXY, Sent a 200 OK, waiting for ACK] but the >>>>>> call fails with "SIP/2.0 500 No session set by user". >>>>>> >>>>>> Should I be setting the local-sdp somewhere from my application? I >>>>>> know this is not a very common usage of FS. I would've tried this with the >>>>>> FS client to confirm the behavior but I don't think it supports 3pcc=pxoxy >>>>>> only 3pcc=true. >>>>>> >>>>>> Thank you, >>>>>> Shaks >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-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 <(919)%20386-9900> >>>>> >>>>> >>>>> 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/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-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 <(919)%20386-9900> >>> >>> 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 <(919)%20386-9900> > > 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/20161220/65d1ee21/attachment-0001.html From brian at freeswitch.org Wed Dec 21 03:01:27 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 20 Dec 2016 18:01:27 -0600 Subject: [Freeswitch-users] [FS Unable to evaluate large regex] In-Reply-To: References: Message-ID: What exactly are you trying to accomplish with this and what are some examples of what you're trying to match? On Tue, Dec 20, 2016 at 11:32 AM, Bilal Abbasi wrote: > Hi users, > i am getting some weird regex problem with my FS, if you have your regex > length in more then 3000 characters if does not accept that in the > condition, i split my regex in around 2000 characters, now i can see that > FS is unable to resolve the Below Regex in the condition( i have a lot of > other concatenated with that) > > ^(0092|\+92|92|0)313(9([0-9][0-9])|5([0-9][0-9])|0(0[59]|1[ > 59]|2[6789]|5[01234567]|8[56789]|9[01278934])|1(2[6789]| > 5[01234567]|8[56789]|9[0-9]))[0-9]{4}$ > > But when i try that alone in the condition that works, i even tried to > execute the whole in online regex tester and that did worked, but not > working on FS. > There must be a length of regex in condition that FS can evaluate, > So > i) i want to know that length so i can split my regex even shorter.and FS > can evaluate that. > ii) How FS people will look into this issue, so they can guide/fix this > issue. > > Regards > Abbasi > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161220/1c1f4c32/attachment.html From bilaln018 at gmail.com Wed Dec 21 08:39:58 2016 From: bilaln018 at gmail.com (Bilal Abbasi) Date: Wed, 21 Dec 2016 10:39:58 +0500 Subject: [Freeswitch-users] [FS Unable to evaluate large regex] In-Reply-To: References: Message-ID: Hi Brain, With above given example, i want to match 03135082344, that went perfect, but when i append some more REGEX with this like below (^(0092|\+92|92|0)312(9([0-9][0-9])|5([0-9][0-9])|0(0[59]|1[59]|5[0-9]|8[56789]|9[0-9])|1(5[0-9]|8[56789]|9[701234569]))[0-9]{4}$|^(0092|\+92|92|0)313(9([0-9][0-9])|5([0-9][0-9])|0(0[59]|1[59]|2[6789]|5[01234567]|8[56789]|9[01278934])|1(2[6789]|5[01234567]|8[56789]|9[0-9]))[0-9]{4}$) i am unable to match 03135082344, and its getting failed. Cheers On Wed, Dec 21, 2016 at 5:01 AM, Brian West wrote: > What exactly are you trying to accomplish with this and what are some > examples of what you're trying to match? > > On Tue, Dec 20, 2016 at 11:32 AM, Bilal Abbasi > wrote: > >> Hi users, >> i am getting some weird regex problem with my FS, if you have your regex >> length in more then 3000 characters if does not accept that in the >> condition, i split my regex in around 2000 characters, now i can see that >> FS is unable to resolve the Below Regex in the condition( i have a lot of >> other concatenated with that) >> >> ^(0092|\+92|92|0)313(9([0-9][0-9])|5([0-9][0-9])|0(0[59]|1[5 >> 9]|2[6789]|5[01234567]|8[56789]|9[01278934])|1(2[6789]|5[ >> 01234567]|8[56789]|9[0-9]))[0-9]{4}$ >> >> But when i try that alone in the condition that works, i even tried to >> execute the whole in online regex tester and that did worked, but not >> working on FS. >> There must be a length of regex in condition that FS can evaluate, >> So >> i) i want to know that length so i can split my regex even shorter.and FS >> can evaluate that. >> ii) How FS people will look into this issue, so they can guide/fix this >> issue. >> >> Regards >> Abbasi >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> > | *M:*+1918424WEST (9378) > *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/20161221/8ea739d6/attachment.html From krice at freeswitch.org Wed Dec 21 09:12:48 2016 From: krice at freeswitch.org (Ken Rice) Date: Wed, 21 Dec 2016 00:12:48 -0600 Subject: [Freeswitch-users] [FS Unable to evaluate large regex] In-Reply-To: References: Message-ID: <357701d25b51$41d432f0$c57c98d0$@freeswitch.org> This is one of those things where you probably need to be looking at either using more regexes or even looking going beyond the basic dialplan and into things like xml_curl or other more advance call processing mechanism From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bilal Abbasi Sent: Tuesday, December 20, 2016 11:40 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] [FS Unable to evaluate large regex] Hi Brain, With above given example, i want to match 03135082344, that went perfect, but when i append some more REGEX with this like below (^(0092|\+92|92|0)312(9([0-9][0-9])|5([0-9][0-9])|0(0[59]|1[59]|5[0-9]|8[56789]|9[0-9])|1(5[0-9]|8[56789]|9[701234569]))[0-9]{4}$|^(0092|\+92|92|0)313(9([0-9][0-9])|5([0-9][0-9])|0(0[59]|1[59]|2[6789]|5[01234567]|8[56789]|9[01278934])|1(2[6789]|5[01234567]|8[56789]|9[0-9]))[0-9]{4}$) i am unable to match 03135082344, and its getting failed. Cheers On Wed, Dec 21, 2016 at 5:01 AM, Brian West > wrote: What exactly are you trying to accomplish with this and what are some examples of what you're trying to match? On Tue, Dec 20, 2016 at 11:32 AM, Bilal Abbasi > wrote: Hi users, i am getting some weird regex problem with my FS, if you have your regex length in more then 3000 characters if does not accept that in the condition, i split my regex in around 2000 characters, now i can see that FS is unable to resolve the Below Regex in the condition( i have a lot of other concatenated with that) ^(0092|\+92|92|0)313(9([0-9][0-9])|5([0-9][0-9])|0(0[59]|1[59]|2[6789]|5[01234567]|8[56789]|9[01278934])|1(2[6789]|5[01234567]|8[56789]|9[0-9]))[0-9]{4}$ But when i try that alone in the condition that works, i even tried to execute the whole in online regex tester and that did worked, but not working on FS. There must be a length of regex in condition that FS can evaluate, So i) i want to know that length so i can split my regex even shorter.and FS can evaluate that. ii) How FS people will look into this issue, so they can guide/fix this issue. Regards Abbasi _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) 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/20161221/646cb2ce/attachment-0001.html From bipin at xbipin.com Wed Dec 21 11:40:12 2016 From: bipin at xbipin.com (Bipin Patel) Date: Wed, 21 Dec 2016 12:40:12 +0400 Subject: [Freeswitch-users] different ringtone when called party is already busy on another call Message-ID: An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161221/e0e4c6df/attachment.html From loi.dangthanh at gmail.com Wed Dec 21 13:22:11 2016 From: loi.dangthanh at gmail.com (=?UTF-8?B?TOG7o2kgxJDhurduZw==?=) Date: Wed, 21 Dec 2016 17:22:11 +0700 Subject: [Freeswitch-users] different ringtone when called party is already busy on another call In-Reply-To: References: Message-ID: guess It is the B's function, B is able to put the call in waiting instead of respond 486 to FS, when B is already a call with another party. in this case, I'm afraid FS will have no idea about what is happening in B. what branch B is? did you try B's role with another phone? rgds, Loi Dang Thanh Phone : +84.1224.735.448 Email : loi.dangthanh at gmail.com On Wed, Dec 21, 2016 at 3:40 PM, Bipin Patel wrote: > hi, > > i have been using FS in product on many raspberry pi's and other machines > in PBX environment and everything works well except im stuck with a > requirement which i cant seem to be able to get over. > > party A calls party B but party B is already in call with party C, so > party A gets normal ringtone and party B gets call waiting beeps, how do we > detect in FS that party B is already busy on another call and generate a > different ringtone for party A which he hears so indirectly party A knows > that party B is already on another call? > > > -- > Regards, > Bipin > > > ------------------------------ > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161221/84d87121/attachment.html From vma at vallimamod.org Wed Dec 21 14:58:51 2016 From: vma at vallimamod.org (Vallimamod Abdullah) Date: Wed, 21 Dec 2016 12:58:51 +0100 Subject: [Freeswitch-users] [ERR] switch_ivr_originate.c:224 sofia/sipinterface_1/ Error Playing File! In-Reply-To: References: Message-ID: <0ADDFAA3-4144-454A-92F4-8CD8F59949BD@vallimamod.org> Hi John, Can you please give more details on how this error appears? Your dialplan and debug logs will be helpful. In the mean time, I have noticed a few things that may help you: - The current stable version of freeSWITCH is 1.6, You should definitely try with it. The source and repos are available at https://freeswitch.org/confluence/display/FREESWITCH/Installation - Unless you have altered it, the channel name "sofia/sipinterface_1/" is incomplete, it should be like "sofia/sipinterface_1/dialed_extension". You may need to double check that your dial params are correct and the call was actually made. - The timeout variables are for playback terminators (when the user presses a key to stop the playback). So they won't help if the call never made it. - When the call is hanged up during the playback, it is not considered as an error by switch_ivr_play_file() Best Regards, -- Vallimamod Abdullah vma at vallimamod.org . > On 20 Dec 2016, at 22:41, John.Nowlin at tresta.com wrote: > > FreeSWITCH Version 1.4.26~64bit ( 64bit) > > We receive this error, ?[ERR] switch_ivr_originate.c:224 sofia/sipinterface_1/ Error Playing File!? whenever the leg receiving the call hangs up before the extant media can start playing. > > After looking through switch_ivr_originate.c, I tried setting the global variables playback_timeout_sec=10 and playback_timeout_as_success=true but did not see a change in behavior. > > status = switch_ivr_read(collect->session, > (uint32_t)len, > (uint32_t)len, > collect->file, NULL, buf, sizeof(buf), collect->confirm_timeout, NULL, 0); > > > if (status != SWITCH_STATUS_SUCCESS && status != SWITCH_STATUS_BREAK && status != SWITCH_STATUS_TOO_SMALL) { > switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(collect->session), SWITCH_LOG_ERROR, "%s Error Playing File!\n", > switch_channel_get_name(channel)); > switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER); > } > > Is there some other setting that can inform switch_ivr_originate to not worry about having not played the media after the recipient has hung up? > > john nowlin > Senior Software Developer > > Tresta > office: 850.383.7756 > mobile: 850.294.5635 > www.tresta.com > ? > A Better Phone Experience > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 bipin at xbipin.com Wed Dec 21 14:59:52 2016 From: bipin at xbipin.com (Bipin Patel) Date: Wed, 21 Dec 2016 15:59:52 +0400 Subject: [Freeswitch-users] different ringtone when called party is already busy on another call In-Reply-To: References: Message-ID: <0a791c1b-c578-5a05-f7f9-708b63e3ecf1@xbipin.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161221/3ee31f02/attachment.html From brian at freeswitch.org Wed Dec 21 17:56:41 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 21 Dec 2016 08:56:41 -0600 Subject: [Freeswitch-users] [FS Unable to evaluate large regex] In-Reply-To: <357701d25b51$41d432f0$c57c98d0$@freeswitch.org> References: <357701d25b51$41d432f0$c57c98d0$@freeswitch.org> Message-ID: https://regex101.com/r/0IR0N5/1 You should probably avoid such convoluted regular expressions, You'll only cause brain fry trying to keep all that in your head correct. Simplify and create more than one if you have that complex of a condition you may need to switch to xml_curl as Ken has pointed out. /b On Wed, Dec 21, 2016 at 12:12 AM, Ken Rice wrote: > This is one of those things where you probably need to be looking at > either using more regexes or even looking going beyond the basic dialplan > and into things like xml_curl or other more advance call processing > mechanism > > > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Bilal Abbasi > *Sent:* Tuesday, December 20, 2016 11:40 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] [FS Unable to evaluate large regex] > > > > Hi Brain, > > With above given example, i want to match 03135082344, that went perfect, > but when i append some more REGEX with this like below > > > > (^(0092|\+92|92|0)312(9([0-9][0-9])|5([0-9][0-9])|0(0[59]|1[ > 59]|5[0-9]|8[56789]|9[0-9])|1(5[0-9]|8[56789]|9[701234569])) > [0-9]{4}$|^(0092|\+92|92|0)313(9([0-9][0-9])|5([0-9][0-9] > )|0(0[59]|1[59]|2[6789]|5[01234567]|8[56789]|9[01278934] > )|1(2[6789]|5[01234567]|8[56789]|9[0-9]))[0-9]{4}$) > > > > i am unable to match 03135082344, and its getting failed. > > > > Cheers > > > > On Wed, Dec 21, 2016 at 5:01 AM, Brian West wrote: > > What exactly are you trying to accomplish with this and what are some > examples of what you're trying to match? > > > > On Tue, Dec 20, 2016 at 11:32 AM, Bilal Abbasi > wrote: > > Hi users, > > i am getting some weird regex problem with my FS, if you have your regex > length in more then 3000 characters if does not accept that in the > condition, i split my regex in around 2000 characters, now i can see that > FS is unable to resolve the Below Regex in the condition( i have a lot of > other concatenated with that) > > > > ^(0092|\+92|92|0)313(9([0-9][0-9])|5([0-9][0-9])|0(0[59]|1[ > 59]|2[6789]|5[01234567]|8[56789]|9[01278934])|1(2[6789]| > 5[01234567]|8[56789]|9[0-9]))[0-9]{4}$ > > > > But when i try that alone in the condition that works, i even tried to > execute the whole in online regex tester and that did worked, but not > working on FS. > > There must be a length of regex in condition that FS can evaluate, > > So > > i) i want to know that length so i can split my regex even shorter.and FS > can evaluate that. > > ii) How FS people will look into this issue, so they can guide/fix this > issue. > > > > Regards > > Abbasi > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> > | *M:*+1918424WEST (9378) > *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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161221/a0e144da/attachment-0001.html From loi.dangthanh at gmail.com Thu Dec 22 06:38:16 2016 From: loi.dangthanh at gmail.com (=?UTF-8?B?TOG7o2kgxJDhurduZw==?=) Date: Thu, 22 Dec 2016 10:38:16 +0700 Subject: [Freeswitch-users] different ringtone when called party is already busy on another call In-Reply-To: <0a791c1b-c578-5a05-f7f9-708b63e3ecf1@xbipin.com> References: <0a791c1b-c578-5a05-f7f9-708b63e3ecf1@xbipin.com> Message-ID: I tried a multiline phone with your B's role. if B accepts the 2nd call (answering, with 200 OK sent back to FS), B will be able to put *either* 1st call with C *OR* 2nd call A on hold, using its own MOH. B also has ability switching hold/unhold calls, but only 1 call active and 1 call inactive at a time. By active, I mean normal RTP with user's voice, inactive means B playing MOH to FS. FS has no idea if RTP is user voice, or B's MOH. There is a case may help you achieve what you're trying to accomplish: B answer the 2nd call (sent 200 OK back to FS, as normal), then immediately modify the session with a re-INVITE, say to FS that 2nd call is put on-hold. Then FS can choose what to do since it knows what B's trying to do. Again, it's B's function rgds, Loi Dang Thanh Phone : +84.1224.735.448 Email : loi.dangthanh at gmail.com On Wed, Dec 21, 2016 at 6:59 PM, Bipin Patel wrote: > hi, > > its a multi line phone so i guess B is accepting the call like a normal > call which it should with call waiting enabled on it, if it sent busy then > A would simply hear busy tone which i dont want, i want to make A hear a > different ringtone while call is waiting so A can know using the tone that > B is on another call and might or might not answer > > > Regards, > Bipin > > > ------------------------------ > -------- Original Message -------- > Subject: Re: [Freeswitch-users] different ringtone when called party is > already busy on another call > From: L?i ??ng > To: FreeSWITCH Users Help > > Date: 12/21/2016, 2:22:11 PM > > guess It is the B's function, B is able to put the call in waiting instead > of respond 486 to FS, when B is already a call with another party. > in this case, I'm afraid FS will have no idea about what is happening in > B. > what branch B is? did you try B's role with another phone? > > rgds, > > Loi Dang Thanh > Phone : +84.1224.735.448 > Email : loi.dangthanh at gmail.com > > On Wed, Dec 21, 2016 at 3:40 PM, Bipin Patel wrote: > >> hi, >> >> i have been using FS in product on many raspberry pi's and other machines >> in PBX environment and everything works well except im stuck with a >> requirement which i cant seem to be able to get over. >> >> party A calls party B but party B is already in call with party C, so >> party A gets normal ringtone and party B gets call waiting beeps, how do we >> detect in FS that party B is already busy on another call and generate a >> different ringtone for party A which he hears so indirectly party A knows >> that party B is already on another call? >> >> >> -- >> Regards, >> Bipin >> >> >> ------------------------------ >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/20f32d36/attachment.html From devang.nathwani31589 at gmail.com Thu Dec 22 07:36:02 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Thu, 22 Dec 2016 10:06:02 +0530 Subject: [Freeswitch-users] g729 license issue Message-ID: We have configure G729 license and then i have upgrade Freeswitch version and trying to configure G729 license again but getting this error and it crashed Freeswitch. freeswitch at my-switch > load mod_com_g729 +OK Reloading XML +OK 2016-12-22 06:27:19.546361 [INFO] mod_com_g729.c:254 G.729A license count => 4 2016-12-22 06:27:19.546361 [CONSOLE] switch_loadable_module.c:1538 Successfully Loaded [mod_com_g729] 2016-12-22 06:27:19.546361 [CRIT] switch_loadable_module.c:197 Failed to load codec interface G.729 from mod_com_g729 due to bytes per frame 608487423 exceeding buffer size 8192. 2016-12-22 06:27:19.546361 [NOTICE] switch_loadable_module.c:338 Adding API Function 'g729_count' 2016-12-22 06:27:19.546361 [NOTICE] switch_loadable_module.c:338 Adding API Function 'g729_available' 2016-12-22 06:27:19.546361 [NOTICE] switch_loadable_module.c:338 Adding API Function 'g729_info' 2016-12-22 06:27:19.926299 [INFO] mod_enum.c:878 ENUM Reloaded 2016-12-22 06:27:20.086293 [INFO] switch_time.c:1415 Timezone reloaded 1750 definitions Can any one help me please? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/855a8e11/attachment.html From bilaln018 at gmail.com Thu Dec 22 07:41:42 2016 From: bilaln018 at gmail.com (Bilal Abbasi) Date: Thu, 22 Dec 2016 09:41:42 +0500 Subject: [Freeswitch-users] [FS Unable to evaluate large regex] In-Reply-To: References: <357701d25b51$41d432f0$c57c98d0$@freeswitch.org> Message-ID: Actually that is much needed, the reason i have so much expressions,just to inform that we are integrating with the national providers regional switches, so we have to determine the dialed_number's region and transfer that to appropriate swith. Thanks for your time, i will try xml_curl surely...:-) Regards Abbasi On Wed, Dec 21, 2016 at 7:56 PM, Brian West wrote: > https://regex101.com/r/0IR0N5/1 > > You should probably avoid such convoluted regular expressions, You'll only > cause brain fry trying to keep all that in your head correct. Simplify and > create more than one if you have that complex of a condition you may need > to switch to xml_curl as Ken has pointed out. > > /b > > > > > On Wed, Dec 21, 2016 at 12:12 AM, Ken Rice wrote: > >> This is one of those things where you probably need to be looking at >> either using more regexes or even looking going beyond the basic dialplan >> and into things like xml_curl or other more advance call processing >> mechanism >> >> >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Bilal >> Abbasi >> *Sent:* Tuesday, December 20, 2016 11:40 PM >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] [FS Unable to evaluate large regex] >> >> >> >> Hi Brain, >> >> With above given example, i want to match 03135082344, that went perfect, >> but when i append some more REGEX with this like below >> >> >> >> (^(0092|\+92|92|0)312(9([0-9][0-9])|5([0-9][0-9])|0(0[59]|1[ >> 59]|5[0-9]|8[56789]|9[0-9])|1(5[0-9]|8[56789]|9[701234569])) >> [0-9]{4}$|^(0092|\+92|92|0)313(9([0-9][0-9])|5([0-9][0-9])| >> 0(0[59]|1[59]|2[6789]|5[01234567]|8[56789]|9[01278934])|1(2[ >> 6789]|5[01234567]|8[56789]|9[0-9]))[0-9]{4}$) >> >> >> >> i am unable to match 03135082344, and its getting failed. >> >> >> >> Cheers >> >> >> >> On Wed, Dec 21, 2016 at 5:01 AM, Brian West wrote: >> >> What exactly are you trying to accomplish with this and what are some >> examples of what you're trying to match? >> >> >> >> On Tue, Dec 20, 2016 at 11:32 AM, Bilal Abbasi >> wrote: >> >> Hi users, >> >> i am getting some weird regex problem with my FS, if you have your regex >> length in more then 3000 characters if does not accept that in the >> condition, i split my regex in around 2000 characters, now i can see that >> FS is unable to resolve the Below Regex in the condition( i have a lot of >> other concatenated with that) >> >> >> >> ^(0092|\+92|92|0)313(9([0-9][0-9])|5([0-9][0-9])|0(0[59]|1[5 >> 9]|2[6789]|5[01234567]|8[56789]|9[01278934])|1(2[6789]|5[ >> 01234567]|8[56789]|9[0-9]))[0-9]{4}$ >> >> >> >> But when i try that alone in the condition that works, i even tried to >> execute the whole in online regex tester and that did worked, but not >> working on FS. >> >> There must be a length of regex in condition that FS can evaluate, >> >> So >> >> i) i want to know that length so i can split my regex even shorter.and FS >> can evaluate that. >> >> ii) How FS people will look into this issue, so they can guide/fix this >> issue. >> >> >> >> Regards >> >> Abbasi >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> >> | *M:*+1918424WEST (9378) >> *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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> > | *M:*+1918424WEST (9378) > *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/20161222/45a8f28a/attachment-0001.html From yehavi.bourvine at gmail.com Thu Dec 22 07:59:35 2016 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Thu, 22 Dec 2016 06:59:35 +0200 Subject: [Freeswitch-users] different ringtone when called party is already busy on another call In-Reply-To: <0a791c1b-c578-5a05-f7f9-708b63e3ecf1@xbipin.com> References: <0a791c1b-c578-5a05-f7f9-708b63e3ecf1@xbipin.com> Message-ID: What I am doing in a similar case is: - I am using the mod_limit to know which extension is in a call and which is free. - If a call is made to a busy extension (which has the call waiting feature) then I play a different ring-back tone with the command: - In your case, the busy extension is different than the one being called; thus, you have to add to the extension variables/parameters a new parameter which specifies the other extension number; then you have to call mod_limit for both extensions, and play the call-wait ringback if one of them is busy. Regards, __Yehavi: 2016-12-21 13:59 GMT+02:00 Bipin Patel : > hi, > > its a multi line phone so i guess B is accepting the call like a normal > call which it should with call waiting enabled on it, if it sent busy then > A would simply hear busy tone which i dont want, i want to make A hear a > different ringtone while call is waiting so A can know using the tone that > B is on another call and might or might not answer > > > Regards, > Bipin > > > ------------------------------ > -------- Original Message -------- > Subject: Re: [Freeswitch-users] different ringtone when called party is > already busy on another call > From: L?i ??ng > To: FreeSWITCH Users Help > > Date: 12/21/2016, 2:22:11 PM > > guess It is the B's function, B is able to put the call in waiting instead > of respond 486 to FS, when B is already a call with another party. > in this case, I'm afraid FS will have no idea about what is happening in > B. > what branch B is? did you try B's role with another phone? > > rgds, > > Loi Dang Thanh > Phone : +84.1224.735.448 > Email : loi.dangthanh at gmail.com > > On Wed, Dec 21, 2016 at 3:40 PM, Bipin Patel wrote: > >> hi, >> >> i have been using FS in product on many raspberry pi's and other machines >> in PBX environment and everything works well except im stuck with a >> requirement which i cant seem to be able to get over. >> >> party A calls party B but party B is already in call with party C, so >> party A gets normal ringtone and party B gets call waiting beeps, how do we >> detect in FS that party B is already busy on another call and generate a >> different ringtone for party A which he hears so indirectly party A knows >> that party B is already on another call? >> >> >> -- >> Regards, >> Bipin >> >> >> ------------------------------ >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/edd222f8/attachment.html From bipin at xbipin.com Thu Dec 22 08:54:46 2016 From: bipin at xbipin.com (Bipin Patel) Date: Thu, 22 Dec 2016 09:54:46 +0400 Subject: [Freeswitch-users] different ringtone when called party is already busy on another call In-Reply-To: References: <0a791c1b-c578-5a05-f7f9-708b63e3ecf1@xbipin.com> Message-ID: <21fa525b-8723-43a8-6617-d2de2329f781@xbipin.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/5672e832/attachment-0001.html From tculjaga at gmail.com Thu Dec 22 12:28:50 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Thu, 22 Dec 2016 10:28:50 +0100 Subject: [Freeswitch-users] mod_xml_curl - directory only Message-ID: Hello everyone, i'd like to use mod_xml_curl for serving directory. ...and as far as registrations ( SIP or verto ) it is ok, meaning my devices do register. i return something like this:
but when i place a call i get a request with action=user_call with no other info than user xxx is trying to place an outgoing call without saying where :=) section=directory&tag_name=domain&key_name=name&key_value=192.168.5.150&Event-Name=REQUEST_PARAMS&Core-UUID=15731076-c3d5-4ad6-8518-41b9c42140be&FreeSWITCH-Hostname=bladeranger&FreeSWITCH-Switchname=bladeranger&FreeSWITCH-IPv4=192.168.5.150&FreeSWITCH-IPv6=%3A%3A1&Event-Date-Local=2016-12-22%2009%3A44%3A56&Event-Date-GMT=Thu,%2022%20Dec%202016%2008%3A44%3A56%20GMT&Event-Date-Timestamp=1482396296153258&Event-Calling-File=mod_dptools.c&Event-Calling-Function=user_outgoing_channel&Event-Calling-Line-Number=4129&Event-Sequence=7368&as_channel=true&action=user_call&originate_timeout=0&origination_uuid=bf0fd829-56df-48c4-8112-41ba777ee91d&ignore_early_media=true&last_route=true&origination_caller_id_number=xxxxxxxx&origination_caller_id_name=xxxxxxxx&key=id&user=agent1&domain=192.168.5.150 So, here i got few questions :=) 1. purpose=null, action=sip_auth - i send user info here (SIP) 2. purpose=null, action=jsonrpc-authenticate - i send user info here (Verto) 3. purpose=null, action=user_call - what do i send here ? 4. purpose=null, reverse-auth-lookup - what do i return here ? 5. purpose=gateways - i will send "not found" 6. purpose=network-list - i will send "not found" 7. purpose=publish-vm - i will send "not found" Thanks to everyone who is going to enlight these few things above :=) regards, Tihomir. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/78e20504/attachment.html From findmeinwland at gmail.com Thu Dec 22 12:56:01 2016 From: findmeinwland at gmail.com (Artur Mega) Date: Thu, 22 Dec 2016 14:56:01 +0500 Subject: [Freeswitch-users] mod_xml_curl - directory only In-Reply-To: References: Message-ID: did you tried to send in all cases not found? I mean to return this:
2016-12-22 14:28 GMT+05:00 Tihomir Culjaga : > Hello everyone, > > i'd like to use mod_xml_curl for serving directory. > > > bindings="directory"/> > > > > > ...and as far as registrations ( SIP or verto ) it is ok, meaning my > devices do register. > > > i return something like this: > > >
> > > > > > > > > > > > > > > > > > > > > > >
>
> > > but when i place a call i get a request with action=user_call with no > other info than user xxx is trying to place an outgoing call without saying > where :=) > > section=directory&tag_name=domain&key_name=name&key_ > value=192.168.5.150&Event-Name=REQUEST_PARAMS&Core-UUID= > 15731076-c3d5-4ad6-8518-41b9c42140be&FreeSWITCH-Hostname=bladeranger& > FreeSWITCH-Switchname=bladeranger&FreeSWITCH-IPv4= > 192.168.5.150&FreeSWITCH-IPv6=%3A%3A1&Event-Date-Local=2016- > 12-22%2009%3A44%3A56&Event-Date-GMT=Thu,%2022%20Dec% > 202016%2008%3A44%3A56%20GMT&Event-Date-Timestamp=1482396296153258&Event- > Calling-File=mod_dptools.c&Event-Calling-Function=user_ > outgoing_channel&Event-Calling-Line-Number=4129&Event-Sequence=7368&as_ > channel=true&action=user_call&originate_timeout=0& > origination_uuid=bf0fd829-56df-48c4-8112-41ba777ee91d& > ignore_early_media=true&last_route=true&origination_caller_ > id_number=xxxxxxxx&origination_caller_id_name=xxxxxxxx&key=id&user=agent1& > domain=192.168.5.150 > > > > So, here i got few questions :=) > > > 1. purpose=null, action=sip_auth - i send user info here (SIP) > 2. purpose=null, action=jsonrpc-authenticate - i send user info here > (Verto) > 3. purpose=null, action=user_call - what do i send here ? > 4. purpose=null, reverse-auth-lookup - what do i return here ? > 5. purpose=gateways - i will send "not found" > 6. purpose=network-list - i will send "not found" > 7. purpose=publish-vm - i will send "not found" > > > > Thanks to everyone who is going to enlight these few things above :=) > > regards, > Tihomir. > > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ????? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/2752640c/attachment-0001.html From tculjaga at gmail.com Thu Dec 22 13:11:55 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Thu, 22 Dec 2016 11:11:55 +0100 Subject: [Freeswitch-users] [FS Unable to evaluate large regex] In-Reply-To: References: <357701d25b51$41d432f0$c57c98d0$@freeswitch.org> Message-ID: this looks like a local number portability to me. And trying to regex this is a mission impossible. while there are many ways to address the topic, id suggest you to go with mod_lcr or with mod_curl ... either way, you put your numbering plan (every number) in a database and try to get the destination switch with a simple query. Hope it helped! regards, Tihomir. On 22 December 2016 at 05:41, Bilal Abbasi wrote: > Actually that is much needed, the reason i have so much expressions,just > to inform that we are integrating with the national providers regional > switches, so we have to determine the dialed_number's region and transfer > that to appropriate swith. > Thanks for your time, i will try xml_curl surely...:-) > > Regards > Abbasi > > On Wed, Dec 21, 2016 at 7:56 PM, Brian West wrote: > >> https://regex101.com/r/0IR0N5/1 >> >> You should probably avoid such convoluted regular expressions, You'll >> only cause brain fry trying to keep all that in your head correct. >> Simplify and create more than one if you have that complex of a condition >> you may need to switch to xml_curl as Ken has pointed out. >> >> /b >> >> >> >> >> On Wed, Dec 21, 2016 at 12:12 AM, Ken Rice wrote: >> >>> This is one of those things where you probably need to be looking at >>> either using more regexes or even looking going beyond the basic dialplan >>> and into things like xml_curl or other more advance call processing >>> mechanism >>> >>> >>> >>> >>> >>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Bilal >>> Abbasi >>> *Sent:* Tuesday, December 20, 2016 11:40 PM >>> *To:* FreeSWITCH Users Help >>> *Subject:* Re: [Freeswitch-users] [FS Unable to evaluate large regex] >>> >>> >>> >>> Hi Brain, >>> >>> With above given example, i want to match 03135082344, that went >>> perfect, but when i append some more REGEX with this like below >>> >>> >>> >>> (^(0092|\+92|92|0)312(9([0-9][0-9])|5([0-9][0-9])|0(0[59]|1[ >>> 59]|5[0-9]|8[56789]|9[0-9])|1(5[0-9]|8[56789]|9[701234569])) >>> [0-9]{4}$|^(0092|\+92|92|0)313(9([0-9][0-9])|5([0-9][0-9])|0 >>> (0[59]|1[59]|2[6789]|5[01234567]|8[56789]|9[01278934])|1(2[6 >>> 789]|5[01234567]|8[56789]|9[0-9]))[0-9]{4}$) >>> >>> >>> >>> i am unable to match 03135082344, and its getting failed. >>> >>> >>> >>> Cheers >>> >>> >>> >>> On Wed, Dec 21, 2016 at 5:01 AM, Brian West >>> wrote: >>> >>> What exactly are you trying to accomplish with this and what are some >>> examples of what you're trying to match? >>> >>> >>> >>> On Tue, Dec 20, 2016 at 11:32 AM, Bilal Abbasi >>> wrote: >>> >>> Hi users, >>> >>> i am getting some weird regex problem with my FS, if you have your regex >>> length in more then 3000 characters if does not accept that in the >>> condition, i split my regex in around 2000 characters, now i can see that >>> FS is unable to resolve the Below Regex in the condition( i have a lot of >>> other concatenated with that) >>> >>> >>> >>> ^(0092|\+92|92|0)313(9([0-9][0-9])|5([0-9][0-9])|0(0[59]|1[5 >>> 9]|2[6789]|5[01234567]|8[56789]|9[01278934])|1(2[6789]|5[012 >>> 34567]|8[56789]|9[0-9]))[0-9]{4}$ >>> >>> >>> >>> But when i try that alone in the condition that works, i even tried to >>> execute the whole in online regex tester and that did worked, but not >>> working on FS. >>> >>> There must be a length of regex in condition that FS can evaluate, >>> >>> So >>> >>> i) i want to know that length so i can split my regex even shorter.and >>> FS can evaluate that. >>> >>> ii) How FS people will look into this issue, so they can guide/fix this >>> issue. >>> >>> >>> >>> Regards >>> >>> Abbasi >>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) >>> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> Got Bugs? Report them here ! | Reddit: >>> /r/freeswitch >>> >>> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 >>> <(918)%20420-9002> | *M:*+1918424WEST (9378) >>> *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 (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> >> | *M:*+1918424WEST (9378) >> *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/20161222/1c98e87c/attachment-0001.html From tculjaga at gmail.com Thu Dec 22 13:13:20 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Thu, 22 Dec 2016 11:13:20 +0100 Subject: [Freeswitch-users] mod_xml_curl - directory only In-Reply-To: References: Message-ID: when i send "not found" on action=user_call and the call fails :=) On 22 December 2016 at 10:56, Artur Mega wrote: > did you tried to send in all cases not found? I mean to return this: > > >
> >
>
> > 2016-12-22 14:28 GMT+05:00 Tihomir Culjaga : > >> Hello everyone, >> >> i'd like to use mod_xml_curl for serving directory. >> >> >> > bindings="directory"/> >> >> >> >> >> ...and as far as registrations ( SIP or verto ) it is ok, meaning my >> devices do register. >> >> >> i return something like this: >> >> >>
>> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>
>>
>> >> >> but when i place a call i get a request with action=user_call with no >> other info than user xxx is trying to place an outgoing call without saying >> where :=) >> >> section=directory&tag_name=domain&key_name=name&key_value= >> 192.168.5.150&Event-Name=REQUEST_PARAMS&Core-UUID=15731 >> 076-c3d5-4ad6-8518-41b9c42140be&FreeSWITCH-Hostname= >> bladeranger&FreeSWITCH-Switchname=bladeranger& >> FreeSWITCH-IPv4=192.168.5.150&FreeSWITCH-IPv6=%3A%3A1&Event- >> Date-Local=2016-12-22%2009%3A44%3A56&Event-Date-GMT=Thu,% >> 2022%20Dec%202016%2008%3A44%3A56%20GMT&Event-Date- >> Timestamp=1482396296153258&Event-Calling-File=mod_ >> dptools.c&Event-Calling-Function=user_outgoing_ >> channel&Event-Calling-Line-Number=4129&Event-Sequence= >> 7368&as_channel=true&action=user_call&originate_timeout=0& >> origination_uuid=bf0fd829-56df-48c4-8112-41ba777ee91d&ignore >> _early_media=true&last_route=true&origination_caller_id_ >> number=xxxxxxxx&origination_caller_id_name=xxxxxxxx&key= >> id&user=agent1&domain=192.168.5.150 >> >> >> >> So, here i got few questions :=) >> >> >> 1. purpose=null, action=sip_auth - i send user info here (SIP) >> 2. purpose=null, action=jsonrpc-authenticate - i send user info here >> (Verto) >> 3. purpose=null, action=user_call - what do i send here ? >> 4. purpose=null, reverse-auth-lookup - what do i return here ? >> 5. purpose=gateways - i will send "not found" >> 6. purpose=network-list - i will send "not found" >> 7. purpose=publish-vm - i will send "not found" >> >> >> >> Thanks to everyone who is going to enlight these few things above :=) >> >> regards, >> Tihomir. >> >> >> >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > ????? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/38cf66e8/attachment-0001.html From vma at vallimamod.org Thu Dec 22 13:53:18 2016 From: vma at vallimamod.org (Vallimamod Abdullah) Date: Thu, 22 Dec 2016 11:53:18 +0100 Subject: [Freeswitch-users] mod_xml_curl - directory only In-Reply-To: References: Message-ID: Hi, > purpose=null, action=user_call - what do i send here ? This is called when you dial with the user channel (user/agent1) to retrieve the dial-string data. So you need to send user info here. > purpose=null, reverse-auth-lookup - what do i return here ? This is called when authenticating the user to retrieve auth related params (password, a1-hash, auth-acl, etc.) So you also need to send user info here. Best Regards, -- Vallimamod Abdullah vma at vallimamod.org . > On 22 Dec 2016, at 10:28, Tihomir Culjaga wrote: > > Hello everyone, > > i'd like to use mod_xml_curl for serving directory. > > > > > > > > ...and as far as registrations ( SIP or verto ) it is ok, meaning my devices do register. > > > i return something like this: > > >
> > > > > > > > > > > > > > > > > > > > > > >
>
> > > but when i place a call i get a request with action=user_call with no other info than user xxx is trying to place an outgoing call without saying where :=) > > section=directory&tag_name=domain&key_name=name&key_value=192.168.5.150&Event-Name=REQUEST_PARAMS&Core-UUID=15731076-c3d5-4ad6-8518-41b9c42140be&FreeSWITCH-Hostname=bladeranger&FreeSWITCH-Switchname=bladeranger&FreeSWITCH-IPv4=192.168.5.150&FreeSWITCH-IPv6=%3A%3A1&Event-Date-Local=2016-12-22%2009%3A44%3A56&Event-Date-GMT=Thu,%2022%20Dec%202016%2008%3A44%3A56%20GMT&Event-Date-Timestamp=1482396296153258&Event-Calling-File=mod_dptools.c&Event-Calling-Function=user_outgoing_channel&Event-Calling-Line-Number=4129&Event-Sequence=7368&as_channel=true&action=user_call&originate_timeout=0&origination_uuid=bf0fd829-56df-48c4-8112-41ba777ee91d&ignore_early_media=true&last_route=true&origination_caller_id_number=xxxxxxxx&origination_caller_id_name=xxxxxxxx&key=id&user=agent1&domain=192.168.5.150 > > > > So, here i got few questions :=) > > ? purpose=null, action=sip_auth - i send user info here (SIP) > ? purpose=null, action=jsonrpc-authenticate - i send user info here (Verto) > ? purpose=null, action=user_call - what do i send here ? > ? purpose=null, reverse-auth-lookup - what do i return here ? > ? purpose=gateways - i will send "not found" > ? purpose=network-list - i will send "not found" > ? purpose=publish-vm - i will send "not found" > > > Thanks to everyone who is going to enlight these few things above :=) > > regards, > Tihomir. > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 fanx07 at gmail.com Thu Dec 22 14:08:41 2016 From: fanx07 at gmail.com (Anonim Stefan) Date: Thu, 22 Dec 2016 13:08:41 +0200 Subject: [Freeswitch-users] mod_conference - alone/on-hold timeout ?! Message-ID: Hi, Is there such a thing as alone-timeout or on-hold-timeout for mod_conference which will end a conference for an alone conference user ? I could find "terminate-on-silence" conference profile parameter which I might use, but id doesn't seem to work for me (I have moh disabled and still doesn't terminate). Thank you, Stefan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/7605a742/attachment.html From tculjaga at gmail.com Thu Dec 22 14:11:34 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Thu, 22 Dec 2016 12:11:34 +0100 Subject: [Freeswitch-users] mod_xml_curl - directory only In-Reply-To: References: Message-ID: On 22 December 2016 at 11:53, Vallimamod Abdullah wrote: > Hi, > > > purpose=null, action=user_call - what do i send here ? > > This is called when you dial with the user channel (user/agent1) to > retrieve the dial-string data. So you need to send user info here. > > so in other words all i need here, is to return dial-string ? in my case:
> > purpose=null, reverse-auth-lookup - what do i return here ? > > This is called when authenticating the user to retrieve auth related > params (password, a1-hash, auth-acl, etc.) So you also need to send user > info here. > > cool, i can return just a1-hash and see if it works :=) > Best Regards, > -- > Vallimamod Abdullah > vma at vallimamod.org > . > > > On 22 Dec 2016, at 10:28, Tihomir Culjaga wrote: > > > > Hello everyone, > > > > i'd like to use mod_xml_curl for serving directory. > > > > > > bindings="directory"/> > > > > > > > > > > ...and as far as registrations ( SIP or verto ) it is ok, meaning my > devices do register. > > > > > > i return something like this: > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >
> > > > > > but when i place a call i get a request with action=user_call with no > other info than user xxx is trying to place an outgoing call without saying > where :=) > > > > section=directory&tag_name=domain&key_name=name&key_ > value=192.168.5.150&Event-Name=REQUEST_PARAMS&Core-UUID= > 15731076-c3d5-4ad6-8518-41b9c42140be&FreeSWITCH-Hostname=bladeranger& > FreeSWITCH-Switchname=bladeranger&FreeSWITCH-IPv4= > 192.168.5.150&FreeSWITCH-IPv6=%3A%3A1&Event-Date-Local=2016- > 12-22%2009%3A44%3A56&Event-Date-GMT=Thu,%2022%20Dec% > 202016%2008%3A44%3A56%20GMT&Event-Date-Timestamp=1482396296153258&Event- > Calling-File=mod_dptools.c&Event-Calling-Function=user_ > outgoing_channel&Event-Calling-Line-Number=4129&Event-Sequence=7368&as_ > channel=true&action=user_call&originate_timeout=0& > origination_uuid=bf0fd829-56df-48c4-8112-41ba777ee91d& > ignore_early_media=true&last_route=true&origination_caller_ > id_number=xxxxxxxx&origination_caller_id_name=xxxxxxxx&key=id&user=agent1& > domain=192.168.5.150 > > > > > > > > So, here i got few questions :=) > > > > ? purpose=null, action=sip_auth - i send user info here (SIP) > > ? purpose=null, action=jsonrpc-authenticate - i send user info > here (Verto) > > ? purpose=null, action=user_call - what do i send here ? > > ? purpose=null, reverse-auth-lookup - what do i return here ? > > ? purpose=gateways - i will send "not found" > > ? purpose=network-list - i will send "not found" > > ? purpose=publish-vm - i will send "not found" > > > > > > Thanks to everyone who is going to enlight these few things above :=) > > > > regards, > > Tihomir. > > > > > > > > > > > > > > > > ____________________________________________________________ > _____________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/417d4e3a/attachment-0001.html From vma at vallimamod.org Thu Dec 22 14:43:10 2016 From: vma at vallimamod.org (Vallimamod Abdullah) Date: Thu, 22 Dec 2016 12:43:10 +0100 Subject: [Freeswitch-users] mod_xml_curl - directory only In-Reply-To: References: Message-ID: <675DE59A-C0B6-4A9E-9C69-AFA6D1C73C79@vallimamod.org> Well, a safe bet is to return the complete user document (as in your first example) in both cases to allow it to be fully cached. Also, you need to test but I am not sure if just returning the domain dial-string param will work in the user_call case. The code specifically requests the user element and the group and domain params/vars are merged to it during lookup. Best Regards, -- Vallimamod Abdullah vma at vallimamod.org . > On 22 Dec 2016, at 12:11, Tihomir Culjaga wrote: > > > > On 22 December 2016 at 11:53, Vallimamod Abdullah wrote: > Hi, > > > purpose=null, action=user_call - what do i send here ? > > This is called when you dial with the user channel (user/agent1) to retrieve the dial-string data. So you need to send user info here. > > > so in other words all i need here, is to return dial-string ? > > in my case: > > >
> > > > > >
>
> > > > purpose=null, reverse-auth-lookup - what do i return here ? > > This is called when authenticating the user to retrieve auth related params (password, a1-hash, auth-acl, etc.) So you also need to send user info here. > > > cool, i can return just a1-hash and see if it works :=) > > > > > > Best Regards, > -- > Vallimamod Abdullah > vma at vallimamod.org > . > > > On 22 Dec 2016, at 10:28, Tihomir Culjaga wrote: > > > > Hello everyone, > > > > i'd like to use mod_xml_curl for serving directory. > > > > > > > > > > > > > > > > ...and as far as registrations ( SIP or verto ) it is ok, meaning my devices do register. > > > > > > i return something like this: > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >
> > > > > > but when i place a call i get a request with action=user_call with no other info than user xxx is trying to place an outgoing call without saying where :=) > > > > section=directory&tag_name=domain&key_name=name&key_value=192.168.5.150&Event-Name=REQUEST_PARAMS&Core-UUID=15731076-c3d5-4ad6-8518-41b9c42140be&FreeSWITCH-Hostname=bladeranger&FreeSWITCH-Switchname=bladeranger&FreeSWITCH-IPv4=192.168.5.150&FreeSWITCH-IPv6=%3A%3A1&Event-Date-Local=2016-12-22%2009%3A44%3A56&Event-Date-GMT=Thu,%2022%20Dec%202016%2008%3A44%3A56%20GMT&Event-Date-Timestamp=1482396296153258&Event-Calling-File=mod_dptools.c&Event-Calling-Function=user_outgoing_channel&Event-Calling-Line-Number=4129&Event-Sequence=7368&as_channel=true&action=user_call&originate_timeout=0&origination_uuid=bf0fd829-56df-48c4-8112-41ba777ee91d&ignore_early_media=true&last_route=true&origination_caller_id_number=xxxxxxxx&origination_caller_id_name=xxxxxxxx&key=id&user=agent1&domain=192.168.5.150 > > > > > > > > So, here i got few questions :=) > > > > ? purpose=null, action=sip_auth - i send user info here (SIP) > > ? purpose=null, action=jsonrpc-authenticate - i send user info here (Verto) > > ? purpose=null, action=user_call - what do i send here ? > > ? purpose=null, reverse-auth-lookup - what do i return here ? > > ? purpose=gateways - i will send "not found" > > ? purpose=network-list - i will send "not found" > > ? purpose=publish-vm - i will send "not found" > > > > > > Thanks to everyone who is going to enlight these few things above :=) > > > > regards, > > Tihomir. > > > > > > > > > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From yehavi.bourvine at gmail.com Thu Dec 22 15:57:29 2016 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Thu, 22 Dec 2016 14:57:29 +0200 Subject: [Freeswitch-users] different ringtone when called party is already busy on another call In-Reply-To: <21fa525b-8723-43a8-6617-d2de2329f781@xbipin.com> References: <0a791c1b-c578-5a05-f7f9-708b63e3ecf1@xbipin.com> <21fa525b-8723-43a8-6617-d2de2329f781@xbipin.com> Message-ID: Hi, To make it easier, let's call the main extension A, and the secondary extension B. When someone calls B and A is busy, you want the "call-waiting" signal to be heard. Note: I've taken snippets from my dial plan and changed them in order to readable without my context; hence, they might not work on first attempt. First, I've added a new parameter to the B's directory entry called "chk_ring" which has the value of B. First, you have to tell mod_limit to track calls to/from the main extension (I am doing that for all extensions) with the following commands before calling the bridge application: This causes mod_limit to track the calls to that extension. BTW, it is adviseable to add also the following setting in order to count correctly when doing call transfer: Next, during a new call process you have to check the limit of A extension with the following: And then add a ChangeRingBack extension: --- Do the bridge. 2016-12-22 7:54 GMT+02:00 Bipin Patel : > hi, > > this is exactly what im trying to achieve, i want to be able to check if > called party is busy on another call then generate a different ringback > than the normal one i use if not busy. Can u kindly provide a dialplan > example coz im getting confused on how to track if the ext is busy as well > as increment and decrement the limit value? > > > Regards, > Bipin > > > ------------------------------ > -------- Original Message -------- > Subject: Re: [Freeswitch-users] different ringtone when called party is > already busy on another call > From: Yehavi Bourvine > > To: FreeSWITCH Users Help > > Date: 12/22/2016, 8:59:35 AM > > What I am doing in a similar case is: > > - I am using the mod_limit to know which extension is in a call and which > is free. > - If a call is made to a busy extension (which has the call waiting > feature) then I play a different ring-back tone with the command: > > - In your case, the busy extension is different than the one being called; > thus, you have to add to the extension variables/parameters a new parameter > which specifies the other extension number; then you have to call mod_limit > for both extensions, and play the call-wait ringback if one of them is busy. > > Regards, __Yehavi: > > 2016-12-21 13:59 GMT+02:00 Bipin Patel : > >> hi, >> >> its a multi line phone so i guess B is accepting the call like a normal >> call which it should with call waiting enabled on it, if it sent busy then >> A would simply hear busy tone which i dont want, i want to make A hear a >> different ringtone while call is waiting so A can know using the tone that >> B is on another call and might or might not answer >> >> >> Regards, >> Bipin >> >> >> ------------------------------ >> -------- Original Message -------- >> Subject: Re: [Freeswitch-users] different ringtone when called party is >> already busy on another call >> From: L?i ??ng >> To: FreeSWITCH Users Help >> >> Date: 12/21/2016, 2:22:11 PM >> >> guess It is the B's function, B is able to put the call in waiting >> instead of respond 486 to FS, when B is already a call with another party. >> in this case, I'm afraid FS will have no idea about what is happening in >> B. >> what branch B is? did you try B's role with another phone? >> >> rgds, >> >> Loi Dang Thanh >> Phone : +84.1224.735.448 >> Email : loi.dangthanh at gmail.com >> >> On Wed, Dec 21, 2016 at 3:40 PM, Bipin Patel wrote: >> >>> hi, >>> >>> i have been using FS in product on many raspberry pi's and other >>> machines in PBX environment and everything works well except im stuck with >>> a requirement which i cant seem to be able to get over. >>> >>> party A calls party B but party B is already in call with party C, so >>> party A gets normal ringtone and party B gets call waiting beeps, how do we >>> detect in FS that party B is already busy on another call and generate a >>> different ringtone for party A which he hears so indirectly party A knows >>> that party B is already on another call? >>> >>> >>> -- >>> Regards, >>> Bipin >>> >>> >>> ------------------------------ >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> >> >> > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/1f5aa761/attachment-0001.html From jose.lopes at itcenter.com.pt Thu Dec 22 18:57:43 2016 From: jose.lopes at itcenter.com.pt (=?UTF-8?Q?Jos=C3=A9_Lopes?=) Date: Thu, 22 Dec 2016 15:57:43 +0000 Subject: [Freeswitch-users] When activate MoH two times from different legs, the call is silent or terminated In-Reply-To: References: Message-ID: Hello, I have tested with master branch and I verified that I don't have this issue. This issue will be solved at stable version? What it is the commit id that solves this issue? Thanks in advance. Best Regards, Jose Lopes 2016-11-22 18:40 GMT+00:00 Jos? Lopes : > Hello, > > I have a FreeSwitch with vanilla configuration connected to an SIP > Provider. > I configured the proxy-hold=true configuration on Sofia Internal profile > so when i activate the Hold on internal sip regs, it will be forwarded to > SIP Provider. > > The SIP Provider provides MoH when requested. > > I have a problem that results on the call on silent or terminated by SIP > Provider when I do the next actions: > 1- I receive a call from the SIP Provider > 2- the caller activate MoH and deactivate MoH > 3- the callee activate the MoH > 4- Now the call is silent (with other SIP Provider the call is dropped by > SIP Provider) > > I notice that on step 3, the FreeSwitch send a Re-INVITE without SDP, so I > think this causes the call to be silent, or sometimes the SIP Provider drop > the call. > > I replicate this issue creating a sipp scenario and verified this issue. > > SIPP scenario to replicate this issue > https://pastebin.freeswitch.org/view/afbae914 > > Freeswitch logs: > https://pastebin.freeswitch.org/view/7f36d5ba > > Command to use sipp scenario > sipp -i 172.21.0.1 172.21.0.11:5080 -s 1001 -sf scenario.xml -m 1 -l 1 > -r 1 -rp 1000 > > #172.21.0.1 -> local ip > #172.21.0.11 -> Freeswitch IP > > > > Best regards, > Jose Lopes > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/b93e42da/attachment.html From bipin at xbipin.com Thu Dec 22 18:58:37 2016 From: bipin at xbipin.com (Bipin Patel) Date: Thu, 22 Dec 2016 19:58:37 +0400 Subject: [Freeswitch-users] different ringtone when called party is already busy on another call In-Reply-To: References: <0a791c1b-c578-5a05-f7f9-708b63e3ecf1@xbipin.com> <21fa525b-8723-43a8-6617-d2de2329f781@xbipin.com> Message-ID: <082f1ac7-2ef7-dc82-9e59-3e7570a1d2b3@xbipin.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/9563d8cb/attachment-0001.html From yehavi.bourvine at gmail.com Thu Dec 22 19:02:39 2016 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Thu, 22 Dec 2016 18:02:39 +0200 Subject: [Freeswitch-users] different ringtone when called party is already busy on another call In-Reply-To: <082f1ac7-2ef7-dc82-9e59-3e7570a1d2b3@xbipin.com> References: <0a791c1b-c578-5a05-f7f9-708b63e3ecf1@xbipin.com> <21fa525b-8723-43a8-6617-d2de2329f781@xbipin.com> <082f1ac7-2ef7-dc82-9e59-3e7570a1d2b3@xbipin.com> Message-ID: You can use the DB backend for that. mod_limit is actually doing that counting... __Yehavi: 2016-12-22 17:58 GMT+02:00 Bipin Patel : > hi, > > thanks for the reply. I forgot to mention i use blind registration so i > specifically dont have directory entries so any other way to implement it > with that, meanwhile ill try to wrap my head around the dialplan u provided. > > what i was thinking was suppose if any extension places a call then > increment some counter and when that call ends reset it to 0 so suppose if > hes in a call and counter is at 1 then any new calls placed by anyone else > check the counter for the first ext if thats called, if 1 then different > ringback and if 0 then normal ringback > > > Regards, > Bipin > > > ------------------------------ > -------- Original Message -------- > Subject: Re: [Freeswitch-users] different ringtone when called party is > already busy on another call > From: Yehavi Bourvine > > To: FreeSWITCH Users Help > > Date: 12/22/2016, 4:57:29 PM > > Hi, > > To make it easier, let's call the main extension A, and the secondary > extension B. When someone calls B and A is busy, you want the > "call-waiting" signal to be heard. > > Note: I've taken snippets from my dial plan and changed them in order to > readable without my context; hence, they might not work on first attempt. > > First, I've added a new parameter to the B's directory entry called > "chk_ring" which has the value of B. > > First, you have to tell mod_limit to track calls to/from the main > extension (I am doing that for all extensions) with the following commands > before calling the bridge application: > > > This causes mod_limit to track the calls to that extension. > > BTW, it is adviseable to add also the following setting in order to count > correctly when doing call transfer: > > > Next, during a new call process you have to check the limit of A extension > with the following: > > > > > --- Save the original number > > > > > And then add a ChangeRingBack extension: > > > > --- Do the bridge. > > > > > 2016-12-22 7:54 GMT+02:00 Bipin Patel : > >> hi, >> >> this is exactly what im trying to achieve, i want to be able to check if >> called party is busy on another call then generate a different ringback >> than the normal one i use if not busy. Can u kindly provide a dialplan >> example coz im getting confused on how to track if the ext is busy as well >> as increment and decrement the limit value? >> >> >> Regards, >> Bipin >> >> >> ------------------------------ >> -------- Original Message -------- >> Subject: Re: [Freeswitch-users] different ringtone when called party is >> already busy on another call >> From: Yehavi Bourvine >> >> To: FreeSWITCH Users Help >> >> Date: 12/22/2016, 8:59:35 AM >> >> What I am doing in a similar case is: >> >> - I am using the mod_limit to know which extension is in a call and which >> is free. >> - If a call is made to a busy extension (which has the call waiting >> feature) then I play a different ring-back tone with the command: >> > /> >> - In your case, the busy extension is different than the one being >> called; thus, you have to add to the extension variables/parameters a new >> parameter which specifies the other extension number; then you have to call >> mod_limit for both extensions, and play the call-wait ringback if one of >> them is busy. >> >> Regards, __Yehavi: >> >> 2016-12-21 13:59 GMT+02:00 Bipin Patel : >> >>> hi, >>> >>> its a multi line phone so i guess B is accepting the call like a normal >>> call which it should with call waiting enabled on it, if it sent busy then >>> A would simply hear busy tone which i dont want, i want to make A hear a >>> different ringtone while call is waiting so A can know using the tone that >>> B is on another call and might or might not answer >>> >>> >>> Regards, >>> Bipin >>> >>> >>> ------------------------------ >>> -------- Original Message -------- >>> Subject: Re: [Freeswitch-users] different ringtone when called party is >>> already busy on another call >>> From: L?i ??ng >>> To: FreeSWITCH Users Help >>> >>> Date: 12/21/2016, 2:22:11 PM >>> >>> guess It is the B's function, B is able to put the call in waiting >>> instead of respond 486 to FS, when B is already a call with another party. >>> in this case, I'm afraid FS will have no idea about what is happening in >>> B. >>> what branch B is? did you try B's role with another phone? >>> >>> rgds, >>> >>> Loi Dang Thanh >>> Phone : +84.1224.735.448 >>> Email : loi.dangthanh at gmail.com >>> >>> On Wed, Dec 21, 2016 at 3:40 PM, Bipin Patel wrote: >>> >>>> hi, >>>> >>>> i have been using FS in product on many raspberry pi's and other >>>> machines in PBX environment and everything works well except im stuck with >>>> a requirement which i cant seem to be able to get over. >>>> >>>> party A calls party B but party B is already in call with party C, so >>>> party A gets normal ringtone and party B gets call waiting beeps, how do we >>>> detect in FS that party B is already busy on another call and generate a >>>> different ringtone for party A which he hears so indirectly party A knows >>>> that party B is already on another call? >>>> >>>> >>>> -- >>>> Regards, >>>> Bipin >>>> >>>> >>>> ------------------------------ >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> >>> >>> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/b7e2959a/attachment-0001.html From bipin at xbipin.com Thu Dec 22 19:27:07 2016 From: bipin at xbipin.com (Bipin Patel) Date: Thu, 22 Dec 2016 20:27:07 +0400 Subject: [Freeswitch-users] different ringtone when called party is already busy on another call In-Reply-To: References: <0a791c1b-c578-5a05-f7f9-708b63e3ecf1@xbipin.com> <21fa525b-8723-43a8-6617-d2de2329f781@xbipin.com> <082f1ac7-2ef7-dc82-9e59-3e7570a1d2b3@xbipin.com> Message-ID: <1301b4fe-e7bb-6103-4767-0bca87fafb23@xbipin.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/e0d60210/attachment-0001.html From rajil.s at gmail.com Thu Dec 22 20:16:24 2016 From: rajil.s at gmail.com (Rajil Saraswat) Date: Thu, 22 Dec 2016 11:16:24 -0600 Subject: [Freeswitch-users] SIP ATA and dect phone suggestions In-Reply-To: <4851905e-648e-2a85-1120-2729bb7c4914@gmail.com> References: <4851905e-648e-2a85-1120-2729bb7c4914@gmail.com> Message-ID: <800e03aa-631e-f14c-c4d0-c51a8e45143e@gmail.com> On 12/18/2016 12:12 PM, Rajil Saraswat wrote: > Hello, > > I have been using a Linksys SPA-3102 ATA with a Panasonic KX-TG7120E > dect phone for quite some time. However, I am looking to upgrade these > with devices which support HD audio. My preference is to have a cordless > device for home environment. Also a dect phone +SIP ATA seems to me a > better choice over an integrated IP cordless phone since the dect phone > is cheaper to replace in the long run. > > Can i have some suggestions on what people use? > > Thanks > Thanks. I was not aware of this alternative. N300 seems to be a better device since it has an fxo interface which N510 doesn't. Are these devices country specfic? From tru083 at yahoo.com Thu Dec 22 21:00:53 2016 From: tru083 at yahoo.com (D D) Date: Thu, 22 Dec 2016 18:00:53 +0000 (UTC) Subject: [Freeswitch-users] How can I enable TALK events for Sangoma TDM endpoints? References: <1411335936.789084.1482429653760.ref@mail.yahoo.com> Message-ID: <1411335936.789084.1482429653760@mail.yahoo.com> Hi, How can I enable TALK events for Sangoma TDM endpoints? Thanks,David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/992c6fca/attachment.html From lconroy at insensate.co.uk Thu Dec 22 22:59:28 2016 From: lconroy at insensate.co.uk (lconroy) Date: Thu, 22 Dec 2016 19:59:28 +0000 Subject: [Freeswitch-users] SIP ATA and dect phone suggestions In-Reply-To: <800e03aa-631e-f14c-c4d0-c51a8e45143e@gmail.com> References: <4851905e-648e-2a85-1120-2729bb7c4914@gmail.com> <800e03aa-631e-f14c-c4d0-c51a8e45143e@gmail.com> Message-ID: Hi Rajil, folks, Well .... the FXO may be :), and I'm unsure whether DECT radio frequencies are permitted in the USA. I don't know where you are or how you're connected to the PSTN, so YMMV, but ... I believe there is a version that works with ISDN, but the N300 IP (or 300A IP if you want answerphone as well) I use in the UK works with an analogue PSTN connection. It also works with the UK landline SMS scheme (with the messages turning up on-screen on the 'phones), Note that the N300[A} IP don't have PoE support; they have their own mains PSU, so you may be playing with a mains plug adaptor. For the SIP stuff, of course, it just has a 10/100 Ethernet. Note that it only works with POP3 (not IMAP) for the email client support. In case it's not clear from the manual, you can use the incredibly slow in-built web server to associate different combinations of incoming call offers (from the SIP accounts and/or from the PSTN) to each handset individually. All of the phones use the dial plan to decide which outgoing account to use (unless you force an account by appending # to any number you dial, where is the account number -- 0 is the PSTN). Frankly, I can't imagine why one would want to do anything else when these exist -- life is too short. (WiFi 'phones used to eat battery power & have limited range, and the SPA3102 has bitten me on the rear in the past, which is why they're in my kit graveyard :). Happy holidays. all the best Lawrence On 22 Dec 2016, at 17:16, Rajil Saraswat wrote: > On 12/18/2016 12:12 PM, Rajil Saraswat wrote: >> Hello, >> >> I have been using a Linksys SPA-3102 ATA with a Panasonic KX-TG7120E >> dect phone for quite some time. However, I am looking to upgrade these >> with devices which support HD audio. My preference is to have a cordless >> device for home environment. Also a dect phone +SIP ATA seems to me a >> better choice over an integrated IP cordless phone since the dect phone >> is cheaper to replace in the long run. >> >> Can i have some suggestions on what people use? >> >> Thanks >> > Thanks. I was not aware of this alternative. N300 seems to be a better > device since it has an fxo interface which N510 doesn't. Are these > devices country specfic? From mike at jerris.com Fri Dec 23 02:11:33 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 22 Dec 2016 18:11:33 -0500 Subject: [Freeswitch-users] g729 license issue In-Reply-To: References: Message-ID: <93D34801-3855-46D2-B0D8-5A77DC49A2CB@jerris.com> Try installing the newest module. It looks like you have an old module installed against a new freeswitch version > On Dec 21, 2016, at 11:36 PM, devang nathwani wrote: > > We have configure G729 license and then i have upgrade Freeswitch version and trying to configure G729 license again but getting this error and it crashed Freeswitch. > > freeswitch at my-switch > load mod_com_g729 > +OK Reloading XML > +OK > > 2016-12-22 06:27:19.546361 [INFO] mod_com_g729.c:254 G.729A license count => 4 > 2016-12-22 06:27:19.546361 [CONSOLE] switch_loadable_module.c:1538 Successfully Loaded [mod_com_g729] > 2016-12-22 06:27:19.546361 [CRIT] switch_loadable_module.c:197 Failed to load codec interface G.729 from mod_com_g729 due to bytes per frame 608487423 exceeding buffer size 8192. > 2016-12-22 06:27:19.546361 [NOTICE] switch_loadable_module.c:338 Adding API Function 'g729_count' > 2016-12-22 06:27:19.546361 [NOTICE] switch_loadable_module.c:338 Adding API Function 'g729_available' > 2016-12-22 06:27:19.546361 [NOTICE] switch_loadable_module.c:338 Adding API Function 'g729_info' > 2016-12-22 06:27:19.926299 [INFO] mod_enum.c:878 ENUM Reloaded > 2016-12-22 06:27:20.086293 [INFO] switch_time.c:1415 Timezone reloaded 1750 definitions > > > Can any one help me please? > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/6d227c97/attachment.html From mike at jerris.com Fri Dec 23 02:16:43 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 22 Dec 2016 18:16:43 -0500 Subject: [Freeswitch-users] mod_conference - alone/on-hold timeout ?! In-Reply-To: References: Message-ID: <4E0814E6-3608-4C6B-BA06-6E418069B7BD@jerris.com> there isn?t a feature that does that currently. the terminate on silence feature requires more than one person on the conference for it to come into effect. This code is around mod_conference.c:380 Mike > On Dec 22, 2016, at 6:08 AM, Anonim Stefan wrote: > > Hi, > > Is there such a thing as alone-timeout or on-hold-timeout for mod_conference which will end a conference for an alone conference user ? > > I could find "terminate-on-silence" conference profile parameter which I might use, but id doesn't seem to work for me (I have moh disabled and still doesn't terminate). > From mike at jerris.com Fri Dec 23 02:21:00 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 22 Dec 2016 18:21:00 -0500 Subject: [Freeswitch-users] mod_xml_curl - directory only In-Reply-To: <675DE59A-C0B6-4A9E-9C69-AFA6D1C73C79@vallimamod.org> References: <675DE59A-C0B6-4A9E-9C69-AFA6D1C73C79@vallimamod.org> Message-ID: <1D718638-C2D4-4D8C-BC1A-7C2BC22CE358@jerris.com> check out mod_dptools.c:4231 this is the code that actually processes the return looks like it looks for dial-string and params prefixed with ?dial-var-? .. if you don?t have any vars you are inserting in you don?t need those > On Dec 22, 2016, at 6:43 AM, Vallimamod Abdullah wrote: > > Well, a safe bet is to return the complete user document (as in your first example) in both cases to allow it to be fully cached. > > Also, you need to test but I am not sure if just returning the domain dial-string param will work in the user_call case. The code specifically requests the user element and the group and domain params/vars are merged to it during lookup. > > Best Regards, > -- > Vallimamod Abdullah > vma at vallimamod.org > . > > >> On 22 Dec 2016, at 12:11, Tihomir Culjaga wrote: >> >> >> >> On 22 December 2016 at 11:53, Vallimamod Abdullah wrote: >> Hi, >> >>> purpose=null, action=user_call - what do i send here ? >> >> This is called when you dial with the user channel (user/agent1) to retrieve the dial-string data. So you need to send user info here. >> >> >> so in other words all i need here, is to return dial-string ? >> >> in my case: >> >> >>
>> >> >> >> >> >>
>>
>> >> >>> purpose=null, reverse-auth-lookup - what do i return here ? >> >> This is called when authenticating the user to retrieve auth related params (password, a1-hash, auth-acl, etc.) So you also need to send user info here. >> >> >> cool, i can return just a1-hash and see if it works :=) >> >> >> >> >> >> Best Regards, >> -- >> Vallimamod Abdullah >> vma at vallimamod.org >> . >> >>> On 22 Dec 2016, at 10:28, Tihomir Culjaga wrote: >>> >>> Hello everyone, >>> >>> i'd like to use mod_xml_curl for serving directory. >>> >>> >>> >>> >>> >>> >>> >>> ...and as far as registrations ( SIP or verto ) it is ok, meaning my devices do register. >>> >>> >>> i return something like this: >>> >>> >>>
>>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>
>>>
>>> >>> >>> but when i place a call i get a request with action=user_call with no other info than user xxx is trying to place an outgoing call without saying where :=) >>> >>> section=directory&tag_name=domain&key_name=name&key_value=192.168.5.150&Event-Name=REQUEST_PARAMS&Core-UUID=15731076-c3d5-4ad6-8518-41b9c42140be&FreeSWITCH-Hostname=bladeranger&FreeSWITCH-Switchname=bladeranger&FreeSWITCH-IPv4=192.168.5.150&FreeSWITCH-IPv6=%3A%3A1&Event-Date-Local=2016-12-22%2009%3A44%3A56&Event-Date-GMT=Thu,%2022%20Dec%202016%2008%3A44%3A56%20GMT&Event-Date-Timestamp=1482396296153258&Event-Calling-File=mod_dptools.c&Event-Calling-Function=user_outgoing_channel&Event-Calling-Line-Number=4129&Event-Sequence=7368&as_channel=true&action=user_call&originate_timeout=0&origination_uuid=bf0fd829-56df-48c4-8112-41ba777ee91d&ignore_early_media=true&last_route=true&origination_caller_id_number=xxxxxxxx&origination_caller_id_name=xxxxxxxx&key=id&user=agent1&domain=192.168.5.150 >>> >>> >>> >>> So, here i got few questions :=) >>> >>> ? purpose=null, action=sip_auth - i send user info here (SIP) >>> ? purpose=null, action=jsonrpc-authenticate - i send user info here (Verto) >>> ? purpose=null, action=user_call - what do i send here ? >>> ? purpose=null, reverse-auth-lookup - what do i return here ? >>> ? purpose=gateways - i will send "not found" >>> ? purpose=network-list - i will send "not found" >>> ? purpose=publish-vm - i will send "not found" >>> >>> >>> Thanks to everyone who is going to enlight these few things above :=) >>> >>> regards, >>> Tihomir. >>> >>> >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 23 02:28:11 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 22 Dec 2016 18:28:11 -0500 Subject: [Freeswitch-users] When activate MoH two times from different legs, the call is silent or terminated In-Reply-To: References: Message-ID: It was fixed in one of these fixes. commit d1ccc77d4f8793cd6ea12f62db3e090905fbb368 Author: Mike Jerris Date: Thu Dec 15 14:01:54 2016 -0600 FS-9854: [mod_sofia] SDP O/A fails to put sdp in messages after certain kinds of sip traffic commit 3387b90705b7aa6f308316dc828ae96b6ab8ad79 Author: Brian West Date: Tue Dec 13 16:39:57 2016 -0600 FS-9829 #resolve [FreeSWITCH 200ok to second reINVITE on a dialog doesn't contain an SDP.] I think this specific issue is in the 3387b90 commit, but the other commit is similar scenarios that will cause the same sort of issue I do plan on working on backporting both of these to the v1.6 branch for the next release, but have not completed that yet. Mike > On Dec 22, 2016, at 10:57 AM, Jos? Lopes wrote: > > Hello, > > I have tested with master branch and I verified that I don't have this issue. > > This issue will be solved at stable version? > > What it is the commit id that solves this issue? > > Thanks in advance. > > Best Regards, > Jose Lopes > > > 2016-11-22 18:40 GMT+00:00 Jos? Lopes >: > Hello, > > I have a FreeSwitch with vanilla configuration connected to an SIP Provider. > I configured the proxy-hold=true configuration on Sofia Internal profile so when i activate the Hold on internal sip regs, it will be forwarded to SIP Provider. > > The SIP Provider provides MoH when requested. > > I have a problem that results on the call on silent or terminated by SIP Provider when I do the next actions: > 1- I receive a call from the SIP Provider > 2- the caller activate MoH and deactivate MoH > 3- the callee activate the MoH > 4- Now the call is silent (with other SIP Provider the call is dropped by SIP Provider) > > I notice that on step 3, the FreeSwitch send a Re-INVITE without SDP, so I think this causes the call to be silent, or sometimes the SIP Provider drop the call. > > I replicate this issue creating a sipp scenario and verified this issue. > > SIPP scenario to replicate this issue > https://pastebin.freeswitch.org/view/afbae914 > > Freeswitch logs: > https://pastebin.freeswitch.org/view/7f36d5ba > > Command to use sipp scenario > sipp -i 172.21.0.1 172.21.0.11:5080 -s 1001 -sf scenario.xml -m 1 -l 1 -r 1 -rp 1000 > > #172.21.0.1 -> local ip > #172.21.0.11 -> Freeswitch IP > > > > Best regards, > Jose Lopes > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161222/3e5c0e8e/attachment.html From jose.lopes at itcenter.com.pt Fri Dec 23 12:59:57 2016 From: jose.lopes at itcenter.com.pt (=?UTF-8?Q?Jos=C3=A9_Lopes?=) Date: Fri, 23 Dec 2016 09:59:57 +0000 Subject: [Freeswitch-users] When activate MoH two times from different legs, the call is silent or terminated In-Reply-To: References: Message-ID: Hello Mike, Thanks for the information. Best Regards, Jose Lopes 2016-12-22 23:28 GMT+00:00 Michael Jerris : > It was fixed in one of these fixes. > > commit d1ccc77d4f8793cd6ea12f62db3e090905fbb368 > Author: Mike Jerris > Date: Thu Dec 15 14:01:54 2016 -0600 > > FS-9854: [mod_sofia] SDP O/A fails to put sdp in messages after > certain kinds of sip traffic > > commit 3387b90705b7aa6f308316dc828ae96b6ab8ad79 > Author: Brian West > Date: Tue Dec 13 16:39:57 2016 -0600 > > FS-9829 #resolve [FreeSWITCH 200ok to second reINVITE on a dialog > doesn't contain an SDP.] > > I think this specific issue is in the 3387b90 commit, but the other commit > is similar scenarios that will cause the same sort of issue > > I do plan on working on backporting both of these to the v1.6 branch for > the next release, but have not completed that yet. > > Mike > > On Dec 22, 2016, at 10:57 AM, Jos? Lopes > wrote: > > Hello, > > I have tested with master branch and I verified that I don't have this > issue. > > This issue will be solved at stable version? > > What it is the commit id that solves this issue? > > Thanks in advance. > > Best Regards, > Jose Lopes > > > 2016-11-22 18:40 GMT+00:00 Jos? Lopes : > >> Hello, >> >> I have a FreeSwitch with vanilla configuration connected to an SIP >> Provider. >> I configured the proxy-hold=true configuration on Sofia Internal profile >> so when i activate the Hold on internal sip regs, it will be forwarded to >> SIP Provider. >> >> The SIP Provider provides MoH when requested. >> >> I have a problem that results on the call on silent or terminated by SIP >> Provider when I do the next actions: >> 1- I receive a call from the SIP Provider >> 2- the caller activate MoH and deactivate MoH >> 3- the callee activate the MoH >> 4- Now the call is silent (with other SIP Provider the call is dropped by >> SIP Provider) >> >> I notice that on step 3, the FreeSwitch send a Re-INVITE without SDP, so >> I think this causes the call to be silent, or sometimes the SIP Provider >> drop the call. >> >> I replicate this issue creating a sipp scenario and verified this issue. >> >> SIPP scenario to replicate this issue >> https://pastebin.freeswitch.org/view/afbae914 >> >> Freeswitch logs: >> https://pastebin.freeswitch.org/view/7f36d5ba >> >> Command to use sipp scenario >> sipp -i 172.21.0.1 172.21.0.11:5080 -s 1001 -sf scenario.xml -m 1 -l 1 >> -r 1 -rp 1000 >> >> #172.21.0.1 -> local ip >> #172.21.0.11 -> Freeswitch IP >> >> >> >> Best regards, >> Jose Lopes >> >> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161223/566910b8/attachment-0001.html From yehavi.bourvine at gmail.com Fri Dec 23 13:45:36 2016 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Fri, 23 Dec 2016 12:45:36 +0200 Subject: [Freeswitch-users] different ringtone when called party is already busy on another call In-Reply-To: <1301b4fe-e7bb-6103-4767-0bca87fafb23@xbipin.com> References: <0a791c1b-c578-5a05-f7f9-708b63e3ecf1@xbipin.com> <21fa525b-8723-43a8-6617-d2de2329f781@xbipin.com> <082f1ac7-2ef7-dc82-9e59-3e7570a1d2b3@xbipin.com> <1301b4fe-e7bb-6103-4767-0bca87fafb23@xbipin.com> Message-ID: These two lines are preparations for the next extension statement. That;s what they do: (using the previous terminology) This is called when you dial to extension B and has to know which extension A is "connected" to it. Extensipon B has a variable named "chk_ring" which holds the value of A. That's way you can test whether A is busy while calling B. : > one thing i dont understand is what do these 2 lines actually do > > > > --- Save the original number > > > Regards, > Bipin > > > ------------------------------ > -------- Original Message -------- > Subject: Re: [Freeswitch-users] different ringtone when called party is > already busy on another call > From: Yehavi Bourvine > > To: FreeSWITCH Users Help > > Date: 12/22/2016, 8:02:39 PM > > You can use the DB backend for that. mod_limit is actually doing that > counting... > > __Yehavi: > > 2016-12-22 17:58 GMT+02:00 Bipin Patel : > >> hi, >> >> thanks for the reply. I forgot to mention i use blind registration so i >> specifically dont have directory entries so any other way to implement it >> with that, meanwhile ill try to wrap my head around the dialplan u provided. >> >> what i was thinking was suppose if any extension places a call then >> increment some counter and when that call ends reset it to 0 so suppose if >> hes in a call and counter is at 1 then any new calls placed by anyone else >> check the counter for the first ext if thats called, if 1 then different >> ringback and if 0 then normal ringback >> >> >> Regards, >> Bipin >> >> >> ------------------------------ >> -------- Original Message -------- >> Subject: Re: [Freeswitch-users] different ringtone when called party is >> already busy on another call >> From: Yehavi Bourvine >> >> To: FreeSWITCH Users Help >> >> Date: 12/22/2016, 4:57:29 PM >> >> Hi, >> >> To make it easier, let's call the main extension A, and the secondary >> extension B. When someone calls B and A is busy, you want the >> "call-waiting" signal to be heard. >> >> Note: I've taken snippets from my dial plan and changed them in order to >> readable without my context; hence, they might not work on first attempt. >> >> First, I've added a new parameter to the B's directory entry called >> "chk_ring" which has the value of B. >> >> First, you have to tell mod_limit to track calls to/from the main >> extension (I am doing that for all extensions) with the following commands >> before calling the bridge application: >> >> >> This causes mod_limit to track the calls to that extension. >> >> BTW, it is adviseable to add also the following setting in order to count >> correctly when doing call transfer: >> >> >> Next, during a new call process you have to check the limit of A >> extension with the following: >> >> >> >> >> > --- Save the original number >> >> >> >> >> And then add a ChangeRingBack extension: >> >> >> >> --- Do the bridge. >> >> >> >> >> 2016-12-22 7:54 GMT+02:00 Bipin Patel : >> >>> hi, >>> >>> this is exactly what im trying to achieve, i want to be able to check if >>> called party is busy on another call then generate a different ringback >>> than the normal one i use if not busy. Can u kindly provide a dialplan >>> example coz im getting confused on how to track if the ext is busy as well >>> as increment and decrement the limit value? >>> >>> >>> Regards, >>> Bipin >>> >>> >>> ------------------------------ >>> -------- Original Message -------- >>> Subject: Re: [Freeswitch-users] different ringtone when called party is >>> already busy on another call >>> From: Yehavi Bourvine >>> >>> To: FreeSWITCH Users Help >>> >>> Date: 12/22/2016, 8:59:35 AM >>> >>> What I am doing in a similar case is: >>> >>> - I am using the mod_limit to know which extension is in a call and >>> which is free. >>> - If a call is made to a busy extension (which has the call waiting >>> feature) then I play a different ring-back tone with the command: >>> >> /> >>> - In your case, the busy extension is different than the one being >>> called; thus, you have to add to the extension variables/parameters a new >>> parameter which specifies the other extension number; then you have to call >>> mod_limit for both extensions, and play the call-wait ringback if one of >>> them is busy. >>> >>> Regards, __Yehavi: >>> >>> 2016-12-21 13:59 GMT+02:00 Bipin Patel : >>> >>>> hi, >>>> >>>> its a multi line phone so i guess B is accepting the call like a normal >>>> call which it should with call waiting enabled on it, if it sent busy then >>>> A would simply hear busy tone which i dont want, i want to make A hear a >>>> different ringtone while call is waiting so A can know using the tone that >>>> B is on another call and might or might not answer >>>> >>>> >>>> Regards, >>>> Bipin >>>> >>>> >>>> ------------------------------ >>>> -------- Original Message -------- >>>> Subject: Re: [Freeswitch-users] different ringtone when called party is >>>> already busy on another call >>>> From: L?i ??ng >>>> To: FreeSWITCH Users Help >>>> >>>> Date: 12/21/2016, 2:22:11 PM >>>> >>>> guess It is the B's function, B is able to put the call in waiting >>>> instead of respond 486 to FS, when B is already a call with another party. >>>> in this case, I'm afraid FS will have no idea about what is happening >>>> in B. >>>> what branch B is? did you try B's role with another phone? >>>> >>>> rgds, >>>> >>>> Loi Dang Thanh >>>> Phone : +84.1224.735.448 >>>> Email : loi.dangthanh at gmail.com >>>> >>>> On Wed, Dec 21, 2016 at 3:40 PM, Bipin Patel wrote: >>>> >>>>> hi, >>>>> >>>>> i have been using FS in product on many raspberry pi's and other >>>>> machines in PBX environment and everything works well except im stuck with >>>>> a requirement which i cant seem to be able to get over. >>>>> >>>>> party A calls party B but party B is already in call with party C, so >>>>> party A gets normal ringtone and party B gets call waiting beeps, how do we >>>>> detect in FS that party B is already busy on another call and generate a >>>>> different ringtone for party A which he hears so indirectly party A knows >>>>> that party B is already on another call? >>>>> >>>>> >>>>> -- >>>>> Regards, >>>>> Bipin >>>>> >>>>> >>>>> ------------------------------ >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> ____________________________________________________________ >>> _____________ >> >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161223/95c01dde/attachment-0001.html From daveh at beachdognet.com Sat Dec 24 01:26:56 2016 From: daveh at beachdognet.com (Dave Horton) Date: Fri, 23 Dec 2016 17:26:56 -0500 Subject: [Freeswitch-users] one-way audio bridging DTLS and non-DTLS channels Message-ID: <742D65F2-7CB5-4F12-BD92-ED2857D38694@beachdognet.com> I?ve got a scenario where I am bridging two channels; one from a webrtc client established using DTLS, with a second channel established to a far-end session border controller not using DTLS. Audio from the web rtc client is heard by the far end client that is behind the SBC, but audio from the SBC is not heard by the webrtc client. I?ve got a pastebin here: http://pastebin.com/J9P63JUU I wonder if anyone can take a look and indicate whether they see any errors, or anything indicative of one-way audio? The DTLS connection itself seems to be set up fine, and I see no obvious errors myself. More generally, is there anything to keep in mind in bridging scenario of this type, or any reason why audio from the ?insecure? connection could not be bridged over to the ?secure? connection? Dave From s.safarov at gmail.com Sat Dec 24 13:05:19 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Sat, 24 Dec 2016 10:05:19 +0000 Subject: [Freeswitch-users] NGINX + Kamailio + FreeSwitch Message-ID: Hello guys I want configure user frendly WebRTC server based on FreeSwitch and SipML5 client. It can be easy done in FreeSwitch and NGINX is bounded to different IP/ports. But if you wants use one IP and 443 port then you will try configre NGINX to proxy all reuests line "/fs-socket/" to FreeSwitch port 7443. It is works fine but FreeSwitch cannot not see real client IP address like folowing. Captured on Amazon server. freeswitch at ip-172-31-29-87.us-west-2.compute.internal> sofia status profile internal reg Registrations: ================================================================================================= Call-ID: f1e8c7ca-8f50-4285-fd1a-148d2f1d1b88 User: 23 at 46.218.201.23 Contact: "23" Agent: IM-client/OMA1.0 sipML5-v1.2016.03.04 Status: Registered(TLS-NAT)(unknown) EXP(2016-12-24 09:42:43) EXPSECS(230) Ping-Status: Reachable Ping-Time: 0.00 Host: ip-172-31-29-87.us-west-2.compute.internal IP: 172.31.29.87 Port: 37244 Auth-User: 23 Auth-Realm: 46.218.201.23 MWI-Account: 23 at 46.218.201.23 Total items returned: 1 ================================================================================================= Displayed real IP address of NGINX Also when received INVITE then variables like network_addr will cantain real IP of NGINX. Then you can try confgire nginx like ng proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; But FreeSwitch wants SIP headers "X-AUTH-IP" and "X-AUTH-PORT" in every SIP message not only connection establishing. NGINX not understand SIP messages and cannot do it. Then you will try cofigure Kamailio between NGINX and FreeSwitch. In this case Kamailio can parce http headers and add requred SIP header. Are you can suggest other way to publish FreeSwitch socket on same port with http server? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161224/c507cd96/attachment.html From tculjaga at gmail.com Sat Dec 24 20:18:44 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Sat, 24 Dec 2016 18:18:44 +0100 Subject: [Freeswitch-users] mod_xml_curl - directory only In-Reply-To: <1D718638-C2D4-4D8C-BC1A-7C2BC22CE358@jerris.com> References: <675DE59A-C0B6-4A9E-9C69-AFA6D1C73C79@vallimamod.org> <1D718638-C2D4-4D8C-BC1A-7C2BC22CE358@jerris.com> Message-ID: yap, figured that out :=))) thanks for the tip. so, do we have a complete list of requests made by FS for directory binding ? T. On 23 December 2016 at 00:21, Michael Jerris wrote: > check out mod_dptools.c:4231 > > this is the code that actually processes the return > > looks like it looks for dial-string and params prefixed with ?dial-var-? > .. if you don?t have any vars you are inserting in you don?t need those > > > > On Dec 22, 2016, at 6:43 AM, Vallimamod Abdullah > wrote: > > > > Well, a safe bet is to return the complete user document (as in your > first example) in both cases to allow it to be fully cached. > > > > Also, you need to test but I am not sure if just returning the domain > dial-string param will work in the user_call case. The code specifically > requests the user element and the group and domain params/vars are merged > to it during lookup. > > > > Best Regards, > > -- > > Vallimamod Abdullah > > vma at vallimamod.org > > . > > > > > >> On 22 Dec 2016, at 12:11, Tihomir Culjaga wrote: > >> > >> > >> > >> On 22 December 2016 at 11:53, Vallimamod Abdullah > wrote: > >> Hi, > >> > >>> purpose=null, action=user_call - what do i send here ? > >> > >> This is called when you dial with the user channel (user/agent1) to > retrieve the dial-string data. So you need to send user info here. > >> > >> > >> so in other words all i need here, is to return dial-string ? > >> > >> in my case: > >> > >> > >>
> >> > >> > >> > >> > >> > >>
> >>
> >> > >> > >>> purpose=null, reverse-auth-lookup - what do i return here ? > >> > >> This is called when authenticating the user to retrieve auth related > params (password, a1-hash, auth-acl, etc.) So you also need to send user > info here. > >> > >> > >> cool, i can return just a1-hash and see if it works :=) > >> > >> > >> > >> > >> > >> Best Regards, > >> -- > >> Vallimamod Abdullah > >> vma at vallimamod.org > >> . > >> > >>> On 22 Dec 2016, at 10:28, Tihomir Culjaga wrote: > >>> > >>> Hello everyone, > >>> > >>> i'd like to use mod_xml_curl for serving directory. > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> ...and as far as registrations ( SIP or verto ) it is ok, meaning my > devices do register. > >>> > >>> > >>> i return something like this: > >>> > >>> > >>>
> >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>>
> >>>
> >>> > >>> > >>> but when i place a call i get a request with action=user_call with no > other info than user xxx is trying to place an outgoing call without saying > where :=) > >>> > >>> section=directory&tag_name=domain&key_name=name&key_ > value=192.168.5.150&Event-Name=REQUEST_PARAMS&Core-UUID= > 15731076-c3d5-4ad6-8518-41b9c42140be&FreeSWITCH-Hostname=bladeranger& > FreeSWITCH-Switchname=bladeranger&FreeSWITCH-IPv4= > 192.168.5.150&FreeSWITCH-IPv6=%3A%3A1&Event-Date-Local=2016- > 12-22%2009%3A44%3A56&Event-Date-GMT=Thu,%2022%20Dec% > 202016%2008%3A44%3A56%20GMT&Event-Date-Timestamp=1482396296153258&Event- > Calling-File=mod_dptools.c&Event-Calling-Function=user_ > outgoing_channel&Event-Calling-Line-Number=4129&Event-Sequence=7368&as_ > channel=true&action=user_call&originate_timeout=0& > origination_uuid=bf0fd829-56df-48c4-8112-41ba777ee91d& > ignore_early_media=true&last_route=true&origination_caller_ > id_number=xxxxxxxx&origination_caller_id_name=xxxxxxxx&key=id&user=agent1& > domain=192.168.5.150 > >>> > >>> > >>> > >>> So, here i got few questions :=) > >>> > >>> ? purpose=null, action=sip_auth - i send user info here (SIP) > >>> ? purpose=null, action=jsonrpc-authenticate - i send user info > here (Verto) > >>> ? purpose=null, action=user_call - what do i send here ? > >>> ? purpose=null, reverse-auth-lookup - what do i return here ? > >>> ? purpose=gateways - i will send "not found" > >>> ? purpose=network-list - i will send "not found" > >>> ? purpose=publish-vm - i will send "not found" > >>> > >>> > >>> Thanks to everyone who is going to enlight these few things above :=) > >>> > >>> regards, > >>> Tihomir. > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> ____________________________________________________________ > _____________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ > options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > >> ____________________________________________________________ > _____________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ > options/freeswitch-users > >> http://www.freeswitch.org > >> > >> ____________________________________________________________ > _____________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ > options/freeswitch-users > >> http://www.freeswitch.org > > > > > > ____________________________________________________________ > _____________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161224/0c8c0d85/attachment-0001.html From daveh at beachdognet.com Sat Dec 24 20:43:21 2016 From: daveh at beachdognet.com (Dave Horton) Date: Sat, 24 Dec 2016 12:43:21 -0500 Subject: [Freeswitch-users] one-way audio bridging DTLS and non-DTLS channels In-Reply-To: <742D65F2-7CB5-4F12-BD92-ED2857D38694@beachdognet.com> References: <742D65F2-7CB5-4F12-BD92-ED2857D38694@beachdognet.com> Message-ID: Belay that request?.I got it working, and it was not a freeswitch issue. On Dec 23, 2016, at 5:26 PM, Dave Horton wrote: I?ve got a scenario where I am bridging two channels; one from a webrtc client established using DTLS, with a second channel established to a far-end session border controller not using DTLS. Audio from the web rtc client is heard by the far end client that is behind the SBC, but audio from the SBC is not heard by the webrtc client. I?ve got a pastebin here: http://pastebin.com/J9P63JUU I wonder if anyone can take a look and indicate whether they see any errors, or anything indicative of one-way audio? The DTLS connection itself seems to be set up fine, and I see no obvious errors myself. More generally, is there anything to keep in mind in bridging scenario of this type, or any reason why audio from the ?insecure? connection could not be bridged over to the ?secure? connection? Dave From mike at jerris.com Sat Dec 24 22:45:19 2016 From: mike at jerris.com (Michael Jerris) Date: Sat, 24 Dec 2016 19:45:19 +0000 Subject: [Freeswitch-users] mod_xml_curl - directory only In-Reply-To: References: <675DE59A-C0B6-4A9E-9C69-AFA6D1C73C79@vallimamod.org> <1D718638-C2D4-4D8C-BC1A-7C2BC22CE358@jerris.com> Message-ID: I don't think anyone has ever documented them all, your list looked pretty complete. A quick grep through the code should confirm. in the past i've usually just returned the full user, and only had a couple special cases i needed to cover based on my business logic (like for user call, i would never use sofia_contact i'd expand it out myself, but only in the user call case) On Sat, Dec 24, 2016 at 12:20 PM Tihomir Culjaga wrote: > yap, figured that out :=))) > thanks for the tip. > > so, do we have a complete list of requests made by FS for directory > binding ? > > T. > > On 23 December 2016 at 00:21, Michael Jerris wrote: > > check out mod_dptools.c:4231 > > > > > > this is the code that actually processes the return > > > > > > looks like it looks for dial-string and params prefixed with ?dial-var-? > .. if you don?t have any vars you are inserting in you don?t need those > > > > > > > > > > On Dec 22, 2016, at 6:43 AM, Vallimamod Abdullah > wrote: > > > > > > > > Well, a safe bet is to return the complete user document (as in your > first example) in both cases to allow it to be fully cached. > > > > > > > > Also, you need to test but I am not sure if just returning the domain > dial-string param will work in the user_call case. The code specifically > requests the user element and the group and domain params/vars are merged > to it during lookup. > > > > > > > > Best Regards, > > > > -- > > > > Vallimamod Abdullah > > > > vma at vallimamod.org > > > > . > > > > > > > > > > > >> On 22 Dec 2016, at 12:11, Tihomir Culjaga wrote: > > > >> > > > >> > > > >> > > > >> On 22 December 2016 at 11:53, Vallimamod Abdullah > wrote: > > > >> Hi, > > > >> > > > >>> purpose=null, action=user_call - what do i send here ? > > > >> > > > >> This is called when you dial with the user channel (user/agent1) to > retrieve the dial-string data. So you need to send user info here. > > > >> > > > >> > > > >> so in other words all i need here, is to return dial-string ? > > > >> > > > >> in my case: > > > >> > > > >> > > > >>
> > > >> > > > >> > > > >> value="{^^:sip_invite_domain=${dialed_domain}:presence_id=${dialed_user}@ > ${dialed_domain}}${sofia_contact(*/${dialed_user}@ > ${dialed_domain})},${verto_contact(${dialed_user}@${dialed_domain})}"/> > > > >> > > > >> > > > >>
> > > >>
> > > >> > > > >> > > > >>> purpose=null, reverse-auth-lookup - what do i return here ? > > > >> > > > >> This is called when authenticating the user to retrieve auth related > params (password, a1-hash, auth-acl, etc.) So you also need to send user > info here. > > > >> > > > >> > > > >> cool, i can return just a1-hash and see if it works :=) > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> Best Regards, > > > >> -- > > > >> Vallimamod Abdullah > > > >> vma at vallimamod.org > > > >> . > > > >> > > > >>> On 22 Dec 2016, at 10:28, Tihomir Culjaga wrote: > > > >>> > > > >>> Hello everyone, > > > >>> > > > >>> i'd like to use mod_xml_curl for serving directory. > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> ...and as far as registrations ( SIP or verto ) it is ok, meaning my > devices do register. > > > >>> > > > >>> > > > >>> i return something like this: > > > >>> > > > >>> > > > >>>
> > > >>> > > > >>> > > > >>> value="{^^:sip_invite_domain=${dialed_domain}:presence_id=${dialed_user}@ > ${dialed_domain}}${sofia_contact(*/${dialed_user}@ > ${dialed_domain})},${verto_contact(${dialed_user}@${dialed_domain})}"/> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>>
> > > >>>
> > > >>> > > > >>> > > > >>> but when i place a call i get a request with action=user_call with no > other info than user xxx is trying to place an outgoing call without saying > where :=) > > > >>> > > > >>> > section=directory&tag_name=domain&key_name=name&key_value=192.168.5.150&Event-Name=REQUEST_PARAMS&Core-UUID=15731076-c3d5-4ad6-8518-41b9c42140be&FreeSWITCH-Hostname=bladeranger&FreeSWITCH-Switchname=bladeranger&FreeSWITCH-IPv4=192.168.5.150&FreeSWITCH-IPv6=%3A%3A1&Event-Date-Local=2016-12-22%2009%3A44%3A56&Event-Date-GMT=Thu,%2022%20Dec%202016%2008%3A44%3A56%20GMT&Event-Date-Timestamp=1482396296153258&Event-Calling-File=mod_dptools.c&Event-Calling-Function=user_outgoing_channel&Event-Calling-Line-Number=4129&Event-Sequence=7368&as_channel=true&action=user_call&originate_timeout=0&origination_uuid=bf0fd829-56df-48c4-8112-41ba777ee91d&ignore_early_media=true&last_route=true&origination_caller_id_number=xxxxxxxx&origination_caller_id_name=xxxxxxxx&key=id&user=agent1&domain=192.168.5.150 > > > >>> > > > >>> > > > >>> > > > >>> So, here i got few questions :=) > > > >>> > > > >>> ? purpose=null, action=sip_auth - i send user info here (SIP) > > > >>> ? purpose=null, action=jsonrpc-authenticate - i send user info > here (Verto) > > > >>> ? purpose=null, action=user_call - what do i send here ? > > > >>> ? purpose=null, reverse-auth-lookup - what do i return here ? > > > >>> ? purpose=gateways - i will send "not found" > > > >>> ? purpose=network-list - i will send "not found" > > > >>> ? purpose=publish-vm - i will send "not found" > > > >>> > > > >>> > > > >>> Thanks to everyone who is going to enlight these few things above :=) > > > >>> > > > >>> regards, > > > >>> Tihomir. > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > _________________________________________________________________________ > > > >>> Professional FreeSWITCH Consulting Services: > > > >>> consulting at freeswitch.org > > > >>> http://www.freeswitchsolutions.com > > > >>> > > > >>> Official FreeSWITCH Sites > > > >>> http://www.freeswitch.org > > > >>> http://confluence.freeswitch.org > > > >>> http://www.cluecon.com > > > >>> > > > >>> FreeSWITCH-users mailing list > > > >>> FreeSWITCH-users at lists.freeswitch.org > > > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > >>> http://www.freeswitch.org > > > >> > > > >> > > > >> > _________________________________________________________________________ > > > >> Professional FreeSWITCH Consulting Services: > > > >> consulting at freeswitch.org > > > >> http://www.freeswitchsolutions.com > > > >> > > > >> Official FreeSWITCH Sites > > > >> http://www.freeswitch.org > > > >> http://confluence.freeswitch.org > > > >> http://www.cluecon.com > > > >> > > > >> FreeSWITCH-users mailing list > > > >> FreeSWITCH-users at lists.freeswitch.org > > > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > >> http://www.freeswitch.org > > > >> > > > >> > _________________________________________________________________________ > > > >> Professional FreeSWITCH Consulting Services: > > > >> consulting at freeswitch.org > > > >> http://www.freeswitchsolutions.com > > > >> > > > >> Official FreeSWITCH Sites > > > >> http://www.freeswitch.org > > > >> http://confluence.freeswitch.org > > > >> http://www.cluecon.com > > > >> > > > >> FreeSWITCH-users mailing list > > > >> FreeSWITCH-users at lists.freeswitch.org > > > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > >> http://www.freeswitch.org > > > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > > consulting at freeswitch.org > > > > http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > > http://www.freeswitch.org > > > > http://confluence.freeswitch.org > > > > http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > http://www.freeswitch.org > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161224/97b53bec/attachment-0001.html From d.mordovin at dwide.com Sun Dec 25 03:52:28 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Sun, 25 Dec 2016 03:52:28 +0300 Subject: [Freeswitch-users] Set outgoing codec list in dialpeer/gateway. Possible? Message-ID: <8db25f25-7951-0c99-1403-c0da8c5986a9@dwide.com> Hello Googling several hours but can't find example how to configure special codec list (outgoing codecs offer) inside dialpeer or gateway config xml Guys, please help! Happy new year!!! Dmitry. From s.safarov at gmail.com Sun Dec 25 08:59:14 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Sun, 25 Dec 2016 05:59:14 +0000 Subject: [Freeswitch-users] Set outgoing codec list in dialpeer/gateway. Possible? In-Reply-To: <8db25f25-7951-0c99-1403-c0da8c5986a9@dwide.com> References: <8db25f25-7951-0c99-1403-c0da8c5986a9@dwide.com> Message-ID: https://wiki.freeswitch.org/wiki/Variable_absolute_codec_string PCMA:PCMU bridge{absolute_codec_string='^^:PCMU:OPUS']sofia/external/number at gw.provider.org ??, 25 ???. 2016 ?. ? 3:53, Dmitry Mordovin : > Hello > > Googling several hours but can't find example how to configure special > codec list (outgoing codecs offer) inside dialpeer or gateway config xml > > Guys, please help! > > Happy new year!!! > > 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/20161225/0ba5fc99/attachment.html From s.safarov at gmail.com Sun Dec 25 09:00:37 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Sun, 25 Dec 2016 06:00:37 +0000 Subject: [Freeswitch-users] Set outgoing codec list in dialpeer/gateway. Possible? In-Reply-To: <8db25f25-7951-0c99-1403-c0da8c5986a9@dwide.com> References: <8db25f25-7951-0c99-1403-c0da8c5986a9@dwide.com> Message-ID: https://wiki.freeswitch.org/wiki/Variable_absolute_codec_string bridge{absolute_codec_string='^^:PCMU:OPUS']sofia/external/number at gw.provider.org ??, 25 ???. 2016 ?. ? 3:53, Dmitry Mordovin : > Hello > > Googling several hours but can't find example how to configure special > codec list (outgoing codecs offer) inside dialpeer or gateway config xml > > Guys, please help! > > Happy new year!!! > > 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/20161225/0f0b3ad1/attachment.html From bipin at xbipin.com Sun Dec 25 16:07:06 2016 From: bipin at xbipin.com (Bipin Patel) Date: Sun, 25 Dec 2016 17:07:06 +0400 Subject: [Freeswitch-users] different ringtone when called party is already busy on another call In-Reply-To: References: <0a791c1b-c578-5a05-f7f9-708b63e3ecf1@xbipin.com> <21fa525b-8723-43a8-6617-d2de2329f781@xbipin.com> <082f1ac7-2ef7-dc82-9e59-3e7570a1d2b3@xbipin.com> <1301b4fe-e7bb-6103-4767-0bca87fafb23@xbipin.com> Message-ID: <80a58da4-09c8-cc8b-3e05-45131e0fe9fa@xbipin.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161225/241f64cc/attachment-0001.html From yehavi.bourvine at gmail.com Sun Dec 25 17:21:36 2016 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Sun, 25 Dec 2016 16:21:36 +0200 Subject: [Freeswitch-users] different ringtone when called party is already busy on another call In-Reply-To: <80a58da4-09c8-cc8b-3e05-45131e0fe9fa@xbipin.com> References: <0a791c1b-c578-5a05-f7f9-708b63e3ecf1@xbipin.com> <21fa525b-8723-43a8-6617-d2de2329f781@xbipin.com> <082f1ac7-2ef7-dc82-9e59-3e7570a1d2b3@xbipin.com> <1301b4fe-e7bb-6103-4767-0bca87fafb23@xbipin.com> <80a58da4-09c8-cc8b-3e05-45131e0fe9fa@xbipin.com> Message-ID: It is hardcoded for each extension in the user's directory. However, I set a paramter from that value, so if you can set a parameter for the value you need by using any other method - use it... Regards, __Yehavi: 2016-12-25 15:07 GMT+02:00 Bipin Patel : > hi, > > u mentioned the below > First, I've added a new parameter to the B's directory entry called > "chk_ring" which has the value of B. > > do u hardcode this in directory entry xml or is there a way to dynamically > assign it in dialplan because the issue im having is im using blind > registration so my extension entries dont exist in directory at the start > > > > Regards, > Bipin > > > ------------------------------ > -------- Original Message -------- > Subject: Re: [Freeswitch-users] different ringtone when called party is > already busy on another call > From: Yehavi Bourvine > > To: FreeSWITCH Users Help > > Date: 12/23/2016, 2:45:36 PM > > These two lines are preparations for the next extension statement. That;s > what they do: > > > (using the previous terminology) This is called when you dial to extension > B and has to know which extension A is "connected" to it. Extensipon B has > a variable named "chk_ring" which holds the value of A. That's way you can > test whether A is busy while calling B. > > --- Save the original number > When you call the limit application (at a later stage), if the destination > is busy, it changes the destination number to " > ChangeRingBack", thus you have to save the original destination. > > Reminder: These are snippets from my config which I changed slightly to be > readable outside my context; they are not tested. > __Yehavi: > > > 2016-12-22 18:27 GMT+02:00 Bipin Patel : > >> one thing i dont understand is what do these 2 lines actually do >> >> >> >> > --- Save the original number >> >> >> Regards, >> Bipin >> >> >> ------------------------------ >> -------- Original Message -------- >> Subject: Re: [Freeswitch-users] different ringtone when called party is >> already busy on another call >> From: Yehavi Bourvine >> >> To: FreeSWITCH Users Help >> >> Date: 12/22/2016, 8:02:39 PM >> >> You can use the DB backend for that. mod_limit is actually doing that >> counting... >> >> __Yehavi: >> >> 2016-12-22 17:58 GMT+02:00 Bipin Patel : >> >>> hi, >>> >>> thanks for the reply. I forgot to mention i use blind registration so i >>> specifically dont have directory entries so any other way to implement it >>> with that, meanwhile ill try to wrap my head around the dialplan u provided. >>> >>> what i was thinking was suppose if any extension places a call then >>> increment some counter and when that call ends reset it to 0 so suppose if >>> hes in a call and counter is at 1 then any new calls placed by anyone else >>> check the counter for the first ext if thats called, if 1 then different >>> ringback and if 0 then normal ringback >>> >>> >>> Regards, >>> Bipin >>> >>> >>> ------------------------------ >>> -------- Original Message -------- >>> Subject: Re: [Freeswitch-users] different ringtone when called party is >>> already busy on another call >>> From: Yehavi Bourvine >>> >>> To: FreeSWITCH Users Help >>> >>> Date: 12/22/2016, 4:57:29 PM >>> >>> Hi, >>> >>> To make it easier, let's call the main extension A, and the secondary >>> extension B. When someone calls B and A is busy, you want the >>> "call-waiting" signal to be heard. >>> >>> Note: I've taken snippets from my dial plan and changed them in order to >>> readable without my context; hence, they might not work on first attempt. >>> >>> First, I've added a new parameter to the B's directory entry called >>> "chk_ring" which has the value of B. >>> >>> First, you have to tell mod_limit to track calls to/from the main >>> extension (I am doing that for all extensions) with the following commands >>> before calling the bridge application: >>> >>> >>> This causes mod_limit to track the calls to that extension. >>> >>> BTW, it is adviseable to add also the following setting in order to >>> count correctly when doing call transfer: >>> >>> >>> Next, during a new call process you have to check the limit of A >>> extension with the following: >>> >>> >>> >>> >>> >> --- Save the original number >>> >>> >>> >>> >>> And then add a ChangeRingBack extension: >>> >>> >>> >>> --- Do the bridge. >>> >>> >>> >>> >>> 2016-12-22 7:54 GMT+02:00 Bipin Patel : >>> >>>> hi, >>>> >>>> this is exactly what im trying to achieve, i want to be able to check >>>> if called party is busy on another call then generate a different ringback >>>> than the normal one i use if not busy. Can u kindly provide a dialplan >>>> example coz im getting confused on how to track if the ext is busy as well >>>> as increment and decrement the limit value? >>>> >>>> >>>> Regards, >>>> Bipin >>>> >>>> >>>> ------------------------------ >>>> -------- Original Message -------- >>>> Subject: Re: [Freeswitch-users] different ringtone when called party is >>>> already busy on another call >>>> From: Yehavi Bourvine >>>> >>>> To: FreeSWITCH Users Help >>>> >>>> Date: 12/22/2016, 8:59:35 AM >>>> >>>> What I am doing in a similar case is: >>>> >>>> - I am using the mod_limit to know which extension is in a call and >>>> which is free. >>>> - If a call is made to a busy extension (which has the call waiting >>>> feature) then I play a different ring-back tone with the command: >>>> >>> /> >>>> - In your case, the busy extension is different than the one being >>>> called; thus, you have to add to the extension variables/parameters a new >>>> parameter which specifies the other extension number; then you have to call >>>> mod_limit for both extensions, and play the call-wait ringback if one of >>>> them is busy. >>>> >>>> Regards, __Yehavi: >>>> >>>> 2016-12-21 13:59 GMT+02:00 Bipin Patel : >>>> >>>>> hi, >>>>> >>>>> its a multi line phone so i guess B is accepting the call like a >>>>> normal call which it should with call waiting enabled on it, if it sent >>>>> busy then A would simply hear busy tone which i dont want, i want to make A >>>>> hear a different ringtone while call is waiting so A can know using the >>>>> tone that B is on another call and might or might not answer >>>>> >>>>> >>>>> Regards, >>>>> Bipin >>>>> >>>>> >>>>> ------------------------------ >>>>> -------- Original Message -------- >>>>> Subject: Re: [Freeswitch-users] different ringtone when called party >>>>> is already busy on another call >>>>> From: L?i ??ng >>>>> To: FreeSWITCH Users Help >>>>> >>>>> Date: 12/21/2016, 2:22:11 PM >>>>> >>>>> guess It is the B's function, B is able to put the call in waiting >>>>> instead of respond 486 to FS, when B is already a call with another party. >>>>> in this case, I'm afraid FS will have no idea about what is happening >>>>> in B. >>>>> what branch B is? did you try B's role with another phone? >>>>> >>>>> rgds, >>>>> >>>>> Loi Dang Thanh >>>>> Phone : +84.1224.735.448 >>>>> Email : loi.dangthanh at gmail.com >>>>> >>>>> On Wed, Dec 21, 2016 at 3:40 PM, Bipin Patel wrote: >>>>> >>>>>> hi, >>>>>> >>>>>> i have been using FS in product on many raspberry pi's and other >>>>>> machines in PBX environment and everything works well except im stuck with >>>>>> a requirement which i cant seem to be able to get over. >>>>>> >>>>>> party A calls party B but party B is already in call with party C, so >>>>>> party A gets normal ringtone and party B gets call waiting beeps, how do we >>>>>> detect in FS that party B is already busy on another call and generate a >>>>>> different ringtone for party A which he hears so indirectly party A knows >>>>>> that party B is already on another call? >>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> Bipin >>>>>> >>>>>> >>>>>> ------------------------------ >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>> >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161225/a981e627/attachment-0001.html From kamil.nigmatullin at gmail.com Mon Dec 26 08:49:37 2016 From: kamil.nigmatullin at gmail.com (Kamil Nigmatullin) Date: Mon, 26 Dec 2016 11:49:37 +0600 Subject: [Freeswitch-users] Abandoned members ESL problem Message-ID: I am creating some kind of monitoring for callcenter. Found one thing. Whan a Caller (Memeber) joined queue 1, then member-queue-start event appears. But if caller left the queue, and joined in a few minutes later (discard_abandoned_after = 3600) the same queue, then member-queue-start event is not shown. Maybe it is right but how can I find out if memeber rejoined the queue? -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161226/3558077b/attachment.html From babak.freeswitch at gmail.com Mon Dec 26 09:59:45 2016 From: babak.freeswitch at gmail.com (Babak Yakhchali) Date: Mon, 26 Dec 2016 10:29:45 +0330 Subject: [Freeswitch-users] Getting 403 trying to register an ATA to freeswitch Message-ID: Hi I have a grandstream ata(HT701) behind nat which is trying to register to freeswitch with public ip but it is getting 403. Zoiper is working fine with same configuration. These are sip messages after enabling siptrace recv 812 bytes from udp/[x.x.x.x]:5060 at 06:39:06.476367: ------------------------------------------------------------------------ REGISTER sip:y.y.y.y:5070 SIP/2.0 Via: SIP/2.0/UDP 192.168.33.109:5060;branch=z9hG4bK951798483;rport From: "100" ;tag=1551799885 To: Call-ID: 1772924103-5060-2 at BJC.BGI.DD.BAJ CSeq: 2012 REGISTER Contact: ;reg-id=1;+sip.instance="" Authorization: Digest username="100", realm="y.y.y.y", nonce="a5163fda-cb35-11e6-bc3a-6bd3c5b5a0c6", uri="sip:y.y.y.y:5070", response="b3e394d5f59e1e3c79cc5ec596d132e1", algorithm=MD5, cnonce="09249246", qop=auth, nc=00000008 Max-Forwards: 70 User-Agent: Grandstream HT701 1.0.8.2 Supported: path Expires: 180 Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE Content-Length: 0 ------------------------------------------------------------------------ send 548 bytes to udp/[x.x.x.x]:5060 at 06:39:06.569125: ------------------------------------------------------------------------ SIP/2.0 403 Forbidden Via: SIP/2.0/UDP 192.168.33.109:5060 ;branch=z9hG4bK951798483;rport=5060;received=x.x.x.x From: "100" ;tag=1551799885 To: ;tag=0r6HXSrXZD44a Call-ID: 1772924103-5060-2 at BJC.BGI.DD.BAJ CSeq: 2012 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.2.14+git~20131019T195513Z~44680b31d9 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Content-Length: 0 how can I debug this? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161226/fde7474b/attachment.html From naveen32india at gmail.com Mon Dec 26 17:16:14 2016 From: naveen32india at gmail.com (Naveen Tamanam) Date: Mon, 26 Dec 2016 19:46:14 +0530 Subject: [Freeswitch-users] How to edit voicemail IVR. How to remove IVR Menu option "To mark this message urgent press *" Message-ID: Hi, Freeswich dialplan appliction voicemail plays the IVR and it provides the several options after we leave the voicemail. How to remove the menu options like "To mark this message urgent press *" after we leave the voicemail. -- Thanks & Regards, Naveen Tamanam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161226/97c180c7/attachment.html From bipin at xbipin.com Mon Dec 26 18:11:41 2016 From: bipin at xbipin.com (Bipin Patel) Date: Mon, 26 Dec 2016 19:11:41 +0400 Subject: [Freeswitch-users] different ringtone when called party is already busy on another call In-Reply-To: References: <0a791c1b-c578-5a05-f7f9-708b63e3ecf1@xbipin.com> <21fa525b-8723-43a8-6617-d2de2329f781@xbipin.com> <082f1ac7-2ef7-dc82-9e59-3e7570a1d2b3@xbipin.com> <1301b4fe-e7bb-6103-4767-0bca87fafb23@xbipin.com> <80a58da4-09c8-cc8b-3e05-45131e0fe9fa@xbipin.com> Message-ID: <6f473545-36f2-1912-fe0f-aeb0a2ef4f80@xbipin.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161226/e930dd15/attachment-0001.html From jeff.chua.linux at gmail.com Mon Dec 26 20:48:24 2016 From: jeff.chua.linux at gmail.com (Jeff Chua) Date: Tue, 27 Dec 2016 01:48:24 +0800 Subject: [Freeswitch-users] gsmopen one-way voice issue Message-ID: I'm configured freeswitch with gsmopen but can't seem to figure where why I only get voice out from SIP-client to mobile-phone but not voice from mobile to SIP client. When I tried to call from mobile-phone to IVR extension 5000 and press 2 for the standard echo test (9196), I could hear the echo back. When I tried to call 9195 for the five second delay echo test, I couldn't anything. I've add these settings in vars.xml as well. What am I missing? Thanks, Jeff From sms at icefire.qza.net.au Mon Dec 26 20:52:45 2016 From: sms at icefire.qza.net.au (Francis) Date: Tue, 27 Dec 2016 03:52:45 +1000 Subject: [Freeswitch-users] gsmopen one-way voice issue In-Reply-To: References: Message-ID: <681d110a-7da3-aca6-909b-9c28a05d46ee@icefire.qza.net.au> What model phone are you using? On 27/12/2016 3:48 AM, Jeff Chua wrote: > I'm configured freeswitch with gsmopen but can't seem to figure where > why I only get voice out from SIP-client to mobile-phone but not voice > from mobile to SIP client. > > When I tried to call from mobile-phone to IVR extension 5000 and press > 2 for the standard echo test (9196), I could hear the echo back. When > I tried to call 9195 for the five second delay echo test, I couldn't > anything. > > I've add these settings in vars.xml as well. > > > > > > > > > > What am I missing? > > Thanks, > Jeff > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 jeff.chua.linux at gmail.com Mon Dec 26 21:14:33 2016 From: jeff.chua.linux at gmail.com (Jeff Chua) Date: Tue, 27 Dec 2016 02:14:33 +0800 Subject: [Freeswitch-users] gsmopen one-way voice issue In-Reply-To: <681d110a-7da3-aca6-909b-9c28a05d46ee@icefire.qza.net.au> References: <681d110a-7da3-aca6-909b-9c28a05d46ee@icefire.qza.net.au> Message-ID: On Tue, Dec 27, 2016 at 1:55 AM Francis wrote: > What model phone are you using? Tried with iPhone SE and Nokia X3-02. Again, even failed with the 5-sec delayed echo test. I've tried SIP-SIP calling using LinPhone (Windows) to LinPhone (iPhone) and that works with both-way voice. Thanks, Jeff. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161227/d8064321/attachment.html From jeff.chua.linux at gmail.com Mon Dec 26 21:16:19 2016 From: jeff.chua.linux at gmail.com (Jeff Chua) Date: Tue, 27 Dec 2016 02:16:19 +0800 Subject: [Freeswitch-users] gsmopen one-way voice issue In-Reply-To: References: <681d110a-7da3-aca6-909b-9c28a05d46ee@icefire.qza.net.au> Message-ID: On Tue, Dec 27, 2016 at 2:14 AM, Jeff Chua wrote: > > On Tue, Dec 27, 2016 at 1:55 AM Francis wrote: >> >> What model phone are you using? > > > Tried with iPhone SE and Nokia X3-02. Again, even failed with the 5-sec > delayed echo test. > > I've tried SIP-SIP calling using LinPhone (Windows) to LinPhone (iPhone) and > that works with both-way voice. Here's my codecs in vars.xml Thanks, Jeff From sms at icefire.qza.net.au Mon Dec 26 21:21:51 2016 From: sms at icefire.qza.net.au (Francis) Date: Tue, 27 Dec 2016 04:21:51 +1000 Subject: [Freeswitch-users] gsmopen one-way voice issue In-Reply-To: References: <681d110a-7da3-aca6-909b-9c28a05d46ee@icefire.qza.net.au> Message-ID: Am I correct in assuming you are connecting the phone via USB and configuring an interface for gsmopen? Francis On 27/12/2016 4:16 AM, Jeff Chua wrote: > On Tue, Dec 27, 2016 at 2:14 AM, Jeff Chua wrote: >> On Tue, Dec 27, 2016 at 1:55 AM Francis wrote: >>> What model phone are you using? >> >> Tried with iPhone SE and Nokia X3-02. Again, even failed with the 5-sec >> delayed echo test. >> >> I've tried SIP-SIP calling using LinPhone (Windows) to LinPhone (iPhone) and >> that works with both-way voice. > Here's my codecs in vars.xml > > data="outbound_codec_prefs=L16,99,G729,GSM at 40i,PCMU,PCMA"/> > > Thanks, > Jeff > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 jeff.chua.linux at gmail.com Mon Dec 26 21:58:04 2016 From: jeff.chua.linux at gmail.com (Jeff Chua) Date: Mon, 26 Dec 2016 18:58:04 +0000 Subject: [Freeswitch-users] gsmopen one-way voice issue In-Reply-To: References: <681d110a-7da3-aca6-909b-9c28a05d46ee@icefire.qza.net.au> Message-ID: On Tue, Dec 27, 2016 at 2:24 AM Francis wrote: > Am I correct in assuming you are connecting the phone via USB and > configuring an interface for gsmopen? > > Yes! The modem is the Huawei E153. I've tried the E1762/K3765 as well. > I've tested these modem under Windows and they works with both-way audio. > Thanks, Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161226/b5326d70/attachment.html From brian at freeswitch.org Tue Dec 27 02:03:50 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 26 Dec 2016 23:03:50 +0000 Subject: [Freeswitch-users] gsmopen one-way voice issue In-Reply-To: References: Message-ID: Any of those variables with dashes are invalid, you should look those up, those are params. On Mon, Dec 26, 2016 at 11:49 AM Jeff Chua wrote: > I'm configured freeswitch with gsmopen but can't seem to figure where > > why I only get voice out from SIP-client to mobile-phone but not voice > > from mobile to SIP client. > > > > When I tried to call from mobile-phone to IVR extension 5000 and press > > 2 for the standard echo test (9196), I could hear the echo back. When > > I tried to call 9195 for the five second delay echo test, I couldn't > > anything. > > > > I've add these settings in vars.xml as well. > > > > > > > > > > > > > > > > > > > > What am I missing? > > > > Thanks, > > Jeff > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161226/63115339/attachment-0001.html From hardikitpl at gmail.com Tue Dec 27 07:54:55 2016 From: hardikitpl at gmail.com (Hardik Patel) Date: Tue, 27 Dec 2016 10:24:55 +0530 Subject: [Freeswitch-users] (no subject) Message-ID: I am trying to configure G729 codec in freeswitch but getting this error while i am trying to install it. Initially i have configure it successfully but then its required to upgrade Freeswitch and after up-gradation it am trying to reconfigure it and getting error. ERROR [this code has been activated too many times, see http://wiki.freeswitch.org/wiki/Mod_com_g729#Saving_Config_Files] Any one can help me please? -- Hardik Patel iNextrix Technologies Pvt Ltd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161227/8154c329/attachment.html From jeff.chua.linux at gmail.com Tue Dec 27 11:38:23 2016 From: jeff.chua.linux at gmail.com (Jeff Chua) Date: Tue, 27 Dec 2016 16:38:23 +0800 Subject: [Freeswitch-users] gsmopen one-way voice issue In-Reply-To: References: Message-ID: On Tue, Dec 27, 2016 at 7:03 AM, Brian West wrote: > Any of those variables with dashes are invalid, you should look those up, > those are params. Ok, I set all these to false ... # sip_profiles/internal.xml # ./sip_profiles/external.xml Still no sound from GSM to SIP. What else can I try? Thanks, Jeff From kkothari157 at gmail.com Tue Dec 27 14:27:12 2016 From: kkothari157 at gmail.com (Ketan Kothari) Date: Tue, 27 Dec 2016 16:57:12 +0530 Subject: [Freeswitch-users] Codec transcoding PCMA to PMCU Message-ID: Hello, I have configured PCMA codec in my zoipper soft-phone(UAC) and tried to call to 123456789 using our gateway twillo(UAS). Gateway only accept PCMU codec. I have also configured absolute codec =PCMU but still freeswitch sending PCMA to twillo(Provider gateway UAS). I have got error Originate Failed. Cause: SERVICE_NOT_IMPLEMENTED in freeswitch. Once i have added PCMU codec in my zoiper(UAC) it's working. [image: Inline image 1] What am i missing here? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161227/39d39c61/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Adiptel-fs-codec-issue.png Type: image/png Size: 27168 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161227/39d39c61/attachment-0001.png From kkothari157 at gmail.com Tue Dec 27 15:42:21 2016 From: kkothari157 at gmail.com (Ketan Kothari) Date: Tue, 27 Dec 2016 18:12:21 +0530 Subject: [Freeswitch-users] Voicemail MWI(message waiting indicator) issue Message-ID: Hello, [image: Inline image 1] Devices look like this in, sofia status profile internalprofile reg Phone- B Call-ID: 44461523-5062-2 at BJC.BGI.B.BGB User: 1519124 at 172.30.0.20 Contact: "" Agent: Grandstream GXP1620 1.0.0.38 Status: Registered(UDP)(unknown) EXP(2016-12-27 13:21:50) EXPSECS(3344) Ping-Status: Reachable Ping-Time: 0.00 Host: ip-172-30-0-20 IP: 12.72.14.16 Port: 5062 Auth-User: 911519124 Auth-Realm: 54.14.15.64 MWI-Account: 1519124 at 172.30.0.20 Phone- A Call-ID: MTFmYWQyN2RmZDNmZTZiNzgzM2E5ZjVkOGIzMDI4NTQ. User: 911519124 at 172.30.0.20 Contact: "" Agent: Z 3.3.25608 r25552 Status: Registered(UDP)(unknown) EXP(2016-12-27 13:27:00) EXPSECS(3654) Ping-Status: Reachable Ping-Time: 0.00 Host: ip-172-30-0-20 IP: 12.72.14.16 Port: 51018 Auth-User: 911519124 Auth-Realm: 54.14.15.64 MWI-Account: 911519124 at 172.30.0.20 Devices look like this in, show registrations Phone-B 1519124,172.30.0.20,44461523-5062-2 at BJC.BGI.B.BGB,sofia/internalprofile/ sip:1519124 at 12.72.14.16:5062,1482844910,12.72.14.16,5062,udp,ip-172-30-0-20, Phone- A 911519124,172.30.0.20,MTFmYWQyN2RmZDNmZTZiNzgzM2E5ZjVkOGIzMDI4NTQ.,sofia/internalprofile/sip:911519124 at 12.72.14.16:51018 ;rinstance=ffa5b67a6c872492;transport=UDP,1482845220,12.72.14.16,51018,udp,ip-172-30-0-20, When device C drops voicemail to 911519124. The phone A (with sip user : 911519124) notify with MWI but phone B (with sip user : 1519124) not blinking (no MWI). Please let me know what am i missing here? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161227/d18f8122/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: FS-forum-MWI-issue.png Type: image/png Size: 44814 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161227/d18f8122/attachment-0001.png From s.safarov at gmail.com Tue Dec 27 18:04:44 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 27 Dec 2016 15:04:44 +0000 Subject: [Freeswitch-users] Codec transcoding PCMA to PMCU In-Reply-To: References: Message-ID: Think you configured proxy media mode on FreeSwitch ??, 27 ???. 2016 ?. ? 17:03, Ketan Kothari : > Hello, > > I have configured PCMA codec in my zoipper soft-phone(UAC) and tried to > call to 123456789 using our gateway twillo(UAS). > Gateway only accept PCMU codec. I have also configured absolute codec > =PCMU but still freeswitch sending PCMA to twillo(Provider gateway UAS). I > have got error Originate Failed. Cause: SERVICE_NOT_IMPLEMENTED in > freeswitch. > > Once i have added PCMU codec in my zoiper(UAC) it's working. > > > [image: Inline image 1] > > > What am i missing here? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161227/f1e85f2a/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Adiptel-fs-codec-issue.png Type: image/png Size: 27168 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161227/f1e85f2a/attachment-0001.png From brian at freeswitch.org Tue Dec 27 18:21:33 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 27 Dec 2016 09:21:33 -0600 Subject: [Freeswitch-users] Codec transcoding PCMA to PMCU In-Reply-To: References: Message-ID: We would need the full dialplan that you're executing to accomplish this. On Tue, Dec 27, 2016 at 5:27 AM, Ketan Kothari wrote: > Hello, > > I have configured PCMA codec in my zoipper soft-phone(UAC) and tried to > call to 123456789 using our gateway twillo(UAS). > Gateway only accept PCMU codec. I have also configured absolute codec > =PCMU but still freeswitch sending PCMA to twillo(Provider gateway UAS). I > have got error Originate Failed. Cause: SERVICE_NOT_IMPLEMENTED in > freeswitch. > > Once i have added PCMU codec in my zoiper(UAC) it's working. > > > [image: Inline image 1] > > > What am i missing here? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161227/4713c9b8/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Adiptel-fs-codec-issue.png Type: image/png Size: 27168 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161227/4713c9b8/attachment-0001.png From mike at jerris.com Tue Dec 27 18:43:50 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 27 Dec 2016 15:43:50 +0000 Subject: [Freeswitch-users] (no subject) In-Reply-To: References: Message-ID: is this on a different piece of hardware? On Mon, Dec 26, 2016 at 11:59 PM Hardik Patel wrote: > I am trying to configure G729 codec in freeswitch but getting this error > while i am trying to install it. > > Initially i have configure it successfully but then its required to > upgrade Freeswitch and after up-gradation it am trying to reconfigure it > and getting error. > > ERROR [this code has been activated too many times, see > http://wiki.freeswitch.org/wiki/Mod_com_g729#Saving_Config_Files] > > Any one can help me please? > -- > Hardik Patel > iNextrix Technologies Pvt Ltd > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161227/a2a2aefe/attachment.html From mike at jerris.com Tue Dec 27 18:47:56 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 27 Dec 2016 15:47:56 +0000 Subject: [Freeswitch-users] Voicemail MWI(message waiting indicator) issue In-Reply-To: References: Message-ID: they are 2 different users registering as 2 different users, why would they both get the voicemail indication? On Tue, Dec 27, 2016 at 9:08 AM Ketan Kothari wrote: > Hello, > [image: Inline image 1] > > > Devices look like this in, sofia status profile internalprofile reg > > Phone- B > Call-ID: 44461523-5062-2 at BJC.BGI.B.BGB > User: 1519124 at 172.30.0.20 > Contact: "" > Agent: Grandstream GXP1620 1.0.0.38 > Status: Registered(UDP)(unknown) EXP(2016-12-27 13:21:50) > EXPSECS(3344) > Ping-Status: Reachable > Ping-Time: 0.00 > Host: ip-172-30-0-20 > IP: 12.72.14.16 > Port: 5062 > Auth-User: 911519124 > Auth-Realm: 54.14.15.64 > MWI-Account: 1519124 at 172.30.0.20 > > Phone- A > Call-ID: MTFmYWQyN2RmZDNmZTZiNzgzM2E5ZjVkOGIzMDI4NTQ. > User: 911519124 at 172.30.0.20 > Contact: "" ;rinstance=ffa5b67a6c872492;transport=UDP> > Agent: Z 3.3.25608 r25552 > Status: Registered(UDP)(unknown) EXP(2016-12-27 13:27:00) > EXPSECS(3654) > Ping-Status: Reachable > Ping-Time: 0.00 > Host: ip-172-30-0-20 > IP: 12.72.14.16 > Port: 51018 > Auth-User: 911519124 > Auth-Realm: 54.14.15.64 > MWI-Account: 911519124 at 172.30.0.20 > > Devices look like this in, show registrations > > Phone-B > 1519124,172.30.0.20,44461523-5062-2 at BJC.BGI.B.BGB,sofia/internalprofile/ > sip:1519124 at 12.72.14.16:5062 > ,1482844910,12.72.14.16,5062,udp,ip-172-30-0-20, > > Phone- A > > 911519124,172.30.0.20,MTFmYWQyN2RmZDNmZTZiNzgzM2E5ZjVkOGIzMDI4NTQ.,sofia/internalprofile/sip:911519124 at 12.72.14.16:51018 > ;rinstance=ffa5b67a6c872492;transport=UDP,1482845220,12.72.14.16,51018,udp,ip-172-30-0-20, > > When device C drops voicemail to 911519124. The phone A (with sip user : > 911519124) notify with MWI but phone B (with sip user : 1519124) not > blinking (no MWI). > > Please let me know what am i missing here? > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161227/386ee448/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: FS-forum-MWI-issue.png Type: image/png Size: 44814 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161227/386ee448/attachment-0001.png From manpower13.cse at gmail.com Tue Dec 27 20:00:41 2016 From: manpower13.cse at gmail.com (Murugan Pandian) Date: Tue, 27 Dec 2016 22:30:41 +0530 Subject: [Freeswitch-users] Configure Gateway Auth username Message-ID: Hi, I am using following sip trunk detail in my xlite it work fine and i can able to make call but when i use with my freeswitch in gateway ,I am always getting 403 error i understand have problem in my gateway config xml. SIP TRUNK details (Examples): Username: trunkusername at bangalore.relianceims.in Password: trunkpassword outbound proxy: 10.21.254.231 Bellow is my reliancegateway.xml Is there any way to use Auth username in gateway config xml -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161227/261ec4fe/attachment.html From gassaad at emassembly.com Wed Dec 28 07:25:48 2016 From: gassaad at emassembly.com (George Assaad) Date: Wed, 28 Dec 2016 04:25:48 +0000 Subject: [Freeswitch-users] (no subject) In-Reply-To: References: Message-ID: I believe you need to re-issue "reset" the license. https://freeswitch.com/cart.php?gid=2 On Tue, Dec 27, 2016 at 8:01 PM Michael Jerris wrote: > is this on a different piece of hardware? > > On Mon, Dec 26, 2016 at 11:59 PM Hardik Patel > wrote: > > I am trying to configure G729 codec in freeswitch but getting this error > while i am trying to install it. > > Initially i have configure it successfully but then its required to > upgrade Freeswitch and after up-gradation it am trying to reconfigure it > and getting error. > > ERROR [this code has been activated too many times, see > http://wiki.freeswitch.org/wiki/Mod_com_g729#Saving_Config_Files] > > Any one can help me please? > -- > Hardik Patel > iNextrix Technologies Pvt Ltd > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161228/41dd6829/attachment.html From jeff.chua.linux at gmail.com Wed Dec 28 13:58:00 2016 From: jeff.chua.linux at gmail.com (Jeff Chua) Date: Wed, 28 Dec 2016 10:58:00 +0000 Subject: [Freeswitch-users] gsmopen one-way voice issue In-Reply-To: References: Message-ID: Any help is very much appreciated! Thanks, Jeff On Tue, Dec 27, 2016 at 4:38 PM Jeff Chua wrote: > On Tue, Dec 27, 2016 at 7:03 AM, Brian West wrote: > > > Any of those variables with dashes are invalid, you should look those up, > > > those are params. > > > > Ok, I set all these to false ... > > > > # sip_profiles/internal.xml > > > > > > > > > > # ./sip_profiles/external.xml > > > > > > > > > > Still no sound from GSM to SIP. > > > > What else can I try? > > > > Thanks, > > Jeff > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161228/5ec86c52/attachment.html From tculjaga at gmail.com Wed Dec 28 19:57:55 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Wed, 28 Dec 2016 17:57:55 +0100 Subject: [Freeswitch-users] Configure Gateway Auth username In-Reply-To: References: Message-ID: try this... it works for me (not on your network of course :P) ... your example should work as well. if it doesn't work, provide siptrace sofia profile siptrace on On 27 December 2016 at 18:00, Murugan Pandian wrote: > Hi, > > I am using following sip trunk detail in my xlite it work fine and i > can able to make call but when i use with my freeswitch in gateway ,I am > always getting 403 error i understand have problem in my gateway config xml. > > > SIP TRUNK details (Examples): > > > Username: trunkusername at bangalore.relianceims.in > Password: trunkpassword > outbound proxy: 10.21.254.231 > > > Bellow is my reliancegateway.xml > > > > > > > > > > > > > > > > > > > > > > > > Is there any way to use Auth username in gateway config xml > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161228/801603a7/attachment-0001.html From brian at freeswitch.org Wed Dec 28 21:22:44 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 28 Dec 2016 12:22:44 -0600 Subject: [Freeswitch-users] Configure Gateway Auth username In-Reply-To: References: Message-ID: Are you needing to set the auth-username different than the username? On Tue, Dec 27, 2016 at 11:00 AM, Murugan Pandian wrote: > Hi, > > I am using following sip trunk detail in my xlite it work fine and i > can able to make call but when i use with my freeswitch in gateway ,I am > always getting 403 error i understand have problem in my gateway config xml. > > > SIP TRUNK details (Examples): > > > Username: trunkusername at bangalore.relianceims.in > Password: trunkpassword > outbound proxy: 10.21.254.231 > > > Bellow is my reliancegateway.xml > > > > > > > > > > > > > > > > > > > > > > > > Is there any way to use Auth username in gateway config xml > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161228/3772c884/attachment.html From mario_fs at mgtech.com Wed Dec 28 23:39:29 2016 From: mario_fs at mgtech.com (Mario G) Date: Wed, 28 Dec 2016 12:39:29 -0800 Subject: [Freeswitch-users] Forward fails with deflect and REFER to null In-Reply-To: <627DB024-A0FE-4EBC-93F3-8774BF3D463F@mgtech.com> References: <627DB024-A0FE-4EBC-93F3-8774BF3D463F@mgtech.com> Message-ID: Anyone know the answer to this? Still no luck. Mario G > On Nov 21, 2016, at 8:39 AM, Mario G wrote: > > What are the bold deflect and refer to lines below telling me? This worked until last year, not sure if it?s related to 1.6, I can?t nail down a start date. > > A ring group rings. When one phone?s FWD button is pressed prior to a call or during a call the call is forwarded to VM extension 2921, and the other phones stopped ringing. This no longer works, the set phone does not ring, the call is not transferred to VM and the other phones keep ringing. I couldn?t find anything on the wiki (it only described using codes to turn FWD on/off), etc. to explain why this stopped working. Any help to get the phone forwarding working again is greatly appreciated. Thanks! > Mario G > > YEALINK T48G DSS button is set to forward to 2921, pressing again turns it off. All other DSS keys such as call park, etc work fine. > > > > > > > > > > > > > > This log shows the only lines that contain 2921 in bold: > 2016-11-19 16:27:26.673609 [INFO] mod_dialplan_xml.c:637 Processing Mario G <15051234567>->2921 in context public > Dialplan: sofia/internal/15051234567 at 11.123.1.10 parsing [public->unloop] continue=false > Dialplan: sofia/internal/15051234567 at 11.123.1.10 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false > Dialplan: sofia/internal/15051234567 at 11.123.1.10 Regex (PASS) [unloop] ${sip_looped_call}(true) =~ /^true$/ break=on-false > Dialplan: sofia/internal/15051234567 at 11.123.1.10 Action deflect(${destination_number}) > 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/15051234567 at 11.123.1.10 ) State Change CS_ROUTING -> CS_EXECUTE > 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/15051234567 at 11.123.1.10 ) State ROUTING going to sleep > 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/15051234567 at 11.123.1.10 ) Running State Change CS_EXECUTE > 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/15051234567 at 11.123.1.10 ) State EXECUTE > 2016-11-19 16:27:26.673609 [DEBUG] mod_sofia.c:198 sofia/internal/15051234567 at 11.123.1.10 SOFIA EXECUTE > 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:328 sofia/internal/15051234567 at 11.123.1.10 Standard EXECUTE > EXECUTE sofia/internal/15051234567 at 11.123.1.10 deflect(2921) > 2016-11-19 16:27:26.673609 [DEBUG] sofia.c:8349 Process REFER to [(null)@2921] > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161228/470d6318/attachment.html From brian at freeswitch.org Wed Dec 28 23:52:39 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 28 Dec 2016 14:52:39 -0600 Subject: [Freeswitch-users] Forward fails with deflect and REFER to null In-Reply-To: References: <627DB024-A0FE-4EBC-93F3-8774BF3D463F@mgtech.com> Message-ID: What rev of FreeSWITCH is this? On Wed, Dec 28, 2016 at 2:39 PM, Mario G wrote: > Anyone know the answer to this? Still no luck. > Mario G > > On Nov 21, 2016, at 8:39 AM, Mario G wrote: > > What are the bold deflect and refer to lines below telling me? This worked > until last year, not sure if it?s related to 1.6, I can?t nail down a start > date. > > A ring group rings. When one phone?s FWD button is pressed prior to a call > or during a call the call is forwarded to VM extension 2921, and the other > phones stopped ringing. This no longer works, the set phone does not ring, > the call is not transferred to VM and the other phones keep ringing. I > couldn?t find anything on the wiki (it only described using codes to turn > FWD on/off), etc. to explain why this stopped working. Any help to get the > phone forwarding working again is greatly appreciated. Thanks! > Mario G > > YEALINK T48G DSS button is set to forward to 2921, pressing again turns it > off. All other DSS keys such as call park, etc work fine. > > > > > > > > > > > > > > This log shows the only lines that contain 2921 in *bold*: > 2016-11-19 16:27:26.673609 [INFO] mod_dialplan_xml.c:637 Processing Mario > G <15051234567>->2921 in context public > Dialplan: sofia/internal/15051234567 at 11.123.1.10 parsing [public->unloop] > continue=false > Dialplan: sofia/internal/15051234567 at 11.123.1.10 Regex (PASS) [unloop] > ${unroll_loops}(true) =~ /^true$/ break=on-false > Dialplan: sofia/internal/15051234567 at 11.123.1.10 Regex (PASS) [unloop] > ${sip_looped_call}(true) =~ /^true$/ break=on-false > Dialplan: sofia/internal/15051234567 at 11.123.1.10 *Action > deflect(${destination_number})* > 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:286 ( > sofia/internal/15051234567 at 11.123.1.10) State Change CS_ROUTING -> > CS_EXECUTE > 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:643 ( > sofia/internal/15051234567 at 11.123.1.10) State ROUTING going to sleep > 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:584 ( > sofia/internal/15051234567 at 11.123.1.10) Running State Change CS_EXECUTE > 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:650 ( > sofia/internal/15051234567 at 11.123.1.10) State EXECUTE > 2016-11-19 16:27:26.673609 [DEBUG] mod_sofia.c:198 > sofia/internal/15051234567 at 11.123.1.10 SOFIA EXECUTE > 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:328 > sofia/internal/15051234567 at 11.123.1.10 Standard EXECUTE > EXECUTE sofia/internal/15051234567 at 11.123.1.10* deflect(2921)* > 2016-11-19 16:27:26.673609 [DEBUG] sofia.c:8349 *Process REFER to > [(null)@2921*] > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161228/d3ff48fa/attachment-0001.html From manpower13.cse at gmail.com Thu Dec 29 08:09:02 2016 From: manpower13.cse at gmail.com (Murugan Pandian) Date: Thu, 29 Dec 2016 10:39:02 +0530 Subject: [Freeswitch-users] Configure Gateway Auth username In-Reply-To: References: Message-ID: Thanks of your Reply, yes i am using following info in Zoiper username: trunkusername password:trunkpassword domain:bangalore.reliancedcims.com proxy:10.27.234.235 Auth username: trunkusername at bangalore.relianceims.com On Wed, Dec 28, 2016 at 11:52 PM, Brian West wrote: > Are you needing to set the auth-username different than the username? > > On Tue, Dec 27, 2016 at 11:00 AM, Murugan Pandian < > manpower13.cse at gmail.com> wrote: > >> Hi, >> >> I am using following sip trunk detail in my xlite it work fine and i >> can able to make call but when i use with my freeswitch in gateway ,I am >> always getting 403 error i understand have problem in my gateway config xml. >> >> >> SIP TRUNK details (Examples): >> >> >> Username: trunkusername at bangalore.relianceims.in >> Password: trunkpassword >> outbound proxy: 10.21.254.231 >> >> >> Bellow is my reliancegateway.xml >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Is there any way to use Auth username in gateway config xml >> >> >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *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/20161229/163502d1/attachment.html From asilva at wirelessmundi.com Thu Dec 29 15:00:42 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Thu, 29 Dec 2016 13:00:42 +0100 Subject: [Freeswitch-users] Remove a user from a call group if error Message-ID: Hi, is it possible to remove a user from a call group if the dialstring or hangup cause returns error similar to the option "outbound_redirect_fatal". I've a group "200" with members "1" and "2", I then call to the group using call_group(200+F) if the user 1 is not registered just call the user 2. Now ii see calling user 1 that is immediately hangup with hangup_cause user_not_registered. Write now i've lua script that executes the api call_group(200+F), parses the dialtring and remove the error/not_registered before executing the command bridge(dialstring), i wanted to avoid using a lua script to call a group. Can it be done? -- Saludos / Regards / Cumprimentos, Ant?nio silva From brian at freeswitch.org Thu Dec 29 17:55:19 2016 From: brian at freeswitch.org (Brian West) Date: Thu, 29 Dec 2016 08:55:19 -0600 Subject: [Freeswitch-users] Configure Gateway Auth username In-Reply-To: References: Message-ID: Use the param auth-username in your gateway params. /b On Wed, Dec 28, 2016 at 11:09 PM, Murugan Pandian wrote: > Thanks of your Reply, > > > yes i am using following info in Zoiper > > username: trunkusername > password:trunkpassword > domain:bangalore.reliancedcims.com > proxy:10.27.234.235 > Auth username: trunkusername at bangalore.relianceims.com > > > > On Wed, Dec 28, 2016 at 11:52 PM, Brian West wrote: > >> Are you needing to set the auth-username different than the username? >> >> On Tue, Dec 27, 2016 at 11:00 AM, Murugan Pandian < >> manpower13.cse at gmail.com> wrote: >> >>> Hi, >>> >>> I am using following sip trunk detail in my xlite it work fine and >>> i can able to make call but when i use with my freeswitch in gateway ,I am >>> always getting 403 error i understand have problem in my gateway config xml. >>> >>> >>> SIP TRUNK details (Examples): >>> >>> >>> Username: trunkusername at bangalore.relianceims.in >>> Password: trunkpassword >>> outbound proxy: 10.21.254.231 >>> >>> >>> Bellow is my reliancegateway.xml >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Is there any way to use Auth username in gateway config xml >>> >>> >>> >>> >>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> >> | *M:*+1918424WEST (9378) >> *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 (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161229/784f8e52/attachment-0001.html From italo at freeswitch.org Thu Dec 29 18:44:49 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Thu, 29 Dec 2016 12:44:49 -0300 Subject: [Freeswitch-users] Abandoned members ESL problem In-Reply-To: References: Message-ID: Which version? On Mon, Dec 26, 2016 at 2:49 AM, Kamil Nigmatullin < kamil.nigmatullin at gmail.com> wrote: > I am creating some kind of monitoring for callcenter. Found one thing. > Whan a Caller (Memeber) joined queue 1, then member-queue-start event > appears. But if caller left the queue, and joined in a few minutes later (discard_abandoned_after > = 3600) the same queue, then member-queue-start event is not shown. Maybe > it is right but how can I find out if memeber rejoined the queue? > > -- > Kamil Nigmatullin > Tel: 77272323748 > mob: 7 (707) 2517003 <(707)%20251-7003> > Skype: kamil.nigmatullin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi italo at freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161229/59f6fdfa/attachment.html From italo at freeswitch.org Thu Dec 29 21:20:07 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Thu, 29 Dec 2016 15:20:07 -0300 Subject: [Freeswitch-users] FS changes to transcoding after hold In-Reply-To: <20161215223559.GA2358@hotdamn.lan> References: <20161209214734.GA2498@hotdamn.lan> <20161210154049.GA2603@hotdamn.lan> <20161215223559.GA2358@hotdamn.lan> Message-ID: Documented on https://freeswitch.org/confluence/display/FREESWITCH/How+To%27s#HowTo's-Locknegotiatedcodec :) On Thu, Dec 15, 2016 at 7:36 PM, Sebastian Kemper wrote: > On Wed, Dec 14, 2016 at 12:49:27AM -0600, Anthony Minessale wrote: > > you could try setting execute_on_answer variable to lock in the codec > > > > Make an extension in the same context "assuming default for this example" > > > > > > > > > > > > > data="absolute_codec_string=${rtp_use_codec_name}"/> > > > > > > > > Hello Anthony, > > I tried it out and it worked. I added a new context with the lock_codec > extension and then added the execute_on_answer in the context I was > making test calls from. > > When using "set" the absolute_codec_string was set on A leg, when using > "export" on both legs, like you said. > > Thanks! > Sebastian > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi italo at freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161229/df744136/attachment.html From mr.mikedunton at gmail.com Thu Dec 29 21:47:56 2016 From: mr.mikedunton at gmail.com (Michael Dunton) Date: Thu, 29 Dec 2016 18:47:56 +0000 Subject: [Freeswitch-users] [ERR] switch_ivr_originate.c:224 sofia/sipinterface_1/ Error Playing File! Message-ID: Hi Vallimamod, Thank you for your reply. Here is the information you requested. I've masked some of the data. freeswitch-debug 2016-12-29 18:12:51.367469 [NOTICE] kazoo_node.c:302 log|691c7b7e-cdf2-11e6-9852-a73efaac9f3b|building xferext extension: bridge {ignore_display_updates='true',ecallmgr_Account-ID='98c46437cbcd43e3d1a518a8de083038',ecallmgr_Reseller-ID='0534605f933714aca28e2b34b49e2a73',effective_caller_id_number='+1MASKED_NUMBER2',effective_caller_id_name='1MASKED_NUMBER2',origination_caller_id_number='+1MASKED_NUMBER2',origination_caller_id_name='1MASKED_NUMBER2',ignore_early_media='true',local_var_clobber='true'}[sip_from_uri='sip:+1MASKED_NUMBER2 at MA.SK.ED.IP2',ecallmgr_Global-Resource='true',ecallmgr_Resource-ID='bandwidth',ecallmgr_Original-Number='MASKED_NUMBER',leg_progress_timeout='8',effective_callee_id_number='MASKED_NUMBER',effective_callee_id_name='MASKED_NUMBER']sofia/sipinterface_1/+1MASKED_NUMBER at MA.SK.ED.IP2|[sip_from_uri='sip:+1MASKED_NUMBER2 at MA.SK.ED.IP',ecallmgr_Global-Resource='true',ecallmgr_Resource-ID='bandwidth',ecallmgr_Original-Number='MASKED_NUMBER',leg_progress_timeout='8',effective_callee_id_number='MASKED_NUMBER',effective_callee_id_name='MASKED_NUMBER']sofia/sipinterface_1/+1MASKED_NUMBER at MA.SK.ED.IP freeswitch-debug 694ca916-cdf2-11e6-9863-a73efaac9f3b 2016-12-29 18:12:51.367469 [NOTICE] switch_channel.c:1077 New Channel sofia/sipinterface_1/%2B1MASKED_NUMBER at MA.SK.ED.IP2 [694ca916-cdf2-11e6-9863-a73efaac9f3b] freeswitch-debug 2016-12-29 18:12:51.390874 [INFO] kazoo_node.c:625 exec: uuid_setvar_multi(694ca916-cdf2-11e6-9863-a73efaac9f3b ecallmgr_Channel-Authorized=true;ecallmgr_Global-Resource=true;ecallmgr_Reseller-ID=0534605f933714aca28e2b34b49e2a73;ecallmgr_Account-ID=98c46437cbcd43e3d1a518a8de083038) freeswitch-debug 694ca916-cdf2-11e6-9863-a73efaac9f3b 2016-12-29 18:12:52.147490 [NOTICE] sofia.c:6767 Ring-Ready sofia/sipinterface_1/%2B1MASKED_NUMBER at MA.SK.ED.IP2! freeswitch-debug 694ca916-cdf2-11e6-9863-a73efaac9f3b 2016-12-29 18:13:19.227463 [NOTICE] sofia.c:7532 Channel [sofia/sipinterface_1/%2B1MASKED_NUMBER at MA.SK.ED.IP2] has been answered freeswitch-debug 694ca916-cdf2-11e6-9863-a73efaac9f3b 2016-12-29 18:13:22.007462 [NOTICE] switch_ivr_originate.c:3519 Hangup sofia/sipinterface_1/%2B1MASKED_NUMBER at MA.SK.ED.IP2 [CS_CONSUME_MEDIA] [NO_ANSWER] freeswitch-debug 694ca916-cdf2-11e6-9863-a73efaac9f3b 2016-12-29 18:13:22.007462 [ERR] switch_ivr_originate.c:224 sofia/sipinterface_1/%2B1MASKED_NUMBER at MA.SK.ED.IP2 Error Playing File! freeswitch-debug 694ca916-cdf2-11e6-9863-a73efaac9f3b 2016-12-29 18:13:22.007462 [NOTICE] switch_core_session.c:1642 Session 14305 (sofia/sipinterface_1/%2B1MASKED_NUMBER at MA.SK.ED.IP2) Ended freeswitch-debug 694ca916-cdf2-11e6-9863-a73efaac9f3b 2016-12-29 18:13:22.007462 [NOTICE] switch_core_session.c:1646 Close Channel sofia/sipinterface_1/%2B1MASKED_NUMBER at MA.SK.ED.IP2 [CS_DESTROY] Thanks, Michael Dunton Software Developer Tresta.com >Hi John, > >Can you please give more details on how this error appears? Your dialplan and debug logs will be helpful. > >In the mean time, I have noticed a few things that may help you: > >- The current stable version of freeSWITCH is 1.6, You should definitely try with it. The source and repos are available at https://freeswitch.org/>confluence/display/FREESWITCH/Installation > >- Unless you have altered it, the channel name "sofia/sipinterface_1/" is incomplete, it should be like "sofia/sipinterface_1/dialed_extension". You >may need to double check that your dial params are correct and the call was actually made. > >- The timeout variables are for playback terminators (when the user presses a key to stop the playback). So they won't help if the call never made it. > >- When the call is hanged up during the playback, it is not considered as an error by switch_ivr_play_file() > > >Best Regards, >-- >Vallimamod Abdullah >vma at vallimamod.org >. > >> On 20 Dec 2016, at 22:41, John.Nowlin at tresta.com wrote: >> >> FreeSWITCH Version 1.4.26~64bit ( 64bit) >> >> We receive this error, ?[ERR] switch_ivr_originate.c:224 sofia/sipinterface_1/ Error Playing File!? whenever the leg receiving the call hangs up before the extant media can start playing. >> >> After looking through switch_ivr_originate.c, I tried setting the global variables playback_timeout_sec=10 and playback_timeout_as_success=true but did not see a change in behavior. >> >> status = switch_ivr_read(collect->>session, >> (uint32_t)len, >> (uint32_t)len, >> collect->>file, NULL, buf, sizeof(buf), collect->>confirm_timeout, NULL, 0); >> >> >> if (status != SWITCH_STATUS_SUCCESS && status != SWITCH_STATUS_BREAK && status != SWITCH_STATUS_TOO_SMALL) { >> switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(collect->>session), SWITCH_LOG_ERROR, "%s Error Playing File!\n", >> switch_channel_get_name(channel)); >> switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER); >> } >> >> Is there some other setting that can inform switch_ivr_originate to not worry about having not played the media after the recipient has hung up? >> >> john nowlin >> Senior Software Developer >> >> Tresta >> office: 850.383.7756 >> mobile: 850.294.5635 >> www.tresta.com >> ? >> A Better Phone Experience >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users MA.SK.ED.IP2 http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161229/978a2adc/attachment-0001.html From kamil.nigmatullin at gmail.com Thu Dec 29 22:09:41 2016 From: kamil.nigmatullin at gmail.com (Kamil Nigmatullin) Date: Fri, 30 Dec 2016 01:09:41 +0600 Subject: [Freeswitch-users] Abandoned members ESL problem In-Reply-To: References: Message-ID: freeswitch at freeswitch> version FreeSWITCH Version 1.6.13+git~20161214T213702Z~d422498d0f~64bit (git d422498 2016-12-14 21:37:02Z 64bit) 2016-12-29 21:44 GMT+06:00 ?talo Rossi : > Which version? > > On Mon, Dec 26, 2016 at 2:49 AM, Kamil Nigmatullin < > kamil.nigmatullin at gmail.com> wrote: > >> I am creating some kind of monitoring for callcenter. Found one thing. >> Whan a Caller (Memeber) joined queue 1, then member-queue-start event >> appears. But if caller left the queue, and joined in a few minutes later (discard_abandoned_after >> = 3600) the same queue, then member-queue-start event is not shown. >> Maybe it is right but how can I find out if memeber rejoined the queue? >> >> -- >> Kamil Nigmatullin >> Tel: 77272323748 >> mob: 7 (707) 2517003 <(707)%20251-7003> >> Skype: kamil.nigmatullin >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > ?talo Rossi > italo at freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/816d3107/attachment.html From mario_fs at mgtech.com Thu Dec 29 22:13:28 2016 From: mario_fs at mgtech.com (Mario G) Date: Thu, 29 Dec 2016 11:13:28 -0800 Subject: [Freeswitch-users] Forward fails with deflect and REFER to null In-Reply-To: References: <627DB024-A0FE-4EBC-93F3-8774BF3D463F@mgtech.com> Message-ID: <730326AD-645F-44C2-9255-703C56628823@mgtech.com> 1.6.13+git~20161214 > On Dec 28, 2016, at 12:52 PM, Brian West wrote: > > What rev of FreeSWITCH is this? > > On Wed, Dec 28, 2016 at 2:39 PM, Mario G > wrote: > Anyone know the answer to this? Still no luck. > Mario G > >> On Nov 21, 2016, at 8:39 AM, Mario G > wrote: >> >> What are the bold deflect and refer to lines below telling me? This worked until last year, not sure if it?s related to 1.6, I can?t nail down a start date. >> >> A ring group rings. When one phone?s FWD button is pressed prior to a call or during a call the call is forwarded to VM extension 2921, and the other phones stopped ringing. This no longer works, the set phone does not ring, the call is not transferred to VM and the other phones keep ringing. I couldn?t find anything on the wiki (it only described using codes to turn FWD on/off), etc. to explain why this stopped working. Any help to get the phone forwarding working again is greatly appreciated. Thanks! >> Mario G >> >> YEALINK T48G DSS button is set to forward to 2921, pressing again turns it off. All other DSS keys such as call park, etc work fine. >> >> >> >> >> >> >> >> >> >> >> >> >> >> This log shows the only lines that contain 2921 in bold: >> 2016-11-19 16:27:26.673609 [INFO] mod_dialplan_xml.c:637 Processing Mario G <15051234567>->2921 in context public >> Dialplan: sofia/internal/15051234567 at 11.123.1.10 parsing [public->unloop] continue=false >> Dialplan: sofia/internal/15051234567 at 11.123.1.10 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false >> Dialplan: sofia/internal/15051234567 at 11.123.1.10 Regex (PASS) [unloop] ${sip_looped_call}(true) =~ /^true$/ break=on-false >> Dialplan: sofia/internal/15051234567 at 11.123.1.10 Action deflect(${destination_number}) >> 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/15051234567 at 11.123.1.10 ) State Change CS_ROUTING -> CS_EXECUTE >> 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/15051234567 at 11.123.1.10 ) State ROUTING going to sleep >> 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/15051234567 at 11.123.1.10 ) Running State Change CS_EXECUTE >> 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/15051234567 at 11.123.1.10 ) State EXECUTE >> 2016-11-19 16:27:26.673609 [DEBUG] mod_sofia.c:198 sofia/internal/15051234567 at 11.123.1.10 SOFIA EXECUTE >> 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:328 sofia/internal/15051234567 at 11.123.1.10 Standard EXECUTE >> EXECUTE sofia/internal/15051234567 at 11.123.1.10 deflect(2921) >> 2016-11-19 16:27:26.673609 [DEBUG] sofia.c:8349 Process REFER to [(null)@2921] >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > Got Bugs? Report them here ! | Reddit: /r/freeswitch > T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) > 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/20161229/a1c2483f/attachment-0001.html From italo at freeswitch.org Thu Dec 29 22:16:29 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Thu, 29 Dec 2016 16:16:29 -0300 Subject: [Freeswitch-users] Abandoned members ESL problem In-Reply-To: References: Message-ID: File a JIRA with steps to reproduce please On Thu, Dec 29, 2016 at 4:09 PM, Kamil Nigmatullin < kamil.nigmatullin at gmail.com> wrote: > freeswitch at freeswitch> version > FreeSWITCH Version 1.6.13+git~20161214T213702Z~d422498d0f~64bit (git > d422498 2016-12-14 21:37:02Z 64bit) > > > 2016-12-29 21:44 GMT+06:00 ?talo Rossi : > >> Which version? >> >> On Mon, Dec 26, 2016 at 2:49 AM, Kamil Nigmatullin < >> kamil.nigmatullin at gmail.com> wrote: >> >>> I am creating some kind of monitoring for callcenter. Found one thing. >>> Whan a Caller (Memeber) joined queue 1, then member-queue-start event >>> appears. But if caller left the queue, and joined in a few minutes later (discard_abandoned_after >>> = 3600) the same queue, then member-queue-start event is not shown. >>> Maybe it is right but how can I find out if memeber rejoined the queue? >>> >>> -- >>> Kamil Nigmatullin >>> Tel: 77272323748 >>> mob: 7 (707) 2517003 <(707)%20251-7003> >>> Skype: kamil.nigmatullin >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> ?talo Rossi >> italo at freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Kamil Nigmatullin > Tel: 77272323748 > mob: 7 (707) 2517003 <(707)%20251-7003> > Skype: kamil.nigmatullin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi italo at freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161229/6cb9f9da/attachment.html From s.safarov at gmail.com Fri Dec 30 14:01:24 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 30 Dec 2016 11:01:24 +0000 Subject: [Freeswitch-users] Memory leak In-Reply-To: References: Message-ID: Hello Anthony I make tests on current master 594b36022e0e5bb72f9072ac0a11d98e7bbd5a7c. Results is available at http://node1.pbx.rcsnet.ru/vg.log FreeSwitch runned by command valgrind --tool=memcheck --log-file=vg.log --leak-check=full --leak-resolution=high --show-reachable=yes /usr/local/freeswitch/bin/freeswitch -nf -nc -vg On server installed vanilla config and maked one call. ??, 15 ????. 2016 ?. ? 19:30, Anthony Minessale : > Good news is 2 releases came out during that test run (and another one in > a week or less) so now you can start over testing newest version again. > > > > On Tue, Nov 15, 2016 at 3:23 AM, Sergey Safarov > wrote: > > Hello Anthony > On old FS version memory usage graph is attached. I think memory usage > grows is stoped near 3Gb but last week memory usage is increased about 200Mb > later i will report result on new version and with valgrind results. > [image: pasted1] > > ??, 13 ????. 2016 ?. ? 19:12, Anthony Minessale < > anthony.minessale at gmail.com>: > > That looks normal to me. > FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use. > If you chart goes past 2 to 2.5 gigs, you may have a problem then. > > you can run valgrind but you can only run 1 call at a time testing typical > callflow. > > valgrind --tool=memcheck --log-file=vg.log --leak-check=full > --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg > > > Also when those months are over, hopefully you update cos you can keep > running the same FS for many months anyway ;) > > > > > On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov > wrote: > > I has configured FreeSwitch process memory usage graph. > According this graph durring 24 days size of used memory ingrezed about > two times. > [image: FS-memory-chart.png] > Pastebin of FreeSwitch process memory map is placed at > https://pastebin.freeswitch.org/view/9e66572a > Are you have any suggestion how to find memory leak. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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 <+1%20919-386-9900> > > 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 <(919)%20386-9900> > > 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/20161230/589f70ec/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: pasted1 Type: image/png Size: 46848 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/589f70ec/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: FS-memory-chart.png Type: image/png Size: 29510 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/589f70ec/attachment-0003.png From s.safarov at gmail.com Fri Dec 30 15:15:50 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 30 Dec 2016 12:15:50 +0000 Subject: [Freeswitch-users] Memory leak In-Reply-To: References: Message-ID: Anthony i want remove messages like "blocks are still reachable in loss record" in valgring log. To do this i defined GLIBCXX_FORCE_NEW=1 enviroment variable at compilation state and execution state but this not take effect. Is it related to memory caching in APR library? ??, 30 ???. 2016 ?. ? 14:01, Sergey Safarov : > Hello Anthony > I make tests on current master 594b36022e0e5bb72f9072ac0a11d98e7bbd5a7c. > Results is available at http://node1.pbx.rcsnet.ru/vg.log > > FreeSwitch runned by command > valgrind --tool=memcheck --log-file=vg.log --leak-check=full > --leak-resolution=high --show-reachable=yes > /usr/local/freeswitch/bin/freeswitch -nf -nc -vg > > On server installed vanilla config and maked one call. > > ??, 15 ????. 2016 ?. ? 19:30, Anthony Minessale < > anthony.minessale at gmail.com>: > > Good news is 2 releases came out during that test run (and another one in > a week or less) so now you can start over testing newest version again. > > > > On Tue, Nov 15, 2016 at 3:23 AM, Sergey Safarov > wrote: > > Hello Anthony > On old FS version memory usage graph is attached. I think memory usage > grows is stoped near 3Gb but last week memory usage is increased about 200Mb > later i will report result on new version and with valgrind results. > [image: pasted1] > > ??, 13 ????. 2016 ?. ? 19:12, Anthony Minessale < > anthony.minessale at gmail.com>: > > That looks normal to me. > FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use. > If you chart goes past 2 to 2.5 gigs, you may have a problem then. > > you can run valgrind but you can only run 1 call at a time testing typical > callflow. > > valgrind --tool=memcheck --log-file=vg.log --leak-check=full > --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg > > > Also when those months are over, hopefully you update cos you can keep > running the same FS for many months anyway ;) > > > > > On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov > wrote: > > I has configured FreeSwitch process memory usage graph. > According this graph durring 24 days size of used memory ingrezed about > two times. > [image: FS-memory-chart.png] > Pastebin of FreeSwitch process memory map is placed at > https://pastebin.freeswitch.org/view/9e66572a > Are you have any suggestion how to find memory leak. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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 <+1%20919-386-9900> > > 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 <(919)%20386-9900> > > 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/20161230/a479ac7d/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: pasted1 Type: image/png Size: 46848 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/a479ac7d/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: FS-memory-chart.png Type: image/png Size: 29510 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/a479ac7d/attachment-0003.png From mouli123 at gmail.com Fri Dec 30 16:25:16 2016 From: mouli123 at gmail.com (Chandramouli P) Date: Fri, 30 Dec 2016 18:55:16 +0530 Subject: [Freeswitch-users] Farsi language support in FreeSwitch Message-ID: Hello, I am planning to use FreeSwitch to implement a small project. I have the below queries: 1) Does FreeSwitch supports "Farsi" language? 2) Is it possible to say current date and time in "Farsi" language" 3) Is it possible to calculate the active call length in FreeSwitch? I mean that let us assume ten calls are active on a single channel (concurrent calls) and they are listening my welcome greeting or file. Now, I want to calculate the active call length of the users. Is it possible or not? Thanks in advance, Chandramouli. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/711ba5dd/attachment.html From anthony.minessale at gmail.com Fri Dec 30 21:12:43 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 30 Dec 2016 12:12:43 -0600 Subject: [Freeswitch-users] Memory leak In-Reply-To: References: Message-ID: It looks like the ones you referenced are one time allocations from loading modules. To do a real test you should make calls that match production calls but only one at a time very slowly and get a few hundred calls while under vg. Also its very important to have a 100% clean shutdown or you can get false positives. 2gb over 24 days is not outside the realm of normal for FS. You could do a stress test and get up that high in minutes. For non-video usage, you would want to start pushing into 3gb before getting worried. I would set 4gb as min ram to run FS but not in all cases, 8gb is much safer. On Fri, Dec 30, 2016 at 6:15 AM, Sergey Safarov wrote: > Anthony i want remove messages like "blocks are still reachable in loss > record" in valgring log. > To do this i defined GLIBCXX_FORCE_NEW=1 enviroment variable at > compilation state and execution state but this not take effect. > > Is it related to memory caching in APR library? > > > ??, 30 ???. 2016 ?. ? 14:01, Sergey Safarov : > >> Hello Anthony >> I make tests on current master 594b36022e0e5bb72f9072ac0a11d98e7bbd5a7c. >> Results is available at http://node1.pbx.rcsnet.ru/vg.log >> >> FreeSwitch runned by command >> valgrind --tool=memcheck --log-file=vg.log --leak-check=full >> --leak-resolution=high --show-reachable=yes /usr/local/freeswitch/bin/freeswitch >> -nf -nc -vg >> >> On server installed vanilla config and maked one call. >> >> ??, 15 ????. 2016 ?. ? 19:30, Anthony Minessale < >> anthony.minessale at gmail.com>: >> >> Good news is 2 releases came out during that test run (and another one in >> a week or less) so now you can start over testing newest version again. >> >> >> >> On Tue, Nov 15, 2016 at 3:23 AM, Sergey Safarov >> wrote: >> >> Hello Anthony >> On old FS version memory usage graph is attached. I think memory usage >> grows is stoped near 3Gb but last week memory usage is increased about 200Mb >> later i will report result on new version and with valgrind results. >> [image: pasted1] >> >> ??, 13 ????. 2016 ?. ? 19:12, Anthony Minessale < >> anthony.minessale at gmail.com>: >> >> That looks normal to me. >> FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use. >> If you chart goes past 2 to 2.5 gigs, you may have a problem then. >> >> you can run valgrind but you can only run 1 call at a time testing >> typical callflow. >> >> valgrind --tool=memcheck --log-file=vg.log --leak-check=full >> --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg >> >> >> Also when those months are over, hopefully you update cos you can keep >> running the same FS for many months anyway ;) >> >> >> >> >> On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov >> wrote: >> >> I has configured FreeSwitch process memory usage graph. >> According this graph durring 24 days size of used memory ingrezed about >> two times. >> [image: FS-memory-chart.png] >> Pastebin of FreeSwitch process memory map is placed at >> https://pastebin.freeswitch.org/view/9e66572a >> Are you have any suggestion how to find memory leak. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> 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 <+1%20919-386-9900> >> >> 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 <(919)%20386-9900> >> >> 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/20161230/b2a9cfa6/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: FS-memory-chart.png Type: image/png Size: 29510 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/b2a9cfa6/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: pasted1 Type: image/png Size: 46848 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/b2a9cfa6/attachment-0003.png From mouli123 at gmail.com Fri Dec 30 23:06:33 2016 From: mouli123 at gmail.com (Chandramouli P) Date: Sat, 31 Dec 2016 01:36:33 +0530 Subject: [Freeswitch-users] Farsi language support in FreeSwitch In-Reply-To: References: Message-ID: Hello List, Any update would be appreciated. Thank you, Chandramouli. On Fri, Dec 30, 2016 at 6:55 PM, Chandramouli P wrote: > Hello, > > I am planning to use FreeSwitch to implement a small project. I have the > below queries: > > 1) Does FreeSwitch supports "Farsi" language? > 2) Is it possible to say current date and time in "Farsi" language" > 3) Is it possible to calculate the active call length in FreeSwitch? I > mean that let us assume ten calls are active on a single channel > (concurrent calls) and they are listening my welcome greeting or file. Now, > I want to calculate the active call length of the users. Is it possible or > not? > > Thanks in advance, > Chandramouli. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161231/cc72cef1/attachment.html From s.safarov at gmail.com Fri Dec 30 23:12:28 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 30 Dec 2016 20:12:28 +0000 Subject: [Freeswitch-users] Memory leak In-Reply-To: References: Message-ID: If I do call test using SIPP script (10 sec each call, PCMA codec) and about 25 000 calls (3 days) under valgrind - is it will be enough? P.S. On my servers about 10000 calls per day and about 300 000 per month. Sergey ??, 30 ???. 2016 ?. ? 21:13, Anthony Minessale : > It looks like the ones you referenced are one time allocations from > loading modules. > To do a real test you should make calls that match production calls but > only one at a time very slowly and get a few hundred calls while under vg. > Also its very important to have a 100% clean shutdown or you can get false > positives. > > 2gb over 24 days is not outside the realm of normal for FS. You could do a > stress test and get up that high in minutes. > For non-video usage, you would want to start pushing into 3gb before > getting worried. > I would set 4gb as min ram to run FS but not in all cases, 8gb is much > safer. > > > > On Fri, Dec 30, 2016 at 6:15 AM, Sergey Safarov > wrote: > > Anthony i want remove messages like "blocks are still reachable in loss > record" in valgring log. > To do this i defined GLIBCXX_FORCE_NEW=1 enviroment variable at > compilation state and execution state but this not take effect. > > Is it related to memory caching in APR library? > > > ??, 30 ???. 2016 ?. ? 14:01, Sergey Safarov : > > Hello Anthony > I make tests on current master 594b36022e0e5bb72f9072ac0a11d98e7bbd5a7c. > Results is available at http://node1.pbx.rcsnet.ru/vg.log > > FreeSwitch runned by command > valgrind --tool=memcheck --log-file=vg.log --leak-check=full > --leak-resolution=high --show-reachable=yes > /usr/local/freeswitch/bin/freeswitch -nf -nc -vg > > On server installed vanilla config and maked one call. > > ??, 15 ????. 2016 ?. ? 19:30, Anthony Minessale < > anthony.minessale at gmail.com>: > > Good news is 2 releases came out during that test run (and another one in > a week or less) so now you can start over testing newest version again. > > > > On Tue, Nov 15, 2016 at 3:23 AM, Sergey Safarov > wrote: > > Hello Anthony > On old FS version memory usage graph is attached. I think memory usage > grows is stoped near 3Gb but last week memory usage is increased about 200Mb > later i will report result on new version and with valgrind results. > [image: pasted1] > > ??, 13 ????. 2016 ?. ? 19:12, Anthony Minessale < > anthony.minessale at gmail.com>: > > That looks normal to me. > FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use. > If you chart goes past 2 to 2.5 gigs, you may have a problem then. > > you can run valgrind but you can only run 1 call at a time testing typical > callflow. > > valgrind --tool=memcheck --log-file=vg.log --leak-check=full > --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg > > > Also when those months are over, hopefully you update cos you can keep > running the same FS for many months anyway ;) > > > > > On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov > wrote: > > I has configured FreeSwitch process memory usage graph. > According this graph durring 24 days size of used memory ingrezed about > two times. > [image: FS-memory-chart.png] > Pastebin of FreeSwitch process memory map is placed at > https://pastebin.freeswitch.org/view/9e66572a > Are you have any suggestion how to find memory leak. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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 <+1%20919-386-9900> > > 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 <(919)%20386-9900> > > 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 <(919)%20386-9900> > > 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/20161230/d46d4c15/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: FS-memory-chart.png Type: image/png Size: 29510 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/d46d4c15/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: pasted1 Type: image/png Size: 46848 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/d46d4c15/attachment-0003.png From anthony.minessale at gmail.com Fri Dec 30 23:50:28 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 30 Dec 2016 14:50:28 -0600 Subject: [Freeswitch-users] Memory leak In-Reply-To: References: Message-ID: It will surely give you a better picture if there is anything of concern. Like I said before you are not outside normal memory footprints in what you demonstrated. On Fri, Dec 30, 2016 at 2:12 PM, Sergey Safarov wrote: > If I do call test using SIPP script (10 sec each call, PCMA codec) and > about 25 000 calls (3 days) under valgrind - is it will be enough? > > P.S. On my servers about 10000 calls per day and about 300 000 per month. > > Sergey > > ??, 30 ???. 2016 ?. ? 21:13, Anthony Minessale < > anthony.minessale at gmail.com>: > >> It looks like the ones you referenced are one time allocations from >> loading modules. >> To do a real test you should make calls that match production calls but >> only one at a time very slowly and get a few hundred calls while under vg. >> Also its very important to have a 100% clean shutdown or you can get >> false positives. >> >> 2gb over 24 days is not outside the realm of normal for FS. You could do >> a stress test and get up that high in minutes. >> For non-video usage, you would want to start pushing into 3gb before >> getting worried. >> I would set 4gb as min ram to run FS but not in all cases, 8gb is much >> safer. >> >> >> >> On Fri, Dec 30, 2016 at 6:15 AM, Sergey Safarov >> wrote: >> >> Anthony i want remove messages like "blocks are still reachable in loss >> record" in valgring log. >> To do this i defined GLIBCXX_FORCE_NEW=1 enviroment variable at >> compilation state and execution state but this not take effect. >> >> Is it related to memory caching in APR library? >> >> >> ??, 30 ???. 2016 ?. ? 14:01, Sergey Safarov : >> >> Hello Anthony >> I make tests on current master 594b36022e0e5bb72f9072ac0a11d98e7bbd5a7c. >> Results is available at http://node1.pbx.rcsnet.ru/vg.log >> >> FreeSwitch runned by command >> valgrind --tool=memcheck --log-file=vg.log --leak-check=full >> --leak-resolution=high --show-reachable=yes /usr/local/freeswitch/bin/freeswitch >> -nf -nc -vg >> >> On server installed vanilla config and maked one call. >> >> ??, 15 ????. 2016 ?. ? 19:30, Anthony Minessale < >> anthony.minessale at gmail.com>: >> >> Good news is 2 releases came out during that test run (and another one in >> a week or less) so now you can start over testing newest version again. >> >> >> >> On Tue, Nov 15, 2016 at 3:23 AM, Sergey Safarov >> wrote: >> >> Hello Anthony >> On old FS version memory usage graph is attached. I think memory usage >> grows is stoped near 3Gb but last week memory usage is increased about 200Mb >> later i will report result on new version and with valgrind results. >> [image: pasted1] >> >> ??, 13 ????. 2016 ?. ? 19:12, Anthony Minessale < >> anthony.minessale at gmail.com>: >> >> That looks normal to me. >> FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use. >> If you chart goes past 2 to 2.5 gigs, you may have a problem then. >> >> you can run valgrind but you can only run 1 call at a time testing >> typical callflow. >> >> valgrind --tool=memcheck --log-file=vg.log --leak-check=full >> --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg >> >> >> Also when those months are over, hopefully you update cos you can keep >> running the same FS for many months anyway ;) >> >> >> >> >> On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov >> wrote: >> >> I has configured FreeSwitch process memory usage graph. >> According this graph durring 24 days size of used memory ingrezed about >> two times. >> [image: FS-memory-chart.png] >> Pastebin of FreeSwitch process memory map is placed at >> https://pastebin.freeswitch.org/view/9e66572a >> Are you have any suggestion how to find memory leak. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> 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 <+1%20919-386-9900> >> >> 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 <(919)%20386-9900> >> >> 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 <(919)%20386-9900> >> >> 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/20161230/35019caf/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: FS-memory-chart.png Type: image/png Size: 29510 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/35019caf/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: pasted1 Type: image/png Size: 46848 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/35019caf/attachment-0003.png From anthony.minessale at gmail.com Fri Dec 30 23:52:39 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 30 Dec 2016 14:52:39 -0600 Subject: [Freeswitch-users] Farsi language support in FreeSwitch In-Reply-To: References: Message-ID: Hi, We don't have a module for that lang but its possible to create one. Call lengths can be determined from the CDRS. On Fri, Dec 30, 2016 at 2:06 PM, Chandramouli P wrote: > Hello List, > > Any update would be appreciated. > > Thank you, > Chandramouli. > > > On Fri, Dec 30, 2016 at 6:55 PM, Chandramouli P > wrote: > >> Hello, >> >> I am planning to use FreeSwitch to implement a small project. I have the >> below queries: >> >> 1) Does FreeSwitch supports "Farsi" language? >> 2) Is it possible to say current date and time in "Farsi" language" >> 3) Is it possible to calculate the active call length in FreeSwitch? I >> mean that let us assume ten calls are active on a single channel >> (concurrent calls) and they are listening my welcome greeting or file. Now, >> I want to calculate the active call length of the users. Is it possible or >> not? >> >> Thanks in advance, >> Chandramouli. >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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/20161230/5884f45c/attachment.html From s.safarov at gmail.com Fri Dec 30 23:55:16 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 30 Dec 2016 20:55:16 +0000 Subject: [Freeswitch-users] Memory leak In-Reply-To: References: Message-ID: Then is required do tests until memory usage is will be more 4gb? ??, 30 ???. 2016, 23:51 Anthony Minessale : > It will surely give you a better picture if there is anything of concern. > Like I said before you are not outside normal memory footprints in what > you demonstrated. > > > > On Fri, Dec 30, 2016 at 2:12 PM, Sergey Safarov > wrote: > > If I do call test using SIPP script (10 sec each call, PCMA codec) and > about 25 000 calls (3 days) under valgrind - is it will be enough? > > P.S. On my servers about 10000 calls per day and about 300 000 per month. > > Sergey > > ??, 30 ???. 2016 ?. ? 21:13, Anthony Minessale < > anthony.minessale at gmail.com>: > > It looks like the ones you referenced are one time allocations from > loading modules. > To do a real test you should make calls that match production calls but > only one at a time very slowly and get a few hundred calls while under vg. > Also its very important to have a 100% clean shutdown or you can get false > positives. > > 2gb over 24 days is not outside the realm of normal for FS. You could do a > stress test and get up that high in minutes. > For non-video usage, you would want to start pushing into 3gb before > getting worried. > I would set 4gb as min ram to run FS but not in all cases, 8gb is much > safer. > > > > On Fri, Dec 30, 2016 at 6:15 AM, Sergey Safarov > wrote: > > Anthony i want remove messages like "blocks are still reachable in loss > record" in valgring log. > To do this i defined GLIBCXX_FORCE_NEW=1 enviroment variable at > compilation state and execution state but this not take effect. > > Is it related to memory caching in APR library? > > > ??, 30 ???. 2016 ?. ? 14:01, Sergey Safarov : > > Hello Anthony > I make tests on current master 594b36022e0e5bb72f9072ac0a11d98e7bbd5a7c. > Results is available at http://node1.pbx.rcsnet.ru/vg.log > > FreeSwitch runned by command > valgrind --tool=memcheck --log-file=vg.log --leak-check=full > --leak-resolution=high --show-reachable=yes > /usr/local/freeswitch/bin/freeswitch -nf -nc -vg > > On server installed vanilla config and maked one call. > > ??, 15 ????. 2016 ?. ? 19:30, Anthony Minessale < > anthony.minessale at gmail.com>: > > Good news is 2 releases came out during that test run (and another one in > a week or less) so now you can start over testing newest version again. > > > > On Tue, Nov 15, 2016 at 3:23 AM, Sergey Safarov > wrote: > > Hello Anthony > On old FS version memory usage graph is attached. I think memory usage > grows is stoped near 3Gb but last week memory usage is increased about 200Mb > later i will report result on new version and with valgrind results. > [image: pasted1] > > ??, 13 ????. 2016 ?. ? 19:12, Anthony Minessale < > anthony.minessale at gmail.com>: > > That looks normal to me. > FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use. > If you chart goes past 2 to 2.5 gigs, you may have a problem then. > > you can run valgrind but you can only run 1 call at a time testing typical > callflow. > > valgrind --tool=memcheck --log-file=vg.log --leak-check=full > --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg > > > Also when those months are over, hopefully you update cos you can keep > running the same FS for many months anyway ;) > > > > > On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov > wrote: > > I has configured FreeSwitch process memory usage graph. > According this graph durring 24 days size of used memory ingrezed about > two times. > [image: FS-memory-chart.png] > Pastebin of FreeSwitch process memory map is placed at > https://pastebin.freeswitch.org/view/9e66572a > Are you have any suggestion how to find memory leak. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > 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 <+1%20919-386-9900> > > 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 <(919)%20386-9900> > > 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 <(919)%20386-9900> > > 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/20161230/438737c4/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: FS-memory-chart.png Type: image/png Size: 29510 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/438737c4/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: pasted1 Type: image/png Size: 46848 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/438737c4/attachment-0003.png From anthony.minessale at gmail.com Sat Dec 31 02:26:20 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 30 Dec 2016 17:26:20 -0600 Subject: [Freeswitch-users] Memory leak In-Reply-To: References: Message-ID: Not for valgrind. you just need a good sampling of many calls of all types of typical traffic. You cannot exceed 1 or 2 cps usually or it will begin to fail. On Fri, Dec 30, 2016 at 2:55 PM, Sergey Safarov wrote: > Then is required do tests until memory usage is will be more 4gb? > > ??, 30 ???. 2016, 23:51 Anthony Minessale : > >> It will surely give you a better picture if there is anything of concern. >> Like I said before you are not outside normal memory footprints in what >> you demonstrated. >> >> >> >> On Fri, Dec 30, 2016 at 2:12 PM, Sergey Safarov >> wrote: >> >> If I do call test using SIPP script (10 sec each call, PCMA codec) and >> about 25 000 calls (3 days) under valgrind - is it will be enough? >> >> P.S. On my servers about 10000 calls per day and about 300 000 per month. >> >> Sergey >> >> ??, 30 ???. 2016 ?. ? 21:13, Anthony Minessale < >> anthony.minessale at gmail.com>: >> >> It looks like the ones you referenced are one time allocations from >> loading modules. >> To do a real test you should make calls that match production calls but >> only one at a time very slowly and get a few hundred calls while under vg. >> Also its very important to have a 100% clean shutdown or you can get >> false positives. >> >> 2gb over 24 days is not outside the realm of normal for FS. You could do >> a stress test and get up that high in minutes. >> For non-video usage, you would want to start pushing into 3gb before >> getting worried. >> I would set 4gb as min ram to run FS but not in all cases, 8gb is much >> safer. >> >> >> >> On Fri, Dec 30, 2016 at 6:15 AM, Sergey Safarov >> wrote: >> >> Anthony i want remove messages like "blocks are still reachable in loss >> record" in valgring log. >> To do this i defined GLIBCXX_FORCE_NEW=1 enviroment variable at >> compilation state and execution state but this not take effect. >> >> Is it related to memory caching in APR library? >> >> >> ??, 30 ???. 2016 ?. ? 14:01, Sergey Safarov : >> >> Hello Anthony >> I make tests on current master 594b36022e0e5bb72f9072ac0a11d98e7bbd5a7c. >> Results is available at http://node1.pbx.rcsnet.ru/vg.log >> >> FreeSwitch runned by command >> valgrind --tool=memcheck --log-file=vg.log --leak-check=full >> --leak-resolution=high --show-reachable=yes /usr/local/freeswitch/bin/freeswitch >> -nf -nc -vg >> >> On server installed vanilla config and maked one call. >> >> ??, 15 ????. 2016 ?. ? 19:30, Anthony Minessale < >> anthony.minessale at gmail.com>: >> >> Good news is 2 releases came out during that test run (and another one in >> a week or less) so now you can start over testing newest version again. >> >> >> >> On Tue, Nov 15, 2016 at 3:23 AM, Sergey Safarov >> wrote: >> >> Hello Anthony >> On old FS version memory usage graph is attached. I think memory usage >> grows is stoped near 3Gb but last week memory usage is increased about 200Mb >> later i will report result on new version and with valgrind results. >> [image: pasted1] >> >> ??, 13 ????. 2016 ?. ? 19:12, Anthony Minessale < >> anthony.minessale at gmail.com>: >> >> That looks normal to me. >> FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use. >> If you chart goes past 2 to 2.5 gigs, you may have a problem then. >> >> you can run valgrind but you can only run 1 call at a time testing >> typical callflow. >> >> valgrind --tool=memcheck --log-file=vg.log --leak-check=full >> --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg >> >> >> Also when those months are over, hopefully you update cos you can keep >> running the same FS for many months anyway ;) >> >> >> >> >> On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov >> wrote: >> >> I has configured FreeSwitch process memory usage graph. >> According this graph durring 24 days size of used memory ingrezed about >> two times. >> [image: FS-memory-chart.png] >> Pastebin of FreeSwitch process memory map is placed at >> https://pastebin.freeswitch.org/view/9e66572a >> Are you have any suggestion how to find memory leak. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> 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 <+1%20919-386-9900> >> >> 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 <(919)%20386-9900> >> >> 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 <(919)%20386-9900> >> >> 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 <(919)%20386-9900> >> >> 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/20161230/0103227f/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: pasted1 Type: image/png Size: 46848 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/0103227f/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: FS-memory-chart.png Type: image/png Size: 29510 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161230/0103227f/attachment-0003.png