[Twisted-Python] SIP and RTP

Hello, I need to make a SIP call and play a wav file over the RTP stream from a twisted server. This is a sort of visual voicemail application. Has anyone set this up using twisted before? I saw the SIP protocol support in twisted, but I'm not sure how complete it is. Do you think it would be difficult to make this solution a reality? I heard of the Shtoom project which did this using Twisted, but it appears dead I can't find the source code for it.

There is no direct RTP support in Twisted. Shtoom did that but its dead long back. I've seen people using the same RTP code implemented by shtoom here and there. Also SIP implementation in Twisted is not 100%. There is one more project called Sine made by divmod which uses Twsited and it has implemented more SIP protocol features. On Thu, Jan 21, 2010 at 12:31 AM, Landreville <landreville@deadtreepages.com
wrote:
-- Thanks & Regards, Godson Gera Asterisk FreeSWITCH Consultant India <http://godson.in>

On Thu, Jan 21, 2010 at 12:10 AM, Godson Gera <godson.g@gmail.com> wrote:
You wouldn't happend to know where to find the Shtoom source? I'm going to try to make a simpler client that will just subscribe to another user on a sip server and listen to notify events (any not try any RTP at all for starters).

Your best bet is probably going to be looking at the code in Divmod Sine. You can access the code at: http://divmod.org/svn/Divmod/trunk/Sine/ Unfortunately it isn't very polished -- documentation, especially for the user agent pieces, is rather minimal.

On Thu, Jan 21, 2010 at 9:58 PM, Allen Short <washort@twistedmatrix.com> wrote:
Actually I've decided to build it up from the sip code in twisted and just write everything I need from scratch. I don't need that much -- and getting the client registration working wasn't as complicated as I thought it was going to be. If I get a bunch of functionality maybe I can put it up somewhere eventually.

There is no direct RTP support in Twisted. Shtoom did that but its dead long back. I've seen people using the same RTP code implemented by shtoom here and there. Also SIP implementation in Twisted is not 100%. There is one more project called Sine made by divmod which uses Twsited and it has implemented more SIP protocol features. On Thu, Jan 21, 2010 at 12:31 AM, Landreville <landreville@deadtreepages.com
wrote:
-- Thanks & Regards, Godson Gera Asterisk FreeSWITCH Consultant India <http://godson.in>

On Thu, Jan 21, 2010 at 12:10 AM, Godson Gera <godson.g@gmail.com> wrote:
You wouldn't happend to know where to find the Shtoom source? I'm going to try to make a simpler client that will just subscribe to another user on a sip server and listen to notify events (any not try any RTP at all for starters).

Your best bet is probably going to be looking at the code in Divmod Sine. You can access the code at: http://divmod.org/svn/Divmod/trunk/Sine/ Unfortunately it isn't very polished -- documentation, especially for the user agent pieces, is rather minimal.

On Thu, Jan 21, 2010 at 9:58 PM, Allen Short <washort@twistedmatrix.com> wrote:
Actually I've decided to build it up from the sip code in twisted and just write everything I need from scratch. I don't need that much -- and getting the client registration working wasn't as complicated as I thought it was going to be. If I get a bunch of functionality maybe I can put it up somewhere eventually.
participants (3)
-
Allen Short
-
Godson Gera
-
Landreville