[reSIProcate-users] Why SipMessage.getDestination is empty
- From: maodong hu <hhmmdd@xxxxxxx>
- Date: Fri, 13 Nov 2009 15:08:57 +0800
hi, all
in my ClientRegistrationHandler::onSuccess(ClientRegistrationHandle h, const SipMessage& response), I want get the destination address of the response message, but failed, it is empty,
I use ((SipMessage&)response).getDestination().getSockaddr() , the addr is zero
but if I get Source addr, it is success to get
response.getSource().getSockaddr() , it can get correct value
anyone can help to explain if it is bug for the getDestination() or not
--
Best Regards
Maodong Hu