TwoToneDetect New TwoToneDetect in the works - Python based

tecker

Member
Premium Subscriber
Joined
Feb 26, 2013
Messages
130
Location
Deshler, NE
Oh this is cool. I need to pay more attention to this thread. I was going to write a pushover script for TTD and store the audio on AWS or something. Is this windows only I see references to .exe all over the place? What is it using for the audio file storage backend because I think pushover is just text?
No it is not just for windows. Many TTD users are Windows users but not developers. I wanted to make it easy.

If AWS has FTP or SFTP access then it should be just fine. Otherwise a quick look at the python libraries should allow you to modify the scripts as you desire.

I know the documentation is sparse and I might have a bit of time this week to get it documented an put up there better.
 

iamhere300

Member
Joined
Jun 27, 2004
Messages
1,346
Location
Chappell Hill TX
I have been playing with some old computers to set up TTD, and I have run into a strange issue. It writes AMR files to the audio folder, but not MP3. The config file has email addresses in the proper area for MP3 messages. The debug shows that it states it is unable to write to the audio file in MP3 because no file found.

Ideas?
 

tecker

Member
Premium Subscriber
Joined
Feb 26, 2013
Messages
130
Location
Deshler, NE
I have been playing with some old computers to set up TTD, and I have run into a strange issue. It writes AMR files to the audio folder, but not MP3. The config file has email addresses in the proper area for MP3 messages. The debug shows that it states it is unable to write to the audio file in MP3 because no file found.

Ideas?
I'm suspecting the FFMpeg library is having issues. Not sure why that would be but if you are getting AMR then the FFMpeg is working. If I am remembering correctly the MP3 is made AFTER the AMR file but Andy could correct me on that one. If it really is done after then maybe FFMpeg is deleting the WAV file after converting it so the MP3 has nothing to convert from.

2 things: 1) What version of the FFMpeg file are you using, 2) What is your operating system environment since you mention older computers?
 

iamhere300

Member
Joined
Jun 27, 2004
Messages
1,346
Location
Chappell Hill TX
I'm suspecting the FFMpeg library is having issues. Not sure why that would be but if you are getting AMR then the FFMpeg is working. If I am remembering correctly the MP3 is made AFTER the AMR file but Andy could correct me on that one. If it really is done after then maybe FFMpeg is deleting the WAV file after converting it so the MP3 has nothing to convert from.

2 things: 1) What version of the FFMpeg file are you using, 2) What is your operating system environment since you mention older computers?

Windows XP. FFMpeg 3.22 I believe
 
Last edited:

webby52

Member
Premium Subscriber
Joined
Jun 26, 2004
Messages
43
Location
Hopewell, NJ
VZW EMAG

I tried using mynumber@vzemag.biz but I never received the text or a bounce email. It just disappeared.

In my post from 10/16/16 (#3157) I inquired to the group about the new VZW EMAG service... no one replied so I assume no one has any experience with it. I was able to set up my government business account with EMAG, as Verizon told me vtext was going away. Suddenly I was unable to send texts from our LE CAD. It took about 5 weeks, but after annoying the crap I'm sure out of my Verizon Govt Rep I finally got access to my account. They had to send me an analog phone which you have to turn on and activate. It will require an additional phone number, but once the phone is activated, you turn it off and throw it back in the box. They were supposed to setup a conference call to help me get started, but as soon as I was able to activate the phone my CAD started sending messages to **********@vzemag.biz. Now someone mentioned IAR has vzvmg.biz but that will only work coming from IAR's IP addresses. But this EMAG is exactly what IAR uses. What I didn't realize at the time was it wasn't working with my fire IP.

Now my account for EMAG is free due to the fact we are a volunteer fire company and we have several VZW government business lines. This holds true for hot spots as they dont charge us. I had to fill out all kinds of data to activate the account, mostly I assume they took my static IP from the 2 agencies I inquired with and white listed them.

My issue is the CAD sends text messages of CFS instantaneously, though I cannot get TTD to send anything, whether it be the text alert at the drop of the first tone or the MMS recording. And I believe I read somewhere that it only sends SMS not MMS. Although if you were to create a group, including non-vzw subscribers (see #13), it will send them out. I imagine you would just send one email to trigger the EMAG service.

I am not the most IT rated guru, but I'm wondering if I don't have something setup correctly? I will attempt to reach out to the VZW person to see if she can help me get the FD IP recognized. See the FAQ below...and the $200 monthly fee for non-govt accounts.
 

Attachments

  • Capture1.jpg
    Capture1.jpg
    74.8 KB · Views: 384
  • Capture2.jpg
    Capture2.jpg
    64.9 KB · Views: 441
  • Capture3.jpg
    Capture3.jpg
    51.4 KB · Views: 358
  • Capture4.jpg
    Capture4.jpg
    41.9 KB · Views: 356

Dygear

Member
Joined
Nov 18, 2010
Messages
74
Location
Levittown, NY
Hi! Quick help for those looking for it. When it comes to Verizon don't use the BCC field and don't group all of the people into one message. Each person requires their own separate email. That fixed paging for me to all accounts.

I'm gonna have the scan this thread, but if anyone can point me in the right direction that would be helpful. I'm looking to just set the TTD program with RTL-SDR / HackRF. Anyone have a quick link on how to do that? I'm looking for something easy to reply in the field. I'm planning on using the CHIP (Not Raspberry Pi) and an RTL SDR. The whole setup should cost less than 100 to deploy can be used pretty much anywhere. The chip is interesting because it's $9 and you can plug a battery into it and it will just run.
 
Last edited:

tecker

Member
Premium Subscriber
Joined
Feb 26, 2013
Messages
130
Location
Deshler, NE
Hi! Quick help for those looking for it. When it comes to Verizon don't use the BCC field and don't group all of the people into one message. Each person requires their own separate email. That fixed paging for me to all accounts.

AH! I was just about to turn the BCC back on. Maybe I wont. Good to know.

I'm gonna have the scan this thread, but if anyone can point me in the right direction that would be helpful. I'm looking to just set the TTD program with RTL-SDR / HackRF. Anyone have a quick link on how to do that? I'm looking for something easy to reply in the field. I'm planning on using the CHIP (Not Raspberry Pi) and an RTL SDR. The whole setup should cost less than 100 to deploy can be used pretty much anywhere. The chip is interesting because it's $9 and you can plug a battery into it and it will just run.

Sure I can pitch a bit in here to get you started. On the Chip you are going to want to use RTL_FM or somthing equivalent for the HackRF. Honestly the RTL-SDR will do just fine since you are receiving this in only. RTL_FM software is much leaner on the processor so hopefully you will have enough left over for TTD. Next you will need a loopback audio device. The ubuntu thread may get you going but the cliffnotes version is JackAudio (sound - Virtual Audio Cable For Ubuntu - Ask Ubuntu). Setup a Jack audio input and output and then tune TTD to that. If all goes well you can put it in a nice shell script and have them start when the device starts. Watch your power though. RTL-SDRs take a bit of voltage and your internet connection (which I presume will be WiFi) will need some power. External USB powered might be the way to go here.
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,305
Hi! Quick help for those looking for it. When it comes to Verizon don't use the BCC field and don't group all of the people into one message. Each person requires their own separate email. That fixed paging for me to all accounts.

Are you sending from a Gmail account and having success with Verizon using this method, or a different email provider?

Andy
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,586
Location
Massachusetts
Hi! Quick help for those looking for it. When it comes to Verizon don't use the BCC field and don't group all of the people into one message. Each person requires their own separate email. That fixed paging for me to all accounts.

I'm gonna have the scan this thread, but if anyone can point me in the right direction that would be helpful. I'm looking to just set the TTD program with RTL-SDR / HackRF. Anyone have a quick link on how to do that? I'm looking for something easy to reply in the field. I'm planning on using the CHIP (Not Raspberry Pi) and an RTL SDR. The whole setup should cost less than 100 to deploy can be used pretty much anywhere. The chip is interesting because it's $9 and you can plug a battery into it and it will just run.

Keep us posted on how you do with this. I have never been successful running rtl_fm on my RPi. Also, the one attempt i made to run TTD on a CHIP was unsuccessful.

Wish you better luck.

Jim
 

Dygear

Member
Joined
Nov 18, 2010
Messages
74
Location
Levittown, NY
AH! I was just about to turn the BCC back on. Maybe I won't. Good to know.

Sure I can pitch a bit in here to get you started. On the Chip, you are going to want to use RTL_FM or something equivalent for the HackRF. Honestly, the RTL-SDR will do just fine since you are receiving this in only. RTL_FM software is much leaner on the processor so hopefully, you will have enough left over for TTD. Next, you will need a loopback audio device. The ubuntu thread may get you going but the cliff notes version is JackAudio (sound - Virtual Audio Cable For Ubuntu - Ask Ubuntu). Setup a Jack audio input and output and then tune TTD to that. If all goes well you can put it in a nice shell script and have them start when the device starts. Watch your power, though. RTL-SDRs take a bit of voltage and your internet connection (which I presume will be WiFi) will need some power. External USB powered might be the way to go here.

You, sir, are awesome. I will give that a shot.

Are you sending from a Gmail account and having success with Verizon using this method, or a different email provider?

Andy

I am sending from a Gmail account. I'm not using TTD to use this. I ran a company that does paging for 9-1-1 agencies called MimoCAD. My software stack is PHP based (7.x), but it is going from a Gmail account.

There are a couple of reasons that I'll be happy to share with you guys for this. The first off is Verizon and a few others providers, but mostly Verizon checks the incoming mail origin IP. If it's from a blacklisted IP then it will simply drop the email or delay it for several hours.

Most consumer level connections, anything that's not professionally hosted, or your ISP connection is not based on a business account will be blacklisted. This was due to the days in early 2000 when worms would go around the internet setup a mail server on a compromised windows computer and start sending spam to everyone it could. After a while, ISP started to see the IP pool get trained and reserved IP address space for business class customers so their mail servers wouldn't get blocked like their consumer IP address space did.

If you're having a long delay check that your IP address isn't getting blocked. You can do that here. MX Toolbox My consumer level ISP service meant that I was in a blocked IP space so I used Gmail instead. For the connection to email, I connect directly to their IMAP / POP3 server using an API called SWIFT Mailer It's PHP only, but I'm sure you can find something on the python side if you really need it. That allows me to connect to Gmail with my username and password and send email directly to my account. I setup one account using my Google Apps for a business account, one for each department that uses my product. It's $5/month per user, therefore per department. It's cool for them because they get a branded name on their SMS messages. One of the other things that I came across was that Verizon will ban your email address if you send them more than 500ish messages per day from one account. So try to keep that in mind. If you are doing more than that, you might want to switch over to Twilio, as I'm sure that would be worth it.

Keep us posted on how you do with this. I have never been successful running rtl_fm on my RPi. Also, the one attempt I made to run TTD on a CHIP was unsuccessful.

Wish you better luck.

Jim

Like I said, I'm doing this as a business so I'm going to be very interested in getting this working as it adds a whole other dimension to my company. The basic goal is to be able to send a cheap computer with an RTL dongle to each department that wants to use this server and stream back the audio that they are getting to my server. MP3 files would be saved on my server for them to retrieve and review. The nice thing about the chip is that it has a LiPo charging circuit on it and it can act as a UPS in the event of power failure. It's only got 4GB of memory, but I don't need that much as it's just going to SSH the audio back to my server anyway, and then the files are deleted right away. I'll let you all know how it works out.

I saw something recently that I thought was pretty cool as well. For RX the RTL makes the most amount of sense, but for TX the Raspberry Pi is actually capable of doing that by itself. Truning the Raspberry Pi into an FM Transmitter. It turns out the GPIO pins will work about 10cm away without anything attached and 100 METERS away with about 20cm of wire attached to the GPIO port. Make this a pretty interesting use case for repeating audio that it gets from over the internet. That's going to be a fun project. :)

I did uncheck BCC and so far Verizon users are receiving their E-mails. :)

Yeah, BCC and sending multiple Verizon account messages in a single email didn't work. I started getting rate limited very quickly when that happens. Sending them one at at time for some reason works fine. I think that it counts each message, each recipient against you multiple times. Could be a bug on their end, I don't really know. But that's the feeling I get.
 
Last edited:

iamhere300

Member
Joined
Jun 27, 2004
Messages
1,346
Location
Chappell Hill TX
I have been playing with some old computers to set up TTD, and I have run into a strange issue. It writes AMR files to the audio folder, but not MP3. The config file has email addresses in the proper area for MP3 messages. The debug shows that it states it is unable to write to the audio file in MP3 because no file found.

Ideas?

I found the issue. I had to go back in time, get a version of FFMPEG from 14 June 2016, run that, and the system works great. Very strange
 

webby52

Member
Premium Subscriber
Joined
Jun 26, 2004
Messages
43
Location
Hopewell, NJ
So I'm trying to get this EMAG to work and I had to install my own email server in order for Verizon to see my whitelisted static ip. When I send an email from the client it works fine, email and text. When I attempt to send an admin email from the tone config it gives me this error:

Traceback (most recent call last):
File "<string>", line 638, in mail
File "C:\Users\Andy\Google Drive\Python\build\pyi.win32\TonesEditor8b_debug\outPYZ1.pyz/smtplib", line 242, in __init__
error: [Errno 10061] No connection could be made because the target machine actively refused it


The new Verizon EMAG is really fast...any ideas?
 

Dygear

Member
Joined
Nov 18, 2010
Messages
74
Location
Levittown, NY
So I'm trying to get this EMAG to work and I had to install my own email server in order for Verizon to see my whitelisted static ip. When I send an email from the client it works fine, email and text. When I attempt to send an admin email from the tone config it gives me this error:

Traceback (most recent call last):
File "<string>", line 638, in mail
File "C:\Users\Andy\Google Drive\Python\build\pyi.win32\TonesEditor8b_debug\outPYZ1.pyz/smtplib", line 242, in __init__
error: [Errno 10061] No connection could be made because the target machine actively refused it


The new Verizon EMAG is really fast...any ideas?

You'd have to check down the stack to see the message. My first guess would be does the admin email have an account as an acceptable location for Verizon? I don't really know their controls as I don't have the money for the EMAG service. (That's just way to expensive.)

