Re: detection of analog CONNECT
- From: "mm" <mm@xxxxxxxxxxxxxxxxxxx>
- Date: 10 Nov 2005 11:08:52 -0800
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
.
- Follow-Ups:
- Re: detection of analog CONNECT
- From: Andreas Boeckler
- Re: detection of analog CONNECT
- References:
- detection of analog CONNECT
- From: Andreas Boeckler
- detection of analog CONNECT
- Prev by Date: detection of analog CONNECT
- Next by Date: line interconnect
- Previous by thread: detection of analog CONNECT
- Next by thread: Re: detection of analog CONNECT
- Index(es):
Relevant Pages
|