LINUX.ORG.RU
ФорумAdmin

Asterisk + исходящие звонки.


0

1

Настраивал только через FreePBX GUI. Входящие работают отлично. А вот с исходящими проблема... Говорит мол busy. Не хочет звонить.

Подскажите как мне реализовать исходящие звонки. Нигде толковой информации как сделать это в FreePBX не нашел.

[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/1234-0000003e", "1?Set(CALLERID(all)=12345)") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/1234-0000003e", "1?Set(CALLERID(all)=75152921059)") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1234-0000003e", "0?Set(CALLERID(all)=)") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/1234-0000003e", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/1234-0000003e", "0?sub-flp-2,s,1()") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/1234-0000003e", "OUTNUM=75152566687") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/1234-0000003e", "custom=SIP/921059") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1234-0000003e", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/1234-0000003e", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-dialout-trunk:17] Macro("SIP/1234-0000003e", "dialout-trunk-predial-hook,") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1234-0000003e", "") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1234-0000003e", "0?bypass,1") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/1234-0000003e", "1?Set(CONNECTEDLINE(num,i)=75152566687)") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/1234-0000003e", "1?Set(CONNECTEDLINE(name,i)=CID:75152921059)") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/1234-0000003e", "0?customtrunk") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-dialout-trunk:22] Dial("SIP/1234-0000003e", "SIP/921059/75152566687,300,") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] netsock2.c: == Using SIP RTP TOS bits 184
[2012-09-02 18:02:54] VERBOSE[30640] netsock2.c: == Using SIP RTP CoS mark 5
[2012-09-02 18:02:54] VERBOSE[30640] app_dial.c: -- Called SIP/921059/75152566687
[2012-09-02 18:02:54] VERBOSE[30640] app_dial.c: -- SIP/921059-0000003f is making progress passing it to SIP/1234-0000003e
[2012-09-02 18:02:54] VERBOSE[30640] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-dialout-trunk:23] NoOp("SIP/1234-0000003e", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-dialout-trunk:24] Goto("SIP/1234-0000003e", "s-CHANUNAVAIL,1") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/1234-0000003e", "RC=1") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/1234-0000003e", "1,1") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Goto (macro-dialout-trunk,1,1)
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [1@macro-dialout-trunk:1] Goto("SIP/1234-0000003e", "continue,1") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Goto (macro-dialout-trunk,continue,1)
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/1234-0000003e", "1?noreport") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Goto (macro-dialout-trunk,continue,3)
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/1234-0000003e", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 1 - failing through to other trunks") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [continue@macro-dialout-trunk:4] Set("SIP/1234-0000003e", "CALLERID(number)=1234") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [75152566687@from-internal:6] Macro("SIP/1234-0000003e", "outisbusy,") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-outisbusy:1] Progress("SIP/1234-0000003e", "") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-outisbusy:2] GotoIf("SIP/1234-0000003e", "0?emergency,1") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-outisbusy:3] GotoIf("SIP/1234-0000003e", "0?intracompany,1") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] pbx.c: -- Executing [s@macro-outisbusy:4] Playback("SIP/1234-0000003e", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
[2012-09-02 18:02:54] VERBOSE[30640] file.c: -- <SIP/1234-0000003e> Playing 'all-circuits-busy-now.gsm' (language 'Russian')
[2012-09-02 18:02:56] VERBOSE[30640] file.c: -- <SIP/1234-0000003e> Playing 'pls-try-call-later.gsm' (language 'Russian')
[2012-09-02 18:02:58] VERBOSE[30640] pbx.c: -- Executing [s@macro-outisbusy:5] Congestion("SIP/1234-0000003e", "20") in new stack
[2012-09-02 18:02:58] WARNING[30640] channel.c: Prodding channel 'SIP/1234-0000003e' failed
[2012-09-02 18:02:58] VERBOSE[30640] app_macro.c: == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/1234-0000003e' in macro 'outisbusy'
[2012-09-02 18:02:58] VERBOSE[30640] pbx.c: == Spawn extension (from-internal, 75152566687, 6) exited non-zero on 'SIP/1234-0000003e'
[2012-09-02 18:02:58] VERBOSE[30640] pbx.c: -- Executing [h@from-internal:1] Hangup("SIP/1234-0000003e", "") in new stack
[2012-09-02 18:02:58] VERBOSE[30640] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1234-0000003e'

диалплан показывай.

zgen ★★★★★ ()
Ответ на: комментарий от zgen

Если это extensions.conf то вот http://zalil.ru/33721869 В сообщение не вместилось.

С астериском повстречался дня 3 назад. Поэтому нет опыта в плане конфигов. Ведь есть же возможность все реализовать с GUI FreePBX?

Kaeso ()
Ответ на: комментарий от Kaeso

Ведь есть же возможность все реализовать с GUI FreePBX?

Я не спец по любым GUI и багам персонально FreePBX'а.
Начал делать сам, чтобы понимать, как на самом деле работает система, а потом уже не до GUI стало.

zgen ★★★★★ ()

Создай исходящий маршрут в «Connectivity - > Outbound Routes», добавь туда нужные транки.

Kuzmich ★★ ()
Ответ на: комментарий от Kuzmich

Как я понял проблема с тем, что у меня нет созданного канала. Как его создать? DAHDI отвечает за исходящие звонки?

CLI> dahdi show status

Description                              Alarms  IRQ    bpviol CRC    Fra Codi Options  LBO

Kaeso ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.