[reSIProcate] Handlers
Hi,
In working on my SIP Phone, I might put all my "handlers" in a single
module. Is there
any reason why I shouldn't do that?
Take a look at the handler Method below, I got it from the "dum/test"
directory.
virtual void onConnected(InviteSessionHandle, const SipMessage& msg)
{
cout << name << ": InviteSession-onConnected - " << msg.brief()
<< endl;
}
Ok, so I assume this gets called when I'm connected.... but when does
this get called?
Sometime during the "INVITE", or do I have to issue another SIP command to
actually connect after sending the INVITE command.
Also, does this get called BEFORE or AFTER making the actual
connection. And when
I make the connection, is this when I want to make calls to the RTP stack?
This method would be in my subclass of a "InviteSessionHandler" class.
John