2009/10/8 Denis Kenzior <[email protected]>:
>> "DTMF control digit separator" is used as pause according to GSM 02.07.
>> According to GSM 11.11 it is stored as BCD code 1100 in the SIM card. Nokia
>> modems use 'p' to represent pause. AT commands use ',' to represent pause.
>
> Strictly speaking AT modems use 'C' to represent the pause. Can you point me
> to any spec that actually says ',' and 'p' are used the way you describe?
C?
RFC 4967 uses 'X' to wait for call completion, and 'P' for pause.
Nokia modems use 'p' to represent DMTF control digit separator. GSM
02.07 specifies how the DTMF control digit separator is used when
making calls. The dtmf digits in the dial string are sent after the
call gets connected. The extra separator characters represent extra
delays.
V.250 uses '@' to wait for call completion, and ',' for pause
(controlled by S8).
>> + /* Pause can be described with P or , */
>> + if (tones[i] == 'P' || tones[i] == ',') {
>> + tones[i] = 'p';
>
> This should really be 'C'.
>
> We also need to modify the code above not to accept 'D' as a valid character
> since that is a wild card value.
The dial string stored in the SIM card along with a phone number
cannot contain DTMF digits A-D. However, the other dialstrings do not
share the same limitation and they can can contain full set of DTMF
digits, 0-9, *, #, A, B, C, and D. The special bcd coded digits (dtmf
control digit separator and wildcard) from the SIM card must be mapped
outside this set.
Nokia modems use 'p' and '?' for that purpose (extended bcd code
0b1100 => 'p', extended bcd code 0b1101 => '?'). I think G1 uses ','
instead of 'p'. Either one is fine.
An why to include pause in the tones string in the first place? The
current API does not provide any feedback of the sent dtmf digits to
the application or between ofono driver and core, so the only way to
implement pauses between digits is to include them in the dial string
and hope the driver can do something about them.
--
Pekka.Pessi mail at nokia.com
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono