From gilles at sauvaire.com Fri Sep 2 06:27:30 2022 From: gilles at sauvaire.com (Gilles SAUVAIRE) Date: Fri, 2 Sep 2022 08:27:30 +0200 Subject: [Freeswitch-users] Too long Reason header swallowed In-Reply-To: References: Message-ID: hello, I answer myself... I made a patch that fixes this https://github.com/signalwire/freeswitch/pull/1789 Thanks. Gilles De : FreeSWITCH-users De la part de Gilles SAUVAIRE Envoyé : vendredi 11 mars 2022 07:47 À : freeswitch-users at lists.freeswitch.org Objet : [Freeswitch-users] Too long Reason header swallowed Importance : Haute I often have this case https://github.com/signalwire/freeswitch/issues/1481 does anyone find a workaround ? has anyone made a sofia patch ? This problem happens frequently for me. (Ms Teams send very long text cause) Thanks. Gilles -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Fri Sep 2 12:00:57 2022 From: brian at freeswitch.com (Brian West) Date: Fri, 2 Sep 2022 07:00:57 -0500 Subject: [Freeswitch-users] Too long Reason header swallowed In-Reply-To: References: Message-ID: Join us for FreeSWITCH monthly Office Hours next Tuesday FreeSWITCH Office Hours are on the first Tuesday of every month at 9AM PT/Noon ET. This is an opportunity to meet up and talk with the development team about whatever is on your mind. Bring your questions, your pull requests, your errors, and everything in between! Register to attend ahead of time here: https://mailchi.mp/freeswitch.org/office-hours You can also join directly without registering: https://cluecon.cantina.video/rooms/FreeSWITCH%20Community We hope to see you there! /b On Fri, Sep 2, 2022 at 1:33 AM Gilles SAUVAIRE wrote: > hello, > > > > I answer myself... > > I made a patch that fixes this > > > > https://github.com/signalwire/freeswitch/pull/1789 > > > > Thanks. > > > > Gilles > > > > > > *De :* FreeSWITCH-users *De > la part de* Gilles SAUVAIRE > *Envoyé :* vendredi 11 mars 2022 07:47 > *À :* freeswitch-users at lists.freeswitch.org > *Objet :* [Freeswitch-users] Too long Reason header swallowed > *Importance :* Haute > > > > I often have this case… > > > > https://github.com/signalwire/freeswitch/issues/1481 > > > > does anyone find a workaround ? > > has anyone made a sofia patch ? > > > > This problem happens frequently for me. > > (Ms Teams send very long text cause) > > > > Thanks. > > > > Gilles > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From happy at hour.com Sun Sep 4 11:25:37 2022 From: happy at hour.com (Peter) Date: Sun, 4 Sep 2022 13:25:37 +0200 Subject: [Freeswitch-users] Cannot fetch package from Signalewire repo Message-ID: <239fb099-9c86-9ecc-49bf-87018359b063@hour.com> I have upgraded my Raspberry Pi to Debian Bullseye and in the process of upgrading my old freeSWITCH 1.7. For convenience I am trying to fetch the binaries from the special repo at Signalwire. I have created a PAT and follow the info from this Confluence page: https://freeswitch.org/confluence/display/FREESWITCH/Raspberry+Pi However, I get no access when downloading the package information Err:5 https://freeswitch.signalwire.com/repo/deb/debian-release bullseye InRelease 401 Unauthorized [IP: 190.102.98.174 443] Can someone shine a light on this? Thanks. From Jerry.Kendall at BishopHosting.com Tue Sep 6 02:01:30 2022 From: Jerry.Kendall at BishopHosting.com (Jerry Kendall) Date: Mon, 5 Sep 2022 22:01:30 -0400 Subject: [Freeswitch-users] FreeSWITCH WebSockets and SIP.js Message-ID: Hey there... Been using FS for a few years now and it's been great.  Thanks to the guys that maintain it.. I've added certs and set wss-binding as required and even create a great little WebPhone based on SIP.js Everything is fine except.... I keep getting 'websocket closed unexpectedly error 1006' I hit refresh and everything is fine again, for a while. Has anyone else used the websockets and hit this issue? If so, did you figure it out? There are pages on pages of complaints but can seem to find a fix. Jerry From remi.marand at odigo.com Tue Sep 6 08:32:49 2022 From: remi.marand at odigo.com (=?utf-8?B?UsOpbWkgTUFSQU5E?=) Date: Tue, 6 Sep 2022 08:32:49 +0000 Subject: [Freeswitch-users] Fwd: websocket disconnection issue - error 1006 In-Reply-To: References: Message-ID: I am working on the same project. This issue has a bad impact, some calls are lost. I see that there is a issue on Github: https://github.com/signalwire/freeswitch/issues/1041 [https://opengraph.githubassets.com/4e12492b46ac88ed6577f3abc386901b70d2c46c2c65714cc448439d62ef425e/signalwire/freeswitch/issues/1041] sip.js websocket terminated by Freeswitch · Issue #1041 - GitHub Hi everyone, we are currently running a custom-build phone application using sip.js which registers to the websocket of our Freeswitch. Our Freeswitch uses version 1.10.3 64 bit on a Debian buster.... github.com  We made logs and pcap traces, the websocket close happen on effective trafic, often after the 200 OK from (WebRTC) callee which is a big packet. It should be linked with TCP segmentation, sometimes the issue occur when the OK packet is coming in 2 segments from network. I send 2 pcap traces with SIP on a-leg and TCP:7443 on WebRTC leg, on both trace the Websocket is closed by Freeswitch. What is your advice: * Do we have to use Nginx or Kamalio to handle wss before Freeswitch ? * Are there any settings we should find to reduce the occurence ?? Best regards. Rémi Marand. rmarand at yahoo.fr / remi.marand at odigo.com ________________________________ From: Kakiman Expert Sent: Wednesday, August 24, 2022 11:25 To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Fwd: websocket disconnection issue - error 1006 Hello I am working on FreeSWITCH 1.10.6 ans sip.js 0.16, and very often, I have a deconnection of the WSS session. The error message on javascript console on Chrome is "error 1006 - websocket unexpectly closed" This issue is very random but very often, and it breaks the incoming call. Do you experiment such issue ? Do you know how to solve it ? thanks Franck -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: WebSocketClose20220831-3.pcap Type: application/octet-stream Size: 2522664 bytes Desc: WebSocketClose20220831-3.pcap URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: WebSocketClose20220831-2.pcap Type: application/octet-stream Size: 197268 bytes Desc: WebSocketClose20220831-2.pcap URL: From jolexpert at gmail.com Wed Sep 7 05:55:24 2022 From: jolexpert at gmail.com (Kakiman Expert) Date: Wed, 7 Sep 2022 07:55:24 +0200 Subject: [Freeswitch-users] nginx and FreeSWITCH 1.10 Message-ID: hello does anybody has experience using nging as wss to ws proxy ? (usage of nginx to decrypt wss and then forward ws to FreeSWITCH) thanks franck -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexis.prodhomme at sewan.fr Thu Sep 8 14:06:35 2022 From: alexis.prodhomme at sewan.fr (Alexis Prodhomme) Date: Thu, 8 Sep 2022 16:06:35 +0200 Subject: [Freeswitch-users] nginx and FreeSWITCH 1.10 In-Reply-To: References: Message-ID: <055c76e7-05d7-fdef-5a5b-d360670f4b9b@sewan.fr> Hi Franck, I don't know about freeswitch, but here is the configuration that works using nginx to read wss and forward it to kamailio. I think this can be quite similar with freeswitch.     location /softphone/ws {         proxy_http_version        1.1;         proxy_set_header        Upgrade $http_upgrade;         proxy_set_header        Connection "Upgrade";         proxy_read_timeout        1d;         proxy_passhttp://kamailio_domain_name:4443;     } Alexis Le 07/09/2022 à 07:55, Kakiman Expert a écrit : > hello > > does anybody has experience using nging as wss to ws proxy ? > (usage of nginx to decrypt wss and then forward ws to FreeSWITCH) > > thanks > franck -------------- next part -------------- An HTML attachment was scrubbed... URL: From jelledejong at powercraft.nl Wed Sep 14 13:27:23 2022 From: jelledejong at powercraft.nl (Jelle de Jong) Date: Wed, 14 Sep 2022 15:27:23 +0200 Subject: [Freeswitch-users] Correct syntax for sending out an SMS message trough external SIP provider Message-ID: <91ad6047-b106-c1a3-38ab-59c2fec8b470@powercraft.nl> Hello everybody, I am trying to use chat sip to sent an SMS message but I can not get the command to work. # fs_cli -x "sofia status" | grep REGED external::speakup-powercraft gateway sip:powercraft at alg.sip.speakup.nl REGED If I would call the number it would look like this: sofia_glue.c:1654 sofia/external/316xxxxxxxx sending invite version: 1.10.7 -release-19-883d2cb662 64bit fs_cli -x "chat sip|noreply at mydomain|external/sip:+316xxxxxxxx at speakup-gateway|Hello" What would be the syntax to sent out a SMS from 3161218xxxx to 3161234xxxx (both numbers are registered at the external gateway). Is this possible with the above or am I mislead, can someone give me an example? https://freeswitch.org/confluence/display/FREESWITCH/mod_sms https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+chat Kind regards, Jelle de Jong From patrickarton at hotmail.com Thu Sep 15 11:39:04 2022 From: patrickarton at hotmail.com (Patrick Karton) Date: Thu, 15 Sep 2022 12:39:04 +0100 Subject: [Freeswitch-users] [SR-Users] SIPp uas(SIPp)->client reINVITE late offer In-Reply-To: Message-ID: An HTML attachment was scrubbed... URL: From philipp at zeitschel.net Thu Sep 15 11:36:10 2022 From: philipp at zeitschel.net (Philipp Zeitschel) Date: Thu, 15 Sep 2022 11:36:10 +0000 Subject: after failed Call: Failed Registration with status Request Timeout [408]. Message-ID: <0cc36587d4cd40ce8f5d43903f4c0a06@zeitschel.net> Hi, i've got a newly setup system with fusionPBX. I have configured my trunk and it registers successfully and is useable. I can send outgoing calls and so on. But if i receive an incoming call that has no destination inside of the system, the trunk disconnects after a few seconds, and does not manage to reregister again, i get only this messages: 2022-09-15 07:14:11.316316 98.00% [ERR] sofia_reg.c:2677 d8d092e4-2f22-4dda-95a6-4e85dd4e2862 Failed Registration with status Request Timeout [408]. failure #1 2022-09-15 07:14:12.016310 98.00% [WARNING] sofia_reg.c:516 d8d092e4-2f22-4dda-95a6-4e85dd4e2862 Failed Registration [408], setting retry to 30 seconds. 2022-09-15 07:14:43.116326 98.27% [NOTICE] sofia_reg.c:459 Registering d8d092e4-2f22-4dda-95a6-4e85dd4e2862 Only after a reboot it comes back online. This sounds exactly as my problem: https://freeswitch-users.freeswitch.narkive.com/vsrnW2f4/gateway-registratio n-issue-can-only-be-solved-through-killgw is this a known issue? Regards Philipp -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4999 bytes Desc: not available URL: From josefu at gmail.com Fri Sep 16 08:04:03 2022 From: josefu at gmail.com (=?UTF-8?Q?Jose_Fco=2E_Irles_Dur=C3=A1?=) Date: Fri, 16 Sep 2022 10:04:03 +0200 Subject: [Freeswitch-users] RTP ptime changed multiple times Message-ID: Hello, I have a problem with some calls where the rtp stream from the other side changes the rtp ptime multiple times. I make a call with the sdp line "a=ptime:20" but the initial rtp comes with 40ms ptime. FreeSWITCH detects it and changes the ptime to 40ms and all works ok. Later in the conversation, without any re-invite, the rtp stream changed to 20ms. At this moment, FreeSWITCH does not detect the change and the audio sended by FreeSWITCH to the other legs is choppy. I think that the problem is on the other side, but the other side is a big operator and always this is a problem to solve issues. I tried to set "rtp_media_autofix_timing", but if I set this property, the first part of the conversation is discarded (ptime at 40ms, silence in my phone) and later I can listen the audio (when the ptime=20ms). Is there any solution for this? Best regards -- Jose Fco. Irles Durá -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Fri Sep 16 21:37:20 2022 From: brian at freeswitch.com (Brian West) Date: Fri, 16 Sep 2022 16:37:20 -0500 Subject: [Freeswitch-users] RTP ptime changed multiple times In-Reply-To: References: Message-ID: Tell the other side to fix their brokenness maybe? How did you try setting the flag? /b On Fri, Sep 16, 2022 at 4:28 PM Jose Fco. Irles Durá wrote: > Hello, I have a problem with some calls where the rtp stream from the > other side changes the rtp ptime multiple times. > > I make a call with the sdp line "a=ptime:20" but the initial rtp comes > with 40ms ptime. > FreeSWITCH detects it and changes the ptime to 40ms and all works ok. > Later in the conversation, without any re-invite, the rtp stream changed > to 20ms. At this moment, FreeSWITCH does not detect the change and the > audio sended by FreeSWITCH to the other legs is choppy. > > I think that the problem is on the other side, but the other side is a big > operator and always this is a problem to solve issues. > > I tried to set "rtp_media_autofix_timing", but if I set this property, the > first part of the conversation is discarded (ptime at 40ms, silence in my > phone) and later I can listen the audio (when the ptime=20ms). > > Is there any solution for this? > > Best regards > > -- > Jose Fco. Irles Durá > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From gilles at sauvaire.com Sun Sep 18 08:36:05 2022 From: gilles at sauvaire.com (Gilles SAUVAIRE) Date: Sun, 18 Sep 2022 10:36:05 +0200 Subject: [Freeswitch-users] fs_cli hang on debian 11 whith stable v1.10.7 (reproducible) Message-ID: Hello, On a brand new Debian 11, I don't install any packages during install. Then I install the following packages : apt-get install autoconf libtool pkg-config libcurl4-openssl-dev uuid-dev libssl-dev build-essential libtool-bin unzip libsqlite3-dev libpcre3-dev libspeex-dev libspeexdsp-dev libedit-dev python3-dev libsndfile-dev liblua5.2-dev libsqlite3-dev yasm zip libtiff-dev vim net-tools ssh Using git I take the sources of version v1.10.7 Then I take the sources of sofia and spandsp cd sofia-sip ./bootstrap.sh ./configure make make install cd spandsp-master ./bootstrap.sh ./configure make make install cd freeswitch ./bootstrap.sh -j (cp modules.conf freeswitch) ./configure make make install LD_LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH and run : /usr/local/freeswitch/bin/freeswitch -nonat -u root I don't do anything else, I keep the default config, I don't change anything. Just compiling... After launching freeswitch, I connect with fs_cli After the connection, hat the first command: show calls for example randomly, 50% of time, fs_cli freezes and becomes unresponsive. I did it, on several different servers   here are the weirdest details... : For fs_cli hanging, there must be no activity on freeswitch. I run an fs_cli and it freezes. I run on a second console fs_cli and it freezes. I launch another fs_cli which does not freeze… and I do a “log 1 hello” This makes a trace, and all the fs_cli unfreeze…. With gdb I saw, fs_cli hangs in mutex locks I reproduce this on several debian 11.5, but the same source files compiling and work fine on debian 10.13 Do you have any ideas ?? Thanks Additional Information If anyone wants to reproduce. Here is the list of my module.conf applications/mod_commands applications/mod_conference applications/mod_distributor applications/mod_dptools applications/mod_esf applications/mod_expr applications/mod_hash applications/mod_spandsp applications/mod_test dialplans/mod_dialplan_xml endpoints/mod_loopback endpoints/mod_sofia event_handlers/mod_cdr_csv event_handlers/mod_event_socket formats/mod_local_stream formats/mod_native_file formats/mod_sndfile formats/mod_tone_stream languages/mod_lua loggers/mod_console loggers/mod_logfile loggers/mod_syslog timers/mod_posix_timer timers/mod_timerfd I used debian xen domu with the dom0 on debian 11 and on debian 10. Always the same thing happens. Work on domu debian 10 and hang on domu debian 11. -------------- next part -------------- An HTML attachment was scrubbed... URL: From josefu at gmail.com Mon Sep 19 09:38:10 2022 From: josefu at gmail.com (=?UTF-8?Q?Jose_Fco=2E_Irles_Dur=C3=A1?=) Date: Mon, 19 Sep 2022 11:38:10 +0200 Subject: [Freeswitch-users] RTP ptime changed multiple times In-Reply-To: References: Message-ID: > > > Tell the other side to fix their brokenness maybe? How did you try > setting the flag? > > Yes, I know that the problem is from the provider, but its response time is bad. I setted "rtp_media_autofix_timing=false" for testing, but when I setted, the first packets (40ms) are ignored and when the ptime is 20ms I listen to it. I think this is the correct behavior according to my understanding, so I can't solve the problem with the buggy provider. Best regards > /b > > > On Fri, Sep 16, 2022 at 4:28 PM Jose Fco. Irles Durá > wrote: > >> Hello, I have a problem with some calls where the rtp stream from the >> other side changes the rtp ptime multiple times. >> >> I make a call with the sdp line "a=ptime:20" but the initial rtp comes >> with 40ms ptime. >> FreeSWITCH detects it and changes the ptime to 40ms and all works ok. >> Later in the conversation, without any re-invite, the rtp stream changed >> to 20ms. At this moment, FreeSWITCH does not detect the change and the >> audio sended by FreeSWITCH to the other legs is choppy. >> >> I think that the problem is on the other side, but the other side is a >> big operator and always this is a problem to solve issues. >> >> I tried to set "rtp_media_autofix_timing", but if I set this property, >> the first part of the conversation is discarded (ptime at 40ms, silence in >> my phone) and later I can listen the audio (when the ptime=20ms). >> >> Is there any solution for this? >> >> Best regards >> >> -- >> Jose Fco. Irles Durá >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Jose Fco. Irles Durá -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Mon Sep 19 16:03:42 2022 From: brian at freeswitch.com (Brian West) Date: Mon, 19 Sep 2022 11:03:42 -0500 Subject: [Freeswitch-users] RTP ptime changed multiple times In-Reply-To: References: Message-ID: In the future try setting the variables as a global too, as a step to ensure you have it where you think it should be. On Mon, Sep 19, 2022 at 4:57 AM Jose Fco. Irles Durá wrote: > >> Tell the other side to fix their brokenness maybe? How did you try >> setting the flag? >> >> > Yes, I know that the problem is from the provider, but its response time > is bad. > > I setted "rtp_media_autofix_timing=false" for testing, but when I setted, > the first packets (40ms) are ignored and when the ptime is 20ms I listen to > it. I think this is the correct behavior according to my understanding, so > I can't solve the problem with the buggy provider. > > Best regards > > > >> /b >> >> >> On Fri, Sep 16, 2022 at 4:28 PM Jose Fco. Irles Durá >> wrote: >> >>> Hello, I have a problem with some calls where the rtp stream from the >>> other side changes the rtp ptime multiple times. >>> >>> I make a call with the sdp line "a=ptime:20" but the initial rtp comes >>> with 40ms ptime. >>> FreeSWITCH detects it and changes the ptime to 40ms and all works ok. >>> Later in the conversation, without any re-invite, the rtp stream changed >>> to 20ms. At this moment, FreeSWITCH does not detect the change and the >>> audio sended by FreeSWITCH to the other legs is choppy. >>> >>> I think that the problem is on the other side, but the other side is a >>> big operator and always this is a problem to solve issues. >>> >>> I tried to set "rtp_media_autofix_timing", but if I set this property, >>> the first part of the conversation is discarded (ptime at 40ms, silence in >>> my phone) and later I can listen the audio (when the ptime=20ms). >>> >>> Is there any solution for this? >>> >>> Best regards >>> >>> -- >>> Jose Fco. Irles Durá >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> [image: https://www.facebook.com/signalwireinc?src=email] >> [image: >> https://twitter.com/freeswitch] >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > Jose Fco. Irles Durá > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From sam4u at rediffmail.com Mon Sep 19 10:32:57 2022 From: sam4u at rediffmail.com (Sam) Date: 19 Sep 2022 10:32:57 -0000 Subject: =?utf-8?B?UmU6IFtGcmVlc3dpdGNoLXVzZXJzXSBSVFAgcHRpbWUgY2hhbmdlZCBtdWx0aXBsZSB0aW1lcw==?= Message-ID: <1663583558.S.55368.autosave.drafts.1663583577.29727@webmail.rediffmail.com> Hello Jose Sorry to interrupt the thread, but just wondering if you think adding a maxptime attribute in the SDP may be a work around for you? If you set this to 20, the switch between 20/40 should not happen. Kind regards Sameee From: Jose Fco. Irles Dur <josefu at gmail.com> Sent: Mon, 19 Sep 2022 11:59:42 GMT+0200 To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org> Subject: Re: [Freeswitch-users] RTP ptime changed multiple times iWe couldn't verify the sender of this email. Tell the other side to fix their brokenness maybe?  How did you try setting the flag? Yes, I know that the problem is from the provider, but its response time is bad. I setted "rtp_media_autofix_timing=false" for testing, but when I setted, the first packets (40ms) are ignored and when the ptime is 20ms I listen to it. I think this is the correct behavior according to my understanding, so I can't solve the problem with the buggy provider. Best regards  /b On Fri, Sep 16, 2022 at 4:28 PM Jose Fco. Irles Durá <josefu at gmail.com> wrote: Hello, I have a problem with some calls where the rtp stream from the other side changes the rtp ptime multiple times. I make a call with the sdp line "a=ptime:20" but the initial rtp comes with 40ms ptime.FreeSWITCH detects it and changes the ptime to 40ms and all works ok.Later in the conversation, without any re-invite, the rtp stream changed to 20ms. At this moment, FreeSWITCH does not detect the change and the audio sended by FreeSWITCH to the other legs is choppy. I think that the problem is on the other side, but the other side is a big operator and always this is a problem to solve issues. I tried to set "rtp_media_autofix_timing", but if I set this property, the first part of the conversation is discarded (ptime at 40ms, silence in my phone) and later I can listen the audio (when the ptime=20ms). Is there any solution for this? Best regards -- Jose Fco. Irles Durá _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and DeveloperNeed Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045Email: brian at freeswitch.comMobile: 918-424-9378Website: https://www.FreeSWITCH.com _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Jose Fco. Irles Durá _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Mon Sep 19 17:02:07 2022 From: brian at freeswitch.com (Brian West) Date: Mon, 19 Sep 2022 12:02:07 -0500 Subject: [Freeswitch-users] RTP ptime changed multiple times In-Reply-To: References: Message-ID: You're assuming that the other size is also following the rules, that is rarely the case. But not any harm in trying. On Mon, Sep 19, 2022 at 12:00 PM Sam via FreeSWITCH-users < freeswitch-users at lists.freeswitch.org> wrote: > > > > ---------- Forwarded message ---------- > From: Sam > To: "freeswitch-users at lists.freeswitch.org" < > freeswitch-users at lists.freeswitch.org> > Cc: > Bcc: > Date: 19 Sep 2022 10:32:57 -0000 > Subject: Re: [Freeswitch-users] RTP ptime changed multiple times > Hello Jose > > Sorry to interrupt the thread, but just wondering if you think adding a > maxptime attribute in the SDP may be a work around for you? > If you set this to 20, the switch between 20/40 should not happen. > > Kind regards > > Sameee > > > > > > From: Jose Fco. Irles Dur > Sent: Mon, 19 Sep 2022 11:59:42 GMT+0200 > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] RTP ptime changed multiple times > > *i*We couldn't verify the sender of this email. > >> >> Tell the other side to fix their brokenness maybe? How did you try >> setting the flag? >> >> > Yes, I know that the problem is from the provider, but its response time > is bad. > > I setted "rtp_media_autofix_timing=false" for testing, but when I setted, > the first packets (40ms) are ignored and when the ptime is 20ms I listen to > it. I think this is the correct behavior according to my understanding, so > I can't solve the problem with the buggy provider. > > Best regards > > > >> /b >> >> >> On Fri, Sep 16, 2022 at 4:28 PM Jose Fco. Irles Durá >> wrote: >> >>> Hello, I have a problem with some calls where the rtp stream from the >>> other side changes the rtp ptime multiple times. >>> >>> I make a call with the sdp line "a=ptime:20" but the initial rtp comes >>> with 40ms ptime. >>> FreeSWITCH detects it and changes the ptime to 40ms and all works ok. >>> Later in the conversation, without any re-invite, the rtp stream changed >>> to 20ms. At this moment, FreeSWITCH does not detect the change and the >>> audio sended by FreeSWITCH to the other legs is choppy. >>> >>> I think that the problem is on the other side, but the other side is a >>> big operator and always this is a problem to solve issues. >>> >>> I tried to set "rtp_media_autofix_timing", but if I set this property, >>> the first part of the conversation is discarded (ptime at 40ms, silence in >>> my phone) and later I can listen the audio (when the ptime=20ms). >>> >>> Is there any solution for this? >>> >>> Best regards >>> >>> -- >>> Jose Fco. Irles Durá >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>> https://freeswitch.com >> >> >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> [image: https://www.facebook.com/signalwireinc?src=] >> [image: >> https://twitter.com/freeswitch] >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> https://freeswitch.com > > > > -- > Jose Fco. Irles Durá > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > ---------- Forwarded message ---------- > From: Sam via FreeSWITCH-users > To: "freeswitch-users at lists.freeswitch.org" < > freeswitch-users at lists.freeswitch.org> > Cc: > Bcc: > Date: Mon, 19 Sep 2022 10:00:56 -0700 (PDT) > Subject: Re: [Freeswitch-users] RTP ptime changed multiple times > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Mon Sep 19 17:02:39 2022 From: brian at freeswitch.com (Brian West) Date: Mon, 19 Sep 2022 12:02:39 -0500 Subject: [Freeswitch-users] [SR-Users] SIPp uas(SIPp)->client reINVITE late offer In-Reply-To: References: Message-ID: make sure to enable 3pcc in your sofia profiles that are involved. /b On Thu, Sep 15, 2022 at 7:01 AM Patrick Karton wrote: > Check record route header that seems to be the issue. > > > > Le 15 sept. 2022 12:02, David Villasmil > a écrit : > > Hello all, > > Anyone got a SIPp scenario for reINVITE with late offer? I.e.: > > UAT--->INVITE (sdp)--->SIPp > UAT<--- 100 <---SIPp > UAT<--- 183 <---SIPp > UAT<--- 200 OK <---SIPp > UAT----> ACK --->SIPp > UAT<--- INVITE (NO sdp) <---SIPp > UAT---> 100 --->SIPp > UAT---> 183 --->SIPp > UAT---> 200 OK (sdp) -->SIPp > UAT<--- ACK (sdp) <---SIPp > UAT---> BYE -->SIPp > UAT<--- ACK <--SIPp > > I can’t get past > > UAT<--- INVITE (NO sdp) <---SIPp > > > Kamailio responds with “not here” > > > Appreciate the help! > > > > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From josefu at gmail.com Tue Sep 20 07:22:44 2022 From: josefu at gmail.com (=?UTF-8?Q?Jose_Fco=2E_Irles_Dur=C3=A1?=) Date: Tue, 20 Sep 2022 09:22:44 +0200 Subject: [Freeswitch-users] RTP ptime changed multiple times In-Reply-To: References: Message-ID: How can I set the maxptime value? Setting the codec like this PCMA at 8000h@40i? Best regards El lun, 19 sept 2022 a las 18:59, Sam via FreeSWITCH-users (< freeswitch-users at lists.freeswitch.org>) escribió: > > > > ---------- Forwarded message ---------- > From: Sam > To: "freeswitch-users at lists.freeswitch.org" < > freeswitch-users at lists.freeswitch.org> > Cc: > Bcc: > Date: 19 Sep 2022 10:32:57 -0000 > Subject: Re: [Freeswitch-users] RTP ptime changed multiple times > Hello Jose > > Sorry to interrupt the thread, but just wondering if you think adding a > maxptime attribute in the SDP may be a work around for you? > If you set this to 20, the switch between 20/40 should not happen. > > Kind regards > > Sameee > > > > > > From: Jose Fco. Irles Dur > Sent: Mon, 19 Sep 2022 11:59:42 GMT+0200 > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] RTP ptime changed multiple times > > *i*We couldn't verify the sender of this email. > >> >> Tell the other side to fix their brokenness maybe? How did you try >> setting the flag? >> >> > Yes, I know that the problem is from the provider, but its response time > is bad. > > I setted "rtp_media_autofix_timing=false" for testing, but when I setted, > the first packets (40ms) are ignored and when the ptime is 20ms I listen to > it. I think this is the correct behavior according to my understanding, so > I can't solve the problem with the buggy provider. > > Best regards > > > >> /b >> >> >> On Fri, Sep 16, 2022 at 4:28 PM Jose Fco. Irles Durá >> wrote: >> >>> Hello, I have a problem with some calls where the rtp stream from the >>> other side changes the rtp ptime multiple times. >>> >>> I make a call with the sdp line "a=ptime:20" but the initial rtp comes >>> with 40ms ptime. >>> FreeSWITCH detects it and changes the ptime to 40ms and all works ok. >>> Later in the conversation, without any re-invite, the rtp stream changed >>> to 20ms. At this moment, FreeSWITCH does not detect the change and the >>> audio sended by FreeSWITCH to the other legs is choppy. >>> >>> I think that the problem is on the other side, but the other side is a >>> big operator and always this is a problem to solve issues. >>> >>> I tried to set "rtp_media_autofix_timing", but if I set this property, >>> the first part of the conversation is discarded (ptime at 40ms, silence in >>> my phone) and later I can listen the audio (when the ptime=20ms). >>> >>> Is there any solution for this? >>> >>> Best regards >>> >>> -- >>> Jose Fco. Irles Durá >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>> https://freeswitch.com >> >> >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> [image: https://www.facebook.com/signalwireinc?src=] >> [image: >> https://twitter.com/freeswitch] >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> https://freeswitch.com > > > > -- > Jose Fco. Irles Durá > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > ---------- Forwarded message ---------- > From: Sam via FreeSWITCH-users > To: "freeswitch-users at lists.freeswitch.org" < > freeswitch-users at lists.freeswitch.org> > Cc: > Bcc: > Date: Mon, 19 Sep 2022 09:59:29 -0700 (PDT) > Subject: Re: [Freeswitch-users] RTP ptime changed multiple times > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Jose Fco. Irles Durá -------------- next part -------------- An HTML attachment was scrubbed... URL: From jolexpert at gmail.com Tue Sep 20 12:20:06 2022 From: jolexpert at gmail.com (Kakiman Expert) Date: Tue, 20 Sep 2022 14:20:06 +0200 Subject: [Freeswitch-users] nginx and freeswitch - VIA issue Message-ID: hello I am trying to proxy all websocket requests though a nginx server in order to have wss -> nginx --> ws -> fs FS is listening on "127.0.0.01:5075" for ws and so nginx is configured to proxy-pass to "127.0.0.1:5075" when trying request from brower, I see a REGISTER coming to the freeSWITCH, but the VIA header seems invalid : nta.c:3146 agent_check_request_via() nta: Via check: invalid transport "SIP/2.0/WSS" do you know how to do to have correct VIA ? is there anything to deal with ACL ? my nginx configuration is this : ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; ssl_ciphers HIGH:!MD5:!RC4:!EXPORT:!aNULL:!eNULL:!SSLv2:!IDEA:!3DES; ssl_prefer_server_ciphers on; ssl_session_tickets off ; ssl_session_timeout 5m; ssl_session_cache shared:SSL:5m; ssl_certificate ssl.crt/mydomain.com_chain.crt; ssl_certificate_key ssl.key/mydomain.com.key; location / { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_http_version 1.1; proxy_set_header Host $host; proxy_pass http://127.0.0.1:5075; thanks regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From jolexpert at gmail.com Wed Sep 21 10:47:31 2022 From: jolexpert at gmail.com (Kakiman Expert) Date: Wed, 21 Sep 2022 12:47:31 +0200 Subject: [Freeswitch-users] [SIP.js] Re: websocket disconnection In-Reply-To: <20a3d6d8-3632-4054-aabd-3ad5039f793fn@googlegroups.com> References: <20a3d6d8-3632-4054-aabd-3ad5039f793fn@googlegroups.com> Message-ID: Hello i am working with freeswitch 1.10.6-release-18 i have tried to install nginx to handle WSS and send WS to freeswitch but freeswitch reject the trafic because it receives "SIP/2.0/WSS" and I think it wants WS Le mer. 21 sept. 2022 à 12:24, Jnkrpx Prknjx a écrit : > Hi, > What version of freeswitch are you using? > See https://github.com/signalwire/freeswitch/issues/1041 > > Il giorno venerdì 16 settembre 2022 alle 17:09:14 UTC+2 jole... at gmail.com > ha scritto: > >> hello >> >> i am working with freeswitch and sip.js 0.16.1 and frequently, i have >> this error in the browser javascript console : >> >> sip.Transport | WebSocket closed unexpectedly >> sip.Transport | WebSocket closed wss://xxxxxxx:7443 (code: 1006) >> >> do you know why is it happening ? is there any problem with 0.16.1 >> release ? >> >> thanks >> franck >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "SIP.js" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sip_js/i9-DcmzK9tM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > sip_js+unsubscribe at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sip_js/20a3d6d8-3632-4054-aabd-3ad5039f793fn%40googlegroups.com > > . > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jolexpert at gmail.com Wed Sep 21 10:48:35 2022 From: jolexpert at gmail.com (Kakiman Expert) Date: Wed, 21 Sep 2022 12:48:35 +0200 Subject: [Freeswitch-users] [SIP.js] Re: iceCheckingTimeout and sip.js release In-Reply-To: <5194fdde-49c5-4588-b07c-96c7a7cab5ban@googlegroups.com> References: <15f9534d-d74d-47d8-b818-4639018294b4n@googlegroups.com> <5194fdde-49c5-4588-b07c-96c7a7cab5ban@googlegroups.com> Message-ID: Hello I already use this parameter but i am wondering if in the new release of sip.js (0.20 for example) this parameter still exists Le mer. 21 sept. 2022 à 12:32, Jnkrpx Prknjx a écrit : > You could use iceGatheringTimeout > ``` > /** > * The maximum duration to wait in ms for ICE gathering to complete. > * No timeout if undefined or zero. > */ > iceGatheringTimeout?: number; > ``` > > Example: > ``` > userAgentOptions.sessionDescriptionHandlerFactoryOptions = { > iceGatheringTimeout: 1000, > }; > ``` > Il giorno venerdì 16 settembre 2022 alle 17:05:34 UTC+2 jole... at gmail.com > ha scritto: > >> Hello, >> >> I have read somewhere that iceCheckingTimeout parameter will be removed >> from sip.js version 0.17 and upper. so i am working in 0.16.1. >> >> do you know which parameter will replace iceCheckingTimeout ? >> >> thanks >> franck >> > -- > You received this message because you are subscribed to the Google Groups > "SIP.js" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sip_js+unsubscribe at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sip_js/5194fdde-49c5-4588-b07c-96c7a7cab5ban%40googlegroups.com > > . > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jerry.Kendall at BishopHosting.com Wed Sep 21 13:06:19 2022 From: Jerry.Kendall at BishopHosting.com (Jerry Kendall) Date: Wed, 21 Sep 2022 09:06:19 -0400 Subject: [Freeswitch-users] [SIP.js] Re: websocket disconnection In-Reply-To: References: <20a3d6d8-3632-4054-aabd-3ad5039f793fn@googlegroups.com> Message-ID: The issue is still an ongoing issue. we are using: debian 10 FS 1.10.6 libsofia-sip-au 1.13.8 Lets Encrypt WSS we get the 1006 error very randomly... After 3 weeks of trying to get WSS working, there is no noticeable pattern to the failures... There are a number of possible fixes and I have implement all the FreeSWITCH based fixes that are suppoosed to fix the issue. Sadly, after 3-4 weeks, no luck. Jerry On 9/21/2022 6:47 AM, Kakiman Expert wrote: > Hello > > i am working with freeswitch 1.10.6-release-18 > i have tried to install nginx to handle WSS and send WS to freeswitch but freeswitch reject the trafic because it receives "SIP/2.0/WSS" and I think it wants WS > > Le mer. 21 sept. 2022 à 12:24, Jnkrpx Prknjx a écrit : > > Hi, > What version of freeswitch are you using? > See https://github.com/signalwire/freeswitch/issues/1041 > > Il giorno venerdì 16 settembre 2022 alle 17:09:14 UTC+2 jole... at gmail.com ha scritto: > > hello > > i am working with freeswitch and sip.js 0.16.1 and frequently, i have this error in the browser javascript console : > > sip.Transport | WebSocket closed unexpectedly > sip.Transport | WebSocket closed wss://xxxxxxx:7443 (code: 1006) > > do you know why is it happening ? is there any problem with 0.16.1 release ? > > thanks > franck > > -- > You received this message because you are subscribed to a topic in the Google Groups "SIP.js" group. > To unsubscribe from this topic, visit https://groups.google.com/d/topic/sip_js/i9-DcmzK9tM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to sip_js+unsubscribe at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/sip_js/20a3d6d8-3632-4054-aabd-3ad5039f793fn%40googlegroups.com . > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From schoch+freeswitch.org at xwin32.com Fri Sep 23 20:41:34 2022 From: schoch+freeswitch.org at xwin32.com (Steven Schoch) Date: Fri, 23 Sep 2022 13:41:34 -0700 Subject: [Freeswitch-users] Timeout Registering - Upgraded Debian/Freeswitch and Broke Something Message-ID: I broke our PBX :-( I upgraded to Debian 11 and FreeSWITCH 1.10.7. I copied all the configuration from the old system but I messed something up and it doesn't register. I get this: 2022-09-23 13:36:42.219720 99.63% [NOTICE] sofia_reg.c:459 Registering flowroute 2022-09-23 13:37:43.299709 99.60% [WARNING] sofia_reg.c:495 Timeout Registering flowroute 2022-09-23 13:37:44.299709 99.27% [WARNING] sofia_reg.c:516 flowroute Failed Registration [908], setting retry to 30 seconds. Setting sofia global siptrace on doesn't show anything. Sofia status shows this: external profile sip:mod_sofia@:5080 RUNNING (0) external::flowroute gateway sip:@ us-west-or.sip.flowroute.com TRYING (retry: 24s) I don't know where to go from here. Any suggestions? -- Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From max at nysolutions.com Fri Sep 23 21:09:00 2022 From: max at nysolutions.com (Moishe Grunstein) Date: Fri, 23 Sep 2022 21:09:00 +0000 Subject: [Freeswitch-users] Timeout Registering - Upgraded Debian/Freeswitch and Broke Something In-Reply-To: References: Message-ID: Looks like either DNS issue or bad flowroute gateway setting, you are getting a timeout. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com [cid:image001.jpg at 01D8CF6F.2E9ADC50] Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: FreeSWITCH-users On Behalf Of Steven Schoch Sent: Friday, September 23, 2022 4:42 PM To: freeswitch-users Subject: [Freeswitch-users] Timeout Registering - Upgraded Debian/Freeswitch and Broke Something I broke our PBX :-( I upgraded to Debian 11 and FreeSWITCH 1.10.7. I copied all the configuration from the old system but I messed something up and it doesn't register. I get this: 2022-09-23 13:36:42.219720 99.63% [NOTICE] sofia_reg.c:459 Registering flowroute 2022-09-23 13:37:43.299709 99.60% [WARNING] sofia_reg.c:495 Timeout Registering flowroute 2022-09-23 13:37:44.299709 99.27% [WARNING] sofia_reg.c:516 flowroute Failed Registration [908], setting retry to 30 seconds. Setting sofia global siptrace on doesn't show anything. Sofia status shows this: external profile sip:mod_sofia@:5080 RUNNING (0) external::flowroute gateway sip:@us-west-or.sip.flowroute.com TRYING (retry: 24s) I don't know where to go from here. Any suggestions? -- Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: image001.jpg URL: From brian at freeswitch.com Fri Sep 23 21:26:02 2022 From: brian at freeswitch.com (Brian West) Date: Fri, 23 Sep 2022 16:26:02 -0500 Subject: [Freeswitch-users] Timeout Registering - Upgraded Debian/Freeswitch and Broke Something In-Reply-To: References: Message-ID: Do you happen to have a full sip trace? I can only guess at this point, and we don't break things that badly between releases EVER, so could it be a localized issue? /b On Fri, Sep 23, 2022 at 4:11 PM Steven Schoch < schoch+freeswitch.org at xwin32.com> wrote: > I broke our PBX :-( > > I upgraded to Debian 11 and FreeSWITCH 1.10.7. I copied all the > configuration from the old system but I messed something up and it doesn't > register. I get this: > > 2022-09-23 13:36:42.219720 99.63% [NOTICE] sofia_reg.c:459 Registering > flowroute > > 2022-09-23 13:37:43.299709 99.60% [WARNING] sofia_reg.c:495 Timeout > Registering flowroute > > 2022-09-23 13:37:44.299709 99.27% [WARNING] sofia_reg.c:516 flowroute > Failed Registration [908], setting retry to 30 seconds. > > > Setting sofia global siptrace on doesn't show anything. Sofia status shows > this: > > > external profile sip:mod_sofia@:5080 RUNNING > (0) > > external::flowroute gateway sip:@ > us-west-or.sip.flowroute.com TRYING (retry: 24s) > > > I don't know where to go from here. Any suggestions? > > > -- > > Steve > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From covici at ccs.covici.com Fri Sep 23 21:39:16 2022 From: covici at ccs.covici.com (John Covici) Date: Fri, 23 Sep 2022 17:39:16 -0400 Subject: [Freeswitch-users] Timeout Registering - Upgraded Debian/Freeswitch and Broke Something In-Reply-To: References: Message-ID: I thought the port would be 5060, are you sure about that? On Fri, 23 Sep 2022 16:41:34 -0400, Steven Schoch wrote: > > [1 ] > [1.1 ] > I broke our PBX :-( > > I upgraded to Debian 11 and FreeSWITCH 1.10.7. I copied all the > configuration from the old system but I messed something up and it doesn't > register. I get this: > > 2022-09-23 13:36:42.219720 99.63% [NOTICE] sofia_reg.c:459 Registering > flowroute > > 2022-09-23 13:37:43.299709 99.60% [WARNING] sofia_reg.c:495 Timeout > Registering flowroute > > 2022-09-23 13:37:44.299709 99.27% [WARNING] sofia_reg.c:516 flowroute > Failed Registration [908], setting retry to 30 seconds. > > > Setting sofia global siptrace on doesn't show anything. Sofia status shows > this: > > > external profile sip:mod_sofia@:5080 RUNNING > (0) > > external::flowroute gateway sip:@ > us-west-or.sip.flowroute.com TRYING (retry: 24s) > > > I don't know where to go from here. Any suggestions? > > > -- > > Steve > [1.2 ] > [2 ] > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una covici at ccs.covici.com From schoch+freeswitch.org at xwin32.com Sat Sep 24 00:28:18 2022 From: schoch+freeswitch.org at xwin32.com (Steven Schoch) Date: Fri, 23 Sep 2022 17:28:18 -0700 Subject: [Freeswitch-users] Timeout Registering - Upgraded Debian/Freeswitch and Broke Something In-Reply-To: References: Message-ID: I don't know how to make it do the sip trace. I typed "sofia global siptrace on", but the only thing I see is what I sent in my original message. Yes, I'm pretty sure it's a localized issue, but I'm trying to figure out what the localized issue is. To test the DNS, I ran: $ ping us-west-or.sip.flowroute.com PING us-west-or.sip.flowroute.com (34.210.91.112) 56(84) bytes of data. 64 bytes from ec2-34-210-91-112.us-west-2.compute.amazonaws.com (34.210.91.112): icmp_seq=1 ttl=28 time=27.5 ms 64 bytes from ec2-34-210-91-112.us-west-2.compute.amazonaws.com (34.210.91.112): icmp_seq=2 ttl=28 time=27.5 ms 64 bytes from ec2-34-210-91-112.us-west-2.compute.amazonaws.com (34.210.91.112): icmp_seq=3 ttl=28 time=27.5 ms On the old (working) system, I was using port 5080 because that was recommended to avoid attacks on the well-known port 5060. When registering with the provider, any port will work. -- Steve On Fri, Sep 23, 2022 at 2:34 PM Brian West wrote: > Do you happen to have a full sip trace? I can only guess at this point, > and we don't break things that badly between releases EVER, so could it be > a localized issue? > > /b > > > On Fri, Sep 23, 2022 at 4:11 PM Steven Schoch < > schoch+freeswitch.org at xwin32.com> wrote: > >> I broke our PBX :-( >> >> I upgraded to Debian 11 and FreeSWITCH 1.10.7. I copied all the >> configuration from the old system but I messed something up and it doesn't >> register. I get this: >> >> 2022-09-23 13:36:42.219720 99.63% [NOTICE] sofia_reg.c:459 Registering >> flowroute >> >> 2022-09-23 13:37:43.299709 99.60% [WARNING] sofia_reg.c:495 Timeout >> Registering flowroute >> >> 2022-09-23 13:37:44.299709 99.27% [WARNING] sofia_reg.c:516 flowroute >> Failed Registration [908], setting retry to 30 seconds. >> >> >> Setting sofia global siptrace on doesn't show anything. Sofia status >> shows this: >> >> >> external profile sip:mod_sofia@:5080 RUNNING >> (0) >> >> external::flowroute gateway sip:@ >> us-west-or.sip.flowroute.com TRYING (retry: 24s) >> >> >> I don't know where to go from here. Any suggestions? >> >> >> -- >> >> Steve >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From schoch+freeswitch.org at xwin32.com Sat Sep 24 00:31:06 2022 From: schoch+freeswitch.org at xwin32.com (Steven Schoch) Date: Fri, 23 Sep 2022 17:31:06 -0700 Subject: [Freeswitch-users] Timeout Registering - Upgraded Debian/Freeswitch and Broke Something In-Reply-To: References: Message-ID: Okay, never mind. It's working now. I think it was a DNS issue. When I hardcoded the Google DNS servers in /etc/resolv.conf, it started working. The SIP trace was showing nothing probably because the DNS lookup failed so it couldn't even make the first attempt. -- Steve On Fri, Sep 23, 2022 at 5:28 PM Steven Schoch < schoch+freeswitch.org at xwin32.com> wrote: > I don't know how to make it do the sip trace. I typed "sofia global > siptrace on", but the only thing I see is what I sent in my original > message. > Yes, I'm pretty sure it's a localized issue, but I'm trying to figure out > what the localized issue is. > > To test the DNS, I ran: > > $ ping us-west-or.sip.flowroute.com > > PING us-west-or.sip.flowroute.com (34.210.91.112) 56(84) bytes of data. > > 64 bytes from ec2-34-210-91-112.us-west-2.compute.amazonaws.com > (34.210.91.112): icmp_seq=1 ttl=28 time=27.5 ms > > 64 bytes from ec2-34-210-91-112.us-west-2.compute.amazonaws.com > (34.210.91.112): icmp_seq=2 ttl=28 time=27.5 ms > > 64 bytes from ec2-34-210-91-112.us-west-2.compute.amazonaws.com > (34.210.91.112): icmp_seq=3 ttl=28 time=27.5 ms > > On the old (working) system, I was using port 5080 because that was > recommended to avoid attacks on the well-known port 5060. When registering > with the provider, any port will work. > > -- > Steve > > On Fri, Sep 23, 2022 at 2:34 PM Brian West wrote: > >> Do you happen to have a full sip trace? I can only guess at this point, >> and we don't break things that badly between releases EVER, so could it be >> a localized issue? >> >> /b >> >> >> On Fri, Sep 23, 2022 at 4:11 PM Steven Schoch < >> schoch+freeswitch.org at xwin32.com> wrote: >> >>> I broke our PBX :-( >>> >>> I upgraded to Debian 11 and FreeSWITCH 1.10.7. I copied all the >>> configuration from the old system but I messed something up and it doesn't >>> register. I get this: >>> >>> 2022-09-23 13:36:42.219720 99.63% [NOTICE] sofia_reg.c:459 Registering >>> flowroute >>> >>> 2022-09-23 13:37:43.299709 99.60% [WARNING] sofia_reg.c:495 Timeout >>> Registering flowroute >>> >>> 2022-09-23 13:37:44.299709 99.27% [WARNING] sofia_reg.c:516 flowroute >>> Failed Registration [908], setting retry to 30 seconds. >>> >>> >>> Setting sofia global siptrace on doesn't show anything. Sofia status >>> shows this: >>> >>> >>> external profile sip:mod_sofia@:5080 RUNNING >>> (0) >>> >>> external::flowroute gateway sip:@ >>> us-west-or.sip.flowroute.com TRYING (retry: 24s) >>> >>> >>> I don't know where to go from here. Any suggestions? >>> >>> >>> -- >>> >>> Steve >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> [image: https://www.facebook.com/signalwireinc?src=email] >> [image: >> https://twitter.com/freeswitch] >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gilles at sauvaire.com Sun Sep 25 05:01:03 2022 From: gilles at sauvaire.com (Gilles SAUVAIRE) Date: Sun, 25 Sep 2022 07:01:03 +0200 Subject: [Freeswitch-users] fs_cli hang on debian 11 whith stable v1.10.7 (reproducible) In-Reply-To: References: Message-ID: Hello, https://github.com/signalwire/freeswitch/pull/1812 I made a fix for this problem Best Gilles De : FreeSWITCH-users De la part de Gilles SAUVAIRE Envoyé : dimanche 18 septembre 2022 10:36 À : 'FreeSWITCH Users Help' Objet : [Freeswitch-users] fs_cli hang on debian 11 whith stable v1.10.7 (reproducible) Hello, On a brand new Debian 11, I don't install any packages during install. Then I install the following packages : apt-get install autoconf libtool pkg-config libcurl4-openssl-dev uuid-dev libssl-dev build-essential libtool-bin unzip libsqlite3-dev libpcre3-dev libspeex-dev libspeexdsp-dev libedit-dev python3-dev libsndfile-dev liblua5.2-dev libsqlite3-dev yasm zip libtiff-dev vim net-tools ssh Using git I take the sources of version v1.10.7 Then I take the sources of sofia and spandsp cd sofia-sip ./bootstrap.sh ./configure make make install cd spandsp-master ./bootstrap.sh ./configure make make install cd freeswitch ./bootstrap.sh -j (cp modules.conf freeswitch) ./configure make make install LD_LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH and run : /usr/local/freeswitch/bin/freeswitch -nonat -u root I don't do anything else, I keep the default config, I don't change anything. Just compiling... After launching freeswitch, I connect with fs_cli After the connection, hat the first command: show calls for example randomly, 50% of time, fs_cli freezes and becomes unresponsive. I did it, on several different servers   here are the weirdest details... : For fs_cli hanging, there must be no activity on freeswitch. I run an fs_cli and it freezes. I run on a second console fs_cli and it freezes. I launch another fs_cli which does not freeze… and I do a “log 1 hello” This makes a trace, and all the fs_cli unfreeze…. With gdb I saw, fs_cli hangs in mutex locks I reproduce this on several debian 11.5, but the same source files compiling and work fine on debian 10.13 Do you have any ideas ?? Thanks Additional Information If anyone wants to reproduce. Here is the list of my module.conf applications/mod_commands applications/mod_conference applications/mod_distributor applications/mod_dptools applications/mod_esf applications/mod_expr applications/mod_hash applications/mod_spandsp applications/mod_test dialplans/mod_dialplan_xml endpoints/mod_loopback endpoints/mod_sofia event_handlers/mod_cdr_csv event_handlers/mod_event_socket formats/mod_local_stream formats/mod_native_file formats/mod_sndfile formats/mod_tone_stream languages/mod_lua loggers/mod_console loggers/mod_logfile loggers/mod_syslog timers/mod_posix_timer timers/mod_timerfd I used debian xen domu with the dom0 on debian 11 and on debian 10. Always the same thing happens. Work on domu debian 10 and hang on domu debian 11. -------------- next part -------------- An HTML attachment was scrubbed... URL: From francesco.piccinin at insiel.it Mon Sep 26 10:29:31 2022 From: francesco.piccinin at insiel.it (Piccinin Francesco) Date: Mon, 26 Sep 2022 10:29:31 +0000 Subject: [Freeswitch-users] Dial string issue for multiple registrations contact Message-ID: hello to everyone, I'm taking my first steps on this wonderful software! I have a little problem: in a lua script I'm forging a dialstring like this: {option1=value1, option2=value2}[presence_id=1001 at domainA]${sofia_contact(user/1001 at domainA)},[presence_id=1002 at domainA]${sofia_contact(user/1002 at domainA)} suppose that users have both 2 active registrations, the desired dialstring should be: {option1=value1, option2=value2}[presence_id=1001 at domainA]sofia/internal/sip:1001 at 10.10.10.1,[presence_id=1001 at domainA]sofia/internal/sip:1001 at 10.10.10.2,[presence_id=1002 at domainA]sofia/internal/sip:1002 at 10.10.10.3,[presence_id=1002 at domainA]sofia/internal/sip:1002 at 10.10.10.4 Since {sofia_contact(user/1001 at domainA)} is expanded in a list of comma separated values, what I get is: (spaces for readeability): {option1=value1, option2=value2}[presence_id=1001 at domainA]sofia/internal/sip:1001 at 10.10.10.1,sofia/internal/sip:1001 at 10.10.10.2,[presence_id=1002 at domainA]sofia/internal/sip:1002 at 10.10.10.3,sofia/internal/sip:1002 at 10.10.10.4 so, only one registration per extensions gets the presence_id parameter. I also tried to manipulate the sintax adding parenthesis but it was not accpeted and errors returned. Is it a way to achieve the desired dialstring?many thanks! Francesco AVVISO DI RISERVATEZZA Informazioni riservate possono essere contenute nel messaggio o nei suoi allegati. Se non siete i destinatari indicati nel messaggio, o responsabili per la sua consegna alla persona, o se avete ricevuto il messaggio per errore, siete pregati di non trascriverlo, copiarlo o inviarlo ad alcuno. In tal caso vi invitiamo a cancellare il messaggio ed i suoi allegati. Grazie. CONFIDENTIALITY NOTICE Confidential information may be contained in this message or in its attachments. If you are not the addressee indicated in this message, or responsible for message delivering to that person, or if you have received this message in error, you may not transcribe, copy or deliver this message to anyone. In that case, you should delete this message and its attachments. Thank you. From brian at freeswitch.com Mon Sep 26 12:40:01 2022 From: brian at freeswitch.com (Brian West) Date: Mon, 26 Sep 2022 07:40:01 -0500 Subject: [Freeswitch-users] Dial string issue for multiple registrations contact In-Reply-To: References: Message-ID: Move presence_id into {} then they'll all get it. On Mon, Sep 26, 2022 at 6:07 AM Piccinin Francesco < francesco.piccinin at insiel.it> wrote: > hello to everyone, I'm taking my first steps on this wonderful software! > I have a little problem: > > in a lua script I'm forging a dialstring like this: > {option1=value1, option2=value2}[presence_id=1001 at domainA > ]${sofia_contact(user/1001 at domainA)},[presence_id=1002 at domainA > ]${sofia_contact(user/1002 at domainA)} > > suppose that users have both 2 active registrations, the desired > dialstring should be: > {option1=value1, option2=value2}[presence_id=1001 at domainA]sofia/internal/ > sip:1001 at 10.10.10.1,[presence_id=1001 at domainA]sofia/internal/ > sip:1001 at 10.10.10.2,[presence_id=1002 at domainA]sofia/internal/ > sip:1002 at 10.10.10.3,[presence_id=1002 at domainA]sofia/internal/ > sip:1002 at 10.10.10.4 > > Since {sofia_contact(user/1001 at domainA)} is expanded in a list of comma > separated values, what I get is: (spaces for readeability): > {option1=value1, option2=value2}[presence_id=1001 at domainA]sofia/internal/ > sip:1001 at 10.10.10.1,sofia/internal/sip:1001 at 10.10.10.2 > ,[presence_id=1002 at domainA]sofia/internal/sip:1002 at 10.10.10.3 > ,sofia/internal/sip:1002 at 10.10.10.4 > > so, only one registration per extensions gets the presence_id parameter. > > I also tried to manipulate the sintax adding parenthesis but it was not > accpeted and errors returned. > > Is it a way to achieve the desired dialstring?many thanks! > > > Francesco > > AVVISO DI RISERVATEZZA Informazioni riservate possono essere contenute nel > messaggio o nei suoi allegati. Se non siete i destinatari indicati nel > messaggio, o responsabili per la sua consegna alla persona, o se avete > ricevuto il messaggio per errore, siete pregati di non trascriverlo, > copiarlo o inviarlo ad alcuno. In tal caso vi invitiamo a cancellare il > messaggio ed i suoi allegati. Grazie. > CONFIDENTIALITY NOTICE Confidential information may be contained in this > message or in its attachments. If you are not the addressee indicated in > this message, or responsible for message delivering to that person, or if > you have received this message in error, you may not transcribe, copy or > deliver this message to anyone. In that case, you should delete this > message and its attachments. Thank you. > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From aina.mestre at airenetworks.es Mon Sep 26 09:51:34 2022 From: aina.mestre at airenetworks.es (Aina Mestre) Date: Mon, 26 Sep 2022 09:51:34 +0000 Subject: [Freeswitch-users] TLS stops when a call is enabled Message-ID: <5fe2177a4edb4745af9568147ab374b2@airenetworks.es> Good morning, I'm trying to configure SRTP with TLS on Freeswitch. I already have SRTP, and I can establish a conversation with TLS, but when I make a call, it says "encrypted alert" and the TLS conversation stops sending the INVITE in TCP. I have been looking for some solutions and it states that the problema may be that the certificate is not properly configured or that TLS is not properly configured. It is imposible that the certificate has any problems because I currently get TLS untill the call starts. Here it is the configuration on my profile: Also, I would like to make another observation: when I configure the bridge has transport=TLS ( ) in the dialplan, the debug says "TLS not supported by profile" Thank you for taking the time to deal with my queries Kind regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: From len at freeswitch.org Mon Sep 26 15:02:51 2022 From: len at freeswitch.org (Len Graham) Date: Mon, 26 Sep 2022 11:02:51 -0400 Subject: [Freeswitch-users] Cannot fetch package from Signalewire repo In-Reply-To: <239fb099-9c86-9ecc-49bf-87018359b063@hour.com> References: <239fb099-9c86-9ecc-49bf-87018359b063@hour.com> Message-ID: To test your PAT, try using your PAT at this link https://freeswitch.signalwire.com/repo/deb/debian-release/dists/bullseye/InRelease Should show a page that has this and a bunch of other stuff. " -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Origin: Freeswitch debian repository Label: apt repository Suite: testing Codename: bullseye Date: Tue, 12 Jul 2022 21:39:05 UTC Architectures: i386 amd64 armhf Components: main Description: Freeswitch deb repository " Use Username: signalwire and your PAT_sdgjlhsdkjgsdkgbla as the password. If that doesn't work try creating a new PAT. On Sun, Sep 4, 2022 at 7:26 AM Peter wrote: > > I have upgraded my Raspberry Pi to Debian Bullseye and in the process of > upgrading my old freeSWITCH 1.7. > > For convenience I am trying to fetch the binaries from the special repo > at Signalwire. I have created a PAT and follow the info from this > Confluence page: > https://freeswitch.org/confluence/display/FREESWITCH/Raspberry+Pi > > However, I get no access when downloading the package information > > Err:5 https://freeswitch.signalwire.com/repo/deb/debian-release bullseye > InRelease > 401 Unauthorized [IP: 190.102.98.174 443] > > Can someone shine a light on this? > Thanks. > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From len at freeswitch.org Mon Sep 26 15:09:10 2022 From: len at freeswitch.org (Len Graham) Date: Mon, 26 Sep 2022 11:09:10 -0400 Subject: [Freeswitch-users] Cannot fetch package from Signalewire repo In-Reply-To: References: <239fb099-9c86-9ecc-49bf-87018359b063@hour.com> Message-ID: Also, update your freeswitch.list sources file to the new url https://freeswitch.signalwire.com/repo/deb/rpi/debian-release/ TOKEN=YOURSIGNALWIRETOKEN apt-get update && apt-get install -y gnupg2 wget lsb-release wget --http-user=signalwire --http-password=$TOKEN -O - https://freeswitch. signalwire.com/repo/deb/rpi/debian-release/freeswitch_archive_g0.pub | apt-key add - # This is universal for all Debian distros # `lsb_release -sc` returns buster or stretch echo "deb https://freeswitch.signalwire.com/repo/deb/rpi/debian-release/ `lsb_release -sc` main" > /etc/apt/sources.list.d/freeswitch.list echo "deb-src https://freeswitch.signalwire.com/repo/deb/rpi/debian-release/ `lsb_release -sc` main" >> /etc/apt/sources.list.d/freeswitch.list # you may want to populate /etc/freeswitch at this point. # if /etc/freeswitch does not exist, the standard vanilla configuration is deployed apt-get update && apt-get install -y freeswitch-meta-all On Mon, Sep 26, 2022 at 11:02 AM Len Graham wrote: > To test your PAT, try using your PAT at this link > https://freeswitch.signalwire.com/repo/deb/debian-release/dists/bullseye/InRelease > > Should show a page that has this and a bunch of other stuff. > " > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Origin: Freeswitch debian repository > Label: apt repository > Suite: testing > Codename: bullseye > Date: Tue, 12 Jul 2022 21:39:05 UTC > Architectures: i386 amd64 armhf > Components: main > Description: Freeswitch deb repository > > " > > Use Username: signalwire and your PAT_sdgjlhsdkjgsdkgbla as the > password. If that doesn't work try creating a new PAT. > > On Sun, Sep 4, 2022 at 7:26 AM Peter wrote: > >> >> I have upgraded my Raspberry Pi to Debian Bullseye and in the process of >> upgrading my old freeSWITCH 1.7. >> >> For convenience I am trying to fetch the binaries from the special repo >> at Signalwire. I have created a PAT and follow the info from this >> Confluence page: >> https://freeswitch.org/confluence/display/FREESWITCH/Raspberry+Pi >> >> However, I get no access when downloading the package information >> >> Err:5 https://freeswitch.signalwire.com/repo/deb/debian-release bullseye >> InRelease >> 401 Unauthorized [IP: 190.102.98.174 443] >> >> Can someone shine a light on this? >> Thanks. >> >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Mon Sep 26 15:33:18 2022 From: brian at freeswitch.com (Brian West) Date: Mon, 26 Sep 2022 10:33:18 -0500 Subject: [Freeswitch-users] TLS stops when a call is enabled In-Reply-To: <5fe2177a4edb4745af9568147ab374b2@airenetworks.es> References: <5fe2177a4edb4745af9568147ab374b2@airenetworks.es> Message-ID: This is a variable: NOT A PARAM. /b On Mon, Sep 26, 2022 at 9:09 AM Aina Mestre wrote: > Good morning, > > > > I’m trying to configure SRTP with TLS on Freeswitch. I already have SRTP, > and I can establish a conversation with TLS, but when I make a call, it > says “encrypted alert” and the TLS conversation stops sending the INVITE in > TCP. I have been looking for some solutions and it states that the problema > may be that the certificate is not properly configured or that TLS is not > properly configured. It is imposible that the certificate has any problems > because I currently get TLS untill the call starts. > > > > Here it is the configuration on my profile: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Also, I would like to make another observation: when I configure the > bridge has transport=TLS ( data="{${t38}}${mydialbridge};transport=tls"/>) in the dialplan, the debug > says “TLS not supported by profile” > > > > Thank you for taking the time to deal with my queries > > > > Kind regards. > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From aina.mestre at airenetworks.es Tue Sep 27 06:41:59 2022 From: aina.mestre at airenetworks.es (Aina Mestre) Date: Tue, 27 Sep 2022 06:41:59 +0000 Subject: [Freeswitch-users] TLS stops when a call is enabled In-Reply-To: References: <5fe2177a4edb4745af9568147ab374b2@airenetworks.es> Message-ID: <91c9b1f992214d46a8c88f0354652b81@airenetworks.es> Good morning, I have just corrected what you comment, but that didn’t solve my problem. My problem is that the SIP protocol is not encrypted so even if the RTP is encrypted, you can see all INVITE information on wireshark. I tryed to solve it adding in the dialplan ) But the result I get is an error that says “TLS not supported by profile” Thank you in advance De: FreeSWITCH-users En nombre de Brian West Enviado el: lunes, 26 de septiembre de 2022 17:33 Para: FreeSWITCH Users Help CC: Pablo Pizarro Asunto: Re: [Freeswitch-users] TLS stops when a call is enabled Este e-mail fue originado fuera de Aire Networks. Ayúdanos a mantener segura nuestra empresa. Por favor, extrema las medidas de seguridad con los adjuntos, los enlaces o las solicitudes que pueda contener. This is a variable: NOT A PARAM. /b On Mon, Sep 26, 2022 at 9:09 AM Aina Mestre > wrote: Good morning, I’m trying to configure SRTP with TLS on Freeswitch. I already have SRTP, and I can establish a conversation with TLS, but when I make a call, it says “encrypted alert” and the TLS conversation stops sending the INVITE in TCP. I have been looking for some solutions and it states that the problema may be that the certificate is not properly configured or that TLS is not properly configured. It is imposible that the certificate has any problems because I currently get TLS untill the call starts. Here it is the configuration on my profile: Also, I would like to make another observation: when I configure the bridge has transport=TLS ( ) in the dialplan, the debug says “TLS not supported by profile” Thank you for taking the time to deal with my queries Kind regards. _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email][https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From piotr at dataandsignal.com Tue Sep 27 08:09:56 2022 From: piotr at dataandsignal.com (Piotr Gregor) Date: Tue, 27 Sep 2022 09:09:56 +0100 Subject: [Freeswitch-users] TLS stops when a call is enabled In-Reply-To: <91c9b1f992214d46a8c88f0354652b81@airenetworks.es> References: <5fe2177a4edb4745af9568147ab374b2@airenetworks.es> <91c9b1f992214d46a8c88f0354652b81@airenetworks.es> Message-ID: Hi Aina, Check if TLS is enabled on your profile with sofia status profile x Also, you may find something in log, possibly some errors on profile start. best, Piotr Gregor Software Engineer M: (+44) 07483 866 525 L: (+44) 01256 597 470 www: dataandsignal.com On Tue, Sep 27, 2022 at 8:01 AM Aina Mestre wrote: > Good morning, > > > > I have just corrected what you comment, but that didn’t solve my problem. > My problem is that the SIP protocol is not encrypted so even if the RTP is > encrypted, you can see all INVITE information on wireshark. I tryed to > solve it adding in the dialplan > > data="{${t38}}${mydialbridge};transport=tls"/>) > > > > But the result I get is an error that says “TLS not supported by profile” > > > > Thank you in advance > > > > *De:* FreeSWITCH-users *En > nombre de *Brian West > *Enviado el:* lunes, 26 de septiembre de 2022 17:33 > *Para:* FreeSWITCH Users Help > *CC:* Pablo Pizarro > *Asunto:* Re: [Freeswitch-users] TLS stops when a call is enabled > > > > Este e-mail fue originado fuera de Aire Networks. Ayúdanos a mantener > segura nuestra empresa. Por favor, extrema las medidas de seguridad con los > adjuntos, los enlaces o las solicitudes que pueda contener. > > > > This is a variable: > > > > > > NOT A PARAM. > > > > /b > > > > > > On Mon, Sep 26, 2022 at 9:09 AM Aina Mestre > wrote: > > Good morning, > > > > I’m trying to configure SRTP with TLS on Freeswitch. I already have SRTP, > and I can establish a conversation with TLS, but when I make a call, it > says “encrypted alert” and the TLS conversation stops sending the INVITE in > TCP. I have been looking for some solutions and it states that the problema > may be that the certificate is not properly configured or that TLS is not > properly configured. It is imposible that the certificate has any problems > because I currently get TLS untill the call starts. > > > > Here it is the configuration on my profile: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Also, I would like to make another observation: when I configure the > bridge has transport=TLS ( data="{${t38}}${mydialbridge};transport=tls"/>) in the dialplan, the debug > says “TLS not supported by profile” > > > > Thank you for taking the time to deal with my queries > > > > Kind regards. > > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > > > -- > > > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aina.mestre at airenetworks.es Tue Sep 27 08:59:57 2022 From: aina.mestre at airenetworks.es (Aina Mestre) Date: Tue, 27 Sep 2022 08:59:57 +0000 Subject: [Freeswitch-users] TLS stops when a call is enabled In-Reply-To: References: <5fe2177a4edb4745af9568147ab374b2@airenetworks.es> <91c9b1f992214d46a8c88f0354652b81@airenetworks.es> Message-ID: <39e9ed92de794f32b7d494877ee60051@airenetworks.es> I already checked that and i have TLS on profile: [cid:image002.png at 01D8D260.471F8110] And when i initialize the profile I don’t get any error, only when i make a call De: FreeSWITCH-users En nombre de Piotr Gregor Enviado el: martes, 27 de septiembre de 2022 10:10 Para: FreeSWITCH Users Help CC: Pablo Pizarro Asunto: Re: [Freeswitch-users] TLS stops when a call is enabled Este e-mail fue originado fuera de Aire Networks. Ayúdanos a mantener segura nuestra empresa. Por favor, extrema las medidas de seguridad con los adjuntos, los enlaces o las solicitudes que pueda contener. Hi Aina, Check if TLS is enabled on your profile with sofia status profile x Also, you may find something in log, possibly some errors on profile start. best, [https://ci3.googleusercontent.com/mail-sig/AIorK4wE8rSMg277YOGBrgEQayYWXH2G53bMgBu7uf-k-vU6x5SD1T6YWorVfbkDegPbnXcFyHwBODg] Piotr Gregor Software Engineer M: (+44) 07483 866 525 L: (+44) 01256 597 470 www: dataandsignal.com On Tue, Sep 27, 2022 at 8:01 AM Aina Mestre > wrote: Good morning, I have just corrected what you comment, but that didn’t solve my problem. My problem is that the SIP protocol is not encrypted so even if the RTP is encrypted, you can see all INVITE information on wireshark. I tryed to solve it adding in the dialplan ) But the result I get is an error that says “TLS not supported by profile” Thank you in advance De: FreeSWITCH-users > En nombre de Brian West Enviado el: lunes, 26 de septiembre de 2022 17:33 Para: FreeSWITCH Users Help > CC: Pablo Pizarro > Asunto: Re: [Freeswitch-users] TLS stops when a call is enabled Este e-mail fue originado fuera de Aire Networks. Ayúdanos a mantener segura nuestra empresa. Por favor, extrema las medidas de seguridad con los adjuntos, los enlaces o las solicitudes que pueda contener. This is a variable: NOT A PARAM. /b On Mon, Sep 26, 2022 at 9:09 AM Aina Mestre > wrote: Good morning, I’m trying to configure SRTP with TLS on Freeswitch. I already have SRTP, and I can establish a conversation with TLS, but when I make a call, it says “encrypted alert” and the TLS conversation stops sending the INVITE in TCP. I have been looking for some solutions and it states that the problema may be that the certificate is not properly configured or that TLS is not properly configured. It is imposible that the certificate has any problems because I currently get TLS untill the call starts. Here it is the configuration on my profile: Also, I would like to make another observation: when I configure the bridge has transport=TLS ( ) in the dialplan, the debug says “TLS not supported by profile” Thank you for taking the time to deal with my queries Kind regards. _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email][https://twitter.com/freeswitch] _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 38142 bytes Desc: image002.png URL: From francesco.piccinin at insiel.it Tue Sep 27 13:14:20 2022 From: francesco.piccinin at insiel.it (Piccinin Francesco) Date: Tue, 27 Sep 2022 13:14:20 +0000 Subject: [Freeswitch-users] R: Dial string issue for multiple registrations contact In-Reply-To: References: Message-ID: Hi Brian, thanks for your answer. Anyway, there is something confusing us: arn't curly brackets supposed to be used for parameters common to all the dialed extensions? In this scenario I have 2 extensions registered to 2 different devices (so 2 differente sip_contacts), and I'm trying to dial both with a bridge (answer group feature) As dialed extensions are different, they also have different presence_id (not common for all registrations), so I can't put it into the curly brackets. Here you are again the situation and the code: {option1=value1, option2=value2} [presence_id=1001 at domainA]${sofia_contact(user/1001 at domainA)}, [presence_id=1002 at domainA]${sofia_contact(user/1002 at domainA)} suppose that users have both 2 active registrations, the desired dialstring should be: {option1=value1, option2=value2} [presence_id=1001 at domainA]sofia/internal/sip:1001 at 10.10.10.1, [presence_id=1001 at domainA]sofia/internal/sip:1001 at 10.10.10.2, [presence_id=1002 at domainA]sofia/internal/sip:1002 at 10.10.10.3, [presence_id=1002 at domainA]sofia/internal/sip:1002 at 10.10.10.4 Since {sofia_contact(user/1001 at domainA)} is expanded in a list of comma separated values, what I get is: (spaces for readeability): {option1=value1, option2=value2} [presence_id=1001 at domainA]sofia/internal/sip:1001 at 10.10.10.1, sofia/internal/sip:1001 at 10.10.10.2, [presence_id=1002 at domainA]sofia/internal/sip:1002 at 10.10.10.3, sofia/internal/sip:1002 at 10.10.10.4 so, only one registration per extensions gets the presence_id parameter. Thanks Francesco Da: FreeSWITCH-users Per conto di Brian West Inviato: lunedì 26 settembre 2022 14:40 A: FreeSWITCH Users Help Oggetto: Re: [Freeswitch-users] Dial string issue for multiple registrations contact Move presence_id into {} then they'll all get it. On Mon, Sep 26, 2022 at 6:07 AM Piccinin Francesco > wrote: hello to everyone, I'm taking my first steps on this wonderful software! I have a little problem: in a lua script I'm forging a dialstring like this: {option1=value1, option2=value2}[presence_id=1001 at domainA]${sofia_contact(user/1001 at domainA)},[presence_id=1002 at domainA]${sofia_contact(user/1002 at domainA)} suppose that users have both 2 active registrations, the desired dialstring should be: {option1=value1, option2=value2}[presence_id=1001 at domainA]sofia/internal/sip:1001 at 10.10.10.1,[presence_id=1001 at domainA]sofia/internal/sip:1001 at 10.10.10.2,[presence_id=1002 at domainA]sofia/internal/sip:1002 at 10.10.10.3,[presence_id=1002 at domainA]sofia/internal/sip:1002 at 10.10.10.4 Since {sofia_contact(user/1001 at domainA)} is expanded in a list of comma separated values, what I get is: (spaces for readeability): {option1=value1, option2=value2}[presence_id=1001 at domainA]sofia/internal/sip:1001 at 10.10.10.1,sofia/internal/sip:1001 at 10.10.10.2,[presence_id=1002 at domainA]sofia/internal/sip:1002 at 10.10.10.3,sofia/internal/sip:1002 at 10.10.10.4 so, only one registration per extensions gets the presence_id parameter. I also tried to manipulate the sintax adding parenthesis but it was not accpeted and errors returned. Is it a way to achieve the desired dialstring?many thanks! Francesco AVVISO DI RISERVATEZZA Informazioni riservate possono essere contenute nel messaggio o nei suoi allegati. Se non siete i destinatari indicati nel messaggio, o responsabili per la sua consegna alla persona, o se avete ricevuto il messaggio per errore, siete pregati di non trascriverlo, copiarlo o inviarlo ad alcuno. In tal caso vi invitiamo a cancellare il messaggio ed i suoi allegati. Grazie. CONFIDENTIALITY NOTICE Confidential information may be contained in this message or in its attachments. If you are not the addressee indicated in this message, or responsible for message delivering to that person, or if you have received this message in error, you may not transcribe, copy or deliver this message to anyone. In that case, you should delete this message and its attachments. Thank you. _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg][https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa] AVVISO DI RISERVATEZZA Informazioni riservate possono essere contenute nel messaggio o nei suoi allegati. Se non siete i destinatari indicati nel messaggio, o responsabili per la sua consegna alla persona, o se avete ricevuto il messaggio per errore, siete pregati di non trascriverlo, copiarlo o inviarlo ad alcuno. In tal caso vi invitiamo a cancellare il messaggio ed i suoi allegati. Grazie. CONFIDENTIALITY NOTICE Confidential information may be contained in this message or in its attachments. If you are not the addressee indicated in this message, or responsible for message delivering to that person, or if you have received this message in error, you may not transcribe, copy or deliver this message to anyone. In that case, you should delete this message and its attachments. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bkk at ednt.de Wed Sep 28 09:46:52 2022 From: bkk at ednt.de (Bernd Krueger-Knauber) Date: Wed, 28 Sep 2022 11:46:52 +0200 Subject: [Freeswitch-users] Get registrations via fs_cli or API Message-ID: Hi, today I found something which can't be right: show registrations results in a total of 26. sofia status profile internal reg results in 37 entries show registrations  does not show the 'double' registrations on same extensions. In my opinion this is a bug. The way via sofia is complicated, since you need to check all profiles. And it is also more complicated to parse the output. We are using version 1.10.7 Any ideas? Best regrads, Bernd From krice at freeswitch.org Thu Sep 29 01:46:28 2022 From: krice at freeswitch.org (Ken Rice) Date: Wed, 28 Sep 2022 20:46:28 -0500 Subject: [Freeswitch-users] Get registrations via fs_cli or API In-Reply-To: References: Message-ID: show registrations was intended originally to show all registrations across multiple transport technologies not just sip. However it was never fully implemented and may be buggy. (one of the core devs that worked on this can correct me if i am wrong) Also you know you can push the registartions to a db and just dirct query that table Sent from my iPhone > On Sep 28, 2022, at 04:47, Bernd Krueger-Knauber wrote: > > Hi, > > today I found something which can't be right: > > show registrations > > results in a total of 26. > > sofia status profile internal reg > > results in 37 entries > > show registrations does not show the 'double' registrations on same extensions. > In my opinion this is a bug. > The way via sofia is complicated, since you need to check all profiles. > And it is also more complicated to parse the output. > > We are using version 1.10.7 > > Any ideas? > > Best regrads, > > Bernd > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From sdevoy at bizfocused.com Thu Sep 29 02:00:29 2022 From: sdevoy at bizfocused.com (Sean Devoy) Date: Thu, 29 Sep 2022 02:00:29 +0000 Subject: send voicemail with shell script Message-ID: Hi, I have a shell script that sends my voicemail files as I need them to be sent. However, I cannot get that emailwav.sh file to be called. In switch.conf.xml I changed: To: and restarted Freeswitch. It still tries to send with sendmail. Any suggestions would be great. Thanks. Sean From bkk at ednt.de Thu Sep 29 05:55:37 2022 From: bkk at ednt.de (Bernd Krueger-Knauber) Date: Thu, 29 Sep 2022 07:55:37 +0200 Subject: [Freeswitch-users] Get registrations via fs_cli or API In-Reply-To: References: Message-ID: <3bf1e113-645e-7829-e9a2-9ddfbb0b78d9@ednt.de> Hi, thanks for your response. I also checked the sqlite dbs, but this is even more complicated than the sofia solution. Because there I need to check the directory (which is not always the same) and have to look for the reg sofia dbs, then open them and make the query. It is safer and faster to use the sofia status command. In general: If I know that a command does not work as expected, I don't make it available. To use it, find the fault and now to replace it was very time consuming. Best regards, Bernd Am 29.09.2022 um 03:46 schrieb Ken Rice: > show registrations was intended originally to show all registrations across multiple transport technologies not just sip. > > However it was never fully implemented and may be buggy. (one of the core devs that worked on this can correct me if i am wrong) > > Also you know you can push the registartions to a db and just dirct query that table > > Sent from my iPhone > >> On Sep 28, 2022, at 04:47, Bernd Krueger-Knauber wrote: >> >> Hi, >> >> today I found something which can't be right: >> >> show registrations >> >> results in a total of 26. >> >> sofia status profile internal reg >> >> results in 37 entries >> >> show registrations does not show the 'double' registrations on same extensions. >> In my opinion this is a bug. >> The way via sofia is complicated, since you need to check all profiles. >> And it is also more complicated to parse the output. >> >> We are using version 1.10.7 >> >> Any ideas? >> >> Best regrads, >> >> Bernd >> >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- EDNT GmbH Werner-von-Siemens-Strasse 7 64625 Bensheim www.ednt.de Registergericht: Darmstadt Registernummer: 24972 Geschäftsführerin: Kerstin Knapp From krice at freeswitch.org Thu Sep 29 20:12:27 2022 From: krice at freeswitch.org (Ken Rice) Date: Thu, 29 Sep 2022 15:12:27 -0500 Subject: [Freeswitch-users] Get registrations via fs_cli or API In-Reply-To: <3bf1e113-645e-7829-e9a2-9ddfbb0b78d9@ednt.de> References: <3bf1e113-645e-7829-e9a2-9ddfbb0b78d9@ednt.de> Message-ID: <338DEBEA-F929-4201-A733-7070B83229AD@freeswitch.org> you miss the entire point. you do not have to ise sqlite (and infact i recommend you dont for this) use an external db server such as postgresql or mysql etc. the use standard db magic to find what you are looking for. there is no opening directories looking for files etc. you define the DSN for where sofia (and other modules) store the data. and if you need to break ot down in to different tables ok, no problem use a view to consolidate then for querying Sent from my iPhone > On Sep 29, 2022, at 00:56, Bernd Krueger-Knauber wrote: > > Hi, > > thanks for your response. > I also checked the sqlite dbs, but this is even more complicated than the sofia solution. > Because there I need to check the directory (which is not always the same) and have to look > for the reg sofia dbs, then open them and make the query. > It is safer and faster to use the sofia status command. > > In general: > If I know that a command does not work as expected, I don't make it available. > > To use it, find the fault and now to replace it was very time consuming. > > Best regards, > > Bernd > > >> Am 29.09.2022 um 03:46 schrieb Ken Rice: >> show registrations was intended originally to show all registrations across multiple transport technologies not just sip. >> >> However it was never fully implemented and may be buggy. (one of the core devs that worked on this can correct me if i am wrong) >> >> Also you know you can push the registartions to a db and just dirct query that table >> >> Sent from my iPhone >> >>>> On Sep 28, 2022, at 04:47, Bernd Krueger-Knauber wrote: >>> >>> Hi, >>> >>> today I found something which can't be right: >>> >>> show registrations >>> >>> results in a total of 26. >>> >>> sofia status profile internal reg >>> >>> results in 37 entries >>> >>> show registrations does not show the 'double' registrations on same extensions. >>> In my opinion this is a bug. >>> The way via sofia is complicated, since you need to check all profiles. >>> And it is also more complicated to parse the output. >>> >>> We are using version 1.10.7 >>> >>> Any ideas? >>> >>> Best regrads, >>> >>> Bernd >>> >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > -- > EDNT GmbH > Werner-von-Siemens-Strasse 7 > 64625 Bensheim > www.ednt.de > > Registergericht: Darmstadt > Registernummer: 24972 > > Geschäftsführerin: Kerstin Knapp > > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From gregor at infomedia.si Thu Sep 29 21:03:21 2022 From: gregor at infomedia.si (Gregor Nanger) Date: Thu, 29 Sep 2022 23:03:21 +0200 Subject: [Freeswitch-users] Get registrations via fs_cli or API In-Reply-To: <338DEBEA-F929-4201-A733-7070B83229AD@freeswitch.org> References: <3bf1e113-645e-7829-e9a2-9ddfbb0b78d9@ednt.de> <338DEBEA-F929-4201-A733-7070B83229AD@freeswitch.org> Message-ID: Yes, this is a very simple solution. It is a good practice to use external DB as it is more scalable than sqlite. We are even using MS SQL server and it works like a charm. Then you can query registrations, channels, calls, etc... On Thu, 29 Sept 2022 at 22:13, Ken Rice wrote: > you miss the entire point. you do not have to ise sqlite (and infact i > recommend you dont for this) > > use an external db server such as postgresql or mysql etc. > > the use standard db magic to find what you are looking for. > > there is no opening directories looking for files etc. you define the DSN > for where sofia (and other modules) store the data. and if you need to > break ot down in to different tables ok, no problem use a view to > consolidate then for querying > > Sent from my iPhone > > > On Sep 29, 2022, at 00:56, Bernd Krueger-Knauber wrote: > > > > Hi, > > > > thanks for your response. > > I also checked the sqlite dbs, but this is even more complicated than > the sofia solution. > > Because there I need to check the directory (which is not always the > same) and have to look > > for the reg sofia dbs, then open them and make the query. > > It is safer and faster to use the sofia status command. > > > > In general: > > If I know that a command does not work as expected, I don't make it > available. > > > > To use it, find the fault and now to replace it was very time consuming. > > > > Best regards, > > > > Bernd > > > > > >> Am 29.09.2022 um 03:46 schrieb Ken Rice: > >> show registrations was intended originally to show all registrations > across multiple transport technologies not just sip. > >> > >> However it was never fully implemented and may be buggy. (one of the > core devs that worked on this can correct me if i am wrong) > >> > >> Also you know you can push the registartions to a db and just dirct > query that table > >> > >> Sent from my iPhone > >> > >>>> On Sep 28, 2022, at 04:47, Bernd Krueger-Knauber wrote: > >>> > >>> Hi, > >>> > >>> today I found something which can't be right: > >>> > >>> show registrations > >>> > >>> results in a total of 26. > >>> > >>> sofia status profile internal reg > >>> > >>> results in 37 entries > >>> > >>> show registrations does not show the 'double' registrations on same > extensions. > >>> In my opinion this is a bug. > >>> The way via sofia is complicated, since you need to check all profiles. > >>> And it is also more complicated to parse the output. > >>> > >>> We are using version 1.10.7 > >>> > >>> Any ideas? > >>> > >>> Best regrads, > >>> > >>> Bernd > >>> > >>> > >>> > _________________________________________________________________________ > >>> > >>> The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >>> Build your next product on our scalable cloud platform. > >>> > >>> Join our online community to chat in real time > https://signalwire.community > >>> > >>> Professional FreeSWITCH Services > >>> sales at freeswitch.com > >>> https://freeswitch.com > >>> > >>> Official FreeSWITCH Sites > >>> https://freeswitch.com/oss > >>> https://freeswitch.org/confluence > >>> https://cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> https://freeswitch.com > >> > _________________________________________________________________________ > >> > >> The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >> Build your next product on our scalable cloud platform. > >> > >> Join our online community to chat in real time > https://signalwire.community > >> > >> Professional FreeSWITCH Services > >> sales at freeswitch.com > >> https://freeswitch.com > >> > >> Official FreeSWITCH Sites > >> https://freeswitch.com/oss > >> https://freeswitch.org/confluence > >> https://cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> https://freeswitch.com > > > > > > -- > > EDNT GmbH > > Werner-von-Siemens-Strasse 7 > > 64625 Bensheim > > www.ednt.de > > > > Registergericht: Darmstadt > > Registernummer: 24972 > > > > Geschäftsführerin: Kerstin Knapp > > > > > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From devang.dhandhalya at ecosmob.com Fri Sep 30 15:38:44 2022 From: devang.dhandhalya at ecosmob.com (Devang Dhandhalya) Date: Fri, 30 Sep 2022 21:08:44 +0530 Subject: Unexpected TTY Message Message-ID: Hello All I Perform normal audio call test with Freeswitch Server , not sending any dtmf tones or RTT/TTY but still i am getting TTY Message in freeswitch server and i received this event : TDD::RECV_MESSAGE I troubleshoot this issue i check mod_spandsp_dsp.c file and this function is printing an log [DEBUG] mod_spandsp_dsp.c:151 sofia/internal/ 1004 at 192.168.254.149 got TDD Message [V] and this put_text_msg function called from spandsp_tdd_decode_session function with this line : pvt->tdd_state = v18_init(NULL, FALSE, get_v18_mode(session), V18_AUTOMODING_GLOBAL, put_text_msg, pvt); can anyone give me idea when this v18_init line executing as per my understanding when it receive an Text message at that time it is executing but i dont know how it will detect text message from RTP while it is an just audio call. Please give me suggestions on how this v18_init is detecting text it is related to frequency or any other param and give reference of that file from where v18_init is getting text messages From RTP. Let me know if require any further details, Any help is greatly appreciated. Regards Devang Dhandhalya -- * * *Disclaimer* In addition to generic Disclaimer which you have agreed on our website, any views or opinions presented in this email are solely those of the originator and do not necessarily represent those of the Company or its sister concerns. Any liability (in negligence, contract or otherwise) arising from any third party taking any action, or refraining from taking any action on the basis of any of the information contained in this email is hereby excluded. *Confidentiality* This communication (including any attachment/s) is intended only for the use of the addressee(s) and contains information that is PRIVILEGED AND CONFIDENTIAL. Unauthorized reading, dissemination, distribution, or copying of this communication is prohibited. Please inform originator if you have received it in error. *Caution for viruses, malware etc.* This communication, including any attachments, may not be free of viruses, trojans, similar or new contaminants/malware, interceptions or interference, and may not be compatible with your systems. You shall carry out virus/malware scanning on your own before opening any attachment to this e-mail. The sender of this e-mail and Company including its sister concerns shall not be liable for any damage that may incur to you as a result of viruses, incompleteness of this message, a delay in receipt of this message or any other computer problems.  -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Fri Sep 30 19:24:14 2022 From: sdevoy at bizfocused.com (Sean Devoy) Date: Fri, 30 Sep 2022 19:24:14 +0000 Subject: [Freeswitch-users] send voicemail with shell script In-Reply-To: References: Message-ID: Bump. Can anyone help with this please? I have tried the manuals and searches and I am stuck. Also, why is my message always made an attachment in the list. I have it set to send "Plain Text". Original Message: I have a shell script that sends my voicemail files as I need them to be sent. However, I cannot get that emailwav.sh file called. In switch.conf.xml I changed: To: and restarted Freeswitch. It still tries to send with sendmail. Thanks, Sean -----Original Message----- From: FreeSWITCH-users On Behalf Of Sean Devoy via FreeSWITCH-users Sent: Wednesday, September 28, 2022 10:36 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] send voicemail with shell script _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com From covici at ccs.covici.com Fri Sep 30 19:43:07 2022 From: covici at ccs.covici.com (John Covici) Date: Fri, 30 Sep 2022 15:43:07 -0400 Subject: [Freeswitch-users] send voicemail with shell script In-Reply-To: References: Message-ID: Where you say the app you want is sendmail, I think this is your problem, instead tell it your shell script and make the arguments what you want and the shell script will invoke sendmail itself. On Fri, 30 Sep 2022 15:35:30 -0400, Sean Devoy via FreeSWITCH-users wrote: > > [1 ] > To: FreeSWITCH Users Help > Subject: RE: [Freeswitch-users] send voicemail with shell script > From: Sean Devoy > Date: Fri, 30 Sep 2022 19:24:14 +0000 > > Bump. > > Can anyone help with this please? I have tried the manuals and searches and I am stuck. > Also, why is my message always made an attachment in the list. I have it set to send "Plain Text". > > Original Message: > I have a shell script that sends my voicemail files as I need them to be sent. However, I cannot get that emailwav.sh file called. > In switch.conf.xml I changed: > > > To: > > > and restarted Freeswitch. > > It still tries to send with sendmail. > > Thanks, > Sean > > -----Original Message----- > From: FreeSWITCH-users On Behalf Of Sean Devoy via FreeSWITCH-users > Sent: Wednesday, September 28, 2022 10:36 PM > To: FreeSWITCH Users Help > Subject: [Freeswitch-users] send voicemail with shell script > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > [2 ] > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una covici at ccs.covici.com From sdevoy at bizfocused.com Fri Sep 30 20:00:33 2022 From: sdevoy at bizfocused.com (Sean Devoy) Date: Fri, 30 Sep 2022 20:00:33 +0000 Subject: [Freeswitch-users] send voicemail with shell script In-Reply-To: References: Message-ID: Thanks for the reply. But, I do NOT want sendmail. I want it to run my script and provide the number called, the wav file and the mail-to address from the config. I cannot get it to call any script. I thought that's what these lines did in switch.conf.xml. > > and restarted Freeswitch. No matter what I do, it tries sendmail (and fails). I wish I could get sendmail to relay through my post office, but I have never been able get it to work. The script I am trying just runs CURL to send those items to a web service that handles the email part. Sean -----Original Message----- From: John Covici Sent: Friday, September 30, 2022 3:43 PM To: Sean Devoy ; FreeSWITCH Users Help Subject: Re: [Freeswitch-users] send voicemail with shell script Where you say the app you want is sendmail, I think this is your problem, instead tell it your shell script and make the arguments what you want and the shell script will invoke sendmail itself. On Fri, 30 Sep 2022 15:35:30 -0400, Sean Devoy via FreeSWITCH-users wrote: > > [1 ] > To: FreeSWITCH Users Help > Subject: RE: [Freeswitch-users] send voicemail with shell script > From: Sean Devoy > Date: Fri, 30 Sep 2022 19:24:14 +0000 > > Bump. > > Can anyone help with this please? I have tried the manuals and searches and I am stuck. > Also, why is my message always made an attachment in the list. I have it set to send "Plain Text". > > Original Message: > I have a shell script that sends my voicemail files as I need them to be sent. However, I cannot get that emailwav.sh file called. > In switch.conf.xml I changed: > > > To: > > and restarted Freeswitch. > > It still tries to send with sendmail. > > Thanks, > Sean > > -----Original Message----- > From: FreeSWITCH-users > On Behalf Of Sean Devoy via FreeSWITCH-users > Sent: Wednesday, September 28, 2022 10:36 PM > To: FreeSWITCH Users Help > Subject: [Freeswitch-users] send voicemail with shell script > > ______________________________________________________________________ > ___ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > rs > https://freeswitch.com > [2 ] > ______________________________________________________________________ > ___ > > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > rs > https://freeswitch.com -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una covici at ccs.covici.com From Antony.Stone at freeswitch.open.source.it Fri Sep 30 20:07:49 2022 From: Antony.Stone at freeswitch.open.source.it (Antony Stone) Date: Fri, 30 Sep 2022 22:07:49 +0200 Subject: [Freeswitch-users] send voicemail with shell script In-Reply-To: References: Message-ID: <202209302207.49487.Antony.Stone@freeswitch.open.source.it> On Friday 30 September 2022 at 22:01:20, Sean Devoy via FreeSWITCH-users wrote: > Thanks for the reply. But, I do NOT want sendmail. I want it to run my > script and provide the number called, the wav file and the mail-to address > from the config. I cannot get it to call any script. Have you tried: In other words, specify the "app" as the script name, and the "args" as the parameters you want to pass it. This assumes that your script is executable by the freeswitch user and contains "#!/bin/bash" as the first line. Antony. -- "How I managed so long without this book baffles the mind." - Richard Stoakley, Group Program Manager, Microsoft Corporation, referring to "The Art of Project Management", O'Reilly press Please reply to the list; please *don't* CC me. From covici at ccs.covici.com Fri Sep 30 21:29:33 2022 From: covici at ccs.covici.com (John Covici) Date: Fri, 30 Sep 2022 17:29:33 -0400 Subject: [Freeswitch-users] send voicemail with shell script In-Reply-To: References: Message-ID: What is in your shell script -- somewhere in there it should call sendmail. On Fri, 30 Sep 2022 16:00:33 -0400, Sean Devoy wrote: > > Thanks for the reply. But, I do NOT want sendmail. I want it to run my script and provide the number called, the wav file and the mail-to address from the config. > I cannot get it to call any script. > > I thought that's what these lines did in switch.conf.xml. > > > > and restarted Freeswitch. > > No matter what I do, it tries sendmail (and fails). I wish I could get sendmail to relay through my post office, but I have never been able get it to work. > The script I am trying just runs CURL to send those items to a web service that handles the email part. > > Sean > -----Original Message----- > From: John Covici > Sent: Friday, September 30, 2022 3:43 PM > To: Sean Devoy ; FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] send voicemail with shell script > > Where you say the app you want is sendmail, I think this is your problem, instead tell it your shell script and make the arguments what you want and the shell script will invoke sendmail itself. > > On Fri, 30 Sep 2022 15:35:30 -0400, > Sean Devoy via FreeSWITCH-users wrote: > > > > [1 ] > > To: FreeSWITCH Users Help > > Subject: RE: [Freeswitch-users] send voicemail with shell script > > From: Sean Devoy > > Date: Fri, 30 Sep 2022 19:24:14 +0000 > > > > Bump. > > > > Can anyone help with this please? I have tried the manuals and searches and I am stuck. > > Also, why is my message always made an attachment in the list. I have it set to send "Plain Text". > > > > Original Message: > > I have a shell script that sends my voicemail files as I need them to be sent. However, I cannot get that emailwav.sh file called. > > In switch.conf.xml I changed: > > > > > > To: > > > > and restarted Freeswitch. > > > > It still tries to send with sendmail. > > > > Thanks, > > Sean > > > > -----Original Message----- > > From: FreeSWITCH-users > > On Behalf Of Sean Devoy via FreeSWITCH-users > > Sent: Wednesday, September 28, 2022 10:36 PM > > To: FreeSWITCH Users Help > > Subject: [Freeswitch-users] send voicemail with shell script > > > > ______________________________________________________________________ > > ___ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > > rs > > https://freeswitch.com > > [2 ] > > ______________________________________________________________________ > > ___ > > > > The FreeSWITCH project is sponsored by SignalWire > > https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > > rs > > https://freeswitch.com > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici wb2una > covici at ccs.covici.com > -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una covici at ccs.covici.com From lmorley at neny.cslimits.net Fri Sep 30 22:00:27 2022 From: lmorley at neny.cslimits.net (Larry Morley) Date: Fri, 30 Sep 2022 18:00:27 -0400 Subject: [Freeswitch-users] send voicemail with shell script In-Reply-To: <202209302207.49487.Antony.Stone@freeswitch.open.source.it> References: <202209302207.49487.Antony.Stone@freeswitch.open.source.it> Message-ID: <1dca0d39-861d-44a7-bb7d-9af0692b0385@neny.cslimits.net> "This problem seems a bit strange and unusual; I, myself am strange and unusual". I thought I saw you had mentioned that sendmail was always invoked. Sure this isn't an OS configuration problem? There are far too many ways to ensure sendmail is exec'd and not the program you're trying to run. Especially if someone had deliberately compromised your system. Might be worth a look. - Larry On Sep 30, 2022, 16:08, at 16:08, Antony Stone wrote: >On Friday 30 September 2022 at 22:01:20, Sean Devoy via >FreeSWITCH-users >wrote: > >> Thanks for the reply. But, I do NOT want sendmail. I want it to run >my >> script and provide the number called, the wav file and the mail-to >address >> from the config. I cannot get it to call any script. > >Have you tried: > >value="/usr/share/freeswitch/scripts/emailwav.sh"/> > > >In other words, specify the "app" as the script name, and the "args" as >the >parameters you want to pass it. > >This assumes that your script is executable by the freeswitch user and >contains "#!/bin/bash" as the first line. > > >Antony. > >-- >"How I managed so long without this book baffles the mind." > > - Richard Stoakley, Group Program Manager, Microsoft Corporation, > referring to "The Art of Project Management", O'Reilly press > > Please reply to the list; > please *don't* CC me. > >_________________________________________________________________________ > >The FreeSWITCH project is sponsored by SignalWire >https://signalwire.com >Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >services. >Build your next product on our scalable cloud platform. > >Join our online community to chat in real time >https://signalwire.community > >Professional FreeSWITCH Services >sales at freeswitch.com >https://freeswitch.com > >Official FreeSWITCH Sites >https://freeswitch.com/oss >https://freeswitch.org/confluence >https://cluecon.com > >FreeSWITCH-users mailing list >FreeSWITCH-users at lists.freeswitch.org >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >https://freeswitch.com From Antony.Stone at freeswitch.open.source.it Fri Sep 30 22:18:29 2022 From: Antony.Stone at freeswitch.open.source.it (Antony Stone) Date: Sat, 1 Oct 2022 00:18:29 +0200 Subject: [Freeswitch-users] send voicemail with shell script In-Reply-To: References: Message-ID: <202210010018.30060.Antony.Stone@freeswitch.open.source.it> On Friday 30 September 2022 at 23:29:33, John Covici wrote: > What is in your shell script -- somewhere in there it should call > sendmail. Well, he did say "I have a shell script that sends my voicemail files as I need them to be sent" so I'm assuming this means that the script actually does what it's required to do. He then said "I cannot get that emailwav.sh file to be called" so the problem seems to be FreeSwitch not calling the script, rather than the script not doing its job. It would be good to know how Sean knows that the script is not being called, though, because the only problem report was "It still tries to send with sendmail", and this makes it unclear whether FreeSwitch (directly) or the script is calling sendmail. Antony. -- There's a good theatrical performance about puns on in the West End. It's a play on words. Please reply to the list; please *don't* CC me.