How can I take a sip using a twisted sip protocol?

I have an asterisk server and I want to know if it is possible to take a sip using the twisted sip protocol? if so, how can I do this? Unfortunately, I cannot find any document on how to use the twisted sip protocol or any example of how it works.

+6
source share
1 answer

A bit strange request, but yes, maybe.

For some examples of how to be a SIP session with a server, see Twisted SIP Test Cases . After the SIP session is established, you will need UDP to blow up your audio packets.

In short, it will be mostly manual work with lots of code. However, it is very interesting! Be sure to post it on github when you work it out.

Again, most of the heavy lifting is already associated with some other libraries , so using twisted SIP modules may not be the best in this case. Instead, you can wrap external calls in a twisted reactor and still feel cool!

+6
source

Source: https://habr.com/ru/post/958715/


All Articles