Hi Paul, To clarify, when you say "When A calls B where B is in the form of bbbbb", do you mean when the number is represents a telephone number, rather than a SIP URI (so it's of the form tel:number, or sip:number@domain;user=phone).
In this case, Sprout will perform an ENUM lookup on bbbbb, and resolve it to whatever has been set up in the ENUM rules - in your example below then every lookup will return domain2. There is a complication here though. By default, Sprout performs a lookup on all SIP URIs that use the deployment's home domain, so your ENUM rule will rewrite these as well. ENUM lookups should only be done when the URI represent a global number (TS 24.229, 5.4.3.2). A SIP URI that represents a number should add the user=phone parameter, however we've found that many SIP clients do not do this. To work with these devices, Sprout performs a lookup on all SIP URIs that use the deployment's home domain. There is a configuration option that controls this behaviour (enforce_user_phone - see https://github.com/Metaswitch/clearwater-docs/wiki/Clearwater-Configuration-Options-Reference#advanced-options). Alternatively, you can set the ENUM rule to only rewrite a particular set of numbers. Hope this helps, Ellie -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Paul Sun Sent: 12 November 2014 09:56 To: [email protected] Subject: [Clearwater] Question on setting up ENUM Fowarding with I-BCF. HI I would like to correct my understanding on setting up the ENUM forwarding. In my setup, I have I-BCF working together with P/S-CSCF. - When A calls B where B is in the form of [email protected], it request will be routed out by I-BCF. - When A calls B where B is in the form of bbbbb, it will look up the ENUM server through the enum-forwarding setting and resolve the SIP address with domain. If the above understanding is correct, then can I do in this way? A calls B where B is in the form of bbbbb, in the ENUM server, it is configured as below. * IN NAPTR 1 1 "u" "E2U+sip" "!(^.*$)!sip:\\[email protected]!" . Once, it reads, the S-CSCF will then go through the I-BCF and route out to domain2? Possible? - PS _______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater _______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater
