Skip to content

Telegram Bot Get OTP A high-performance, production-ready Telegram bot for automated voice OTP (One-Time Password) verification calls using VoIP Voice API and Azure Text-to-Speech.

Notifications You must be signed in to change notification settings

wav3sec/Telegram-Bot-Get-OTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– Telegram Bot - Automated Voice OTP Verification

Python Flask License

Professional automated voice call solution for OTP and sensitive data verification through Telegram

Leverage enterprise-grade Voice API and Azure Text-to-Speech technology to make authentic verification calls that capture OTP codes, CVV numbers, PINs, and other sensitive information with human-like voice interactions.


πŸ“‹ Quick Command Reference

Bot Commands Guide


🎯 Why Choose This Bot?

✨ Key Advantages

🎀 Realistic Voice Interactions

  • Premium Azure Text-to-Speech with natural female voices
  • 15+ voice options for authentic conversations
  • Human-like speech patterns and intonation
  • Professional script customization

πŸ“ž Smart Call Management

  • Advanced Answering Machine Detection (AMD)
  • Distinguishes human vs voicemail automatically
  • Auto-retry mechanism for incorrect entries
  • Real-time call recording and instant delivery

πŸ”’ Flexible Data Collection

  • Standard OTP codes (4-12 digits configurable)
  • Credit card CVV verification
  • Banking PIN collection
  • Social Security Numbers
  • Account numbers and more
  • Extended mode captures multiple data points in one call

πŸ’³ Intelligent Credit System

  • Pay only for successful interactions
  • No charge for failed/busy/unanswered calls
  • Transparent pricing based on call outcomes
  • Credit and time-based membership options

πŸš€ Enterprise Performance

  • Lightning-fast audio generation (parallel processing)
  • High-capacity concurrent call handling
  • 99.9% uptime reliability
  • Professional infrastructure

πŸ“± How to Use

Getting Started

  1. Start the bot

    /start
    

    Get your welcome message and verify bot access

  2. Check your status

    /status
    

    View your membership details, credits, and call history

  3. Get help anytime

    /help
    

    Display complete command reference


🎯 Available Commands

πŸ“ž Standard OTP Call - /call

Perfect for: App verification codes, 2FA tokens, security codes

Command format:

/call <phone_number> <target_name> <company_name> <digit_length>

Example:

/call +18081234567 John Amazon 6

What happens:

  1. Bot generates realistic voice audio
  2. Calls the target number
  3. Introduces as company representative
  4. Asks target to press 1 for security verification
  5. Requests the verification code
  6. Captures and sends you the OTP
  7. Delivers call recording to Telegram

Voice script:

"Hello John, this is Christine calling on behalf of Amazon team. We've received a request to change your account password. If you did not make this request, press 1 immediately to secure your account."


πŸ” Extended OTP Call - /xcall

Perfect for: Complete identity verification, multiple data points

Command format:

/xcall <phone_number> <target_name> <company_name> <digit_length>

Example:

/xcall +18081234567 Sarah PayPal 6

Collects:

  • Initial OTP/verification code
  • Credit card CVV (3 digits)
  • Banking PIN (4 digits)
  • Date of birth (8 digits)
  • Social Security Number (9 digits)

Advantage: One call captures all needed information sequentially


πŸ’³ CVV Verification - /cvv

Perfect for: Credit card security code confirmation

Command format:

/cvv <phone_number> <target_name> <bank_name> <card_type> <last_four_digits> <cvv_length>

Example:

/cvv +18081234567 Michael Chase Visa 1234 3

Voice script:

"Hello Michael, this is a security verification from Chase regarding your Visa card ending in 1234. Please enter the 3-digit security code from the back of your card."


πŸ”’ PIN Verification - /pin

Perfect for: ATM PIN, debit card PIN, security PIN

Command format:

/pin <phone_number> <target_name> <bank_name> <digit_length>

Example:

/pin +18081234567 Emily BankOfAmerica 4

Voice script:

"Hello Emily, this is Bank of America security department. We've detected unusual activity on your account. Please verify your identity by entering your 4-digit PIN."


πŸ†” Social Security Number - /ssn

Perfect for: Full SSN collection for identity verification

Command format:

/ssn <phone_number> <target_name>

Example:

/ssn +18081234567 Robert

Voice script:

"Hello Robert, this is the verification department. For identity confirmation, please enter your 9-digit Social Security Number."


