Код: Выделить всё
asterisk*CLI> dialplan show 84951234567@from-provider
[ Context 'from-provider' created by 'pbx_config' ]
'84951234567' => 1. Answer() [pbx_config]
2. Dial(SIP/101) [pbx_config]
[ Included context 'handup-sip' created by 'pbx_config' ]
'_X!' => 1. HangUp() [pbx_config]
-= 2 extensions (3 priorities) in 2 contexts. =-
exten => 84951234567,1,Answer
exten => 84951234567,n,Dial(SIP/101)
include => handup-sip
register => UserName:Password:RegisterName@provider/84951234567
srvlookup=no
disallow=all
dtmfmode=rfc2833
allowguest=no
nat=no
[provider]
type=peer
fromuser=UserName
host=sip.proviver.ru
fromdomain=sip.provider.ru
allow=alaw
insecure=invite
nat=no
context=from-provider
qualify=no
ignoresdpversion=yes