[reSIProcate] How to add t he "Allow" header within theregistration message?

resiprocate resiprocate at gmail.com
Mon Jun 25 08:08:45 CDT 2007


Thank you very much ,I have got it:

 profile->addSupportedMethod(NOTIFY);
 profile->addSupportedMethod(REFER);
 profile->addSupportedMethod(REGISTER);
 profile->addSupportedMethod(SUBSCRIBE);
 profile->addSupportedMethod(MESSAGE);
 profile->addSupportedMethod(INFO);
 profile->addSupportedMethod(UPDATE);



2007/6/25, Scott Godin <slgodin at icescape.com>:
>
>  You can use the addSupportedMethod method on the master profile, then
> addAdvertisedCapabilty (pass in Headers::Allow),  in order to add the Allow
> header to all outbound requests.  Or you can just add the header to message
> returned from makeRegistration before calling send:
>  regmsg->header(h_Allows).push_back(Token("somevalue"))     (
> http://www.resiprocate.org/Use_Overview#Headers )
>
>
>
> Scott
>
>
>
> *From:* resiprocate-devel-bounces at list.resiprocate.org [mailto:
> resiprocate-devel-bounces at list.resiprocate.org] *On Behalf Of *resiprocate
> *Sent:* Sunday, June 24, 2007 4:14 AM
> *To:* resiprocate-devel at list.resiprocate.org
> *Subject:* [reSIProcate] How to add t he "Allow" header within
> theregistration message?
>
>
>
> HI all, I'm new to resiprocate, I have test the basicregister.cxx sample.
>
> But I don't know how to add the "Allow" Header into the registeration
> message, can anyone help me ?
>
>
>
>
>
> Thanks
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at list.resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070625/5c33d707/attachment.htm>


More information about the resiprocate-devel mailing list