[SIPForum-discussion] 7. sip reinvite (darshan b n)

wangran wang.ran at byd.com.cn
Wed Jun 13 11:27:23 UTC 2007


Hi Darshan;

	In re-INVITE The To header should be changed, it should add tag
parameter,which get from the UAS reply 200 OK response, and the Cseq should
be increased. And the session Id in SDP("o=") also be changed. the other
headers are same with the INVITE you just send.
	

For example
2002 call 2001 INVITE
INVITE sip:2001 at 10.21.1.137 SIP/2.0
Via: SIP/2.0/UDP
127.0.0.1:5060;branch=z9hG4bK1fdfb653e751b5264b687709dc6be48f
To: 2001<sip:2001 at 10.21.1.137>
From: <sip:2002 at 127.0.0.1>;tag=d1758a25
Call-ID: d05019e4595ce363a5db55c20fafcc1e at 127.0.0.1
CSeq: 1 INVITE
Max-Forwards: 70
Subject: VovidaINVITE
Contact: <sip:2002 at 127.0.0.1:5060>
User-Agent: Vovia-SIP-SoftPhone/0.1  (www.vovida.org)
Content-Type: application/sdp
Content-Length: 210

v=0
o=- 1 3388356667 IN IP4 127.0.0.1
s=Vocal-Media-Lib
c=IN IP4 127.0.0.1
t=3388356667 0
m=audio 10000 RTP/AVP 0 100
a=rtpmap:0 PCMU/8000
a=rtpmap:100 telephone-event/8000
a=ptime:20
a=fmtp:100 0-15



2001 hold 2002
INVITE sip:10.21.1.137:5060;lr;lr SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5060
To: 2001<sip:2001 at 10.21.1.137>;tag=b104f721
From: <sip:2002 at 127.0.0.1>;tag=d1758a25
Call-ID: d05019e4595ce363a5db55c20fafcc1e at 127.0.0.1
CSeq: 2 INVITE
Max-Forwards: 70
Subject: VovidaINVITE
Route: <sip:2001 at 10.21.1.137:5060>
Contact: <sip:2002 at 127.0.0.1:5060>
User-Agent: Vovia-SIP-SoftPhone/0.1  (www.vovida.org)
Content-Type: application/sdp
Content-Length: 222

v=0
o=- 1 3388356676 IN IP4 127.0.0.1
s=Vocal-Media-Lib
c=IN IP4 127.0.0.1
t=3388356676 0
m=audio 10000 RTP/AVP 0 100
a=rtpmap:0 PCMU/8000
a=rtpmap:100 telephone-event/8000
a=sendonly
a=ptime:20
a=fmtp:100 0-15



Regards,
 
Wangran
 
 
Message: 7
Date: Wed, 13 Jun 2007 15:55:13 +0530
From: "darshan b n" <bn.darshan at gmail.com>
Subject: [SIPForum-discussion] sip reinvite
To: discussion at sipforum.org
Message-ID:
	<555d2a660706130325u4c3499ebsbaf08d41e33b9a28 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi all ,

I want know what r the header which r going change when i send a Re-invite
SIP message with SDP parameter with  a =sendonly



Thanx in advanced


-- 
Darshan B N

Thanks & Regards
*********************************************
Team VOIP 
BYD Techfaith communication corporation
 
3/F,M8 West,NO.1 Jiu Xian Qiao Dong Road,Chao Yang
District,Beijing,China  100016
 
Tel:86-10-58291226
 
*********************************************
 



Powered by BYD Security Gateway.




More information about the discussion mailing list