These are the settings That I have found to work with gossiptel
sip.conf:
;
; SIP Configuration for Asterisk
;
[general]
port = 5060 ; Port to bind to
bindaddr = 0.0.0.0 ; Address to bind to
context = inbound ; Default for incoming calls
;
register => USERID:[email protected]
[gossiptel]
type=friend
username=USERID
fromuser=USERID
authuser=USERID
secret=PASSWORD
host=sip.gossiptel.com
nat=yes
insecure=very
dtmfmode=inband
canreinvite=no
fromdomain=sip.gossiptel.com
context=inbound
extensions.conf:
[globals]
GOSSIPTEL=930XXXX
GOSSIPID=Your Name
[gossiptel]
exten => _*8805.,1,SetCallerId(${GOSSIPID} <${GOSSIPTEL}>)
exten => _*8805.,2,Dial(SIP/${EXTEN:5}@gossiptel,60,T)
exten => _*8805.,3,Congestion()
YMMV
I hope you find this useful.
Ron Wellsted
- Asterisk SIP NAT solutions
- Asterisk tips and tricks
- Asterisk SIP channels: Documentation on Asterisk SIP configuration
- NAT and VOIP