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

Scott Godin slgodin at icescape.com
Mon Jun 25 08:03:31 CDT 2007


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070625/d3f69f1d/attachment.htm>


More information about the resiprocate-devel mailing list