[Spce-user] Sipwise::JitsiProvisioning XCAP server assumptions

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


On 1 July 2013 09:35, Marc Storck <mstorck at voipgate.com> wrote:

> I modified the nginx.conf template
> in /etc/ngcp-config/templates/etc/nginx/nginx.conf.tt2
>
> The location part now shows:
>
>                 location ~ ^/xcap {
>                         set $host2 $host;
>
>                         if ($host2 ~* "^xcap\.(.*)" )
>                         {
>                           set $host2 $1;
>                         }
>
>                         proxy_pass http://[% sip_int_ips.0 %]:[%
> kamailio.proxy.port %];
>                         proxy_set_header  P-NGCP-Src-Ip   $remote_addr;
>                         proxy_set_header  P-NGCP-Src-Port $remote_port;
>                         proxy_set_header  P-NGCP-XCAP-Host $host2;
>                         proxy_send_timeout 10s;
>                         proxy_read_timeout 10s;
>                 }
>
> There are probably other and better ways to accomplish this, but it works
> for me, so I didn't bother to look further.
>
>
Thanks Marc,

I have sent patches to the list for a solution to this issue based on the
same technique.

-Barry Flanagan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20130701/361da2dd/attachment-0001.html>


More information about the Spce-user mailing list