Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
The modem that answers the phone decides what it will answer with, and once the two modems connect, you will get back a "CONNECT somethingsomethingsomething" string.

The exact value of the "something..." depends on the brand (BIOS) of your modem, as well as on what it has connected with.

NNNN
Where NNNN is a number is a baud speed means the other side has a modem and a data connection has been established.
FAXCLASS=...
The handshake has been established with a device ready to receive faxes.
VOICE
Something resembling a human voice has answered the phone. Some modems do not offer this, but return "No Carrier" instead. Other modems may even have the option of digitizing and "recording" the voice.
Note that a good enough modem can establish any of those connections. There are programs out there which can use voice-enabled fax modems for the ultimate in flexible voice-mail.

The handshake goes something like this:

  1. Play "leave a message after the beep" recording
  2. Play "fax tones" as the beep (that's the clever part)
  3. If the other side responds with fax tones, establish a fax connection
  4. If the other side responds with voice, record the voice message
  5. If the other side is silent for more than X seconds, play "modem tones" and if possible, establish data connection.
Determining exactly what is on the other side is therefore not going to be very reliable.

In reply to Re: Help With Custom War Dialer by matija
in thread Help With Custom War Dialer by Dru

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others cooling their heels in the Monastery: (5)
    As of 2014-11-28 01:38 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My preferred Perl binaries come from:














      Results (191 votes), past polls