DIAL-class command failed - Protocols

This is a discussion on DIAL-class command failed - Protocols ; hi computer 'A' and computer 'B' are connected to a GSM modem each. Both are linux machines(Redhat 9) and are using ckermit. Well i want to connect these computers so that i can transfer a file from computer 'A' to ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: DIAL-class command failed

  1. DIAL-class command failed

    hi

    computer 'A' and computer 'B' are connected to a GSM modem each.
    Both are linux machines(Redhat 9) and are using ckermit.
    Well i want to connect these computers so that i can transfer a file
    from computer 'A'
    to computer 'B'.

    to do this i kept computer 'B' in answer mode (using kermit) and then
    computer 'A' dials(using kermit) to that computer.

    Well it should work this way and get connected , so that i can transfer
    the file.

    But it doesn't work and ...the answering machine throws out an
    error(following)



    (/root/) C-Kermit>answer
    Waiting for phone call...
    Device: /dev/ttyS0, modem: generic, speed: 9600
    Answer timeout: (none)
    To cancel: type your interrupt character (normally Ctrl-C).
    +++
    ATQ0H0
    +ATQ0H0
    OK
    Modem hangup OK
    Initializing: 14:52:55...
    ATQ0V1
    ATQ0V1
    OK
    ATS0=1
    OK


    RING


    +CLIP: "+919821328531",145


    OK
    ANSWER Failure: 14:53:24: "OK"


    *************************
    DIAL-class command failed.
    Modem type: generic
    Device: /dev/ttyS0
    Speed: 9600
    Dial status: 20 [Modem command error]
    . Please choose a specific modem type with SET MODEM TYPE and try
    again.
    SET MODEM TYPE ? to see the list of known modem types.
    . SET MODEM HANGUP-METHOD RS232 and try again.
    . If that doesn't work, try again with SET DIAL HANGUP OFF.
    . SHOW COMMUNICATIONS, SHOW MODEM, SHOW DIAL to see current settings.
    . HELP SET MODEM, HELP SET DIAL, and HELP DIAL for more information.
    (Use SET HINTS OFF to suppress future hints.)
    *************************



    THE END


  2. Re: DIAL-class command failed

    On 2005-03-30, vikrant.shahir@gmail.com wrote:
    : computer 'A' and computer 'B' are connected to a GSM modem each.
    : Both are linux machines(Redhat 9) and are using ckermit.
    : Well i want to connect these computers so that i can transfer a file
    : from computer 'A'
    : to computer 'B'.
    :
    : to do this i kept computer 'B' in answer mode (using kermit) and then
    : computer 'A' dials(using kermit) to that computer.
    :
    : Well it should work this way and get connected , so that i can transfer
    : the file.
    :
    : But it doesn't work and ...the answering machine throws out an
    : error(following)
    :
    : (/root/) C-Kermit>answer
    : Waiting for phone call...
    : Device: /dev/ttyS0, modem: generic, speed: 9600
    : Answer timeout: (none)
    : To cancel: type your interrupt character (normally Ctrl-C).
    : +++
    : ATQ0H0
    : +ATQ0H0
    : OK
    : Modem hangup OK
    : Initializing: 14:52:55...
    : ATQ0V1
    : ATQ0V1
    : OK
    : ATS0=1
    : OK
    : RING
    : +CLIP: "+919821328531",145
    : OK
    : ANSWER Failure: 14:53:24: "OK"
    :
    If the modems make a data connection, the message from the modem
    is supposed to be CONNECT, not OK. Check your modem manual. You can either
    adjust your modem to emit the message that Kermit expects, or you can adjust
    Kermit to wait for the message that the modem emits. Or you can skip the
    DIAL and/or ANSWER command altogether and write your own "chat" script to
    control the modem.

    - Frank

  3. Re: DIAL-class command failed

    In article <1112180328.744431.319190@o13g2000cwo.googlegroups. com>,
    vikrant.shahir@gmail.com wrote:
    >hi
    >
    >computer 'A' and computer 'B' are connected to a GSM modem each.
    >Both are linux machines(Redhat 9) and are using ckermit.
    >Well i want to connect these computers so that i can transfer a file
    >from computer 'A'
    >to computer 'B'.
    >
    >to do this i kept computer 'B' in answer mode (using kermit) and then
    >computer 'A' dials(using kermit) to that computer.
    >
    >Well it should work this way and get connected , so that i can transfer
    >the file.
    >
    >But it doesn't work and ...the answering machine throws out an
    >error(following)
    >
    >
    >
    >(/root/) C-Kermit>answer
    > Waiting for phone call...
    > Device: /dev/ttyS0, modem: generic, speed: 9600
    > Answer timeout: (none)
    > To cancel: type your interrupt character (normally Ctrl-C).
    >+++
    >ATQ0H0
    >+ATQ0H0
    >OK
    > Modem hangup OK
    > Initializing: 14:52:55...
    >ATQ0V1
    >ATQ0V1
    >OK
    >ATS0=1
    >OK
    >
    >
    >RING
    >
    >
    >+CLIP: "+919821328531",145
    >

    *THERE* is the cause of the problem.

    The modem is sending "Caller ID" information, which
    the 'answer' script is *not* expecting.

    Consult your modem manual, and find the appropriate command
    to tell it _NOT_ to send caller ID info.

    That should fix things.


+ Reply to Thread