Microsip Api [repack] Now
TRANSFER <number_or_SIP_URI> 3.5 DTMF Sends DTMF tones (touch tones) during an active call. Useful for navigating IVR menus.
| State | Window Title Example | |-------|----------------------| | Idle | MicroSIP | | Dialing | Dialing 1001 - MicroSIP | | Ringing (incoming) | Incoming call from 2002 - MicroSIP | | In call | In call with 1001 - MicroSIP |
External App → (DDE) → MicroSIP (send commands) MicroSIP UI → (Window Title / Log) → External App (read status) MicroSIP changes its main window title based on call state. You can poll or hook into window title changes. microsip api
import win32gui import time import subprocess from dde import DdeConversation, DdeClient class MicroSIPController: def (self, sip_path="C:\Program Files\MicroSIP\MicroSIP.exe"): self.sip_path = sip_path self.dde_client = None self._connect_dde()
DTMF <digits> Digits can be 0-9, A, B, C, D, *, #. TRANSFER <number_or_SIP_URI> 3
CONFIG <setting>=<value>
1. Introduction MicroSIP is a lightweight, open-source SIP (Session Initiation Protocol) softphone for Microsoft Windows. It is renowned for its small footprint (under 500KB), low resource usage, and high efficiency. While primarily a GUI application, MicroSIP exposes a powerful yet simple command-line interface (CLI) API that allows external applications to control its telephony functions programmatically. You can poll or hook into window title changes
import win32ui import dde server = dde.CreateServer() server.Create("MyApp") conversation = dde.CreateConversation(server) conversation.ConnectTo("MicroSIP", "Command") conversation.Exec("DIAL 1002") conversation.Exec("DTMF 1") conversation.Exec("HANGUP") Using DDE.NET library or NDde.Client .