Wir stehen für Nachhaltigkeit in unseren Produktionsabläufen
If you need a real API, consider using:
The SendMessage call returns an LRESULT:
Limitation: No asynchronous callback or event notification. The calling process must poll STATUS to detect incoming calls or call termination. microsip api documentation
Once a call is active, you can send DTMF (Dual-Tone Multi-Frequency) digits.
MicroSIP.exe dtmf:12345
This sends digits 1,2,3,4,5 as RFC 2833 events. Works only during an active call. If you need a real API, consider using:
Use child_process to call a PowerShell or VBS wrapper.
| DDE Command | Parameter | Action |
|-------------|-----------|--------|
| Dial | number | Initiate a call. If call active, puts current on hold. |
| CallTo | number | Same as Dial, but does not hold existing call. |
| Hangup | (none) | Terminates active call. |
| Answer | (none) | Answers incoming call. |
| Reject | (none) | Rejects incoming. |
| Hold | (none) | Holds/unholds current call (toggle). |
| Transfer | number | Blind transfer active call to number. |
| SendDTMF | digits | Sends DTMF (RFC 2833). Use , for pause. |
| Mute | (none) | Toggles microphone mute. |
| VolumeUp | steps | Increases speaker volume by steps (1–10). |
| VolumeDown | steps | Decreases speaker volume. |
| SetVolume | 0-100 | Absolute volume. |
| SetMicVolume | 0-100 | Absolute mic level. |
| SetDevice | input/output, deviceID | Switch audio device (see below). |
| Status | (none) | Returns current call status as DDE string. |
| Close | (none) | Exits MicroSIP. | Limitation: No asynchronous callback or event notification
| Command Code | String Format | Description |
| :--- | :--- | :--- |
| DIAL | "sip:123@domain" or "1001" | Initiates call. Returns 1 if successful, 0 if line busy or invalid. |
| HANGUP | (empty) | Hangs up active call. |
| ANSWER | (empty) | Answers incoming call. |
| STATUS | (empty) | Returns integer: 0=idle, 1=ringing, 2=active, 3=hold, 4=disconnected. |
| ACTIVECALL | (empty) | Returns remote party URI of active call. |
| MUTE | "1" or "0" | Mute/unmute microphone. |
| TRANSFER | "1002" or "sip:1002@pbx" | Blind transfer of active call. |
| DTMF | "123#" | Sends DTMF tones over active call. |
| VOLUME | "50" (0–100) | Sets speaker volume. |
| QUIT | (empty) | Exits MicroSIP. |
This is the more powerful interface. Any Windows application can send a WM_COPYDATA message to MicroSIP’s main window (class "MicroSIP"). The dwData field identifies the command, and lpData contains a UTF-8 string with parameters.
Wir stehen für Nachhaltigkeit in unseren Produktionsabläufen