Im new to linux and Asterisk but love learning new skills.
At the moment, i’ve set up a linux server and an installation of asterisk.
Problem is, the server isnt accepting connections from Xlite. XLite just says request timed out.
Here is a copy of my sip.conf file. I would appreciate any help.
[general]
context=default
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
[authentication]
type=peer ; we only want to call out, not be called
secret=PASSWORD
username=6608182 ; Authentication user for outbound proxies
fromuser=6608182 ; Many SIP providers require this!
fromdomain=217.174.248.198
host=sipgate.co.uk
usereqphone=yes ; This provider requires “;user=phone” on URI
call-limit=5 ; permit only 5 simultaneous outgoing calls to this peer
[xlite1]
; Turn off silence suppression in X-Lite (“Transmit Silence”=YES)!
; Note that Xlite sends NAT keep-alive packets, so qualify=yes is not needed
type=user
regexten=1001 ; When they register, create extension 1234
callerid=“Jane Smith” <5678>
host=dynamic ; This device needs to register
nat=yes ; X-Lite is behind a NAT router
canreinvite=no ; Typically set to NO if behind NAT
isallow=all
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
username=journo
secret=hello
dtmfmode=rfc2833 ; Choices are inband, rfc2833, or info
mailbox=1000 ; Mailbox for message waiting indicator
context=sip
Is there any problem with this?