< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] OPTIONS message to the server


According to my understanding of 3261, you should send it with sip:foo.net.
Unfortunately there are almost no servers out there which really answer on 
such requests with 200. Although it seems clear that a proxy should answer 
with 200, it is not very clearly described how the answer should look like. I 
guess that is the reason why (almost) nobody implemented it.
If it is not implemented the request ends up in the normal user lookup which 
then ends up with an error.

Regards
  Nils Ohlmeier

On Thursday 16 June 2005 01:35, Jaedong82 Jaedong82 wrote:
> 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