Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [transport-tls]
- type=transport
- protocol=tls
- bind=0.0.0.0
- cert_file=/etc/ssl/certs/asterisk1.blu.priv.crt
- priv_key_file= /etc/ssl/private/asterisk1.blu.priv.key
- ca_list_file= /etc/ssl/certs/blu.priv.crt
- method=tlsv1_2
- [transport-udp]
- type=transport
- protocol=udp
- bind=0.0.0.0:5060
- [telefono1]
- type=aor
- max_contacts=10
- [telefono1]
- type=auth
- auth_type=userpass
- username=telefono1
- password=*****************; replace
- [telefono1]
- type=endpoint
- context=local
- allow=!all,alaw,ulaw,g729,g723,ilbc
- direct_media=yes
- callerid="*******" <************> ;replace with yourid
- media_encryption=sdes
- inband_progress=yes
- tone_zone=it
- language=it
- auth=telefono1
- aors=telefono1
- [reg_192.168.0.1]
- type=registration
- retry_interval=20
- max_retries=10
- expiration=120
- transport=transport-udp
- outbound_auth=auth_reg_192.168.0.1
- client_uri=sip:asterisk01@192.168.0.1
- server_uri=sip:192.168.0.1
- [auth_reg_192.168.0.1]
- type=auth
- password=************************ ; replace with the pass for phone on FritzBox
- username=asterisk01
- [asterisk01]
- type=aor
- contact=sip:asterisk01@192.168.0.1
- [asterisk01]
- type=identify
- endpoint=asterisk01
- match=192.168.0.1
- [asterisk01]
- type=auth
- username=asterisk01
- password=*************************; replace with the pass for phone on FritzBox
- [asterisk01]
- type=endpoint
- context=uscita
- allow=!all,alaw,ulaw,g729,g723,ilbc
- direct_media=no
- inband_progress=yes
- from_user=asterisk01
- from_domain=192.168.0.1
- tone_zone=it
- language=it
- auth=asterisk01
- outbound_auth=asterisk01
- aors=asterisk01
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement