Re: [SR-Users] [sr-dev] MSRP relay authentication

2012-10-25 Thread Peter Dunkley
On Thu, 2012-10-25 at 16:08 +0200, Daniel-Constantin Mierla wrote: > I would avoid to put lot of dependent code in auth -- maybe in the > future we need to refactor how msrp packets are presented or to auth > some other protocol. It should be easier to maintain just to pass the > relevant tokens f

Re: [SR-Users] [sr-dev] MSRP relay authentication

2012-10-25 Thread Daniel-Constantin Mierla
Hello, On 10/25/12 1:40 PM, Peter Dunkley wrote: Hi, I am doing some work on this module right now myself. I did think of putting a bit of code into the auth module that, where the method is selected, checks to see if the request is an MSRP one and, if it is, selects the method using the sam

Re: [SR-Users] [sr-dev] MSRP relay authentication

2012-10-25 Thread Peter Dunkley
Hi, I am doing some work on this module right now myself. I did think of putting a bit of code into the auth module that, where the method is selected, checks to see if the request is an MSRP one and, if it is, selects the method using the same mechanism as for $msrp(method). I am also looking a

Re: [SR-Users] [sr-dev] MSRP relay authentication

2012-10-25 Thread Daniel-Constantin Mierla
Hello, just remembered about this one ... hmm, I would say now that the right method would be AUTH, not MSRP, but as you pointed, in SIP and HTTP the method is the first token in request. I guess you had no chance to test with some client or look at specs to see if they clarify somehow. In