Upgrade 3CX to v18 and get it hosted free!

Asterisk settings Telasip

Author image

Sample Asterisk config for TelaSIP

Assumptions:

  • Password: abcdef9876
  • Phone number: 8885551234


[general]
port=5060
bindaddr=0.0.0.0
pedantic=no
autocreatepeer=no
disallow=all
allow=ulaw,alaw,gsm
canreinvite=no
nat=no
context=from-sip
;;; ''Beginning of stuff for NAT support''
externip====my.static.ip.address.or.Fully.Qualified.Dynamic.Domain.Name===
localnet====my.local.internal.ip.address/net.mask===
;;; ''End of stuff for NAT support''
register => ===yourusername===:[email protected]:5060/===8885551234===

sip.conf


[telasip-gw]
type=peer
username=yourusername
secret====abcdef9876===
port=5060
host=gw3.telasip.com
context=from-telasip
relaxdtmf=yes
qualify=yes
canreinvite=no
insecure=very
disallow=all
allow=ulaw
dtmfmode=rfc2833
progressinband=yes
nat=yes

extensions.conf


[from-sip]
;;; Default context for all incoming SIP calls without a specific context definition
exten => _X.,1,Congestion

[from-telasip]
;;; Incoming calls enter into this context
;;; I'll configure it to start the EchoTest
exten => 8885551234,1,Answer
exten => 8885551234,2,NoOp(==> ${TIMESTAMP}: Starting EchoTest for ${CALLERIDNUM})
exten => 8885551234,3,Wait(2)
exten => 8885551234,4,Playback(demo-echotest)
exten => 8885551234,5,Echo
exten => 8885551234,6,Playback(demo-echodone)
exten => 8885551234,7,NoOp(==> ${TIMESTAMP}: Ending EchoTest for ${CALLERIDNUM})
exten => 8885551234,8,Hangup

[default]
;;; Call out to Tell-me's 800 info directory
exten => 18005551212,1,Dial(SIP/telasip-gw/18005551212)

See also



Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.