< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] Use DUM send Message


You need to install a ClientPagerMessageHandler. Check out dum/test/basicMessage for an example.

Scott

On Tue, Jun 16, 2015 at 8:25 PM, 许波 <xubonts@xxxxxxx> wrote:
Hi,
When I write the code like this
 
      SharedPtr<UserProfile> outboundUserProfile(m_dum.getMasterUserProfile());
      outboundUserProfile->setDefaultFrom(m_sipmsg.header(h_From));
      ClientPagerMessageHandle cpmh = m_dum.makePagerMessage(myDest,outboundUserProfile);
      body = m_sipmsg.getContents()->clone();
      auto_ptr<Contents> content(body);
      cpmh.get()->page(content);
 
The DUM will send MESSAGE to the destination. And if the dest doesn't reply, DUM will try about 11 times.
I want to know, is there any way to get the status that the DUM haven't got the reply ?
In my wok, I need to do something if the sent MESSAGE get no reply !
 
2015-06-17

XUBO