• Effective immediately we will be deleting, without notice, any negative threads or posts that deal with the use of encryption and streaming of scanner audio.

    We've noticed a huge increase in rants and negative posts that revolve around agencies going to encryption due to the broadcasting of scanner audio on the internet. It's now worn out and continues to be the same recycled rants. These rants hijack the threads and derail the conversation. They no longer have a place anywhere on this forum other than in the designated threads in the Rants forum in the Tavern.

    If you violate these guidelines your post will be deleted without notice and an infraction will be issued. We are not against discussion of this issue. You just need to do it in the right place. For example:
    https://forums.radioreference.com/rants/224104-official-thread-live-audio-feeds-scanners-wait-encryption.html

TwoToneDetect New TwoToneDetect in the works - Python based

Joined
May 15, 2019
Messages
7
We've been using two-tone detect for a number of years without any issue. We were using our own email domain and account to send the MMS messages as well as emails.

A few months ago all cell phone users across all carriers stopped receiving the MMS messages. Email users were still receiving them. I assumed this was some type of "spam" blocking feature by the carriers and setup a iCloud account with an app password from iCloud for the config file. MMS users were once again able to receive the messages for about 2 days as well as email users.

After the initial 2 days no messages are being are received MMS or email. I logged into to iCloud account and it seems to be working fine. I am able to send test MMS messages and emails from the iCloud account no problem.

Screen Shot 2019-05-15 at 4.30.04 PM.png

Two-Tone Detect shows its receiving the page, but it appears that its never sent. I know the computer is online be because I am able to remote into it. This computer is dedicated to two-tone detect and only runs two-tone detect and teamviewer.

Note: I've tried v70 with the same results.

I'm lost as to what to do.......
 

DC31

Member
Premium Subscriber
Joined
Feb 19, 2011
Messages
1,068
Location
Massachusetts
In your TTD directory there should be a logfiles subdirectory. Find the logfile that has the above SSFR tone decode. Based on the above screenshot, I would expect there to be some error messages since it never sent out the emails. Post that information here.
 
Joined
May 15, 2019
Messages
7
In your TTD directory there should be a logfiles subdirectory. Find the logfile that has the above SSFR tone decode. Based on the above screenshot, I would expect there to be some error messages since it never sent out the emails. Post that information here.
I couldn't figure out how to post them here, so I have uploaded log files to: Index of /logs

The last 2 calls show as sent (in the attached) and they only arrived to email addresses but not MMS addresses. We have probably 20 MMS addresses in our file.
 

Attachments

DC31

Member
Premium Subscriber
Joined
Feb 19, 2011
Messages
1,068
Location
Massachusetts
That helps a lot. It appears that you have a couple issues:

1. Ffmpeg not found. You need to install ffmpeg or move the one you have to the TTD directory. A common problem. See Andy’s website fo4 details. Www.twotonedetect.net

2. It looks like you have noise in your audio feed. In the log file, see all the 537.0 entries? That is noise. After TTD decodes a tone set, it records until it hears silence, then processes the recording. Yours is not hearing silence so records out to the limit of 90 sec. This creates a huge file that the mms gateways are rejecting, thus no texts to phones. Either eliminate the noise or set your audio threshold higher. It looks like you have plenty of room to set the threshold higher. The only time you should see a frequency number displayed is when there is an active radio transmission.

Try correcting these two items and see if it helps.

Jim
 
Joined
May 15, 2019
Messages
7
Thank you Jim! I can't tell you how much I appreciate your help. After a couple of years of this working with no problem, I've been banging my head on the wall the last few months. I've made some adjustments this morning will see how it goes today.

Do you think the background audio could be coming from a bad cable? This is a dedicated VHF base station (Kenwood TK7360) its in "pager mode" so it only opens when we have a call for 60 seconds. So, when we get a call dispatch sets off the tones twice, once opens the radio, second one starts the recording. So when its just generally sitting there and a call is not in progress it should not be getting sound, thats why i was thinking maybe a bad cable linking the radio to the computer?



Thank you so much
 
Last edited:

DC31

Member
Premium Subscriber
Joined
Feb 19, 2011
Messages
1,068
Location
Massachusetts
Bad audio can come from a multitude of sources. How does your audio sound in one of the attachments to an email? If it sounds good or good enough, just set your threshold up.

Try the simple things first, like unplugging and replugging the cable connections and wiggle them some. Make sure jacks are well seated.
 

