Redirect specific dialed PSTN numbers to internal extensions
I have a few stubborn users that will not dial internal extensions but will always dial the full PSTN number which then dials out before coming back in for the intended extension. Bad for bandwidth and that $0.015 adds up over time. How can I trap those dialed numbers and send it to the extension without leaving the PBX?
I can't do this for example on an outbound route:
9051231234|260+
user dials 9051231234 but I want it to go directly to 260
Thanks,
I was on the right track and thought that ENUM might do the trick. But I guess I would have to register my DIDs which at this point I know little about ENUM. I see 'trial' projects for ENUM in Canada so not sure yet where to go. For giggles I setup a route to a test number I found here and got the recording so that theory works.
Can I do this with a local DNS domain or some other trick to keep my users from dialing out and back to the next desk?
enum only checks to see if it's listed in the database, then gives it a sip url to connect to if it exists in the db. there's no proxying out and back in. It's like a dns lookup.
I'm guessing you could run an enum server internally, but that's something i haven't set up ever.
Setup a SIP or IAX trunk to yourself. Use 127.0.0.1, you can do it in one trunk using the inbound and outbound settings. You may have to use the interface IP in the inbound peer settings on your trunk.
Then setup an outbound route to capture the DID's and send them to the 'loopback' trunk
Brilliant! That was the easy way and works a treat. I setup an IAX2 trunk with the simple lines:
host=127.0.0.1
type=peer
An outbound route as Intra Company with a list of my DIDs pointing at the loopback trunk. Instantly connects to the extension and shows the internal extension # so they get used to dialing the easy way. Thanks a million!
But I'm also interested in ENUM for other uses. The test numbers work well but until today the e164.org site was unavailable. That might save some money down the line.



Member Since:
2007-09-11