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

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


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@xxxxxxxxxxxxxxxxxxxx [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of resiprocate
Sent: Sunday, June 24, 2007 4:14 AM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
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