[reSIProcate] How to send this message?
resiprocate
resiprocate at gmail.com
Sat Nov 17 22:56:40 CST 2007
But I'm not sure, because virtual void onMessage(InviteSessionHandle h,
const SipMessage& msg); have a InviteSessionHandle, but the Message does not
in a call.
2007/11/18, resiprocate <resiprocate at gmail.com>:
>
> 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 at sip.testserver.com: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 at sip.testserver.com:8000>
> From: "testuser2"< sip:testuser2 at sip.testserver.com: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);
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20071118/59385269/attachment.htm>
More information about the resiprocate-devel
mailing list