DC31

Member
Premium Subscriber
Joined
Feb 19, 2011
Messages
1,068
Location
Massachusetts
Update: Still no MMS messages.

Email is working fine. Files are now in MP3 format to ffmpeg. file size is 120kb. recording is 30 seconds long. 20 seconds of talk 10 seconds of dead air.
It looks like you are making progress. The program looks like it is working properly now. The only thing that I see now is possible mistakes in your tones.cfg file. At the very bottom of the log file it says mp3 emails sent... this should be a list of entries separated by commas. Right after the first entry it says “Separate with commas”. It is looking for an email address and that isn’t one. You also have at least one other entry @att.net which is incorrect.

Take a close look at your tones.cfg file to see if you can find where the “Separated with commas” is coming from
 
Joined
May 15, 2019
Messages
7
It looks like you are making progress. The program looks like it is working properly now. The only thing that I see now is possible mistakes in your tones.cfg file. At the very bottom of the log file it says mp3 emails sent... this should be a list of entries separated by commas. Right after the first entry it says “Separate with commas”. It is looking for an email address and that isn’t one. You also have at least one other entry @att.net which is incorrect.

Take a close look at your tones.cfg file to see if you can find where the “Separated with commas” is coming from

So today out of the blue 1 (out of many) cam through to the phones at 09:31:28 -- none before, none after, I haven't changed anything since Saturday. I still can't explain it.
 

Attachments

DC31

Member
Premium Subscriber
Joined
Feb 19, 2011
Messages
1,068
Location
Massachusetts
Try sending them as .amr attachments rather than .mp3. You may be bumping up against a file size limit. The amr are considerably smaller. Just open your tones.cfg with a text editor and change mp3_emails to amr_emails

I would also adjust your atone length and btone length in your tones.cfg. Set both to 0.6. With the btone length set to 3 the program will look for 15 consecutive samples of that tone. Miss just one sample and you miss the decode.
 
Last edited:
Joined
May 15, 2019
Messages
7
Try sending them as .amr attachments rather than .mp3. You may be bumping up against a file size limit. The amr are considerably smaller. Just open your tones.cfg with a text editor and change mp3_emails to amr_emails

I would also adjust your atone length and btone length in your tones.cfg. Set both to 0.6. With the btone length set to 3 the program will look for 15 consecutive samples of that tone. Miss just one sample and you miss the decode.
Thank you, again!

I changed to AMR and changes the tone length as suggested, although it wasn't missing pages/decodes. The email addresses that were in the tones.cfg file ALWAYS got the messages, just the phones don't get them - other than the random one this morning.

again, thanks, I'll report back once we've had a couple calls to see if these changes make any difference.
 

DC31

Member
Premium Subscriber
Joined
Feb 19, 2011
Messages
1,068
Location
Massachusetts
Thank you, again!

I changed to AMR and changes the tone length as suggested, although it wasn't missing pages/decodes. The email addresses that were in the tones.cfg file ALWAYS got the messages, just the phones don't get them - other than the random one this morning.

again, thanks, I'll report back once we've had a couple calls to see if these changes make any difference.

Remember, you need to restart TTD for those changes to get loaded.
 
Joined
May 15, 2019
Messages
7
Remember, you need to restart TTD for those changes to get loaded.
I made the changes and did the restart. Same problem. All email based address get the file, none of the MMS addresses get the text.

I decided to do some testing to try and figure out why the MMS messages weren't getting to the phones but the email addresses were getting the pages, heres what I've found manually sending emails to my cell_phone_number@vzwpix.com

from: @gmail.com: both plain text message & message with mp3 attached are delivered to my phone can play mp3

from: @icloud.com: plan text message is delivered BUT message with EXACT same mp3 file attached as above the attachement is removed

from: @private_domain_gsuite_hosted_email_.gov_domain: NEITHER message is delivered

from: @private_domain_dream_host_email: both plain text message & message with mp3 attached are delivered to my phone can play mp3

from: @att.net: both plain text message & message with mp3 attached are delivered to my phone can play mp3

from: @outlook.com: both plain text message & message with mp3 attached are delivered to my phone can play mp3

@private_domain_gsuite_hosted_email_.us_domain: both plain text message & message with mp3 attached are delivered to my phone can play mp3

So I've adjusted my settings to send emails using a private domain with email hosting by dreamhost, I've closed TT and restarted. After a few calls I'll report back.
 
Top