We are integrating with a cloud PBX provider. I am trying to set up a SIP trunk with them from Asterisk so that we can have extension dialing between systems.
The cloud PBX provider is requesting that extension dialing contain a specific RURI to connect. I cannot figure out how to accomplish this.
The provider is 8x8. We are trying to establish SIP Tie Trunk connectivity. Here is the format that 8x8 is requesting. 8x8 has a test extension 10001 that I am trying to connect to from extension 10010 on my Asterisk PBX.
Customer to follow RURI format below for inbound calls to the 8x8 pbx accordingly.
RURI: [extension_number]@inbyochealthfirstsharedpserv.8x8.com
8x8 Proxy server and port to allow for inbound and outbound traffic:
Customer will send to PROXY SERVER: [ssbctrunk-us.8x8.com:5500]
According to 8x8, the RURI should be 10001@inbyochealthfirstsharedpserv.8x8.com for the call to be successful. What am I doing wrong and how can I modify the RURI to be correct?
You need the \;lr, for loose routing, on the proxy, otherwise it is treated as strict routing and the proxy address goes into the request URI.
Because you have used strict routing, the actual target URI, with the extension, will be in Route header, but you have collapsed the headers in the above.
We generally prefer text, so we can search it, and the Asterisk logging, rather than third party tools, as we are familiar with that.
That worked!!! It was a matter of applying loose routing in the proper location. Although the RURI is now correct I am now receiving a Loop Detected from 8x8, which I will work on with them. But at least I know that the requested RURI format is correct.