[reSIProcate] OPTIONS message to the server

Jaedong82 Jaedong82 jaedong82 at hotmail.com
Wed Jun 15 18:35:56 CDT 2005


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 at foo.net.



I used the following way.


   DialogUsageManager* mDUM_ = new DialogUsageManager();

   NameAddr target("sip:101 at foo.net");//what do I do to send to server?
   NameAddr from("sip:101 at foo.net");



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/




More information about the resiprocate-devel mailing list