Страница 1 из 1
asterisk 16 и frepbx15 не проходят внутренние звонки
Добавлено: 22 ноя 2019, 09:24
modsamara
внутри сети, поставил на отдельную машину
завел внутренний номер. подключил телефон
он зарегался как положено
набираю *65 - сразу короткие гудки
это видимо лог процесса
Код: Выделить всё
[2019-11-22 09:18:57] VERBOSE[11033][C-0000000e] pbx.c: Executing [*65@from-internal:1] Set("SIP/201-0000000d", "CONNECTEDLINE(name-charset,i)=utf8") in new stack
[2019-11-22 09:18:57] VERBOSE[11033][C-0000000e] pbx.c: Executing [*65@from-internal:2] Set("SIP/201-0000000d", "CONNECTEDLINE(name,i)=Speak Extension") in new stack
[2019-11-22 09:18:57] VERBOSE[11033][C-0000000e] pbx.c: Executing [*65@from-internal:3] Set("SIP/201-0000000d", "CONNECTEDLINE(num,i)=*65") in new stack
[2019-11-22 09:18:57] VERBOSE[11033][C-0000000e] pbx.c: Executing [*65@from-internal:4] Answer("SIP/201-0000000d", "") in new stack
[2019-11-22 09:18:57] VERBOSE[11033][C-0000000e] pbx.c: Executing [*65@from-internal:5] Wait("SIP/201-0000000d", "1") in new stack
[2019-11-22 09:18:58] WARNING[11033][C-0000000e] pbx.c: No application 'Macro' for extension (from-internal, *65, 6)
[2019-11-22 09:18:58] VERBOSE[11033][C-0000000e] pbx.c: Spawn extension (from-internal, *65, 6) exited non-zero on 'SIP/201-0000000d'
[2019-11-22 09:18:58] WARNING[11033][C-0000000e] pbx.c: No application 'Macro' for extension (from-internal, h, 1)
[2019-11-22 09:18:58] VERBOSE[11033][C-0000000e] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/201-0000000d'
[2019-11-22 09:21:29] VERBOSE[1678][C-0000000f] netsock2.c: Using SIP RTP TOS bits 184
[2019-11-22 09:21:29] VERBOSE[1678][C-0000000f] netsock2.c: Using SIP RTP CoS mark 5
[2019-11-22 09:21:29] VERBOSE[11192][C-0000000f] pbx.c: Executing [*65@from-internal:1] Set("SIP/201-0000000e", "CONNECTEDLINE(name-charset,i)=utf8") in new stack
[2019-11-22 09:21:29] VERBOSE[11192][C-0000000f] pbx.c: Executing [*65@from-internal:2] Set("SIP/201-0000000e", "CONNECTEDLINE(name,i)=Speak Extension") in new stack
[2019-11-22 09:21:29] VERBOSE[11192][C-0000000f] pbx.c: Executing [*65@from-internal:3] Set("SIP/201-0000000e", "CONNECTEDLINE(num,i)=*65") in new stack
[2019-11-22 09:21:29] VERBOSE[11192][C-0000000f] pbx.c: Executing [*65@from-internal:4] Answer("SIP/201-0000000e", "") in new stack
[2019-11-22 09:21:29] VERBOSE[11192][C-0000000f] pbx.c: Executing [*65@from-internal:5] Wait("SIP/201-0000000e", "1") in new stack
[2019-11-22 09:21:30] WARNING[11192][C-0000000f] pbx.c: No application 'Macro' for extension (from-internal, *65, 6)
[2019-11-22 09:21:30] VERBOSE[11192][C-0000000f] pbx.c: Spawn extension (from-internal, *65, 6) exited non-zero on 'SIP/201-0000000e'
[2019-11-22 09:21:30] WARNING[11192][C-0000000f] pbx.c: No application 'Macro' for extension (from-internal, h, 1)
[2019-11-22 09:21:30] VERBOSE[11192][C-0000000f] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/201-0000000e'
Re: asterisk 16 и frepbx15 не проходят внутренние звонки
Добавлено: 22 ноя 2019, 10:12
zzuz
No application 'Macro
Нужно скомпилировать и подгрузить модуль app_macro.so
Re: asterisk 16 и frepbx15 не проходят внутренние звонки
Добавлено: 22 ноя 2019, 10:16
modsamara
спасибо. а поподробнее для новичков можно?
что-то типа
make menuselect
там выбрать модуль этот
потом make && make install && make config && make samples && ldconfig
или начать надо с
./configure --with-pjproject-bundled --with-jansson-bundled --with-crypto --with-ssl=ssl --with-srtp
Re: asterisk 16 и frepbx15 не проходят внутренние звонки
Добавлено: 22 ноя 2019, 10:25
zzuz
cd asterisk-source/ ;
./configure ;
make menuselect ;
выбираете applications -> Macro
make
make install
asterisk -rx 'core restart now'
проверяем
asterisk -rx 'module show like app_macro'
1. asterisk-source - это название и местоположение распакованной папки с исходным кодом астериска . Если ставился из пакетов , то ставим пакет с этими самыми исходниками . скорее всего это какой-нибудь asterisk-devel
2. вопрос по навигации в меню после выполнения make menuselect не принимаются
Re: asterisk 16 и frepbx15 не проходят внутренние звонки
Добавлено: 22 ноя 2019, 10:37
modsamara
make menuselect ;
выбираете applications -> Macro
нашел
больше ничего выбирать не надо?
Re: asterisk 16 и frepbx15 не проходят внутренние звонки
Добавлено: 22 ноя 2019, 11:01
ded
zzuz писал(а):cd asterisk-source/ ;
./configure ;
make menuselect ;
выбираете applications -> Macro
make
make install
asterisk -rx 'core restart now'
Это путь не для новичка.
Новичок, сделайте просто в своей ОС команду
apt install asterisk
или
dnf install asterisk
или
yum install asterisk
И всё у вас будет. Это путь для новичка.
Re: asterisk 16 и frepbx15 не проходят внутренние звонки
Добавлено: 22 ноя 2019, 11:04
modsamara
ну немножко по-другому, но в итоге получилось
хотя бы на *65 звонит
Re: asterisk 16 и frepbx15 не проходят внутренние звонки
Добавлено: 22 ноя 2019, 12:50
modsamara
а вот тут у меня при звонке на *65 звука нет видимо
через 4 секунды после соединения короткие гудки
Код: Выделить всё
[2019-11-22 14:48:39] VERBOSE[1798][C-00000003] netsock2.c: Using SIP RTP TOS bits 184
[2019-11-22 14:48:39] VERBOSE[1798][C-00000003] netsock2.c: Using SIP RTP CoS mark 5
[2019-11-22 14:48:39] VERBOSE[4511][C-00000003] pbx.c: Executing [*65@from-internal:1] Set("SIP/301-00000002", "CONNECTEDLINE(name-charset,i)=utf8") in new stack
[2019-11-22 14:48:39] VERBOSE[4511][C-00000003] pbx.c: Executing [*65@from-internal:2] Set("SIP/301-00000002", "CONNECTEDLINE(name,i)=Speak Extension") in new stack
[2019-11-22 14:48:39] VERBOSE[4511][C-00000003] pbx.c: Executing [*65@from-internal:3] Set("SIP/301-00000002", "CONNECTEDLINE(num,i)=*65") in new stack
[2019-11-22 14:48:39] VERBOSE[4511][C-00000003] pbx.c: Executing [*65@from-internal:4] Answer("SIP/301-00000002", "") in new stack
[2019-11-22 14:48:39] VERBOSE[4511][C-00000003] pbx.c: Executing [*65@from-internal:5] Wait("SIP/301-00000002", "1") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [*65@from-internal:6] Macro("SIP/301-00000002", "user-callerid,") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:1] Set("SIP/301-00000002", "TOUCH_MONITOR=1574416119.2") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:2] Set("SIP/301-00000002", "AMPUSER=301") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:3] GotoIf("SIP/301-00000002", "0?report") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:4] ExecIf("SIP/301-00000002", "1?Set(REALCALLERIDNUM=301)") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:5] Set("SIP/301-00000002", "AMPUSER=301") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:6] GotoIf("SIP/301-00000002", "0?limit") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:7] Set("SIP/301-00000002", "AMPUSERCIDNAME=301") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:8] ExecIf("SIP/301-00000002", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:9] GotoIf("SIP/301-00000002", "0?report") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:10] Set("SIP/301-00000002", "AMPUSERCID=301") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:11] Set("SIP/301-00000002", "__DIAL_OPTIONS=HhTtr") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:12] Set("SIP/301-00000002", "CALLERID(all)="301" <301>") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:13] ExecIf("SIP/301-00000002", "0?Set(CALLERID(all)=)") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:14] GotoIf("SIP/301-00000002", "0?limit") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:15] ExecIf("SIP/301-00000002", "0?Set(GROUP(concurrency_limit)=301)") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:16] ExecIf("SIP/301-00000002", "1?Set(CHANNEL(language)=ru)") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:17] NoOp("SIP/301-00000002", "Macro Depth is 1") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:18] GotoIf("SIP/301-00000002", "1?report2:macroerror") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx_builtins.c: Goto (macro-user-callerid,s,19)
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:19] GotoIf("SIP/301-00000002", "0?continue") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:20] Set("SIP/301-00000002", "__TTL=64") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:21] GotoIf("SIP/301-00000002", "1?continue") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx_builtins.c: Goto (macro-user-callerid,s,37)
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:37] Set("SIP/301-00000002", "CALLERID(number)=301") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:38] Set("SIP/301-00000002", "CALLERID(name)=301") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:39] GotoIf("SIP/301-00000002", "0?cnum") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:40] Set("SIP/301-00000002", "CDR(cnam)=301") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:41] Set("SIP/301-00000002", "CDR(cnum)=301") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [s@macro-user-callerid:42] Set("SIP/301-00000002", "CHANNEL(language)=ru") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [*65@from-internal:7] GotoIf("SIP/301-00000002", "0?app-speakextennum,ru,1:app-speakextennum,en,1") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx_builtins.c: Goto (app-speakextennum,en,1)
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] pbx.c: Executing [en@app-speakextennum:1] Playback("SIP/301-00000002", "your") in new stack
[2019-11-22 14:48:40] VERBOSE[4511][C-00000003] file.c: <SIP/301-00000002> Playing 'your.ulaw' (language 'ru')
[2019-11-22 14:48:41] VERBOSE[4511][C-00000003] pbx.c: Executing [en@app-speakextennum:2] Playback("SIP/301-00000002", "extension") in new stack
[2019-11-22 14:48:41] VERBOSE[4511][C-00000003] file.c: <SIP/301-00000002> Playing 'extension.ulaw' (language 'ru')
[2019-11-22 14:48:41] VERBOSE[4511][C-00000003] pbx.c: Executing [en@app-speakextennum:3] Playback("SIP/301-00000002", "number") in new stack
[2019-11-22 14:48:41] VERBOSE[4511][C-00000003] file.c: <SIP/301-00000002> Playing 'number.ulaw' (language 'ru')
[2019-11-22 14:48:42] VERBOSE[4511][C-00000003] pbx.c: Executing [en@app-speakextennum:4] Playback("SIP/301-00000002", "is") in new stack
[2019-11-22 14:48:42] WARNING[4511][C-00000003] file.c: File /var/lib/asterisk/sounds/ru/is.ulaw detected to have zero size.
[2019-11-22 14:48:42] VERBOSE[4511][C-00000003] pbx.c: Executing [en@app-speakextennum:5] SayDigits("SIP/301-00000002", "301") in new stack
[2019-11-22 14:48:42] VERBOSE[4511][C-00000003] file.c: <SIP/301-00000002> Playing 'digits/3.ulaw' (language 'ru')
[2019-11-22 14:48:42] VERBOSE[4511][C-00000003] file.c: <SIP/301-00000002> Playing 'digits/0.ulaw' (language 'ru')
[2019-11-22 14:48:43] VERBOSE[4511][C-00000003] file.c: <SIP/301-00000002> Playing 'digits/1.ulaw' (language 'ru')
[2019-11-22 14:48:43] VERBOSE[4511][C-00000003] pbx.c: Executing [en@app-speakextennum:6] Wait("SIP/301-00000002", "2") in new stack
[2019-11-22 14:48:45] WARNING[1798] chan_sip.c: Retransmission timeout reached on transmission 1241269337@192_168_201_29 for seqno 3 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 6400ms with no response
[2019-11-22 14:48:45] WARNING[1798] chan_sip.c: Hanging up call 1241269337@192_168_201_29 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[2019-11-22 14:48:45] VERBOSE[4511][C-00000003] pbx.c: Spawn extension (app-speakextennum, en, 6) exited non-zero on 'SIP/301-00000002'
Re: asterisk 16 и frepbx15 не проходят внутренние звонки
Добавлено: 22 ноя 2019, 15:24
modsamara
это судя по всему по впн циска что-то режет