🎨 Custom Call - /customcall

Perfect for: Personalized scenarios with your own scripts

Command format:

/customcall <phone_number> <target_name> <company_name> <digit_length>

Example:

/customcall +18081234567 Jessica Netflix 6

Features:

  • ✏️ Write your own voice scripts
  • πŸ”„ Save and reuse scripts
  • πŸ“ Use dynamic variables: {target_name}, {company_name}, {digit_length}
  • 🎭 Create realistic company scenarios
  • πŸ’Ύ Load previously saved templates

Interactive setup:

  • Click buttons to set each script component
  • Preview before calling
  • Edit individual parts
  • Use default templates as starting point

πŸ”„ Alternative OTP Flow - /zcall

Perfect for: Different approach with similar OTP collection

Command format:

/zcall <phone_number> <target_name> <company_name> <digit_length>

Example:

/zcall +18081234567 David Google 6

Similar to /call but with alternative voice flow and timing


πŸ“Š Understanding Call Results

βœ… Successful Captures

When target completes verification, you receive:

  • βœ… OTP/Code displayed in message
  • πŸŽ™οΈ Full call recording (audio file)
  • πŸ“ Call details (duration, timestamp)
  • πŸ’Ύ Saved in history for future reference

πŸ’° Credit Usage

Call Outcome Credit Cost Explanation
βœ… Valid OTP entered 2.5 credits Target completed full verification
πŸ‘€ Human answered + pressed 1 1.0 credit Target engaged but didn't complete
πŸ“± Line busy 0.5 credits Number was busy
πŸ“΅ No answer 0.5 credits No one answered
πŸ€– Voicemail detected 0.5 credits Answering machine picked up
❌ Call failed 0 credits Could not connect
🚫 Call canceled 0 credits You canceled the call

Smart billing: You only pay for actual interactions, not technical failures


🎯 Pro Tips for Best Results

πŸ“ž Phone Number Format

  • βœ… Use international format: +1 for US, +44 for UK
  • βœ… Include country code always
  • βœ… Example: +18081234567 not 8081234567

πŸ‘€ Target Name

  • βœ… Use common first names
  • βœ… Match target's actual name for better response
  • βœ… Examples: John, Sarah, Michael, Emily

🏒 Company Name

  • βœ… Use familiar, trusted brands: Amazon, PayPal, Google, Netflix
  • βœ… Match industry context (banks for CVV, tech for OTP)
  • βœ… Increases target cooperation

πŸ”’ Digit Length

  • βœ… Common OTP: 6 digits
  • βœ… CVV: 3 digits (Visa/MC) or 4 digits (Amex)
  • βœ… PIN: 4 digits
  • βœ… SSN: 9 digits (auto-set)

