View Full Version : Hang up voice call when ringing (no ATH).
Wilson
24-01-2005, 11:41 AM
I'm trying to place a voice call using a GSM mobile phone (Philips
Fisio 825).
Therefore I'm sending ATDT <number>; and the call gets initiated as
expected.
The only problem is that now I would like to to terminate the call
after a fixed amount of time has elapsed (say 20 seconds) and I just
can't seem to get it right: ATH only work after the callee has
answered the call and even closing the serial com port doesn't help
(phone keeps on ringing).
I know that with data calls I can use ATS7=x to specify the # of
seconds after which the call should be terminated if no connection is
established, but what about voice calls?
Any help would be highly appreciated.
Wilson
Homer L. Hazel
24-01-2005, 11:41 AM
Wilson,
It's been a long time since I've actually done my own codes,
but I think that before you issue the ATH command that you
have to return the modem to COMMAND mode. It will
not 'see' the hang-up command unless it's in command mode.
I don't have the codes so I cannot suggest what the code
should be.
Larry Hazel
"Wilson" <smokey_the_cat@libero.it> wrote in message
news:2f829caf.0501101403.6fca7c42@posting.google.c om...
> I'm trying to place a voice call using a GSM mobile phone (Philips
> Fisio 825).
> Therefore I'm sending ATDT <number>; and the call gets initiated as
> expected.
>
> The only problem is that now I would like to to terminate the call
> after a fixed amount of time has elapsed (say 20 seconds) and I just
> can't seem to get it right: ATH only work after the callee has
> answered the call and even closing the serial com port doesn't help
> (phone keeps on ringing).
>
> I know that with data calls I can use ATS7=x to specify the # of
> seconds after which the call should be terminated if no connection is
> established, but what about voice calls?
>
> Any help would be highly appreciated.
>
> Wilson
Tom Stiller
24-01-2005, 11:41 AM
In article <2f829caf.0501101403.6fca7c42@posting.google.com>,
smokey_the_cat@libero.it (Wilson) wrote:
> I'm trying to place a voice call using a GSM mobile phone (Philips
> Fisio 825).
> Therefore I'm sending ATDT <number>; and the call gets initiated as
> expected.
>
> The only problem is that now I would like to to terminate the call
> after a fixed amount of time has elapsed (say 20 seconds) and I just
> can't seem to get it right: ATH only work after the callee has
> answered the call and even closing the serial com port doesn't help
> (phone keeps on ringing).
>
> I know that with data calls I can use ATS7=x to specify the # of
> seconds after which the call should be terminated if no connection is
> established, but what about voice calls?
>
> Any help would be highly appreciated.
>
As I recall, you have to send the escape code first, The default code
is "+++" but the "+" can be altered by setting the new value in register
S2.
--
Tom Stiller
PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF
AZ Woody
24-01-2005, 11:41 AM
The default for "Hayes compatible modems" to enter command mode has been
"+++" for years. So you'd send "+++ATH", but some modem will require a
delay after "+++". Or it may be "+++\nATH\n" (\n=carrige return)
Also, some modem have an extension to ATH, where it needs to be ATH0 or ATH1
(I forget what the extra digit means)
"Homer L. Hazel" <hNoOmerlhANTI@SPAMcox.net> wrote in message
news:VyEEd.32$bX4.6@fed1read03...
> Wilson,
>
> It's been a long time since I've actually done my own codes,
> but I think that before you issue the ATH command that you
> have to return the modem to COMMAND mode. It will
> not 'see' the hang-up command unless it's in command mode.
>
> I don't have the codes so I cannot suggest what the code
> should be.
>
> Larry Hazel
>
> "Wilson" <smokey_the_cat@libero.it> wrote in message
> news:2f829caf.0501101403.6fca7c42@posting.google.c om...
> > I'm trying to place a voice call using a GSM mobile phone (Philips
> > Fisio 825).
> > Therefore I'm sending ATDT <number>; and the call gets initiated as
> > expected.
> >
> > The only problem is that now I would like to to terminate the call
> > after a fixed amount of time has elapsed (say 20 seconds) and I just
> > can't seem to get it right: ATH only work after the callee has
> > answered the call and even closing the serial com port doesn't help
> > (phone keeps on ringing).
> >
> > I know that with data calls I can use ATS7=x to specify the # of
> > seconds after which the call should be terminated if no connection is
> > established, but what about voice calls?
> >
> > Any help would be highly appreciated.
> >
> > Wilson
>
>
Homer L. Hazel
24-01-2005, 11:41 AM
"AZ Woody" <Reply@here.not.email> wrote in message
news:aMFEd.55$Vz6.10694@news.uswest.net...
> The default for "Hayes compatible modems" to enter command mode has been
> "+++" for years. So you'd send "+++ATH", but some modem will require a
> delay after "+++". Or it may be "+++\nATH\n" (\n=carrige return)
>
> Also, some modem have an extension to ATH, where it needs to be ATH0 or
> ATH1
> (I forget what the extra digit means)
>
One of them means hang-up, the other means go off-hook (hear dial tone).
Like before,
I cannot remember which is which, but I think the "0" means hang-up and the
"1" means
go off-hook.
Larry Hazel
vBulletin® v3.7.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.