[SIPForum-discussion] sequence of events after SIP connection is established

andre heller andre.heller1 at gmx.de
Fri Nov 26 13:10:06 UTC 2010


Hi,
initially I have implemented a TCP/IP Stack. On top of this a SIP Stack say a SIP Client where I do the following......

1. Send a SIP INVITE from Client to Server
2. Got a response SIP Status 100 TRYING from Server to Client
3. Again got SIP/SDP Status: 200 OK from Server to Client
4. Now I have sent the ACK message from Client to Server

Now I know that the Media Session should start and here I am quite confused, can somebody elaborate me of what are the necessary steps to be taken to send the audiovisual data over RTP.

I have captured the Audio, converted it from A/D using PCM and used G.711 Audio Codec to compress the data and my compressed data is stored in : (unsigned char)(alaw^0xD5);

My questions are,
1. what are the next possible steps i need to implement? how can i put this payload (unsigned char)(alaw^0xD5); in to RTP packet

2. when should i initiate RTP i.e rtp_init()

If you guys want more information then please let me know, but I really need some assistance in this case.

Kind Regards,
Andre

-- 
GRATIS! Movie-FLAT mit über 300 Videos. 
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome



More information about the discussion mailing list