- Joined
- May 7, 2020
- Messages
- 15
- Reaction score
- 0
is there any one who managed to install Sonetel to make outbound call?
I installed the sonetel account, i can receive calls but the outbound calls is giving error - "Call forbidden by Administrator".
I contact with Sonetel, and sent logs.
Everything seems okay in their side and there is no restriction.
They sent me Asterisk settings to make calls. and they added my IP in their server.
I installed the sonetel account, i can receive calls but the outbound calls is giving error - "Call forbidden by Administrator".
I contact with Sonetel, and sent logs.
Everything seems okay in their side and there is no restriction.
They sent me Asterisk settings to make calls. and they added my IP in their server.
Code:
Here is the settings for Asterisk.
Can I connect Asterisk to Sonetel?
Yes. To use Sonetel as a SIP-trunk for Asterisk, follow these steps.
Signup for a Sonetel account.
Setup your Asterisk to send calls via Sonetel (see details below).
Send us the static public IP address of your Asterisk server from where you will send us SIP traffic and we will add it to your account.
Instructions for setting up Asterisk
To setup your Asterisk, you need to first setup a Sonetel trunk. Add the following in your sip.conf.
[soneteltrunk]
type=friend
username=soneteltrunk
fromdomain=mycompany.com ;<your company’s domain name>
host=Second part of the email
outboundproxy=sip.sonetel.com
disallow=all
allow=ulaw,alaw
qualify=yes
dtmf=rfc2833
nat=auto_force_rport
canreinvite=no
insecure=invite,port
context=sonetel
sendrpid=yes
Once this is done, you can optionally setup IP phones to make test calls via your Asterisk.
[1001] ;replace with a name or digits of your choice
type=friend
host=dynamic
secret=password ;<password of your choice>
allow=ulaw,alaw
context=sonetel
Then, you need to update the dial plan to instruct your Asterisk to send calls from these IP phones via the Sonetel trunk. Dial plan to be updated in Extensions.conf
[sonetel]
exten => _X.,1,NoOp(${EXTEN:1})
exten => _X.,n,Set(CALLERID(num)=Sonetel Number you wish to display in +E164 format, such as +16465565566)
exten => _X.,n,Dial(SIP/${EXTEN}@SonetelTrunk)
Place test calls to a number next to you to validate its functioning.
However, I request you to allow the below IP addresses on your servers which we use to forward calls.
54.89.26.205
52.200.74.203
52.5.191.169
52.50.225.135
52.50.177.205
52.49.237.29