Hi, 

You're trying to route to 
sip:9727531844;[email protected];user=phone. This URI 
represents a telephone number (as user=phone is set and the userpart is 
numeric). It's also counted as a global number (this isn't technically spec 
compliant, but we've found that many soft clients don't correctly differentiate 
between local/global numbers, so enforcing a strict global/local separation 
breaks routing). If you're confident in the behaviour of your client, or you 
have an appropriate application server, you can make this more spec compliant 
by setting the enforce_global_only_lookups flag (see 
http://clearwater.readthedocs.org/en/stable/Clearwater_Configuration_Options_Reference/index.html
 for how to do so).

At the end of originating processing, we've got a URI that we believe 
represents an E.164 number. We therefore do an ENUM lookup to translate this 
into a SIP URI (but this fails as you don't have ENUM set up). 

We then start terminating processing for this number. It's still treated as a 
global number (rather than a local user), so we then route it to the BGCF (the 
BGCF is present, even if it hasn't been configured).

To fix this for your system, I recommend you enable ENUM 
(http://clearwater.readthedocs.org/en/stable/ENUM/index.html). Alternatively, 
you can set the enforce_global_only_lookups flag described above. 

Hope this helps,

Ellie

-----Original Message-----
From: Clearwater [mailto:[email protected]] On 
Behalf Of Trey Ormsbee
Sent: 21 December 2015 21:36
To: [email protected]
Subject: [Clearwater] Sprout trying to send to BGCF for local uri.

I have an issue with sprout trying to route a local domain call to a bgcf.  

local domain = example.com
sprout receives request from sbc.

Here is the log:

21-12-2015 21:01:01.994 UTC Verbose sproutletproxy.cpp:1967: Routing Request 
msg INVITE/cseq=1367854020 (tdta0x7f3ec412fca0) (1553 bytes) to downstream 
sproutlet scscf:
--start msg--

INVITE sip:9727531844;[email protected];user=phone
SIP/2.0^M
Via: SIP/2.0/UDP
xxx.xxx.xxx.140:5060;received=xxx.xxx.xxx.140;branch=z9hG4bK0cB006ff5fe416aabc5^M
From: <sip:[email protected]>;tag=gK0c01d019^M
To: <sip:9727531844;[email protected];user=phone>^M
Call-ID: [email protected]^M
CSeq: 1367854020 INVITE^M
Max-Forwards: 69^M
Allow: INVITE, ACK, CANCEL, BYE, REGISTER, REFER, INFO, SUBSCRIBE, NOTIFY, 
PRACK, UPDATE, OPTIONS, MESSAGE, PUBLISH^M
Contact: <sip:[email protected]:5060;reg-info=1b0c>;*;
+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";
+sip.instance="<urn:gsma:imei:35329606-069606-6>"^M
Route: <sip:example.com:5060;lr>^M
Accept-Contact: *;+g.3gpp.icsi-ref="urn%3Aurn-7% 
3A3gpp-service.ims.icsi.mmtel"^M
P-Preferred-Service: urn:urn-7:3gpp-service.ims.icsi.mmtel^M
P-Access-Network-Info:
3GPP-UTRAN-FDD;utran-cell-id-3gpp=310410CDAD69C1B15^M
P-Early-Media: supported^M
Accept: application/sdp^M
User-Agent: TaquaUA/Android-3.11.12-Debug^M
Privacy: none^M
P-Preferred-Identity: <sip:[email protected]>^M
Supported: 100rel, precondition, replaces^M
Content-Disposition: session; handling=required^M
Content-Type: application/sdp^M
Content-Length:   267^M
^M
v=0^M
o=Sonus_UAC 597389205 822267408 IN IP4 xxx.xxx.xxx.140^M s=SIP Media 
Capabilities^M c=IN IP4 xxx.xxx.xxx.140^M
t=0 0^M
m=audio 1030 RTP/AVP 8 0 101^M
a=rtpmap:8 PCMA/8000^M
a=rtpmap:0 PCMU/8000^M
a=rtpmap:101 telephone-event/8000^M
a=fmtp:101 0-15^M
a=sendrecv^M
a=maxptime:60^M


--end msg--
21-12-2015 21:01:01.994 UTC Debug pjutils.cpp:691: Cloned
tdta0x7f3ec412fca0 to tdta0x7f3ec41993f0
21-12-2015 21:01:01.994 UTC Debug sproutletproxy.cpp:1123: Remove top Route 
header Route: <sip:example.com:5060;lr>
21-12-2015 21:01:01.994 UTC Debug sproutletproxy.cpp:1640: Adding message 
0x7f3ec4199a00 => txdata 0x7f3ec4199498 mapping
21-12-2015 21:01:01.994 UTC Verbose sproutletproxy.cpp:1492:
scscf-0x7f3ec40916f0 pass initial request Request msg
INVITE/cseq=1367854020 (tdta0x7f3ec41993f0) to Sproutlet
21-12-2015 21:01:01.994 UTC Info scscfsproutlet.cpp:381: S-CSCF received 
initial request
21-12-2015 21:01:01.994 UTC Debug session_expires_helper.cpp:124: Set session 
expires to 600
21-12-2015 21:01:01.994 UTC Debug uri_classifier.cpp:167: home domain:
true, local_to_node: false, is_gruu: false, enforce_user_phone: false,
prefer_sip: true, treat_number_as_phone: false
21-12-2015 21:01:01.994 UTC Debug uri_classifier.cpp:197: Classified URI as 4
21-12-2015 21:01:01.994 UTC Debug scscfsproutlet.cpp:677: Route header 
references this system
21-12-2015 21:01:01.994 UTC Debug scscfsproutlet.cpp:730: No ODI token, or 
invalid ODI token, on: request, and no P-Charging-Vector header (so can't log 
ICID for correlation)
21-12-2015 21:01:01.994 UTC Debug scscfsproutlet.cpp:736: Got our Route header, 
session case term, OD=None
21-12-2015 21:01:01.994 UTC Debug uri_classifier.cpp:167: home domain:
true, local_to_node: false, is_gruu: false, enforce_user_phone: false,
prefer_sip: true, treat_number_as_phone: false
21-12-2015 21:01:01.994 UTC Debug uri_classifier.cpp:197: Classified URI as 2
21-12-2015 21:01:01.994 UTC Debug scscfsproutlet.cpp:1020: URI is not locally 
hosted
21-12-2015 21:01:01.994 UTC Debug acr.cpp:49: Created ACR
(0x7f3ec4046690)
21-12-2015 21:01:01.994 UTC Debug acr.cpp:54: Destroyed ACR
(0x7f3ec4046690)
21-12-2015 21:01:01.994 UTC Info scscfsproutlet.cpp:464: Route request to BGCF 
without applying services
21-12-2015 21:01:01.994 UTC Info scscfsproutlet.cpp:1317: Routing to BGCF 
sip:[email protected]:5054;transport=TCP
21-12-2015 21:01:01.994 UTC Debug sproutletproxy.cpp:1258: Sproutlet 
send_request 0x7f3ec4199a00
21-12-2015 21:01:01.994 UTC Verbose sproutletproxy.cpp:1294:
scscf-0x7f3ec40916f0 sending Request msg INVITE/cseq=1367854020
(tdta0x7f3ec41993f0) on fork 0
21-12-2015 21:01:01.995 UTC Debug sproutletproxy.cpp:1655: Processing actions 
from sproutlet - 0 responses, 1 requests, 0 timers
21-12-2015 21:01:01.995 UTC Debug sproutletproxy.cpp:1695: Processing request 
0x7f3ec4199498, fork = 0
21-12-2015 21:01:01.995 UTC Debug sproutletproxy.cpp:1819:
scscf-0x7f3ec40916f0 transmitting request on fork 0
21-12-2015 21:01:01.995 UTC Debug sproutletproxy.cpp:1833:
scscf-0x7f3ec40916f0 store reference to non-ACK request Request msg
INVITE/cseq=1367854020 (tdta0x7f3ec41993f0) on fork 0
21-12-2015 21:01:01.995 UTC Debug sproutletproxy.cpp:1647: Removing message 
0x7f3ec4199a00 => txdata 0x7f3ec4199498 mapping
21-12-2015 21:01:01.995 UTC Debug sproutletproxy.cpp:102: Find target Sproutlet 
for request
21-12-2015 21:01:01.995 UTC Debug sproutletproxy.cpp:136: Found next routable 
URI: sip:[email protected]:5054;transport=TCP;lr
21-12-2015 21:01:01.995 UTC Debug sproutletproxy.cpp:261: Found user - bgcf
21-12-2015 21:01:01.995 UTC Debug sproutletproxy.cpp:261: Found user - bgcf
21-12-2015 21:01:01.995 UTC Debug sproutletproxy.cpp:261: Found user - bgcf
21-12-2015 21:01:01.995 UTC Verbose sproutletproxy.cpp:1062: Created Sproutlet 
bgcf-0x7f3ec412e460 for Request msg INVITE/cseq=1367854020
(tdta0x7f3ec41993f0)
21-12-2015 21:01:01.995 UTC Verbose sproutletproxy.cpp:1967: Routing Response 
msg 100/INVITE/cseq=1367854020 (tdta0x7f3ec419c360) (346 bytes) to upstream 
sproutlet scscf:


config:

home_domain=example.com
sprout_hostname=sprout.example.com
chronos_hostname=localhost:7253
hs_hostname=homestead.example.com:8888
hs_provisioning_hostname=homestead.example.com:8889
xdms_hostname=homer.example.com:7888

# Local IP configuration
local_ip=xxx.xxx.xxx.41
public_ip=xxx.xxx.xxx.140
public_hostname=sprout01.example.com

# Email server configuration
smtp_smarthost=iopmail.interoptechnologies.com
smtp_username=mailuser
smtp_password=secret
 
[email protected]

# Keys
signup_key=secret
turn_workaround=secret
ellis_api_key=secret
ellis_cookie_key=secret

# HSS configuration
hss_hostname=hss.example.com
hss_port=3868

# Advanced options
log_level=5
sprout_rr_level=pcscf,icscf,as
#force_third_party_reg_body=Y


Any ideas what is going wrong here?  Also I do not have a bgcf.conf or enum 
setup on this platform.  So routing to a bgcf seems a bit odd.




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

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

Reply via email to