VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

FreePBX Транки

Обо всем касательно FreePBX, MetPBX, TrixBox, Elastix, AstPBX и всех других дистрибутивов

Модераторы: april22, Zavr2008

gerzes
Сообщения: 9
Зарегистрирован: 14 фев 2013, 17:41

FreePBX Транки

Сообщение gerzes »

Приветствую всех присутствующих!!
Схематично: аналоговый телефон (FXO) <--> (FXS) FreePBX Distro (FXO) <--> (FXS) Ростелеком
Настроил исходящий маршрут, завёл в транк, выход на транк через 9, звонок уходит к провайдеру, но похоже где-то ошибка в префиксе, добавляется лишняя 9,
провайдер сообщает:"Неправильно набран номер".
Набираю номер 9650650, где 9 выход в транк, а 650650 гор.номер.
Вот лог, здесь видно, что появляется номер 99650650 откуда берётся ещё одна девятка, не пойму, видать поэтому номер получается не верный.

Код: Выделить всё

[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-ccss:1] ExecIf("DAHDI/6-1", "0?Return()") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-ccss:2] Set("DAHDI/6-1", "CCSS_SETUP=TRUE") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-ccss:3] GosubIf("DAHDI/6-1", "0?monitor_config,1(from-internal,):monitor_default,1(from-internal,)") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [monitor_default@sub-ccss:1] GotoIf("DAHDI/6-1", "0?is_exten") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [monitor_default@sub-ccss:2] StackPop("DAHDI/6-1", "") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [monitor_default@sub-ccss:3] Return("DAHDI/6-1", "FALSE") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-user-callerid:13] GotoIf("DAHDI/6-1", "1?continue") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Goto (macro-user-callerid,s,26)
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-user-callerid:26] Set("DAHDI/6-1", "CALLERID(number)=12") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-user-callerid:27] Set("DAHDI/6-1", "CALLERID(name)=Den") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-user-callerid:28] Set("DAHDI/6-1", "CHANNEL(language)=en") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [9650650@from-internal:2] Set("DAHDI/6-1", "MOHCLASS=none") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [9650650@from-internal:3] Set("DAHDI/6-1", "_NODEST=") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [9650650@from-internal:4] Gosub("DAHDI/6-1", "sub-record-check,s,1(out,9650650,)") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-record-check:1] GotoIf("DAHDI/6-1", "1?check") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Goto (sub-record-check,s,6)
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-record-check:6] Set("DAHDI/6-1", "__MON_FMT=wav") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-record-check:7] GotoIf("DAHDI/6-1", "1?next") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Goto (sub-record-check,s,10)
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-record-check:10] ExecIf("DAHDI/6-1", "0?Return()") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-record-check:11] GotoIf("DAHDI/6-1", "0?out,1") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-record-check:12] Set("DAHDI/6-1", "__REC_STATUS=INITIALIZED") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-record-check:13] ExecIf("DAHDI/6-1", "0?Set(__REC_POLICY_MODE=)") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-record-check:14] Set("DAHDI/6-1", "NOW=1365419826") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-record-check:15] Set("DAHDI/6-1", "__DAY=08") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-record-check:16] Set("DAHDI/6-1", "__MONTH=04") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-record-check:17] Set("DAHDI/6-1", "__YEAR=2013") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-record-check:18] Set("DAHDI/6-1", "__TIMESTR=20130408-181706") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-record-check:19] Set("DAHDI/6-1", "__FROMEXTEN=12") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-record-check:20] Set("DAHDI/6-1", "__CALLFILENAME=out-9650650-12-20130408-181706-1365419819.157") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-record-check:21] Goto("DAHDI/6-1", "out,1") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Goto (sub-record-check,out,1)
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [out@sub-record-check:1] ExecIf("DAHDI/6-1", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [out@sub-record-check:2] GosubIf("DAHDI/6-1", "0?record,1(exten,9650650,12)") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [out@sub-record-check:3] Return("DAHDI/6-1", "") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [9650650@from-internal:5] Macro("DAHDI/6-1", "dialout-trunk,1,9650650,") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("DAHDI/6-1", "DIAL_TRUNK=1") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("DAHDI/6-1", "0?sub-pincheck,s,1()") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("DAHDI/6-1", "0?disabletrunk,1") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("DAHDI/6-1", "DIAL_NUMBER=9650650") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("DAHDI/6-1", "DIAL_TRUNK_OPTIONS=tr") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("DAHDI/6-1", "OUTBOUND_GROUP=OUT_1") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("DAHDI/6-1", "1?nomax") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Goto (macro-dialout-trunk,s,9)
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("DAHDI/6-1", "0?skipoutcid") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("DAHDI/6-1", "DIAL_TRUNK_OPTIONS=") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("DAHDI/6-1", "outbound-callerid,1") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("DAHDI/6-1", "0?Set(CALLERPRES()=)") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("DAHDI/6-1", "0?Set(REALCALLERIDNUM=12)") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("DAHDI/6-1", "1?normcid") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Goto (macro-outbound-callerid,s,6)
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("DAHDI/6-1", "USEROUTCID=") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("DAHDI/6-1", "EMERGENCYCID=") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("DAHDI/6-1", "TRUNKOUTCID=517091") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("DAHDI/6-1", "1?trunkcid") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Goto (macro-outbound-callerid,s,12)
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("DAHDI/6-1", "1?Set(CALLERID(all)=517091)") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("DAHDI/6-1", "0?Set(CALLERID(all)=)") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("DAHDI/6-1", "0?Set(CALLERID(all)=)") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("DAHDI/6-1", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:12] GosubIf("DAHDI/6-1", "1?sub-flp-1,s,1()") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-flp-1:1] ExecIf("DAHDI/6-1", "0?Set(TARGET_FLP_1=650650)") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-flp-1:2] GotoIf("DAHDI/6-1", "0?match") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@sub-flp-1:3] Return("DAHDI/6-1", "") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("DAHDI/6-1", "OUTNUM=99650650") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("DAHDI/6-1", "custom=DAHDI/5") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("DAHDI/6-1", "1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^none))") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:16] ExecIf("DAHDI/6-1", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^none)M(confirm))") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:17] Macro("DAHDI/6-1", "dialout-trunk-predial-hook,") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("DAHDI/6-1", "") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("DAHDI/6-1", "0?bypass,1") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:19] ExecIf("DAHDI/6-1", "1?Set(CONNECTEDLINE(num,i)=9650650)") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:20] ExecIf("DAHDI/6-1", "1?Set(CONNECTEDLINE(name,i)=CID:517091)") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:21] GotoIf("DAHDI/6-1", "0?customtrunk") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] pbx.c: -- Executing [s@macro-dialout-trunk:22] Dial("DAHDI/6-1", "DAHDI/5/99650650,300,M(setmusic^none)") in new stack
[2013-04-08 18:17:06] VERBOSE[13843] app_dial.c: -- Called DAHDI/5/99650650
[2013-04-08 18:17:09] VERBOSE[13843] app_dial.c: -- DAHDI/5-1 answered DAHDI/6-1
[2013-04-08 18:17:09] VERBOSE[13843] pbx.c: -- Executing [s@macro-setmusic:1] Set("DAHDI/5-1", "CHANNEL(musicclass)=none") in new stack
[2013-04-08 18:17:15] VERBOSE[13843] pbx.c: -- Executing [h@macro-dialout-trunk:1] Macro("DAHDI/6-1", "hangupcall,") in new stack
[2013-04-08 18:17:15] VERBOSE[13843] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/6-1", "1?theend") in new stack
[2013-04-08 18:17:15] VERBOSE[13843] pbx.c: -- Goto (macro-hangupcall,s,3)
[2013-04-08 18:17:15] VERBOSE[13843] pbx.c: -- Executing [s@macro-hangupcall:3] ExecIf("DAHDI/6-1", "0?Set(CDR(recordingfile)=)") in new stack
[2013-04-08 18:17:15] VERBOSE[13843] pbx.c: -- Executing [s@macro-hangupcall:4] Hangup("DAHDI/6-1", "") in new stack
[2013-04-08 18:17:15] VERBOSE[13843] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'DAHDI/6-1' in macro 'hangupcall'
[2013-04-08 18:17:15] VERBOSE[13843] features.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'DAHDI/6-1'
[2013-04-08 18:17:15] VERBOSE[13843] sig_analog.c: -- Hanging up on 'DAHDI/5-1'
[2013-04-08 18:17:15] VERBOSE[13843] chan_dahdi.c: -- Hungup 'DAHDI/5-1'
[2013-04-08 18:17:15] VERBOSE[13843] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'DAHDI/6-1' in macro 'dialout-trunk'
[2013-04-08 18:17:15] VERBOSE[13843] pbx.c: == Spawn extension (from-internal, 9650650, 5) exited non-zero on 'DAHDI/6-1'
[2013-04-08 18:17:15] VERBOSE[13843] sig_analog.c: -- Hanging up on 'DAHDI/6-1'
[2013-04-08 18:17:15] VERBOSE[13843] chan_dahdi.c: -- Hungup 'DAHDI/6-1'
[2013-04-08 18:17:16] NOTICE[13856] manager.c: Seems to have passed...
Подскажите кто знает, есть мысли?
april22
Сообщения: 2187
Зарегистрирован: 09 июл 2012, 09:47

