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

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


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@xxxxxxxxxxxx>:

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


_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel