[Gta04-owner] Detect Call Hangup / Option Datasheet

Radek Polak psonek2 at seznam.cz
Sat Dec 31 20:10:20 CET 2011


On Saturday 31 December 2011 16:51:29 Thomas Gstädtner wrote:

> 2) With the help of the ofono guys I added basic support for voicecalls
> of the GTA04 to ofono (not upstream). Unfortunately this is quite
> difficult to begin with, making and taking calls works just fine, but it
> does seem impossible to detect if the call partner hung up, either
> before accepting (=sending to voicemail and such) or after (hanging up a
> successful call).
> The reason is, that the AT interface never reports this (which it
> should), so software can never known when someone hung up on you.
> You could in theory work around that by polling with AT+CLCC or
> something like that, but that's really uncomfortable and messy and the
> ofono guys really aren't happy with such an approach (which I fully
> understand).

I think AT modem driver in QtMoko does it that way (search for +CLCC here[1]), 
but i agree that polling is not the best way to do it - e.g. you can't suspend 
CPU during call then.

> 3) So far I only found the GTA04 handbook, no documentation to the
> Option modem itself.
> The AT-Commands in the GTA04 handbook are not really helpful, first of
> all, there are very few of them, secondly many of them just don't work
> (i.e. a lot of the option specific stuff).
> There's really a lot of stuff that would be really needed or could be
> very useful - and some documentation for other Option calls would be
> great, too. Is there any documentation available? Can you get one from
> Option to release?

Do you have any specific commands which were not working for you? IIRC i havent 
found any serious problem. I am still not using GTA04 as main phone because of 
battery life and sound routing problems, so i havent tested telephony very 
much yet.

Regards

Radek


[1] 
https://github.com/radekp/qtmoko/blob/master/src/libraries/qtopiaphonemodem/qmodemcall.cpp


More information about the Gta04-owner mailing list