Skip to main content

Looking to buy buy can not seem to get outbound calling to work

Posted by samslack on Tue, 08/15/2017

We are running trail we can get incoming calls to come in but outbound just gives us busy signal.

Icreated a outbound call route called Long distance

_1NXXNXXXXXX

have it set to unrestricted

associated script is tI-dialout-1-trunk | Dial Out (1 trunk)

How long to ring is at 60

the trunk is Sip/VoIP_inno_out1

Am I missing something?

under general settings >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

for the trunk I have (tI-dialout trunk)

Type is set to friend

context is set to from-outside

Call limit is no limit

for Dial out options>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Dialsrting creation is generate

number of digits to strip is 0 everything else is blank

I am attaching screenshots. This system is new to me


Submitted by eeman on Wed, 08/16/2017 Permalink

this mostly looks correct. correct enough to work anyway. Technically voip innovations wants different entries for inbound vs outbound. insecure=port.invite applies to inbound traffic. Type should always be peer (outbound) for any connection using IP method of authentication (no proxy auth) for both inbound/outbound (hence why outbound is bad description of a value that really means peer).

you will need to watch your asterisk CLI to see if the carrier gets called and if they reject the call.

with VI, there are only specific IP they let you send to. This might not be one of them.

Submitted by thirdlane on Wed, 08/16/2017 Permalink

When Asterisk server is behind NAT firewall, in order for Asterisk to use public (so that the trunk provider would not reject the call authenticated by ip ) the externip has to be specified in the general section of sip.conf

externip=external ip address

another parameter that is generally required to treat local addresses without NAT in cases like this is

localnet = net.ip.addr/subnet.mask

Submitted by eeman on Fri, 08/18/2017 Permalink

Do not do that... You still get a lot of one-way audio. NEVER run asterisk from NAT. Use a real IP. The firewall already installed on your PBX is the _exact_ same software running on 95% of all commercial firewalls on the market. With the exception of BSD based firewalls running pf (which have huge problems with SIP) the overwhelming majority use IPTables for their filtering and statefull inspections.