Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ***** http.conf *****
- [general]
- enabled=yes
- bindaddr=0.0.0.0
- bindport=8088
- **** rtp.conf *****
- [general]
- rtpstart=19000
- rtpend=21000
- icesupport=true
- stunaddr=stun.l.google.com:19302
- ***** sip.conf *****
- [general]
- udpbindaddr=0.0.0.0:5060
- rtcachefriends=yes
- limitonpeers=yes
- callcounter=yes
- allowoverlap=no ; Disable overlap dialing support. (Default is yes)
- localnet=127.0.0.1/255.255.255.0
- externip=192.168.0.9
- [1000] ;zoiper UA
- type=friend
- secret=rendezvous080193
- qualify=yes
- host=dynamic
- dtmfmode=rfc2833
- context=miContexto
- directmedia=no
- callerid=Fulano <1000>
- disallow=all
- allow=gsm
- allow=ulaw ; Allow codecs in order of preference
- allow=alaw
- [8000] ;mozilla UA
- type=friend
- secret=rendezvous080193
- context=miContexto
- host=dynamic
- qualify=yes
- callerid=WebRTC <8000>
- transport=udp,ws
- avpf=yes
- force_avp=yes
- encryption=yes
- icesupport=yes
- directmedia=no
- dtlsenable=yes
- dtlsverify=no
- disallow=all
- allow=all
- dtmf=auto
- ;nat=force_rport,comedia
- nat=no
- dtlsenable=yes ; Tell Asterisk to enable DTLS for this peer
- dtlsverify=no ; Tell Asterisk to not verify your DTLS certs
- dtlscertfile=/etc/asterisk/keys/asterisk.pem
- dtlsprivatekey=/etc/asterisk/keys/asterisk.pem
- dtlssetup=actpass
- ***** extensions.conf *****
- [miContexto]
- exten=> 200,1,Answer()
- same=> n,Playback(hello-world)
- same => n,Hangup()
- exten=> 1000,1,Dial(SIP/1000)
- exten=> 8000,1,Dial(SIP/8000)
- exten => 600,1,Playback(demo-echotest) ; Let them know what's going on
- exten => 600,2,Echo ; Do the echo test
- exten => 600,3,Playback(demo-echodone) ; Let them know it's over
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement