Home / SIP/VoIP / Asterisk configurations for sip.conf and extensions.conf

Asterisk configurations for sip.conf and extensions.conf

Franzcom is completely compatible with VICIdial and Asterisk.

These are some configurations which we have used with our clients to configure their Asterisk and VICIdial SIP/VoIP servers.

Account entry for OUTGOING IP authentication

username=
secret=
disallow=all
allow=ulaw
allow=alaw
allow=g722
allow=g729
type=peer
host=5.144.84.191
insecure=port,invite
nat=yes
qualify=yes
dtmfmode=rfc2833
canreinvite=no

Account entry for OUTGOING SIP user username and password

register => sip_username:sip_password@open-telecom.co.uk:5060

username=sip_username
secret=sip_password
disallow=all
allow=ulaw
allow=alaw
allow=g722
allow=g729
type=friend
host=sip.open-telecom.co.uk
context=default
dtmfmode=rfc2833
qualify=yes
insecure=very

Dialplan entry our OUTGOING all calls to Franzcom SIP trunk

exten => _X,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X,2,Dial(${TrunkID}/${EXTEN:$},,To)
exten => _X,3,Hangup

If above does not work then try this

exten => _X,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X,2,Dial(SIP/${EXTEN:$}@TrunkID,,To)
exten => _X,3,Hangup

To setup up an INCOMING SIP trunk or DID use the following.

disallow=all
allow=ulaw
allow=alaw
allow=g722
allow=g729
type=friend
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=very
nat=yes
host=sip.open-telecom.co.uk
username=sip_username
secret=sip_password
fromuser=sip_username
fromdomain=sip.open-telecom.co.uk

Print Friendly, PDF & Email

Leave a Reply

Top
Translate »