< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index |
Hi, when I recevied a re-Invite and the offer fires, I try to answer it, but it's failed.Please help me how to reply the re-Invite ?ThanksLock lock(mDumMutex);
ServerInviteSessionMap::iterator iter = mServerInviteSessionMap.find(callID);
if (iter!=mServerInviteSessionMap.end() && iter->second.isValid()==true)
{
iter->second->provideAnswer(sdpContent);
iter->second->accept(code);return;
}
INVITE sip:testuser2@xxxxxxxxxxx:1725 SIP/2.0
Record-Route: <sip:192.168.1.100:8000;lr=on;ftag=b9139637>
Via: SIP/2.0/UDP 192.168.1.100:8000 ;branch=z9hG4bK1d9d.f04f1746.0
Via: SIP/2.0/UDP 192.168.1.101:47022;received= 111.222.1.2;branch=z9hG4bK-d87543-59226c54fc554a0f-1--d87543-;rport=1731
Max-Forwards: 69
Contact: <sip:testuser1@xxxxxxxxxxx:1731;rinstance=7dcab1969c68d87f>
To: < sip:testuser2@xxxxxxxxxxxxxxxxxx:8000>;tag=7234a17c
From: <sip:testuser1@xxxxxxxxxxxxxxxxxx:8000>;tag=b9139637
Call-ID: YWEyYzU0YzQwNmQ1OWM3NDczYTU3ODkzNDk0MDdlOTY.
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: eyeBeam release 1004p stamp 31962
Content-Length: 273
TestServer-hint: NAThelper
TestServer-hint: loose_route
TestServer-hint: route4
TestServer-hint: route4-donatv=0
o=- 6 3 IN IP4 192.168.1.101
s=CounterPath eyeBeam 1.5
c=IN IP4 0.0.0.0
t=0 0
m=audio 46566 RTP/AVP 18 101
a=fmtp:18 annexb=no
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=sendonly
a=x-rtp-session-id:2C26561C01974B0799244446D33E3412
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.100:8000;branch=z9hG4bK1d9d.f04f1746.0
Via: SIP/2.0/UDP 192.168.1.101:47022;received= 111.222.1.2;branch=z9hG4bK-d87543-59226c54fc554a0f-1--d87543-;rport=1731
To: < sip:testuser2@xxxxxxxxxxxxxxxxxx:8000>;tag=7234a17c
From: <sip:testuser1@xxxxxxxxxxxxxxxxxx:8000>;tag=b9139637
Call-ID: YWEyYzU0YzQwNmQ1OWM3NDczYTU3ODkzNDk0MDdlOTY.
CSeq: 2 INVITE
Content-Length: 0
CANCEL sip:testuser2@xxxxxxxxxxx:1725 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.100:8000;branch=z9hG4bK26d5.4c2c8ad.0
From: < sip:testuser1@xxxxxxxxxxxxxxxxxx:8000>;tag=464cec38
Call-ID: NjJiM2M3MmFmNzg3NDFlZjJiMDFiNTIyOWJmMTA1Mjg.
To: < sip:testuser2@xxxxxxxxxxxxxxxxxx:8000 >;tag=3f1e664d
CSeq: 2 CANCEL
Route: <sip:192.168.1.100:8000;lr;ftag=3f1e664d>
User-Agent: OpenSer ( 1.1.1-notls (i386/linux))
Content-Length: 0SIP/2.0 481 Call/Transaction Does Not Exist
Via: SIP/2.0/UDP 192.168.1.100:8000;branch=z9hG4bK26d5.4c2c8ad.0
To: < sip:testuser2@xxxxxxxxxxxxxxxxxx:8000>;tag=3f1e664d
From: <sip:testuser1@xxxxxxxxxxxxxxxxxx:8000 >;tag=464cec38
Call-ID: NjJiM2M3MmFmNzg3NDFlZjJiMDFiNTIyOWJmMTA1Mjg.
CSeq: 2 CANCEL
Content-Length: 0
BYE sip:testuser2@xxxxxxxxxxx:1725 SIP/2.0
Record-Route: <sip:192.168.1.100:8000;lr=on;ftag=464cec38>
Via: SIP/2.0/UDP 192.168.1.100:8000 ;branch=z9hG4bK36d5.afe5d3e1.0
Via: SIP/2.0/UDP 192.168.1.101:47022;received= 111.222.1.2;branch=z9hG4bK-d87543-316fe66bbd753e3b-1--d87543-;rport=1731
Max-Forwards: 69
Contact: <sip:testuser1@xxxxxxxxxxx:1731;rinstance=7dcab1969c68d87f>
To: < sip:testuser2@xxxxxxxxxxxxxxxxxx:8000>;tag=3f1e664d
From: <sip:testuser1@xxxxxxxxxxxxxxxxxx:8000>;tag=464cec38
Call-ID: NjJiM2M3MmFmNzg3NDFlZjJiMDFiNTIyOWJmMTA1Mjg.
CSeq: 3 BYE
User-Agent: eyeBeam release 1004p stamp 31962
Reason: SIP;description="User Hung Up"
Content-Length: 0
TestServer-hint: NAThelper
TestServer-hint: loose_route
TestServer-hint: route4
TestServer-hint: route4-donat