RE: [reSIProcate] OPTIONS message to the server
It really depends on what the server wants to see and what it allows.
If you want to send without a user, then it would seem to me that the
correct URI you should use is: sip:server.com with no @ symbol.
-----Original Message-----
From: Jaedong82 Jaedong82 [mailto:jaedong82@xxxxxxxxxxx]
Sent: Wednesday, June 15, 2005 7:36 PM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [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/
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel