link Asterisk Engin Trunk Configuration← Back

This my Elastix SIP trunk configuration for a successful connection to Engin. I force all extensions and the trunk to the G711u codec. You'll need to specify your own usernames and password/secret.

I called my trunk Engin, specified my outbound CID and the number of channels I have available in my main Trunk preferences then used the following settings.

Outgoing (Named Engin)

host=byo.engin.com.au
username=07xxxxxxxx
secret=password
type=peer
insecure=very
nat=yes
fromuser=07xxxxxxxx
fromdomain=byo.engin.com.au
qualify=yes
dtmfmode=rfc2833
canreinvite=no
canredirect=no
disallow=all
allow=ulaw
defaultexpirey=1800
maxexpirey=3600

Incoming (Named 07xxxxxxxx)

secret=password
type=user
context=from-trunk-sip-Engin
Setting context=from-trunk-sip-Engin allows your inbound route to take the number of current outbound calls into account when deciding whether there are enough channels available if you have specified your maximum channels for this SIP trunk, which for my plan is 2.

Registration

07xxxxxxxx:yoursecret@byo.engin.com.au/07xxxxxxxx
(Should be all on 1 line, no spaces)


Comments

Gravatar

2016-03-10

I don't have a copy of my old dialplan as I set it up through the GUI in Elastix but http://blog.andrew.net.au/2006/02/13/ might help you.

Gravatar

Rohit

2016-03-10

Hi Could you please help me with the dial plan entry for engin on vicidial

Post a comment