[EDIT]Come to think of it "the target machine actively refused it" is not a good sign at all. I don't even think it's getting to the passing credentials part of it. I think it's simply refusing the initial TCP connection outright. If that's the case you have some pretty big problems. Is there ANY difference between the locations of where the admin email is coming from location wise? Same machine, same ISP connection? I don't really know much about TTD at this point, so I don't know if posting your config file is a good idea, but it might give us some insights.

---

In other news I got the RTL dongles today and I've hooked it up to the Chip. So far everything is running very well. Can't complain one bit. I'm currently doing the rtl_power -f 400M:520M:12.5k -e 1h UHF.csv scan. I'm about half way done with that. I'll let you know the results. So far tho, the results look promising. It should be able to handle TTD without much issues, I think. It should be noted that I installed the headless version of the firmware. I'll give a command-by-command run down of what I did to get it up and running on that platform later on. But I will say, you're gonna need to compile stuff. I needed to compile all of the RTL tools on the chip it's self. It was the only way to be sure. I also installed the HackRF tools, but while the HackRF is attached to the chip the chip will brown out and fail when doing CPU / WiFi intense operations with just the HackRF attached not even doing anything. So far, I've not seen that as an issue with the RTL dongles from NooELEC.
 
Last edited:

Dygear

Member
Joined
Nov 18, 2010
Messages
74
Location
Levittown, NY
In other news I got the RTL dongles today and I've hooked it up to the Chip. So far everything is running very well. Can't complain one bit. I'm currently doing the rtl_power -f 400M:520M:12.5k -e 1h UHF.csv scan. I'm about half way done with that. I'll let you know the results. So far tho, the results look promising. It should be able to handle TTD without much issues, I think. It should be noted that I installed the headless version of the firmware. I'll give a command-by-command run down of what I did to get it up and running on that platform later on. But I will say, you're gonna need to compile stuff. I needed to compile all of the RTL tools on the chip it's self. It was the only way to be sure. I also installed the HackRF tools, but while the HackRF is attached to the chip the chip will brown out and fail when doing CPU / WiFi intense operations with just the HackRF attached not even doing anything. So far, I've not seen that as an issue with the RTL dongles from NooELEC.

