Mohsen Shahraki
Mohsen Shahraki

Reputation: 23

How to simulate sip protocol to call a voip phone

I have a question about SIP which is used in VoIP I want to simulate SIP protocol (in widows or Ubuntu ) and call a VoIP phone by computer and transmitting my desired data which is coded by G.729 codec through the connection. As matter of fact I need hint which can help me how to simulate a SIP for me (inviting, 200Ok, Ack and so on)

Could you please help me thank you in advance

Upvotes: 2

Views: 13867

Answers (1)

Andriy Makukha
Andriy Makukha

Reputation: 8344

The simplest way is to use the SIP SIMPLE Python library.

Here is a minimalist working example for establishing a SIP call in Python.

Otherwise you can send simple SIP requests over TCP or UDP, but there is a risk that you'll have to implement a lot of logic even before you can authenticate to your proxy.

Upvotes: 3

Related Questions