[Bug 24902] interface for precomposed dial-strings

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 2 00:28:40 CET 2010


http://bugs.freedesktop.org/show_bug.cgi?id=24902





--- Comment #1 from Andres Salomon <dilinger at collabora.co.uk>  2010-02-01 15:28:39 PST ---
This API is merely a shortcut for DTMF.  Rather than individually calling
DTMF.StartTone and DTMF.StopTone, the DialStrings interface allows one to send
a batch of tones to the modem.

 - SendDialString(u:Stream_ID, s:DialString, u:Duration, u:Pause

The DialString arg here is a string of DTMF tones; each tone is (theoretically)
played for Duration ms, followed by Pause ms of silence (in actuality for
something like a GSM modem that knows how to handle a  DTMF string, the
Pause/Duration arguments end up being ignored unless the hardware API accepts
them).

 - CancelDialString(u:Stream_ID)

 - GetCurrentDialStrings(Stream_ID) => a{us}:Dial_Strings

A map of Stream_ID to DialStrings currently being sent.

 - signal SendingDialString(u:Stream_ID, s:Dial_String)

 - signal StoppedDialString(u:Stream_ID, b:SucessfullySent)

SuccessfullySent is false if the dialstring was cancelled.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list