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

распределение звонков по каналам в группе zaptel

1

в каком порядке выбираются каналы для исходящих звонков в группе zap-транков. какой канал из группы будет выбран при исполнении команды dial(Zap/g0/1234567)?

можно ли стандартными средствами astersik 1.6 + freepbx выбирать каналы для исходящей связи случайным образом?

удалить закрыть спам изменить тег редактировать

спросил 2011-08-02 07:50:58 +0400

matperez Gravatar matperez
255 18 6 19

2 Ответа

2

In the Zap Channel Module's configuration file (zapata.conf), you can define groups of Zap channels that get treated as a single channel as far as the Dial command is concerned. You specify which of four methods the Zap channel module is to use to select a non-busy channel from the channel group by prefixing the group number with one of the letters g, G, r, or R:

g: select the lowest-numbered non-busy Zap channel (aka. ascending sequential hunt group).
G: select the highest-numbered non-busy Zap channel (aka. descending sequential hunt group).
r: use a round-robin search, starting at the next highest channel than last time (aka. ascending rotary hunt group).
R: use a round-robin search, starting at the next lowest channel than last time (aka. descending rotary hunt group).

The round-robin searches make the Zap channel module start looking for an available channel from a different channel number each time. For each channel group, the Zap channel module keeps track of the last round-robin start point, and this time starts checking availability from either the next (lowercase r)) or the previous uppercase R channel in the group. Which channel it actually finds available (if any) does not affect the starting point for the next round-robin search. Calls to the Dial command using ordinary (g or G) group selections do not affect future round-robin starting points either.

For example, if you have defined channel group 2 as containing Zap channels 1, 2, 5 and 8, and the last round-robin search for this group (group 2) began searching from channel 5, this is the order of searching that the Zap channel module will use for the four possible selection methods:

Dial(Zap/g2...): Looks in order 1, 2, 5, 8
Dial(Zap/G2...): Looks in order 8, 5, 2, 1
Dial(Zap/r2...): Looks in order 8, 1, 2, 5
Dial(Zap/R2...): Looks in order 2, 1, 8, 5
ссылка удалить спам редактировать

ответил 2011-08-02 08:01:06 +0400

matperez Gravatar matperez
255 18 6 19

обновил 2011-08-02 08:01:33 +0400

Comments

Красавец :) +1 alexcr ( 2011-08-02 08:10:01 +0400 )редактировать
0

Соответственно, что бы случайным образом выбирать канал в группе нужно использовать команду Dial(Zap/r0/1234567).

ссылка удалить спам редактировать

ответил 2011-08-02 08:06:41 +0400

matperez Gravatar matperez
255 18 6 19

Comments

Ничего подобного. Вы вообще читали, что сами запостили? Round-robin - это не random вовсе. glukinho ( 2011-08-02 11:08:27 +0400 )редактировать

Ваш ответ

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 ленту новостей

Статистика

Задан: 2011-08-02 07:50:58 +0400

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

Обновлен: Aug 02 '11

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