Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

Вопрос по DIAL и продолжению после него

0

Кусок диалплана:

exten=s,n,Dial(SIP/w_goip_2P/${CALLNUMBER},,gFTWM(Set_Answer_Time))
exten
= s,n,Goto(AfterDial)

т.е. при завершении звонка переходим на AfterDial.

Звонок инициирует SIP/1505 через шлюз SIP/w_goip_2P на сотовый и получаем

Executing [s@macro-dialout:83] Dial("SIP/1505-000005f7", "SIP/w_goip_2P/892XXXXXX00,,gFTWM(Set_Answer_Time)") in new stack

Когда звонок завершает сотовый получаем:

Executing [s@macro-dialout:84] Goto("SIP/1505-000005f7", "AfterDial") in new stack

Когда звонок завершает SIP/1505 получаем:

Executing [s@macro-dialout:84] Goto("SIP/w_goip_2P-000005fe", "AfterDial") in new stack

А теперь вопрос: Это нормальное поведение Asterisk 11 или же я что-то не так делаю? В Asterisk 1.4 все дальнейшие действия происходили в канале, который инициировал вызов.

спросил Nov 14 '13

Maxim Gravatar Maxim
11 2 3

обновил Nov 18 '13

1 Ответ

1

F: When the caller hangs up, transfer the called party to the next priority of the current extension and start execution at that location. NOTE: Any channel variables you want the called channel to inherit from the caller channel must be prefixed with one or two underbars ('_'). NOTE: Using this option from a Macro() or GoSub() might not make sense as there would be no return points.

g: Proceed with dialplan execution at the next priority in the current
extension
if the destination channel hangs up.
ссылка удалить спам редактировать

ответил Nov 16 '13

bandys Gravatar bandys
284 9 11

Ваш ответ

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку

подписаться на rss ленту новостей

Статистика

Задан: Nov 14 '13

Просмотрен: 224 раз

Обновлен: Nov 18 '13

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.