All of lore.kernel.org
 help / color / mirror / Atom feed
* Outgoing call from AG fails
@ 2012-08-07 21:58 Bret Hassler
  2012-08-07 13:17 ` Denis Kenzior
  0 siblings, 1 reply; 4+ messages in thread
From: Bret Hassler @ 2012-08-07 21:58 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 2740 bytes --]

I have a handsfree unit with ofono connecting to a VTech landline phone as audio gateway. On outgoing calls, the only HFP notification for the call is only a +CIEV: call status,1.
drivers/hfpmodem/voicecall.c: ciev_call_notify() will not do anything if without a call already created.  The VTech phone also returns error to AT+CLCC command.

I am thinking to create the ofono_call in drivers/hfpmodem/voicecall.c: ciev_call_notify() if no call has been created. However, this might have big impacts other phones. Specifically, does "+CIEV: call status,1" get emitted outside of standard phone calls, such as for alarms or notifications with some phones? Any thoughts on this?

The following is the hcidump for an outgoing call and hangup from the audio gateway:

> HCI Event: Mode Change (0x14) plen 6
    status 0x00 handle 1 mode 0x00 interval 0
    Mode: Active
> HCI Event: Max Slots Change (0x1b) plen 3
    handle 1 slots 5
> HCI Event: Max Slots Change (0x1b) plen 3
    handle 1 slots 1
> HCI Event: Connect Request (0x04) plen 10
    bdaddr 00:11:A0:23:54:B6 class 0x000000 type eSCO
< HCI Command: Accept Synchronous Connection (0x01|0x0029) plen 21
    bdaddr 00:11:A0:23:54:B6
    @ . . . @ . . . . . ` . . ? .
> HCI Event: Command Status (0x0f) plen 4
    Accept Synchronous Connection (0x01|0x0029) status 0x00 ncmd 1
> HCI Event: Synchronous Connect Complete (0x2c) plen 17
    status 0x00 handle 257 bdaddr 00:11:A0:23:54:B6 type eSCO
    Air mode: CVSD
> ACL data: handle 1 flags 0x02 dlen 22
    L2CAP(d): cid 0x0041 len 18 [psm 3]
      RFCOMM(d): UIH: cr 0 dlci 8 pf 0 ilen 14 fcs 0x80
      . . + C I E V :   1 , 1 . .
> HCI Event: Mode Change (0x14) plen 6
    status 0x00 handle 1 mode 0x02 interval 150
    Mode: Sniff
> HCI Event: Sniff Subrate (0x2e) plen 11
    status 0x00 handle 1
    max latency transmit 150 receive 1200
    min timeout remote 0 local 2

> HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 257 reason 0x13
    Reason: Remote User Terminated Connection
> ACL data: handle 1 flags 0x02 dlen 22
    L2CAP(d): cid 0x0041 len 18 [psm 3]
      RFCOMM(d): UIH: cr 0 dlci 8 pf 0 ilen 14 fcs 0x80
      . . + C I E V :   1 , 0 . .
> HCI Event: Mode Change (0x14) plen 6
    status 0x00 handle 1 mode 0x00 interval 0
    Mode: Active
> HCI Event: Max Slots Change (0x1b) plen 3
    handle 1 slots 5
> HCI Event: Max Slots Change (0x1b) plen 3
    handle 1 slots 1
> HCI Event: Mode Change (0x14) plen 6
    status 0x00 handle 1 mode 0x02 interval 798
    Mode: Sniff
> HCI Event: Sniff Subrate (0x2e) plen 11
    status 0x00 handle 1
    max latency transmit 798 receive 798
    min timeout remote 0 local 2


Regards,
Bret


[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 7510 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-08-08 17:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-07 21:58 Outgoing call from AG fails Bret Hassler
2012-08-07 13:17 ` Denis Kenzior
2012-08-08 12:36   ` Bret Hassler
2012-08-08 17:20     ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.