Хочу чтобы после звонка из GSM в PSTN донгл не отбивался, а звонящий возвращался в голосовое меню для набора ещё одного номера...
как (если возможно) это сделать?
вот куски диалплана:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: диалплан
[in-gsm-vel]
include => in-gsm-msg
exten => s,1,NoOp(${CALLERID(all)})
exten => s/+375мойномер,1,Goto(AnswerGSM,s,ans);Я
exten => s/+375номер_друга,1,Goto(AnswerGSM,s,ans);Друзья
exten => s,n,Goto(AnswerGSM,s,1)
[AnswerGSM]
include => out-city
include => out-local
include => out-mts
include => out-velcom
exten => s,1,Dial(Local/201@w2/nmb&Local/211@w2/nmb))
same => n,Congestion(5)
same => n,Hangup()
same => n(ans),Answer()
same => n(num),Background(silence/1)
same => n,Background(beep)
same => n,Background(silence/1)
same => n,Background(vm-enter-num-to-call)
same => n,WaitExten(10)
same => n,Dial(Local/201@w2/nmb&Local/211@w2/nmb))
exten => e,1,Playback(im-sorry)
same => n,Playback(you-entered)
same => n,Playback(invalid)
same => n,Goto(s,num)
exten => h,1,Goto(s,num)
[out-city]
exten => _[2345]XXXXX ,1,Dial(SIP/pstn1/${EXTEN},70,Ttg)
include => in-gsm-msg
exten => s,1,NoOp(${CALLERID(all)})
exten => s/+375мойномер,1,Goto(AnswerGSM,s,ans);Я
exten => s/+375номер_друга,1,Goto(AnswerGSM,s,ans);Друзья
exten => s,n,Goto(AnswerGSM,s,1)
[AnswerGSM]
include => out-city
include => out-local
include => out-mts
include => out-velcom
exten => s,1,Dial(Local/201@w2/nmb&Local/211@w2/nmb))
same => n,Congestion(5)
same => n,Hangup()
same => n(ans),Answer()
same => n(num),Background(silence/1)
same => n,Background(beep)
same => n,Background(silence/1)
same => n,Background(vm-enter-num-to-call)
same => n,WaitExten(10)
same => n,Dial(Local/201@w2/nmb&Local/211@w2/nmb))
exten => e,1,Playback(im-sorry)
same => n,Playback(you-entered)
same => n,Playback(invalid)
same => n,Goto(s,num)
exten => h,1,Goto(s,num)
[out-city]
exten => _[2345]XXXXX ,1,Dial(SIP/pstn1/${EXTEN},70,Ttg)