== sip.conf ==
[general]
context=default
srvlookup=yes
[phone1]
type=friend
host=dynamic
context=users
secret=secret
[phone2]
type=friend
host=dynamic
context=users
secret=secret
== extensions.conf ==
[default]
exten => test,1,NoOp(Incoming call from unauthenticated SIP from ${CALLERID})
exten => test,2,Goto(incoming,s,1)
[incoming]
exten => s,1,Answer
exten => s,n,Goto(extensions,all,1)
[extensions]
exten => all,1,Dial(SIP/phone1&SIP/phone2) |