Cant make outbound calls – asterisk

asterisk

I have a basic Atcom IP01 with the following config

  1. Registered Voip (SIP) Trunk
  2. Registered Voip Phone – ext
  3. Dial Plan
  4. Outbound Call rule

I made use of this manual that the manufacturer supplies:

http://www.atcom.cn/cn/download/pbx/ip01/ATCOM%20IP01-User%20Manual-V1.0-EN.pdf

Whenever I try and make a call, it seems that the outbound call rule that i defined does not get regarded as the default rule even though the dial plan lists this as the only outbound call rule.

When dialling I see in the log file the following

[Jan 1 09:10:07] NOTICE[176]: chan_sip.c:14377 handle_request_invite:
Call from '6001' to extension '00765243679' rejected because extension
not found.

The 00765243679 is a cellular number.

Am I missing a configuration in order to make outbound calls?
Land line, other Voip numbers and cellular calls have been tried

Best Answer

You need to setup an extension that uses matching to match your local telecom rules. I'm only familiar with the US rules so I'll use them as an example.

To dial a local number in the US you would setup an extension that looks like:

exten => _9NXXXXXX,1,Dial(${GLOBAL(TRUNK)}/${EXTEN:${GLOBAL(TRUNKMSD)}})

What this does is:

  • Tell it it is a matching extension _
  • tell it to match only 9 for outbound (the dial out prefix - 9 is the custom in the US)
  • Tell it to then match any number in the NPA NXX format
  • Send the call out of the configured Trunk

There is alot of good Asterisk configuration information at http://voip-info.org