Jan 12, 2010 5:07 AM
default behaviour for accept invite and send ringing
Hi,
I'm using the OpenSipStack library and tried to accept an INVITE message to send a RINGING message. Up to now my workmate has always send an OK as soon as he becomes the INVITE but it seems to be that he doesn't handle the INVITE correctly. So if I remove his code to send OK message instantly, the library always send a message 404. I tried a lot other things but alway get another error message or send a new INVITE back.
My workmate has derived a lot of classes (OpalOSSConnection, OpalOSSEndPoint, OpalManager, OpalOSSCore...) and changed the default behavior.
So want I want to know is what I have to do to handle the INVITE message correctly (have I to accept it somewhere) and to send a ringing message (maybe I have to set an internal state that he starts ringing).
Thx