[reSIProcate] OPTIONS message to the server
Hello.
I have a problem when I try to send OPTIONS method to a server.
If I send that method to an UA, I do not have a problem.
In the server case, It shoud not show user name but showed as following
REQUEST-LINE:OPTIONS sip:101@xxxxxxxx
I used the following way.
DialogUsageManager* mDUM_ = new DialogUsageManager();
NameAddr target("sip:101@xxxxxxx");//what do I do to send to server?
NameAddr from("sip:101@xxxxxxx");
SipMessage& option = mDUM_->makeOutOfDialogRequest(target,from, OPTIONS, new
AppDialogSet(*mDUM_));
mDUM_->send(option);
If I do not include user(NameAddr target("sip:@foo.net");) , the server
responds with 404 status.
What should I do in the target NameAddr?
Thanks
jaedong
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/