Re: FreePBX Транки

Сообщение april22 »

а маршрут создали ?!
покажите скрином транк и маршрут .
Своими вопросами , вы загоняете меня в ГУГЛЬ.
Samael28
Сообщения: 1057
Зарегистрирован: 08 янв 2011, 18:32
Откуда: Киев
Контактная информация:

Re: FreePBX Транки

Сообщение Samael28 »

Скорее всего, вы как в настройках транка указали 9, так и в Outbound routes.
Мой профайл на Upwork
gerzes
Сообщения: 9
Зарегистрирован: 14 фев 2013, 17:41

Re: FreePBX Транки

Сообщение gerzes »

да, маршрут создал, иначе бы он не говорил: "не правильно набран номер".
исходящий маршрут
Изображение
транк
Изображение
gerzes
Сообщения: 9
Зарегистрирован: 14 фев 2013, 17:41

Re: FreePBX Транки

Сообщение gerzes »

ded
Сообщения: 15618
Зарегистрирован: 26 авг 2010, 19:00

Re: FreePBX Транки

Сообщение ded »

маршрут создали, но никакого шаблона на нём нет.
Уж поставьте хотя бы Х. (с точкой)
gerzes
Сообщения: 9
Зарегистрирован: 14 фев 2013, 17:41

Re: FreePBX Транки

Сообщение gerzes »

у меня стояла просто точка, с X или без не важно
april22
Сообщения: 2187
Зарегистрирован: 09 июл 2012, 09:47

Re: FreePBX Транки

Сообщение april22 »

скрина транка не видно
Своими вопросами , вы загоняете меня в ГУГЛЬ.
ded
Сообщения: 15618
Зарегистрирован: 26 авг 2010, 19:00

Re: FreePBX Транки

Сообщение ded »

gerzes писал(а): завёл в транк, выход на транк через 9,
где девятка на скриншоте?
gerzes
Сообщения: 9
Зарегистрирован: 14 фев 2013, 17:41

Re: FreePBX Транки

Сообщение gerzes »

транк
Изображение
Ответить
© 2008 — 2024 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH