We have a FusionPBX Cluster which is working perfectly for our standard clients.
We have now established a relationship with a provider that allows PSTN calls to be routed to our SIP server.
Our provider has confirmed they can see the following:
I can see these calls however we are getting a 404 not found back from your server 188.8.131.52. You will need to ensure to configure your system to accept calls with cps prefix: Request-URI User Part: C00344442070397187 as we route CPS calls to you as:
sip:C00344442070397187@[url removed, login to view]
We need to configure our FusionPBX to allow calls sent to it from our provider then get routed correctly out of the PBX via the SIP trunks to get the benefit of the cheaper calling costs.
This should be a very simple config change for someone who knows what they are doing in detail!
The error log from Fusion is fairly self explanatory:
b0c38d05-554d-4dca-a015-56997207edb1 Dialplan: sofia/external/+441329834766@[url removed, login to view] parsing [public->44844 8040796] continue=false
b0c38d05-554d-4dca-a015-56997207edb1 Dialplan: sofia/external/+441329834766@[url removed, login to view] Regex (FAIL) [44844 8040796] destination_number(C00344442070397187) =~ /^(448448040796)$/ break=on-false
b0c38d05-554d-4dca-a015-56997207edb1 2017-09-07 15:18:30.737432 [INFO] switch_core_state_machine.c:311 No Route, Aborting
b0c38d05-554d-4dca-a015-56997207edb1 2017-09-07 15:18:30.737432 [NOTICE] switch_core_state_machine.c:312 Hangup sofia/external/+441329834766@[url removed, login to view] [CS_ROUTING] [NO_ROUTE_DESTINATION]