Yes - each deployment should have its own IBCF.

Ellie

-----Original Message-----
From: Paul Sun [mailto:[email protected]] 
Sent: 14 July 2014 03:58
To: Eleanor Merry
Cc: [email protected]
Subject: RE: Handling Multi Domain on Clearwater

Hi Ellie

>From your forst statement, do you mean that each deployment should have its 
>own I-BCF?

Thanks

- PS

-----Original Message-----
From: Eleanor Merry [mailto:[email protected]] 
Sent: Friday, July 04, 2014 1:08 AM
To: Paul Sun
Cc: [email protected]
Subject: RE: Handling Multi Domain on Clearwater

Hi Paul, 

You should put in the trusted_peers the addresses of nodes that Bono will 
accept traffic from. For example, if you have Clearwater deployment 'A' and you 
wanted it to accept traffic from Clearwater deployment 'B' then you would put 
the IP address of the IBCF in deployment B in the trusted_peers list on the 
IBCF in deployment A (and vice versa).

For the ENUM configuration you don't need to change the dnsmasq.resolv.conf 
file; changing this to point to the ENUM server will mean that the node can 
only resolve entries that are in the ENUM server (this is probably what's 
causing the problem you mentioned in a different email that Sprout couldn't 
route to domain names). Instead, you can change /etc/dnsmasq.d/enum-forwarding 
to include server=/e164.arpa/<IP address> and restart dnsmasq - see 
https://github.com/Metaswitch/clearwater-docs/wiki/ENUM#dnsmasq. 

For the BGCF configuration you should put in the IBCF nodes that are used to 
route to a particular destination. For example, take the case where you have 
two Clearwater deployments (again called A and B), you want to route an INVITE 
from A to B and Clearwater B is setup so that the IBCF in Clearwater A is a 
trusted peer. The bgcf.json file on A will look like:
{
    "routes" : [
        {   "name" : "Routing to deployment B",
            "domain" : "b.domain",
            "route" : ["sip:a.domain:5058", "sip:b.domain:5060"]
        },
    ]
}

The routes are valid SIP URIs. The first entry is the bono node on deployment A 
(on the trusted port), and the second entry is the bono node on deployment B 
(on the untrusted port). This is necessary as the Sprout on Clearwater A can't 
simply route to Clearwater B, as Clearwater B will only accept traffic from a 
node on its trusted_peers list. 

Hope this helps, 

Ellie


 -----Original Message-----
From: Paul Sun [mailto:[email protected]] 
Sent: 03 July 2014 10:57
To: Eleanor Merry
Subject: RE: Handling Multi Domain on Clearwater

Hi Ellie

I need more information on how to setup the I-BCF, I installed the node using 
manual installation, and install the bono package as described in the link.

>From the information, after I installed the BONO with the 
>/etc/clearwater/config, I should create the /etc/clearwater/user_settings, I 
>would like to know whether below format is correct? the SIP trunk IP addresss 
>is P-CSCF address or I/S-CSCF address?

trusted_peers="<P-CSCF-01 IP address>,< P-CSCF-02 IP address>,< P-CSCF-03 IP 
address>"

Followed with the above configuration, I should setup the ENUM server, and make 
sure dnsmar.resolve.conf is pointing to this ENUM server.

On the ENUM server, I have a question, assumed I have below mapping

*.8 IN NAPTR 1 1 "u" "E2U+sip" "!(^.*$)!sip:\\[email protected]!" .
*.6 IN NAPTR 1 1 "u" "E2U+sip" "!(^.*$)!sip:\\1@<P-CSCF-02 IP address>!" .

Can I configured like below? Any additional setup required?

*.8 IN NAPTR 1 1 "u" "E2U+sip" "!(^.*$)!sip:\\[email protected]!" .
*.6 IN NAPTR 1 1 "u" "E2U+sip" "!(^.*$)!sip:\\[email protected]>!" .

Also, it seems that I also need to enable BGCF config in SPROUT, can you 
provide a sample to me as I am not sre what is ["<IBCF SIP URI>"]. If I am not 
wrong, it seems that I need to define like below.

{
    "routes" : [
        {   "name" : "domain1",
            "domain" : "P-CSCF-01 IP address",
            "route" : ["<IBCF SIP URI>"]
        },
        {   "name" : "domain2",
            "domain" : "P-CSCF-02 IP address ",
            "route" : ["<IBCF SIP URI>", "<IBCF SIP URI>"]
        }
    ]
}

Please help

-PS
-----Original Message-----
From: Eleanor Merry [mailto:[email protected]] 
Sent: Thursday, July 03, 2014 1:34 AM
To: Paul Sun
Subject: RE: Handling Multi Domain on Clearwater

Hi Paul, 

Can you clarify what the scenario is here?

If you want your Clearwater subscribers to receive INVITEs from external 
subscribers, then you need to allow requests from the external deployment. You 
can do this by adding the external IBCF as a trusted peer to Bono - see 
https://github.com/Metaswitch/clearwater-docs/wiki/IBCF for details of how to 
set this up. 

If you want your Clearwater subscribers to send INVITEs to external subscribers 
then you may also need to set up appropriate ENUM rules to map from a telephone 
number (either a TEL URI or embedded in a SIP URI) to the correct domain. You 
mayl also need to set up a BGCF to match on domain and determine the route to 
follow (i.e. which Route headers to apply). Details of how to set this up are 
at https://github.com/Metaswitch/clearwater-docs/wiki/IBCF. For ENUM, there is 
more detailed documentation (including how to set up your own ENUM server) at 
https://github.com/Metaswitch/clearwater-docs/wiki/ENUM. 

Hope this helps, 

Ellie

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Paul Sun
Sent: 02 July 2014 04:01
To: [email protected]
Subject: [Clearwater] Handling Multi Domain on Clearwater

Hi

I would like to know whether I can configured Clearwater to handling 
multidomain connection?

Assumed the SIP request is coming from different I-BCF, i.e. the domain is 
different.

Please comment.

Thanks

- PS


_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

Reply via email to