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

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

спросил 2011-10-05 11:16:27 +0400

Graf Gravatar Graf

Пауза при наборе номера(ов) в E1

Необходимо позвонить на некий городской номер (1234567), после соединения на котором идет гудок он же запрос пароля (55555) и дальше набор номера. Другими словами - это такой спец выход на международные звонки.

Использую FreePBX и DAHDI через канал Е1. Во FreePBX создал CUSTOM транк, где прописал

DAHDI/g0/1234567www55555ww$OUTNUM$

Строка отрабатывается, но пауз (www) нет

     -- Goto (macro-dialout-trunk,s,23)
-- Executing [s@macro-dialout-trunk:23] Set("IAX2/123-15336", "pre_num=AMP:DAHDI/g0/1234567www55555ww") in new stack
-- Executing [s@macro-dialout-trunk:24] Set("IAX2/123-15336", "the_num=OUTNUM") in new stack
-- Executing [s@macro-dialout-trunk:25] Set("IAX2/123-15336", "post_num=") in new stack
-- Executing [s@macro-dialout-trunk:26] GotoIf("IAX2/123-15336", "1?outnum:skipoutnum") in new stack
-- Goto (macro-dialout-trunk,s,27)
-- Executing [s@macro-dialout-trunk:27] Set("IAX2/123-15336", "the_num=99999999999") in new stack
-- Executing [s@macro-dialout-trunk:28] Dial("IAX2/123-15336", "DAHDI/g0/1234567www55555ww999999999,300,") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g0/1234567www55555ww999999999
-- Channel 0/3, span 1 got hangup, cause 100
-- Hungup 'DAHDI/i1/1234567www55555ww999999999-15d'

== Everyone is busy/congested at this time (1:0/0/1) -- Executing [s@macro-dialout-trunk:29] NoOp("IAX2/123-15336", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 100") in new stack -- Executing [s@macro-dialout-trunk:30] Goto("IAX2/123-15336", "s-CHANUNAVAIL,1") in new stack -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1) -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("IAX2/123-15336", "RC=100") in new stack -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("IAX2/123-15336", "100,1") in new stack -- Goto (macro-dialout-trunk,100,1) -- Executing [100@macro-dialout-trunk:1] Goto("IAX2/123-15336", "continue,1") in new stack -- Goto (macro-dialout-trunk,continue,1) -- Executing [continue@macro-dialout-trunk:1] GotoIf("IAX2/123-15336", "1?noreport") in new stack -- Goto (macro-dialout-trunk,continue,3) -- Executing [continue@macro-dialout-trunk:3] NoOp("IAX2/123-15336", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 100 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:4] Set("IAX2/123-15336", "CALLERID(number)=123") in new stack -- Executing [9999999999@from-internal:6] Macro("IAX2/123-15336", "outisbusy,") in new stack -- Executing [s@macro-outisbusy:1] Progress("IAX2/123-15336", "") in new stack -- Executing [s@macro-outisbusy:2] GotoIf("IAX2/123-15336", "0?emergency,1") in new stack -- Executing [s@macro-outisbusy:3] GotoIf("IAX2/123-15336", "0?intracompany,1") in new stack -- Executing [s@macro-outisbusy:4] Playback("IAX2/123-15336", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack -- <iax2 123-15336=""> Playing 'all-circuits-busy-now.gsm' (language 'ru') -- <iax2 123-15336=""> Playing 'pls-try-call-later.gsm' (language 'ru') == Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'IAX2/123-15336' in macro 'outisbusy' == Spawn extension (from-internal, 999999999, 6) exited non-zero on 'IAX2/123-15336' -- Executing [h@from-internal:1] Hangup("IAX2/123-15336", "") in new stack == Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/123-15336' -- Hungup 'IAX2/123-15336'

Как организовать дозвон с паузами? за ранее, спасибо!

Пауза при наборе номера(ов) в E1

Необходимо позвонить на некий городской номер (1234567), после соединения на котором идет гудок он же запрос пароля (55555) и дальше набор номера. Другими словами - это такой спец выход на международные звонки.

Использую FreePBX и DAHDI через канал Е1. Во FreePBX создал CUSTOM транк, где прописал

DAHDI/g0/1234567www55555ww$OUTNUM$

Строка отрабатывается, но пауз (www) нет

     -- Goto (macro-dialout-trunk,s,23)
-- Executing [s@macro-dialout-trunk:23] Set("IAX2/123-15336", "pre_num=AMP:DAHDI/g0/1234567www55555ww") in new stack
-- Executing [s@macro-dialout-trunk:24] Set("IAX2/123-15336", "the_num=OUTNUM") in new stack
-- Executing [s@macro-dialout-trunk:25] Set("IAX2/123-15336", "post_num=") in new stack
-- Executing [s@macro-dialout-trunk:26] GotoIf("IAX2/123-15336", "1?outnum:skipoutnum") in new stack
-- Goto (macro-dialout-trunk,s,27)
-- Executing [s@macro-dialout-trunk:27] Set("IAX2/123-15336", "the_num=99999999999") in new stack
-- Executing [s@macro-dialout-trunk:28] Dial("IAX2/123-15336", "DAHDI/g0/1234567www55555ww999999999,300,") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g0/1234567www55555ww999999999
-- Channel 0/3, span 1 got hangup, cause 100
-- Hungup 'DAHDI/i1/1234567www55555ww999999999-15d'

== Everyone is busy/congested at this time (1:0/0/1) -- Executing [s@macro-dialout-trunk:29] NoOp("IAX2/123-15336", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 100") in new stack -- Executing [s@macro-dialout-trunk:30] Goto("IAX2/123-15336", "s-CHANUNAVAIL,1") in new stack -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1) -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("IAX2/123-15336", "RC=100") in new stack -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("IAX2/123-15336", "100,1") in new stack -- Goto (macro-dialout-trunk,100,1) -- Executing [100@macro-dialout-trunk:1] Goto("IAX2/123-15336", "continue,1") in new stack -- Goto (macro-dialout-trunk,continue,1) -- Executing [continue@macro-dialout-trunk:1] GotoIf("IAX2/123-15336", "1?noreport") in new stack -- Goto (macro-dialout-trunk,continue,3) -- Executing [continue@macro-dialout-trunk:3] NoOp("IAX2/123-15336", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 100 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:4] Set("IAX2/123-15336", "CALLERID(number)=123") in new stack -- Executing [9999999999@from-internal:6] Macro("IAX2/123-15336", "outisbusy,") in new stack -- Executing [s@macro-outisbusy:1] Progress("IAX2/123-15336", "") in new stack -- Executing [s@macro-outisbusy:2] GotoIf("IAX2/123-15336", "0?emergency,1") in new stack -- Executing [s@macro-outisbusy:3] GotoIf("IAX2/123-15336", "0?intracompany,1") in new stack -- Executing [s@macro-outisbusy:4] Playback("IAX2/123-15336", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack -- <iax2 123-15336=""> -- <IAX2/123-15336> Playing 'all-circuits-busy-now.gsm' (language 'ru') -- <iax2 123-15336=""> -- <IAX2/123-15336> Playing 'pls-try-call-later.gsm' (language 'ru') == Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'IAX2/123-15336' in macro 'outisbusy' == Spawn extension (from-internal, 999999999, 6) exited non-zero on 'IAX2/123-15336' -- Executing [h@from-internal:1] Hangup("IAX2/123-15336", "") in new stack == Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/123-15336' -- Hungup 'IAX2/123-15336'

'IAX2/123-15336'

Как организовать дозвон с паузами? за ранее, спасибо!

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