[reSIProcate] How to send this message?

Scott Godin slgodin at icescape.com
Sun Nov 18 08:58:11 CST 2007


Look at ClientPagerMessage/ServerPagerMessage and PagerMessageHandler
classes in DUM.  These classes are used for managing out-of-dialog MESSAGE
requests.

 

Scott

 

From: resiprocate-devel-bounces at resiprocate.org
[mailto:resiprocate-devel-bounces at resiprocate.org] On Behalf Of resiprocate
Sent: November 17, 2007 11:57 PM
To: resiprocate-devel at resiprocate.org
Subject: Re: [reSIProcate] How to send this message?

 

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 <http://192.168.1.102:63322/>
;branch=z9hG4bK-d87543-18136779da173c63-1--d87543-;rport 
Max-Forwards: 70
To: "testuser1"< <http://sip:testuser1@sip.testserver.com:8000>
sip:testuser1 at sip.testserver.com:8000>
From: "testuser2"< <http://sip:testuser2@sip.testserver.com:8000>
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/97ce943b/attachment.htm>


More information about the resiprocate-devel mailing list