< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate-users] Need Help with DUM ReInvite


Hi,

I need to build a simple application which will answer
a SIP call. Initially i modified the OnNewSession

onNewSession{
        h->provideAnswer(*sdp);
        h->accept();
}

It was sending 200 reply for Invite but when the
server sends the reinvite it just sends 100 reply and
sits there. So i modified the onOffer and
onTerminated.

onOffer{
  if(reinvite)
        is->provideAnswer(Sdp);
  else
        reinvite = true;
}

onTerminated{
       reinvite = false;
}

Now it works fine re invites, Let me know if this is
the right approach or there is a better way.

Thanks in Advance,
Srinivas Voora

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Attachment: SIPIssue.pcap
Description: pat274979154