Hi Janek,
Looking at your configuration files, what I think is happening (on an external
call) is:
- Sprout rewrites the domain to mgcf.domain.com successfully.
- Sprout checks if there are any BGCF routes for the domain 'mgcf.domain.com'.
- This fails, as the domain in the BGCF file is '10.193.153.100'
- Sprout attempts to route the call directly to mgcf.domain.com, which fails.
I'd need to see the sprout log files to confirm this though.
The "domain" in the bgcf.json file should be the domain that you want calls to
route to (in this case mgcf.domain.com). The "route" should contain the
hostnames/IP address of nodes used to route to this domain (in this case just
the MGCF itself), e.g.:
{ "name" : "MGCF",
"domain" : "mgcf.domain.com",
"route" : ["10.193.153.100"]
}
Can you make this change to the bgcf.json and see if external calls then get
routed correctly?
If they don't, can you also attach the debug logs from sprout during an
external call attempt? Sprout logs are in /var/log/sprout/. To set the logs to
debug level you will need to create/edit the file /etc/clearwater/user_settings
and add log_level=5, and then run "service sprout stop" to restart the sprout
server (it's automatically restarted by monit).
Also, the initial prefix in the enum configuration file (for internal calls)
doesn't look right:
"prefix" : "12201234 <[email protected]>"
The prefix should just be the (initial) numbers to match, e.g.:
"prefix" : "12201234"
Hope this helps,
Ellie
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jasio
Kololski
Sent: 22 April 2014 14:33
To: [email protected]
Subject: [Clearwater] IBCF/BGCF configuration
Hello Community,
I am having problem setting up IBCF/BGCF configuration.
IMS->PSTN call cannot get through.
After AS returns originating INVITE, I keep getting sprout response 404 Not
Found for non-IMS call.
It sends that after querying HSS for external user.
At this point it should do ENUM query for this user and based on this, query
HSS or route it towards MGCF that I have setup?
I can't see any DNS/ENUM queries from sprout...
Is there anything to be turned on for it to work?
On sprout I configured bgcf.json file as follows:
{
"routes" : [
{ "name" : "MGCF",
"domain" : "10.193.153.100",
"route" : ["mgcf"]
}
]
}
enum.json file contains:
{
"number_blocks" : [
{ "name" : "Internal numbers",
"prefix" : "12201234 <[email protected]>",
"regex" : "!^(.*)$!sip:\\[email protected]!"
},
{ "name" : "External numbers",
"prefix" : "",
"regex" : "!^(.*)$!sip:\\[email protected]!"
}
]
}
Regards,
Janek
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater