View difference between Paste ID: yYwA2wpY and ZDgB72G9
SHOW: | | - or go back to the newest paste.
1
sip.conf 
2
[20];numeric device name
3
context=local;route calls to the local context
4
type=friend ;can receive and make calls
5
secret=oquidroid
6
username = oquidroid;call extension 20 to get to the droid
7
callerid = oquidroid
8-
host=dynamic                    ; This device needs to register
8+
host=dynamic                    
9
10
extensions.conf 
11
12
[local]
13
;local clients have extensions from 10-99,
14
;write one general dialplan for all of them using pattern matching
15
exten => _ZX,1, Dial(SIP/${EXTEN},30)
16
        same=>n,Playback(vm-nobodyavail)
17
        same=>n,Hangup()