< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
Hi:I have used eyeBeam send a message to another one(without call, just likes IM), I just want to know, which callback will be fired when this message is received.The message likes this:MESSAGE sip:testuser1@xxxxxxxxxxxxxxxxxx:8000 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.102:63322;branch=z9hG4bK-d87543-18136779da173c63-1--d87543-;rport
Max-Forwards: 70
To: "testuser1"< sip:testuser1@xxxxxxxxxxxxxxxxxx:8000>
From: "testuser2"< sip:testuser2@xxxxxxxxxxxxxxxxxx:8000 >;tag=d2370456
Call-ID: YTJhOWQ5ZWQ0N2MwNjA0ZGJkYTJlNmZmM2VhMWY2N2Q.
CSeq: 3 MESSAGE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: text/html
User-Agent: eyeBeam release 1004p stamp 31962
Content-Length: 43<FONT face=Arial size=2>hello world!</FONT>
I think below function will be called, right ? Thank every one in advance.
/// called when MESSAGE message is received
virtual void onMessage(InviteSessionHandle h, const SipMessage& msg);