Код: Выделить всё
sip show peers
215/215 192.168.1.2 D No No 1053 Unmonitored
219/219 192.168.1.2 D Yes Yes A 1054 OK (32 ms)
pstn/215 192.168.1.2 No No 5061 Unmonitored
Код: Выделить всё
[pstn]
defaultuser=215
port=5061
type=peer
transport=tcp
insecure=invite
host=192.168.1.2
fromuser=215
dtmfmode=rfc2833
context=from-trunk
[219]
deny=0.0.0.0/0.0.0.0
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=no
mediaencryption=no
sendrpid=no
type=friend
port=5060
qualify=yes
qualifyfreq=60
transport=tcp,udp,tls
avpf=no
force_avp=no
icesupport=no
encryption=no
dial=SIP/219
permit=0.0.0.0/0.0.0.0
callerid=line <219>
callcounter=yes
faxdetect=no
cc_monitor_policy=generic
[215]
disallow=all
type=friend
port=5061
qualify=no
insecure=invite
transport=tcp
dtmfmode=rfc2833
context=from-pstn
allow=ulaw
host=dynamic