Hi!
I
got some problems when doing some tests,
I've
got a RegisterServer at 192.168.3.68, and a account "user" with
password "password" at diablo.st.com(ip:192.168.2.1),
I
took some steps like below:
Uri
uri("sip:user@xxxxxxxxxxxxx");
NameAddr
svr(uri);
SharedPtr<SipMessage>
pmsg = _the_dum.makeRegistration(svr, _p_the_MasterProfile, 10);
_the_dum.send(pmsg);
and
the message is like this;
REGISTER sip:diablo.st.com SIP/2.0
Via: SIP/2.0/UDP 192.168.3.23:5060;branch=z9hG4bK-d8754z-6e328b4894577e42-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:123@xxxxxxxxxxxx:5060;rinstance=7b2ce828ad3fb127>
To: <sip:123@xxxxxxxxxxxxxxx>
From: <sip:123@xxxxxxxxxxxxxxx>;tag=41392e19
Call-ID: MjlmNGY5OTI0N2VhMzJjYTU0NWU3MGI3N2UxNzE1MWE.
CSeq: 1 REGISTER
Expires: 10
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE,
UPDATE
User-Agent: ST VOIP 3.0
Content-Length: 0
the
problem is ,when i send it, is was sent to diablo.st.com, can anyone tell
me how to send it to 192.168.3.68.