Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / TrixBox, Elastix, FreePbx / Elastix(FreePBX) + datagroup.com.ua

Elastix(FreePBX) + datagroup.com.ua

Сломал говлову и клавиатуру - не могу настроить
1 2>
Сообщений: 32

Elastix(FreePBX) + datagroup.com.ua

Датагруп прислал письмо следующего содержания:

Настройки для SIP:
1 Прописать логин 80567870535
2 пароль superpass
3 Регистрироваться на sip.datagroup.com.ua (outbound proxy ip: 80.91.169.2 )
4 Время перерегистрации должно быть не менее 1 часа
5 Настройки SIP согласно рекомендации RFC3261
6 codec: G711a
7 Присылать А-номер.

Это узнал позже. Мол если вы за натом то 3 пунк меняеться на это
8.natsip.datagroup.com.ua ( 80.91.169.4 )




опции для PEER:
host=80.91.169.4
username=80567870535
secret=superpass
type=peer
nat=auto
insecure=very
dtmfmode=rfc2833
disallow=all
allow=alaw
canredirect=no
canreinvite=no

опции USER:
host=80.91.169.4
fromdomain=80.91.169.4
username=80567870535
secret=superpass
type=user
context=from-trunk
nat=auto
insecure=very
dtmfmode=rfc2833
disallow=all
allow=alaw

Строка регистрации:
80567870535:superpass@80.91.169.4/80567870535

Host Username Refresh State Reg.Time
80.91.169.4:5060 80567870535 120 Request Sent


Просьба ткнуть носом где я что не так делаю.
Очень сильно на вас надеюсь( на подходе еще подключение 7 номером от датагруппа, но это я уже по аналдогии)

Если что не так написал прошу не бить.

Астериск стоит за натом, на него стоит ДМЗ и проброшена куча портов (если надо позже уточню). Реалка идет динамикой, каждые 24 часа разная.
Поддержка у датагруп никакая , спросил что они могут подсказать - ответили что пользуются телефонами линксис и рассказали как его настроить. У меня тоже телефон линксис но надо завести номер для всех.

P.S. Забыл версии указать. Дописываю.
Elastix 1.6-12
FreePBX 2.5.2.2
2010-08-27 13:09

Сообщений: 6521

Re: Elastix(FreePBX) + datagroup.com.ua

http://asterisk-support.ru/forum/topics/7106/?page=3
2010-08-27 13:16

Сообщений: 32

Re: Elastix(FreePBX) + datagroup.com.ua

ded:

http://asterisk-support.ru/forum/topics/7106/?page=3
Спасибо за ответ.
На сколько я понял вы намекаете на то что возможно у меня проблема с натом ?
Вот что у меня проброшено на астериск
16384-16550
5060-6060
10000-20000
3478-3478




80.91.169.2:5060 80567870535 120 Auth. Sent
80.91.169.4:5060 80567870535 120 Request Sent
sip.ukrtel.net:5060 380892501157 23 Registered Fri, 27 Aug 2010 12:23:47

третий работает

Где выставить перерегистрацию 1час ?
2010-08-27 13:33

Сообщений: 32

Re: Elastix(FreePBX) + datagroup.com.ua

ded:

http://asterisk-support.ru/forum/topics/7106/?page=3
Прошу прощение за навязчивость.
Буду рад за русский мануал по астериску ( ссылочку или на почту, прочитаю всё :) )
2010-08-27 13:47

Сообщений: 6521

Re: Elastix(FreePBX) + datagroup.com.ua

http://asterisk.ru/knowledgebase
2010-08-27 14:29

Сообщений: 32

Re: Elastix(FreePBX) + datagroup.com.ua

ded:

http://asterisk.ru/knowledgebase
Спасибо за книги. Будет чем время коротать.
А что подскажете относительно транков ?
2010-08-27 14:46

Сообщений: 32

Re: Elastix(FreePBX) + datagroup.com.ua

