how can I make a sip call with twisted sip protocol?

I have an asterisk server and I want to know is this possible to make a sip call with twisted sip protocol? if yes how can I do this? unfortunatly I can't find any document about how to use twisted sip protocol or any example of how It works.

Answers


Slightly odd request, but yes, it's possible.

For some examples of how to being a SIP session with a server, see the Twisted SIP Test Cases. Once the SIP session is established, you'll need to UDP blast your audio packets over.

Long story short, this will be mostly a manual job, with lots of code. However, it's very interesting! Be sure to post it on github when you have it working.

Then again, most of the heavy lifting is already bundled into some other libraries, so using twisted's SIP modules may not be the best case here. Instead, you could wrap external calls in a twisted reactor, and still feel cool!


Need Your Help

Refresh a Div that has a Google ad inside it

javascript ajax html refresh google-adwords

I have a <div> that holds a google ad. My website is mostly AJAX and there is no need for a browser refresh. That means my ads will not refresh either, which isn't ideal, a user staring at on...

Attaching .mdf file error in SQL Server 2005

sql sql-server-2005

I'm trying to attach a .mdf file in SQL Server 2005 and am getting this error: