Jump to content

Skype Federation for Cisco Expressway: Difference between revisions

From wiki.oeser.name
Udo (talk | contribs)
No edit summary
Udo (talk | contribs)
 
(12 intermediate revisions by the same user not shown)
Line 15: Line 15:
** public DNS
** public DNS
*** SRV:_sipfederationtls._tcp.userdomain
*** SRV:_sipfederationtls._tcp.userdomain
*** A: 'hostname.userdomain'. (The jabber user domain and the domain used by the expressway-e public interface must match, otherwise the Skype server declines the connection)
*** A: ''hostname.userdomain''. (The jabber user domain and the domain used by the expressway-e public interface must match, otherwise the Skype server declines the connection)
** internal DNS
** internal DNS
*** A: 'imp1.internaldomain' (for all servers including reverse lookup)
*** A: ''imp1.internaldomain'' (for all servers including reverse lookup)
*** A: 'something.internaldomain' (This must match the IMP Cluster FQDN, which is configured in a later step. This name is only used internally.)
*** A: ''something.internaldomain'' (This must match the "Federation Routing FQDN", which is configured in a later step. This name is used internaly only. A CNAME for the primary IMP server works fine)
*Firewall Ports  
*Firewall Ports  
**Please refer to Cisco Doc
**Please refer to Cisco Doc
Line 26: Line 26:
=== IMP Server ===
=== IMP Server ===


Verify the "Cisco XCP SIP Federation Connection Manager" is activated and running
Verify the "Cisco XCP SIP Federation Connection Manager" is activated and running.
Verify the CA certificate chain of the expressway-c signing CA is uploaded to the cup-trust store of all imp cluster members.


==== Presence -> Interdomain Federation -> SIP Federation: ====
==== Presence -> Interdomain Federation -> SIP Federation: ====
Line 83: Line 84:
==== System -> Apllication Listeners =====
==== System -> Apllication Listeners =====


The "Default Cisco SIP Proxy Listener - Peer Auth" Port needt to be set to 5061. 5061 is usualy in use by "Default Cisco SIP Proxy Listener - Server Auth". You have to exchange the port. For this you have to set on of it to a random unused port temporary. (eg. 5063) Do not change any other setting the the port.
The "Default Cisco SIP Proxy Listener - Peer Auth" Port has to be set to 5061. 5061 is usualy in use by "Default Cisco SIP Proxy Listener - Server Auth". You have to exchange the port. For this you have to set on of it to a random unused port temporary. (eg. 5063) Do not change any other setting than the port.


==== System -> Service Parameter ====
==== System -> Service Parameter ====


Select the primary IM&P server and the "Cisco SIP Proxy"
Select the primary IM&P server and the "Cisco SIP Proxy"
In the "Federation Routing Parameters (Clusterwide)" section set "Federation Routing IM/P FQDN" to 'something.internaldomain' Make sure the name is not used by any cluster member and the name matches the DNS entry created. The target IP should be the primary IM&P server. The use of a CNAME works perfectly fine.
In the "Federation Routing Parameters (Clusterwide)" section set "Federation Routing IM/P FQDN" to ''something.internaldomain''. Make sure the name is not used by any cluster member and the name matches the DNS entry created for it. The target IP should be the primary IM&P server. The use of a CNAME works perfectly fine.


=== Expressway-C ===
=== Expressway-C ===
Line 96: Line 97:
{|class="wikitable"
{|class="wikitable"
|-
|-
|+Configuration
|colspan="2"|'''Configuration'''
|Name
|'IMP Servers'
|-
|-
|Hop Count
|Name ||''IMP Servers''
|15
|-
|-
|+H.323
|Hop Count || 15
|Mode
|Off
|-
|-
|colspan="2"|'''H.323'''
|-
|Mode || Off
|-
|colspan="2"|''' SIP '''
|-
|Mode || On
|-
|Port|| 5061
|-
|Transport||TLS
|-
|TLS verify mode|| Off
|-
|Accept proxied registartions || Allow
|-
|Media Encryption mode || Auto
|-
|ICE support || Off
|-
|Multistream mode || On
|-
|Preloaded SIP routes support || Off
|-
|colspan="2"|''' Authentication '''
|-
|colspan="2"| no change required
|-
|colspan="2"|''' Location'''
|-
|colspan="2"| list your IMP serveres
|-
|colspan="2"|''' Advanced '''
|-
| Zone Profile || Custom
|-
|Monitor peer status || Yes
|-
|Call signalling route mode || Auto
|-
|Automatically respond to H.323 searches || Off
|-
|Automatically respond to SIP searches || Off   
|-
|Send empty INVITE for interworked calls || On
|-
|SIP parameter preservation || Off
|-
|SIP poison mode || Off
|-
|SIP encryption mode || Auto
|-
|SIP REFER mode || Forward
|-
|SIP multipart MIME strip mode || Off   
|-
|SIP UPDATE strip mode || Off
|-
|Interworking SIP search strategy || Options   
|-
|SIP UDP/BFCP filter mode || Off
|-
|SIP UDP/IX filter mode || Off
|-
|SIP record route address type || IP   
|-
|SIP Proxy-Require header strip list || ''<empty>''
|}
We assume a standard traversal zone for B2B SIP calls is allready there. If not create one with the standard settings for B2B SIP calls.
==== Configuration -> Dial plan --> Search rules ====
Cereate a Search Rule for Inbound Federation requests with similiar settings
{|class="wikitable"
|-
|colspan="2"|'''Configuration'''
|-
|Rule name || ''inbound_SIP_FED''
|Description || ''Search rule to route MS SIP IM&P''
|Priority || ''98''
|Protocol || SIP
| SIP variant || Microsoft SIP IM&P
|Source || Named   
Source name 
 
Request must be authenticated   
Mode   
Pattern type   
Pattern string 
kaercher.com
Pattern behavior   
On successful match   
Target 
 
State

Latest revision as of 18:36, 18 December 2017


Prerequisites

  • Expressway Version 8.9.2 or better
  • Cisco IMP Version 11.5.2 SU2 or better
  • Certificates
    • Microsoft trusted certificates on the expressway-e (In a multi domain environment the Certificate must contain all FQDNs used in the SRV records)
    • CA signed Certificates on the expressway-c
    • CA signed Certificate for the IMP CUP service
  • DNS Entries:
    • public DNS
      • SRV:_sipfederationtls._tcp.userdomain
      • A: hostname.userdomain. (The jabber user domain and the domain used by the expressway-e public interface must match, otherwise the Skype server declines the connection)
    • internal DNS
      • A: imp1.internaldomain (for all servers including reverse lookup)
      • A: something.internaldomain (This must match the "Federation Routing FQDN", which is configured in a later step. This name is used internaly only. A CNAME for the primary IMP server works fine)
  • Firewall Ports
    • Please refer to Cisco Doc

Configuration Steps

IMP Server

Verify the "Cisco XCP SIP Federation Connection Manager" is activated and running. Verify the CA certificate chain of the expressway-c signing CA is uploaded to the cup-trust store of all imp cluster members.

Presence -> Interdomain Federation -> SIP Federation:

Configure all domains you want to federate to. Chose Integartion type "Inter-Domain to OCS/Lync/S4B"

Presence -> Routing -> Static Routes:

Configure a static route for each federated domain. The following example is for the domain dimensiondata.com

Destination Pattern .com.dimensiondata.*
Description dimensiondata.com
Next Hop expressway-c.internaldomain
Next Hop Port 5061
Route Type Domain
Protocol Type TLS
Priority 1
Weight 1
Allow Less-Specific Route On
In Service On

System -> Security -> Incoming ACL

Add the FQDN of the expressway-c.

System -> Security -> TLS Peer Subjects

Add the FQDN of the expressway-c.

System -> Security -> TLS Context Configuration

Select "Default_Cisco_UP_SIP _PROXY_Peer_Auth_TLS_Context"

In TLS Peer Subject Mapping move the expresswa-c FQDN from "Available TLS Peer Subjects" to "Selected TLS Peer Subjects" and save.

System -> Apllication Listeners =

The "Default Cisco SIP Proxy Listener - Peer Auth" Port has to be set to 5061. 5061 is usualy in use by "Default Cisco SIP Proxy Listener - Server Auth". You have to exchange the port. For this you have to set on of it to a random unused port temporary. (eg. 5063) Do not change any other setting than the port.

System -> Service Parameter

Select the primary IM&P server and the "Cisco SIP Proxy" In the "Federation Routing Parameters (Clusterwide)" section set "Federation Routing IM/P FQDN" to something.internaldomain. Make sure the name is not used by any cluster member and the name matches the DNS entry created for it. The target IP should be the primary IM&P server. The use of a CNAME works perfectly fine.

Expressway-C

Configuration -> Zones

Create a new neighbor zone with similar settings:

Configuration
Name IMP Servers
Hop Count 15
H.323
Mode Off
SIP
Mode On
Port 5061
Transport TLS
TLS verify mode Off
Accept proxied registartions Allow
Media Encryption mode Auto
ICE support Off
Multistream mode On
Preloaded SIP routes support Off
Authentication
no change required
Location
list your IMP serveres
Advanced
Zone Profile Custom
Monitor peer status Yes
Call signalling route mode Auto
Automatically respond to H.323 searches Off
Automatically respond to SIP searches Off
Send empty INVITE for interworked calls On
SIP parameter preservation Off
SIP poison mode Off
SIP encryption mode Auto
SIP REFER mode Forward
SIP multipart MIME strip mode Off
SIP UPDATE strip mode Off
Interworking SIP search strategy Options
SIP UDP/BFCP filter mode Off
SIP UDP/IX filter mode Off
SIP record route address type IP
SIP Proxy-Require header strip list <empty>

We assume a standard traversal zone for B2B SIP calls is allready there. If not create one with the standard settings for B2B SIP calls.

Configuration -> Dial plan --> Search rules

Cereate a Search Rule for Inbound Federation requests with similiar settings

Configuration
Rule name inbound_SIP_FED Description Search rule to route MS SIP IM&P Priority 98 Protocol SIP SIP variant Microsoft SIP IM&P Source Named

Source name

Request must be authenticated Mode Pattern type Pattern string

kaercher.com

Pattern behavior On successful match Target

State