[Spce-user] xcap authentication issue with jitsi auto provisinoing

Barry Flanagan barry at flanagan.ie
Mon Jul 1 06:13:28 EDT 2013


On 28 June 2013 11:03, Barry Flanagan <barry at flanagan.ie> wrote:

> On 22 May 2013 12:48, Andreas Granig <agranig at sipwise.com> wrote:
>
>> Hi Barry,
>>
>> An update has been pushed to 2.8, you might want to try again the
>> auto-provisioning. Again, the restriction still applies that if you've an
>> SRV record behind your SIP domain, it will still not work, as Jitsi doesn't
>> do SRV for XCAP URIs. Should work in most other cases now though.
>>
>>
>
Hi

Following up on this again, attached are some patches which would fix the
use of SRV records where the XCAP host is not the same as the SIP domain
name.

I have done this by adding a config option "nginx -> xcap ->
xcap_use_subdomain" and changing csc.conf.tt2, nginx.conf.tt2
and JitsiProvisioning.pm to expect a hostname of xcap.$domain if
xcap_use_subdomain = yes

So, if xcap_use_subdomain = no, then the xcap host will be the same as the
sip domain. If yes, it will be set as xcap.$domain

This seems to fix the issue and not raise any new ones. Might this be
considered?

-Barry Flanagan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20130701/7475b7c0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.yml.patch
Type: application/octet-stream
Size: 296 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20130701/7475b7c0/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: csc.conf.tt2.patch
Type: application/octet-stream
Size: 458 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20130701/7475b7c0/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JitsiProvisioning.pm.patch
Type: application/octet-stream
Size: 1066 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20130701/7475b7c0/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx.conf.tt2.patch
Type: application/octet-stream
Size: 1045 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20130701/7475b7c0/attachment-0003.patch>


More information about the Spce-user mailing list