I have installed the QNAP qPKG for Asterisk 1.4 and cannot get the most basic connection to work.
the QNAP device and 2 PCs are installed on my home network.
The PCs have the 3CX phone application installed.
Both softphones can connect to Asterisk OK
USERS are setup for 6001 & 6002 and these are the same elements defined in SIP.CONF
When I try to dial ext-to-ext; or ext-to-voicemail I get 1 ring then the error “Media not supported”
extensions.conf is the simple test pattern:
[DLPPLN_Dial_Local]
exten=6001,1,Dial(SIP/6001,10)
exten=6001,n,VoiceMail(6001,u)
exten=6002,1,Dial(SIP/6002,10)
exten=6002,n,VoiceMail(6002,u)
exten=6000,1,VoiceMailMain(${CALLERID(num)},s)
CLI SIP SHOW PEERS:
Name/username Host Dyn Nat ACL Port Status
6002/6002 192.168.1.100 D N 2927 Unmonitored
…
The 3CX software has the PCMA, PCMU & GSM Codecs
SIP.CONF (below) is the default that was installed with the ALLOW changed as the error seemed to imply that it was something to do with the CODEC.
I would be grateful if anybody could point out what must be the obvious mistake here, as I am at a complete loss staring at this when all the guides seem to assume this is pretty much a “gimme” straight out of trhe box.
Thanks
[General]
context=default
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
allowexternaldomains=yes
allowguest=yes
allowsubscribe=yes
allowtransfer=yes
alwaysauthreject=no
autodomain=no
callevents=no
canreinvite=nonat
checkmwi=10
compactheaders=no
defaultexpiry=120
domain=
dtmfmode=
dumphistory=no
externhost=myactual.homeip.net ;from dynDNS
externrefresh=60
fromdomain=
g726nonstandard=no
jbenable=no
jbforce=no
jbimpl=
jblog=no
jbmaxsize=
jbresyncthreshold=
language=
localnet=192.168.0.0/255.255.255.0
maxcallbitrate=384
maxexpiry=3600
minexpiry=60
mohinterpret=default
mohsuggest=
nat=route
notifyringing=yes
pedantic=no
progressinband=never
promiscredir=no
realm=Asterisk
recordhistory=no
registerattempts=0
registertimeout=20
relaxdtmf=no
rtpholdtimeout=
rtptimeout=
sendrpid=no
sipdebug=no
subscribecontext=
t1min=100
t38pt_udptl=no
tos_audio=none
tos_sip=none
tos_video=none
trustrpid=no
useragent=Asterisk PBX
usereqphone=no
videosupport=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=speex
[Authentication]
- Blank -
[6002] ; & the same for 6001
type=friend
context=DLPN_Dial_Local
secret=1234
host=dynamic