Re: detection of analog CONNECT



Hi Andy;

You receive a CONNECT_B3_ACTIVE_IND when CAPI picks up the call; when a
connection has been established. Only afterwards modem negotiation can
commence. A modem on the other hand signals connect only after
negotiation. So, everything works as it should.

I guess your problem is that your capi app has difficulties to discover
what is payload data and what is not. The usual thing to do here is to
'frame' the payload. Some scheme that signals beginning and end of
payload data.

A few things that spring to mind, but might be complete bullocks :)

Try to emulate HDLC frames on the modem side. Maybe then you can use
B1=0 and capi sends you only the payload of these frames.
An HDLC frame if I remember right is
0xff for point to point connection
0xc0 or 0x08 0xc0 frames follow; 0x08 last frame
payload bytes
2 byte CRC sum (google)

I.e. modems send fax data in HDLC frames . Maybe you could even use AT
commands like +FTH, +FRH ..., but I guess those are only working within
a fax transfer.

Nevertheless I don't think you can blame AVM here ;)

Bye
Michael

Andreas Boeckler wrote:
> Hi,
>
> im trying to establish an connection between an ISDN-Card and an analog
> modem.(B1=8,B2=1,B3=7)
> Dialing works perfectly, but receiving a call is difficult.
>
> Situation:
> CapiApp -- ISDN-Card(AVM) <----------> Modem -- Minicom (Terminal)
>
> * Minicom dials
> * CONNECT_B3_ACTIVE_IND is sent far too early. Minicom is still
> connecting
> * After that the application gets many DATA_B3_IND-Messages, but minicom
> is still in dial-mode.
> * At a certain time minicom signals: it's connected. DATA_B3_IND-messages
> have stopped.
> * Now I can type in characters in minicom. They are transferred correctly
> to the CapiApp. (as DATA_B3_IND)
>
> Does anybody know the correct way to detect the carrier?
> I thought, that CONNECT_B3_ACTIVE_IND should be send after the
> protocol-negotiation ends (CONNECT 38400-message on the terminal) and not
> before?
>
> Is it aproblem with AVM-Cards (Fritz and C4)?
>
> Bye
>
> Andy
>
> --
> Dipl.-Ing. (FH) Andreas Böckler
> netlands edv consulting GmbH

.



Relevant Pages

  • Limited or no connectivity (tried everything on pchucks, out of ideas)
    ... D-link WBR-2310 wireless router ... computers on the network. ... When I connect the modem directly there is no ... wanted to make sure I still had a connection. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Router install problem
    ... The internet reaches the computer through a modem at ... install a wireless router between the ... After telling me to check the connection between the router ...
    (microsoft.public.windowsxp.network_web)
  • Re: what is the 1394 connection ?
    ... something above about them having a 'The shop used the Firewire port because ... they had a Firewire hub, switch, or broadband modem' ... usually supporting Ethernet for a LAN connection to an intranetwork. ... USB 1.0 only gave you 11Mpbs and even that is faster than what your broadband ISP gives you for Internet bandwidth. ...
    (microsoft.public.windowsxp.newusers)
  • Re: Help needed with intermittent internet
    ... directly into the modem using what I believe they call PSV, ... do not see how this factor bears on an internet connection's reliability ... both when connection is working and has failed. ... did same thing using ping from subscriber side - and collected numbers ...
    (comp.dcom.modems.cable)
  • Re: Is there a minimum dialup speed that Vista can cope with?
    ... I no longer ring Eircom ... internet/phone bundle with another ISP, UTV (Eircom just rakes in the line ... I'm keeping modem logs because the line quality fluctuates many times ... hardware/software to fail with this slow connection. ...
    (microsoft.public.windows.vista.networking_sharing)