PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[general]
allowguest=no
language=ru
[300]
type=friend
context=phones
host=dynamic
[301]
type=friend
context=phones
host=dynamic
[302]
type=friend
context=phones
host=dynamic
allowguest=no
language=ru
[300]
type=friend
context=phones
host=dynamic
[301]
type=friend
context=phones
host=dynamic
[302]
type=friend
context=phones
host=dynamic
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[globals]
[general]
autofallthrough=yes
[default]
exten => s,1,Verbose(1|Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()
[incoming_calls]
exten => _X.,1.NoOp()
exten => _X.,n,Dial(SIP/300)
[outgoing_calls]
exten => _X.,1,NoOp()
exten => _X.,n,Dial(SIP/301/${EXTEN})
[internal]
exten => 123,1,Answer()
exten => 123,n,Background(dial-exten-tone)
exten => 123,n,WaitExten()
exten => _x,1,Goto(outgoing_calls,,1)
exten => 2,1,Playback(digits/2)
exten => 2,n,Goto(internal,123,1)
exten => 3,1,Playback(digits/3)
exten => 3,n,Goto(internal,123,1)
exten => i,1,Playback(pbx-invalid)
exten => i,n,Goto(internal,123,1)
exten => t,1,Playback(vm-goodbye)
exten => t,n,Hangup()
exten => 300,1,Verbose(1|Extension 300)
exten => 300,n,Dial(SIP/300,30)
exten => 300,n,Hangup()
exten => 301,1,Verbose(1|Extension 301)
exten => 301,n,Dial(SIP/301,30)
exten => 301,n,Hangup()
exten => 302,1,Verbose(1|Extension 302)
exten => 302,n,Dial(SIP/302,30)
exten => 302,n,Hangup()
[phones]
include => internal
include => outgoing_calls
[general]
autofallthrough=yes
[default]
exten => s,1,Verbose(1|Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()
[incoming_calls]
exten => _X.,1.NoOp()
exten => _X.,n,Dial(SIP/300)
[outgoing_calls]
exten => _X.,1,NoOp()
exten => _X.,n,Dial(SIP/301/${EXTEN})
[internal]
exten => 123,1,Answer()
exten => 123,n,Background(dial-exten-tone)
exten => 123,n,WaitExten()
exten => _x,1,Goto(outgoing_calls,,1)
exten => 2,1,Playback(digits/2)
exten => 2,n,Goto(internal,123,1)
exten => 3,1,Playback(digits/3)
exten => 3,n,Goto(internal,123,1)
exten => i,1,Playback(pbx-invalid)
exten => i,n,Goto(internal,123,1)
exten => t,1,Playback(vm-goodbye)
exten => t,n,Hangup()
exten => 300,1,Verbose(1|Extension 300)
exten => 300,n,Dial(SIP/300,30)
exten => 300,n,Hangup()
exten => 301,1,Verbose(1|Extension 301)
exten => 301,n,Dial(SIP/301,30)
exten => 301,n,Hangup()
exten => 302,1,Verbose(1|Extension 302)
exten => 302,n,Dial(SIP/302,30)
exten => 302,n,Hangup()
[phones]
include => internal
include => outgoing_calls
Создаю голосовое меню, русский голос поставил и милая девушка что-то в трубке чирикает а вот дальше затык. Нужно чтобы после того как девушка про чирикает пользователь набран внутренний номер а если ни набрал то попал на номер 300.
Прошу, помогите разъяснениям, где грабли.