File this one under "It's obvious once you think about it for even a second"...
I was recently attempting to get a SIP trunk working to a new Sonus gateway located in Event Zero's head office in Brisbane, Australia. I wanted to test inbound calls to the gateway by calling one of our response group workflows.
Normally, I would pick up my mobile or home phone and dial the number to test, but since I was dialing Australia, and I'm a cheap bastard, I didn't want to do that. It was also the middle of the night in Australia, so I couldn't get someone local to do it for me. If I dialed the number from Skype for Business, then it would do a reverse-number lookup, find an internal match and route me to the response group internally without going through the PSTN, which wouldn't achieve my goal.
My goal was to route a call to our Australian response group via Skype for Business via the PSTN in the easiest, laziest, least-expensive-to-my-own-wallet way possible (this is sounding like an exam question). Pick one of the following answers:
- Suck it up princess and eat the $2.05 it will cost to call Australia for a few seconds.
- Wake up someone in Australia at 2 in the morning, claiming its an emergency.
- Convince yourself that since outbound calls work fine, inbound should too.
- Use a trunk translation rule to route a dummy phone number to the correct destination.
- Give up and start drinking, because its Friday afternoon dammit!
- Dialed number gets normalized to E.164
- Skype for Business does a reverse number lookup to see if there's an internal user or service that is assigned that number.
- If there's a match, routes the call internally directly to the user/service.
- If there isn't an internal match, it finds a valid route through a PSTN trunk
- It applies any outbound number translation to make the number conform to local standards and sends it on its merry way out the gateway to the PSTN.