Asterisk settings Telasip

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===:===abcdef9876===@gw3.telasip.com: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



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===:===abcdef9876===@gw3.telasip.com: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



Created by: chandave, Last modification: Fri 05 of Nov, 2010 (09:49 UTC) by admin
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+