Ok, so let's go over the parts.
  1. C.H.I.P. (SoC) - US$9.00
  2. USB Wall Charger (Includes USB Cable - 2A) - US$7.00
  3. NooElec NESDR Nano 2+ - US$25.95
Total: US$41.95 (With Shipping Let's Say $50.00).

I also happened to have the HDMI DIP for the C.H.I.P. but you don't need to do that. My girlfriend got me the C.H.I.P. game system as a toy to play with and I said to myself, I bet I can get an SDR running on that platform and deploy it to departments around my area. The kit is $29.00 and it includes a USB Controller that I pretty much threw under my bed to forget about it. The HDMI dip is cool tho.

From there I installed the latest version of the firmware from Their flashing website, that REQUIRES chrome as the flasher is a chrome plugin. For this you will need a Jumper cables - US$3.95 or you can just use a bent out paper clip from the FEL to GRD with no DIP on top of your C.H.I.P. For my install I went with the headless version of the firmware and waited for it to flash over.

After it flashed, I removed the jumper cable (or paper clip as the case might be for you.) disconnected the power and plugged it back in. This is where it get's tricky. You're going to need the HDMI dip and a USB keyboard OR you're going to need a MAC or Linux computer handy to plug the chip into to get a TTY session running. This part is kinda complicated so I'm going to punt this section and give it to the chip forums. Go read this on how to setup the C.H.I.P. as a headless server, the Where there's a shell there's a way section is the part you want to read on how to setup the WiFi so you can SSH into it. This section didn't work too well for me, but if you follow the ouput that he posted you can get around. It seems that for me at least my locals were not setup correctly and the curses network manager program was garabled. But if you follow his out put you can still get around. Go setup the WiFi by following his guide. Come back when you get to the Installing software section. I'll be here waiting for you when you get back.

See that didn't take too long right? Right!?
(If it did take too long, sorry. Wasn't my guide. See that's why I punted it.)
(If it didn't take too long, hey, told ya so, you should really trust me more.)

After you setup the WiFi reboot the system, I let it boot up and waited. You'll know it's ready when the white LED starts blinking at you about once every second. You can now SSH into the chip. It's host name should be chip it might be chip.local on your network depending on your network config. The default user name and password for the system is chip & chip or you can login as root with the same password. So please disable that account and lock the account with passwd -l root. sudo and su is all you really need. Also please change the chip user account password to something else with passwd. For extra points upload your SSH key to the C.H.I.P. and never type a password again with Silky Smooth Hopping! If you follow the Silky Smooth Hopping thing, you can just disable password logins all together!

Please sudo apt update and sudo apt upgrade (and sudo apt install htop) at this point. It's pretty important. Now we get to the actual installing of software part of this process. This is where it gets to be really fun. Because we have to build rtl_sdr from source. But we also need to install a bunch of things to be able to build it from source. Run this commend to get all of the build dependency.

Code:
sudo apt install git build-essential libusb-1.0-0-dev cmake pkg-config

After that run these commands (from your home dir, so the first command will bring you to your home folder.) in order. You can in fact just copy and past the following code block into your terminal and it will do all of the commands correctly for you.

Code:
cd ~
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr/
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo ldconfig
sudo make install-udev-rules

After you've gotten to this point, plugin your RTL-SDR you want to run rtl_test and make sure that one rtl_sdr is compiled and working, and that your system can see your dongle. This should work without an issue now. The NooELEC SDR that I linked up above is rated to run for 24/7 operations. Perfect for us as we intend on using this in a mission critical application. So currently I'm running a stress test on it. I'm using the rtl_power command to have it produce a CSV file for the entire UHF spectrum (that radios would use.) I'm currently having it do that for 24 hours to make sure the hardware can keep up. I'm thinking that if it can constantly switch frequency and that's a lot more work than it would have to do when just listening to the same spectrum over and over again. It's also putting some pressure on the C.H.I.P as it's having to deal with constant writes now. A one hour CSV file produced a 32MB file. So it's going to be interesting to see what a 24 hour file will be like. It should be noted that the chip fails (system crash, due to brown out / power failure) when a HackRF is connected (no Tx/Rx, just connected) to it and you try to run the git clone https://github.com/mossmann/hackrf.git and it's 100% reproducible on my C.H.I.P. No such issue with the RTL-SDR attached as of yet.

I also want to note that I'm running this command in one SSH window, and in another SSH window I have HTOP running. That's showing 12.9% CPU utilization with load averages of 0.08 0.08 0.08. The other SSH window is running rtl_power -f 400M:520M:12.5k -e 24h UHF.csv. That will stop after 24 hours. Once that is done, I'll move forward and start the process of installing TTD with a piped audio output. Although a little birdy told me I might not need to pretty soon.

Just like the Star Trek: The Next Generation Episode, The Best of Both Worlds (Season 3, Episode 26 & Season 4, Episode 1) this is To be continued . . .
 

Dygear

Member
Joined
Nov 18, 2010
Messages
74
Location
Levittown, NY
Sooooooo .... That answers that question .... After about 2 hours of running the rtl_power test with the C.H.I.P. the system failed ... It crashes ... HARD. Like the LEDs turn off and everything. Had to unplug and plug back in to get it up and running again. This was the ouput from the board on the rtl_power side. I could not get the htop output my terminal disconnected and wouldn't let me copy the text and there is no way I'm typing ~4000 chars. So here's the screen shot.

Code:
chip@chip:~$ rtl_power -f 400M:520M:12.5k -e 24h UHF.csv
Number of frequency hops: 43
Dongle bandwidth: 2790697Hz
Downsampling by: 1x
Cropping by: 0.00%
Total FFT bins: 11008
Logged FFT bins: 11008
FFT bin size: 10901.16Hz
Buffer size: 16384 bytes (2.94ms)
Reporting every 10 seconds
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to automatic.
Exact sample rate is: 2790697.241165 Hz
[R82XX] PLL not locked!
rtlsdr_demod_write_reg failed with -7
r82xx_write: i2c wr failed=-7 reg=16 len=1
r82xx_set_freq: failed=-7
rtlsdr_demod_write_reg failed with -7
r82xx_read: i2c rd failed=-7 reg=00 len=5
r82xx_set_freq: failed=-7
r82xx_write: i2c wr failed=-7 reg=08 len=1
r82xx_set_freq: failed=-7
r82xx_write: i2c wr failed=-7 reg=15 len=1
r82xx_set_freq: failed=-7
r82xx_write: i2c wr failed=-7 reg=17 len=1
r82xx_set_freq: failed=-7

htop.png


I'm finding it really hard to recommend this device. It's just to unstable for this use case. I guess I'll use the Raspberry Pi 3.

[EDIT]

Double confirm. After about an hour I think this time ... With this command ... Don't use a C.H.I.P. It can't handle SDR.

Code:
chip@chip:~$ rtl_power -f 136M:174M:4k -e 24h VHF.csv
Number of frequency hops: 14
Dongle bandwidth: 2714285Hz
Downsampling by: 1x
Cropping by: 0.00%
Total FFT bins: 14336
Logged FFT bins: 14336
FFT bin size: 2650.67Hz
Buffer size: 16384 bytes (3.02ms)
Reporting every 10 seconds
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to automatic.
Exact sample rate is: 2714285.041470 Hz
[R82XX] PLL not locked!
r82xx_write: i2c wr failed=-7 reg=1a len=1
r82xx_set_freq: failed=-7

Was not running htop this time. I figured that it would get though that without much issue. But it didn't.
 
Last edited:

brian

DB Administrator
Database Admin
Joined
Dec 10, 2000
Messages
2,118
Location
South Carolina
I apologize if this question has been asked and answered already, but I couldn't find the answer when searching through this thread.

I'm running v68 with Extend Recording for Stacked Tones enabled. This works great for actual stacked tone dispatches. However, it's not uncommon in my area for a page to occur followed by a voice dispatch, and then this is followed immediately by another page and voice dispatch. This is common when an EMS unit is dispatched to a call, and then another EMS unit is dispatched from another location for standby service.

In these situations, I miss the first voice dispatch recording, It appears that the length of time between the first set of tones and second set of tones is short enough to trigger the "stacked page" algorithm, even with a voice dispatch in between, and so I hear the second voice dispatch recording twice, for each EMS unit that is dispatched.

Is it possible to shorten the length of time for detecting a stacked page scenario so i don't miss the first voice dispatch recording? Typically in a stacked page scenario, it's about 1 second between tone sets.

Thanks
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,305
I apologize if this question has been asked and answered already, but I couldn't find the answer when searching through this thread.

I'm running v68 with Extend Recording for Stacked Tones enabled. This works great for actual stacked tone dispatches. However, it's not uncommon in my area for a page to occur followed by a voice dispatch, and then this is followed immediately by another page and voice dispatch. This is common when an EMS unit is dispatched to a call, and then another EMS unit is dispatched from another location for standby service.

In these situations, I miss the first voice dispatch recording, It appears that the length of time between the first set of tones and second set of tones is short enough to trigger the "stacked page" algorithm, even with a voice dispatch in between, and so I hear the second voice dispatch recording twice, for each EMS unit that is dispatched.

Is it possible to shorten the length of time for detecting a stacked page scenario so i don't miss the first voice dispatch recording? Typically in a stacked page scenario, it's about 1 second between tone sets.

Thanks

That's a tricky one. What you'll want to try to accomplish is to get the recording from the first page stopped before the second tone triggers. If the second tone triggers while the first one is still recording, it will wipe the audio prior to the second tone from the first recording. So to do this, you'll want the Record Time set fairly short (slightly longer than the longest time it takes them to start talking after the page is sent...maybe 10 seconds?), and also set the Record Release Time pretty short - maybe 1.5 seconds or 2 seconds instead of the default 3 seconds.

If you can't get a good combination of those settings working, let me know and I'll think about how to implement some additional timing logic in the stacked recording feature to address this.

Andy
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,305
So I'm trying to get this EMAG to work and I had to install my own email server in order for Verizon to see my whitelisted static ip. When I send an email from the client it works fine, email and text. When I attempt to send an admin email from the tone config it gives me this error:

Traceback (most recent call last):
File "<string>", line 638, in mail
File "C:\Users\Andy\Google Drive\Python\build\pyi.win32\TonesEditor8b_debug\outPYZ1.pyz/smtplib", line 242, in __init__
error: [Errno 10061] No connection could be made because the target machine actively refused it


The new Verizon EMAG is really fast...any ideas?

In v68 some unintended differences snuck into the email code between TTD and the TonesEditor, and it sounds like that may be the issue. I'll be fixing this in the next release. Does EMAG use Port 25 for sending? If so, it's a bug that'll be fixed in v69.

Andy
 
Top