Hello community,
I have a Virtual machine running asterisk 13.28.1 in Ubuntu 18.04.3.
I have installed Blink in my virtaul machine and in my physical machine as softphones.
I have followed the tutorial in this link : https://wiki.asterisk.org/wiki/display/AST/Secure+Calling+Tutorial
I have some problems after i’ve done the configurations above.
The first one is i can’t make calls between the softphones. In asterisk console a error message pops up which says : Auto fallthough, channel SIP/Mousouda-000000002’ status is CHANUNAVAILABLE
The second problem is that when i register the users to the softphones, in asterisk console says that are registered in a port other than the tls port (5061).
Below are my conf. files:
extensions.conf file :
[local]
exten=>6003,1,Dial(SIP/Mousouda,20)
exten=>6004,1,Dial(SIP/Patousa,20)
sip.conf file :
[general]
tlsenable=yes
tlsbindaddr=0.0.0.0
tlscertfile=/etc/asterisk/keys/asterisk.pem
tlscafile=/etc/asterisk/keys/ca.crt
tlscipher=ALL
tlsclientmethod=tlsv1
[Mousouda]
type=peer
secret=1234
host=dynamic
context=local
dtmfmode=rfc2833
disallow=all
allow=g722
transport=tls
nat=force_rport,comedia
directmedia=no
[Patousa]
type=peer
secret=1234
host=dynamic
context=local
dtmfmode=rfc2833
disallow=all
allow=g722
transport=tls
nat=force_rport,comedia
directmedia=no
pjsip.conf file :
[transport-tls]
type=transport
protocol=tls
bind=0.0.0.0:5061
cert_file=/etc/asterisk/keys/asterisk.crt
priv_key_file=/etc/asterisk/keys/asterisk.key
method=tlsv1
[Patousa]
type=aor
max_contacts=1
remove_existing=yes
[Patousa]
type=auth
auth_type=userpass
username=Patousa
password=1234
[Patousa]
type=endpoint
aors=Patousa
auth=Patousa
context=local
disallow=all
allow=g722
dtmf_mode=rfc4733
media_encryption=sdes
[Mousouda]
type=aor
max_contacts=1
remove_existing=yes
[Mousouda]
type=auth
auth_type=userpass
username=Mousouda
password=1234
[Mousouda]
type=endpoint
aors=Mousouda
auth=Mousouda
context=local
disallow=all
allow=g722
dtmf_mode=rfc4733
media_encryption=sdes
If anyone can help, please i am in desparate situation.