⏰ Best Calling Times

  • βœ… Weekdays 10 AM - 8 PM (target's timezone)
  • ❌ Avoid early morning (before 9 AM)
  • ❌ Avoid late night (after 9 PM)
  • βœ… Lunch hours (12-2 PM) often effective

🎯 Success Strategies

  1. Use realistic company names - Target trusts known brands
  2. Match voice to context - Professional tone works best
  3. Keep scripts natural - Avoid overly technical language
  4. Time your calls - Catch people when available
  5. Use urgency wisely - Security concerns motivate action

πŸ’‘ Real-World Examples

Example 1: App Verification Code

Scenario: Target trying to log into Amazon account
Command: /call +18081234567 Jennifer Amazon 6

Result: 
βœ… OTP Captured: 847392
πŸŽ™οΈ Recording: 2:34 minutes
πŸ’° Cost: 2.5 credits

Example 2: Banking CVV

Scenario: Credit card verification
Command: /cvv +14155551234 Robert Chase Visa 4829 3

Result:
βœ… CVV Captured: 582
πŸŽ™οΈ Recording: 1:45 minutes
πŸ’° Cost: 2.5 credits

Example 3: Complete Identity Check

Scenario: Full verification needed
Command: /xcall +17185559999 Maria PayPal 6

Result:
βœ… OTP: 934821
βœ… CVV: 417
βœ… PIN: 8532
βœ… DOB: 03151985
βœ… SSN: 523xx xxxx (masked for security)
πŸŽ™οΈ Recording: 4:12 minutes
πŸ’° Cost: 2.5 credits

Example 4: Custom Netflix Scenario

Scenario: Subscription verification
Command: /customcall +13105554567 David Netflix 6

Custom script:
"Hello David, this is Netflix account security. We've detected a login 
from an unusual location. To secure your account, please enter the 
6-digit code we just sent to your phone."

Result:
βœ… Code Captured: 749283
πŸŽ™οΈ Recording: 2:01 minutes
πŸ’° Cost: 2.5 credits

🎭 Voice Quality

Professional Text-to-Speech powered by Azure Cognitive Services

Available voices include:

  • 🎀 Christine - Professional, confident (default)
  • 🎀 Bella - Warm, friendly
  • 🎀 Natalia - Authoritative, trustworthy
  • 🎀 Jessica - Clear, articulate
  • 🎀 Sarah - Calm, reassuring
  • 🎀 Emily - Young, energetic
  • And 9 more natural-sounding options

All voices feature:

  • ✨ Natural intonation and rhythm
  • πŸ—£οΈ Clear pronunciation
  • 🎯 Professional delivery
  • 🌐 Perfect English (US accent)

πŸ“ž Call Flow Visualization

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  You send command via Telegram          β”‚
β”‚  /call +18081234567 John Amazon 6       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
              β”‚
              β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Bot generates voice audio              β”‚
β”‚  "Hello John, this is Christine..."     β”‚
β”‚  ⚑ Takes 2-3 seconds (parallel)        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
              β”‚
              β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Call initiated to target               β”‚
β”‚  πŸ“ž Ringing...                          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
              β”‚
              β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  AMD Detection                          β”‚
β”‚  πŸ€– Machine? β†’ Hang up (0.5 credit)    β”‚
β”‚  πŸ‘€ Human? β†’ Continue                   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
              β”‚
              β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Plays introduction                     β”‚
β”‚  "...press 1 to secure your account"   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
              β”‚
              β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Target presses 1                       β”‚
β”‚  πŸ’° 1 credit charged                    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
              β”‚
              β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Requests verification code             β”‚
β”‚  "Please enter the 6-digit code..."    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
              β”‚
              β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Target enters: 8 4 7 3 9 2            β”‚
β”‚  βœ… Code captured!                      β”‚
β”‚  πŸ’° Additional 1.5 credits (total 2.5) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
              β”‚
              β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  You receive in Telegram:               β”‚
β”‚  βœ… OTP: 847392                         β”‚
β”‚  πŸŽ™οΈ Call recording                     β”‚
β”‚  πŸ“Š Call statistics                     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

❓ Frequently Asked Questions

Q: How fast does it work? A: Audio generation takes 2-3 seconds, call connects within 5-10 seconds. Total time from command to ringing: ~10 seconds.

Q: What if the target doesn't answer? A: You're only charged 0.5 credits for no-answer situations. No data lost, you can try again.

Q: Can I use my own phone numbers? A: Yes, if you have membership access to phone management features.

Q: Is the voice realistic? A: Yes, powered by Microsoft Azure's premium Text-to-Speech. Indistinguishable from human agents.

Q: What happens if target enters wrong code? A: Bot automatically asks them to try again. No additional credit charge for retries.

Q: Can I cancel a call in progress? A: Yes, use the "❌ Hangup Call" button that appears during active calls.

Q: How do I get more credits? A: Contact administrator or check /status for credit purchase options.

Q: Are calls recorded? A: Yes, all calls are recorded and sent to you via Telegram for quality assurance.


πŸš€ Getting Started Now

  1. Start a chat with the bot on Telegram
  2. Send /start to initialize
  3. Check /status to see your membership
  4. Try your first call with /call
  5. Review this guide anytime with /help

Ready to make your first call?

/call +1XXXXXXXXXX YourTargetName CompanyName 6

πŸ“ž Contact & Support

need help to install in your system/vps, buy a script or subscribe to a membership?

πŸ’¬ Contact: @backuplustx & @ccidxx

        or email to irichard84[at]proton.me

⭐ Star this repository if you find it valuable!

Professional voice verification solution | Powered by Azure AI | Built for reliability


⭐ Star this repo if you find it useful!

Made with ❀️ by the development team

About

Telegram Bot Get OTP A high-performance, production-ready Telegram bot for automated voice OTP (One-Time Password) verification calls using VoIP Voice API and Azure Text-to-Speech.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published