A SIP library
Install and update using pip:
pip install -U snl
import snl
phoneA = snl.SIPPhoneClass()(
ua=dict(proxy='1.2.3.4', aor='sip:[email protected]')
)
phoneB = snl.SIPPhoneClass()(
ua=dict(proxy='1.2.3.4', aor='sip:[email protected]')
)
dialog = phoneA.invite(phoneB)
if dialog:
phoneB.bye(dialog)