Confirmed users
525
edits
m (→Gabriele) |
|||
| Line 218: | Line 218: | ||
**** Needs better testing | **** Needs better testing | ||
**** Replies can be mixed up | **** Replies can be mixed up | ||
***** 1. You send a message | |||
***** 2. Get an event reply on that connection | |||
***** 3. System message (unrelated) triggered when you get a response | |||
***** Juggling both is not easy | ****** Juggling both is not easy | ||
***** What we do: ignore the connection events | ****** What we do: ignore the connection events | ||
***** Only set an event handler for system events | ****** Only set an event handler for system events | ||
***** In there we try to figure out if it was solicited or not | ****** In there we try to figure out if it was solicited or not | ||
** DTMF tones | ** DTMF tones | ||
*** Used by answering machines, for example, to see what number was pressed | *** Used by answering machines, for example, to see what number was pressed | ||