Пожаловался руководству что фиговое железо и поэтому не ставиться Elastix2 (на котором все работает)
Привезли железо, поставил "елку2"
Регистрация проходит , звонков нет :(


Host dnsmgr Username Refresh State Reg.Time
80.91.169.2:5060 N 0445937469 585 Registered Thu, 02 Sep 2010 14:25:54
80.91.169.2:5060 N 80577660983 585 Registered Thu, 02 Sep 2010 14:25:55
80.91.169.4:5060 N 80567870535 585 Registered Thu, 02 Sep 2010 14:25:55
3 SIP registrations.


80.91.169.2:5060 Это вроде как с реалки регистрируюсь
80.91.169.4:5060 Это как бы за натом

после экспериментов понял что у них там что-то наподобии переключателя на чем ты будешь регистрироваться. Но разницы ни какой нет. :(
2010-09-02 14:41

Откуда: AST
Сообщений: 280

Re: Elastix(FreePBX) + datagroup.com.ua

покажи логи при вызове.
2010-09-02 22:34

Сообщений: 32

Re: Elastix(FreePBX) + datagroup.com.ua

[Sep 3 10:12:02] VERBOSE[2957] manager.c: == Manager 'admin' logged off from 127.0.0.1
[Sep 3 10:12:06] VERBOSE[2959] manager.c: == Manager 'admin' logged on from 127.0.0.1
[Sep 3 10:12:07] VERBOSE[2959] manager.c: == Manager 'admin' logged off from 127.0.0.1
[Sep 3 10:12:38] VERBOSE[2726] netsock.c: == Using SIP RTP TOS bits 184
[Sep 3 10:12:38] VERBOSE[2726] netsock.c: == Using SIP RTP CoS mark 5
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [0445381111@from-internal:1] Macro("SIP/96-00000000", "user-callerid,SKIPTTL,") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/96-00000000", "AMPUSER=96") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/96-00000000", "0?report") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/96-00000000", "1?Set(REALCALLERIDNUM=96)") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-user-callerid:4] Set("SIP/96-00000000", "AMPUSER=96") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/96-00000000", "AMPUSERCIDNAME=96") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/96-00000000", "0?report") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-user-callerid:7] Set("SIP/96-00000000", "AMPUSERCID=96") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-user-callerid:8] Set("SIP/96-00000000", "CALLERID(all)="96" <96>") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-user-callerid:9] ExecIf("SIP/96-00000000", "0?Set(CHANNEL(language)=)") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/96-00000000", "1?continue") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Goto (macro-user-callerid,s,19)
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-user-callerid:19] NoOp("SIP/96-00000000", "Using CallerID "96" <96>") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [0445381111@from-internal:2] NoOp("SIP/96-00000000", "Calling Out Route: Kiev") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [0445381111@from-internal:3] Set("SIP/96-00000000", "MOHCLASS=default") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [0445381111@from-internal:4] Set("SIP/96-00000000", "_NODEST=") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [0445381111@from-internal:5] Macro("SIP/96-00000000", "record-enable,96,OUT,") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/96-00000000", "1?check") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Goto (macro-record-enable,s,4)
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-record-enable:4] ExecIf("SIP/96-00000000", "0?MacroExit()") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-record-enable:5] GotoIf("SIP/96-00000000", "0?Group:OUT") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Goto (macro-record-enable,s,15)
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-record-enable:15] GotoIf("SIP/96-00000000", "0?IN") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-record-enable:16] ExecIf("SIP/96-00000000", "1?MacroExit()") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [0445381111@from-internal:6] Macro("SIP/96-00000000", "dialout-trunk,4,0445381111,") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/96-00000000", "DIAL_TRUNK=4") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/96-00000000", "0?sub-pincheck,s,1") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/96-00000000", "0?disabletrunk,1") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/96-00000000", "DIAL_NUMBER=0445381111") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/96-00000000", "DIAL_TRUNK_OPTIONS=tr") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/96-00000000", "OUTBOUND_GROUP=OUT_4") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/96-00000000", "1?nomax") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Goto (macro-dialout-trunk,s,9)
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/96-00000000", "0?skipoutcid") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/96-00000000", "DIAL_TRUNK_OPTIONS=") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/96-00000000", "outbound-callerid,4") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/96-00000000", "0?Set(CALLERPRES()=)") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/96-00000000", "0?Set(REALCALLERIDNUM=96)") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/96-00000000", "1?normcid") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Goto (macro-outbound-callerid,s,6)
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/96-00000000", "USEROUTCID=") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/96-00000000", "EMERGENCYCID=") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/96-00000000", "TRUNKOUTCID=") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/96-00000000", "1?trunkcid") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Goto (macro-outbound-callerid,s,12)
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/96-00000000", "0?Set(CALLERID(all)=)") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/96-00000000", "0?Set(CALLERID(all)=)") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/96-00000000", "0?Set(CALLERID(all)=)") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/96-00000000", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/96-00000000", "0?sub-flp-4,s,1") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/96-00000000", "OUTNUM=0445381111") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/96-00000000", "custom=SIP/KievOut") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/96-00000000", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/96-00000000", "dialout-trunk-predial-hook,") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/96-00000000", "") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/96-00000000", "0?bypass,1") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/96-00000000", "0?customtrunk") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/96-00000000", "SIP/KievOut/0445381111,300,") in new stack
[Sep 3 10:12:38] VERBOSE[2964] netsock.c: == Using SIP RTP TOS bits 184
[Sep 3 10:12:38] VERBOSE[2964] netsock.c: == Using SIP RTP CoS mark 5
[Sep 3 10:12:38] VERBOSE[2964] app_dial.c: -- Called KievOut/0445381111
[Sep 3 10:12:38] WARNING[2726] chan_sip.c: Received response: "Forbidden" from '"96" <sip:96@178.95.22.210>;tag=as61ccaa1d'
[Sep 3 10:12:38] VERBOSE[2964] app_dial.c: -- SIP/KievOut-00000001 is circuit-busy
[Sep 3 10:12:38] VERBOSE[2964] app_dial.c: == Everyone is busy/congested at this time (1:0/1/0)
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/96-00000000", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 21") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-dialout-trunk:21] Goto("SIP/96-00000000", "s-CONGESTION,1") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Goto (macro-dialout-trunk,s-CONGESTION,1)
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/96-00000000", "RC=21") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/96-00000000", "21,1") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Goto (macro-dialout-trunk,21,1)
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [21@macro-dialout-trunk:1] Goto("SIP/96-00000000", "continue,1") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Goto (macro-dialout-trunk,continue,1)
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/96-00000000", "1?noreport") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Goto (macro-dialout-trunk,continue,3)
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/96-00000000", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 21 - failing through to other trunks") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [continue@macro-dialout-trunk:4] Set("SIP/96-00000000", "CALLERID(number)=96") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [0445381111@from-internal:7] Macro("SIP/96-00000000", "outisbusy,") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-outisbusy:1] Progress("SIP/96-00000000", "") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-outisbusy:2] GotoIf("SIP/96-00000000", "0?emergency,1") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-outisbusy:3] GotoIf("SIP/96-00000000", "0?intracompany,1") in new stack
[Sep 3 10:12:38] VERBOSE[2964] pbx.c: -- Executing [s@macro-outisbusy:4] Playback("SIP/96-00000000", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
[Sep 3 10:12:38] VERBOSE[2964] file.c: -- <SIP/96-00000000> Playing 'all-circuits-busy-now.gsm' (language 'en')
[Sep 3 10:12:40] VERBOSE[2964] file.c: -- <SIP/96-00000000> Playing 'pls-try-call-later.gsm' (language 'en')
[Sep 3 10:12:42] VERBOSE[2964] pbx.c: -- Executing [s@macro-outisbusy:5] Congestion("SIP/96-00000000", "20") in new stack
[Sep 3 10:12:42] WARNING[2964] channel.c: Prodding channel 'SIP/96-00000000' failed
[Sep 3 10:12:42] VERBOSE[2964] app_macro.c: == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/96-00000000' in macro 'outisbusy'
[Sep 3 10:12:42] VERBOSE[2964] pbx.c: == Spawn extension (from-internal, 0445381111, 7) exited non-zero on 'SIP/96-00000000'
[Sep 3 10:12:42] VERBOSE[2964] pbx.c: -- Executing [h@from-internal:1] Macro("SIP/96-00000000", "hangupcall") in new stack
[Sep 3 10:12:42] VERBOSE[2964] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/96-00000000", "1?noautomon") in new stack
[Sep 3 10:12:42] VERBOSE[2964] pbx.c: -- Goto (macro-hangupcall,s,3)
[Sep 3 10:12:42] VERBOSE[2964] pbx.c: -- Executing [s@macro-hangupcall:3] NoOp("SIP/96-00000000", "TOUCH_MONITOR_OUTPUT=") in new stack
[Sep 3 10:12:42] VERBOSE[2964] pbx.c: -- Executing [s@macro-hangupcall:4] GotoIf("SIP/96-00000000", "1?skiprg") in new stack
[Sep 3 10:12:42] VERBOSE[2964] pbx.c: -- Goto (macro-hangupcall,s,7)
[Sep 3 10:12:42] VERBOSE[2964] pbx.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/96-00000000", "1?skipblkvm") in new stack
[Sep 3 10:12:42] VERBOSE[2964] pbx.c: -- Goto (macro-hangupcall,s,10)
[Sep 3 10:12:42] VERBOSE[2964] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("SIP/96-00000000", "1?theend") in new stack
[Sep 3 10:12:42] VERBOSE[2964] pbx.c: -- Goto (macro-hangupcall,s,12)
[Sep 3 10:12:42] VERBOSE[2964] pbx.c: -- Executing [s@macro-hangupcall:12] Hangup("SIP/96-00000000", "") in new stack
[Sep 3 10:12:42] VERBOSE[2964] app_macro.c: == Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SIP/96-00000000' in macro 'hangupcall'
[Sep 3 10:12:42] VERBOSE[2964] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/96-00000000'
[Sep 3 10:12:59] VERBOSE[2965] manager.c: == Manager 'admin' logged on from 127.0.0.1
[Sep 3 10:12:59] VERBOSE[2965] manager.c: == Manager 'admin' logged off from 127.0.0.1
[Sep 3 10:13:04] VERBOSE[2967] manager.c: == Manager 'admin' logged on from 127.0.0.1
2010-09-03 11:15

Сообщений: 32

Re: Elastix(FreePBX) + datagroup.com.ua

Пинание матом начальник отдела телефонии датагруппа и через 15 минут все заработало. :)

Столкнулся с проблемой того что все входящие идут на первый зарегистрированный .
Как развести по портам(5060,5061,5062,5063) все 3 регистрации ?
2010-09-03 15:54

1 2>
Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru