First time here? Check out the FAQ!

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

Почему не регистрируется GOIP на freepbx?

0

Приветствую

Есть в наличии:

Asterisk 13.10.0 собранный из сырцов - 192.168.1.100 Freepbx 13.0.170 - 192.168.1.101 Goip 8 GST1610-1.01-55

Упорно не хочет регаться гоип на АТС, ругается на wrong password

Транк:

username=600
authuser
=600
defaultuser
=600
secret
=600
host
=dynamic
type
=peer
nat
=no
qualify
=yes
canreinvite
=yes
insecure
=port,invite
dtmfmode
=auto
disallow
=all
allow
=alaw

Транк на гоип

Config by line
Authentication ID 600
Password    - 600
Routing Prefix  1
SIP
Proxy   192.168.1.100
SIP
Registrar Server     192.168.1.100
Re-register Period (s) 60
Phone Number     600
Display Name    600
Outbound Proxy  
Home Domain

Дебаг:

�ò�^B^@^D^@^@^@^@^@^@^@^@^@��^@^@^A^@^@^@^W��W�ڲ
^@�^A^@^@�^A^@^@@�\Ni8?^P^C��^H^@E^@^A�^@^@@^@@^QQ��^Ae��^Ad^S�^S�^An��REGISTER sip:192.168.1.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK1331228219
From: "600" <sip:600@192.168.1.100>;tag=1091296080
To: "600" <sip:600@192.168.1.100>
Call-ID: 453634039@192.168.1.101
CSeq: 54 REGISTER
Contact: <sip:600@192.168.1.101:5060>;expires=60
Max-Forwards: 30
User-Agent: dble
Expires: 60
Content-Length: 0

^W��W��
^@+^B^@^@+^B^@^@8?^P^C��@�\Ni�^H^@E^@^B^]˵^@^@@^Q)^A��^Ad��^Ae^Sĵ^Sĵ^B  wSIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK1331228219;received=192.168.1.101
From: "600" <sip:600@192.168.1.100>;tag=1091296080
To: "600" <sip:600@192.168.1.100>;tag=as062a10d8
Call-ID: 453634039@192.168.1.101
CSeq: 54 REGISTER
Server: Asterisk PBX 13.10.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW
-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="603f222d"
Content-Length: 0

^W��W��
^@.^B^@^@.^B^@^@@�\Ni8?^P^C��^H^@E^@^B ^@^@@^@@^Q����^Ae��^Ad^S�^S�^B^Li
REGISTER sip
:192.168.1.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK381485677
From: "600" <sip:600@192.168.1.100>;tag=1091296080
To: "600" <sip:600@192.168.1.100>
Call-ID: 453634039@192.168.1.101
CSeq: 55 REGISTER
Contact: <sip:600@192.168.1.101:5060>;expires=60
Authorization: Digest username="600", realm="asterisk", nonce="603f222d", uri="sip:192.168.1.100", response="ae249072b6618522d8ed81ca30a749f0", algorithm=MD5
Max-Forwards: 30
User-Agent: dble
Expires: 60

^W��W^W
^@�^A^@^@�^A^@^@8?^P^C��@�\Ni�^H^@E^@^A�˶^@^@@^Q)P��^Ad��^Ae^SĶ^SĶ^A�<,SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK381485677;received=192.168.1.101
From: "600" <sip:600@192.168.1.100>;tag=1091296080
To: "600" <sip:600@192.168.1.100>;tag=as062a10d8
Call-ID: 453634039@192.168.1.101
CSeq: 55 REGISTER
Server: Asterisk PBX 13.10.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

^Y��WH�^A^@<^@^@^@<^@^@^@@�\Ni8?^P^C��^H^@E^@^@^_^@^@@^@@^Q�^W��^A^B��^Ad^S�^S�^@^KG
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^Z��WB^H^@�^A^@^@�^A^@^@@�\Ni8?^P^C��^H^@E^@^A^?^@^@@^@@^QT��^Ae��^Ad^S�^S�^AkUREGISTER sip:192.168.1.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK1190187642
From: "600" <sip:600@192.168.1.100>;tag=335421696
To: "600" <sip:600@192.168.1.100>
Call-ID: 453634039@192.168.1.101
CSeq: 56 REGISTER
Contact: <sip:600@192.168.1.101:5060>;expires=0
Max-Forwards: 30
User-Agent: dble
Expires: 0
Content-Length: 0

^Z��W^SD^H^@*^B^@^@*^B^@^@8?^P^C��@�\Ni�^H^@E^@^B^\˷^@^@@^Q)^@��^Ad��^Ae^Sķ^Sķ^B^H^FKSIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK1190187642;received=192.168.1.101
From: "600" <sip:600@192.168.1.100>;tag=335421696
To: "600" <sip:600@192.168.1.100>;tag=as062a10d8
Call-ID: 453634039@192.168.1.101
CSeq: 56 REGISTER
Server: Asterisk PBX 13.10.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW
-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="51e34e73"
Content-Length: 0

^^��Wg^H^@-^B^@^@-^B^@^@@�\Ni8?^P^C��^H^@E^@^B^_^@^@@^@@^Q����^Ae��^Ad^S�^S�^B^K�^]REGISTER sip:192.168.1.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK1635581886
From: "600" <sip:600@192.168.1.100>;tag=22337336
To: "600" <sip:600@192.168.1.100>
Call-ID: 453634039@192.168.1.101
CSeq: 58 REGISTER
Contact: <sip:600@192.168.1.101:5060>;expires=60
Authorization: Digest username="600", realm="asterisk", nonce="59168475", uri="sip:192.168.1.100", response="ebe7c280677e496f52575ee22bd1e141", algorithm=MD5
Max-Forwards: 30
User-Agent: dble
Expires: 60
Content-Length: 0

^^��W^Hi^H^@�^A^@^@�^A^@^@8?^P^C��@�\Ni�^H^@E^@^A�˹^@^@@^Q)N��^Ad��^Ae^SĹ^SĹ^AHTSIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK1635581886;received=192.168.1.101
From: "600" <sip:600@192.168.1.100>;tag=22337336
To: "600" <sip:600@192.168.1.100>;tag=as062a10d8
Call-ID: 453634039@192.168.1.101
CSeq: 58 REGISTER
Server: Asterisk PBX 13.10.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

#��W^A�^A^@<^@^@^@<^@^@^@@�\Ni�8?^P^C��^H^@E^@^@^_^@^@@^@@^Q�^W��^A^B��^Ad^S�^S�^@^KG�
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@(��W^@�^H^@�^A^@^@�^A^@^@@�\Ni8?^P^C��^H^@E^@^A�^@^@@^@@^QS��^Ae��^Ad^S�^S�^Al��REGISTER sip:192.168.1.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK406696794
From: "600" <sip:600@192.168.1.100>;tag=938554630
To: "600" <sip:600@192.168.1.100>
Call-ID: 453634039@192.168.1.101
CSeq: 59 REGISTER
Contact: <sip:600@192.168.1.101:5060>;expires=60
Max-Forwards: 30
User-Agent: dble
Expires: 60
Content-Length: 0

Вот что в консоли:

[2016-08-22 09:50:24] NOTICE[4043]: chan_sip.c:28468 handle_request_register: Registration from '"600" <sip:600@192.168.1.100>' failed for '192.168.1.101:5060' - Wrong password
[2016-08-22 09:50:24] DEBUG[4043]: chan_sip.c:28914 handle_request_do: SIP message could not be handled, bad request: 228412851@192.168.1.101                          
[2016-08-22 09:50:28] NOTICE[4043]: chan_sip.c:28468 handle_request_register: Registration from '"600" <sip:600@192.168.1.100>' failed for '192.168.1.101:5060' - Wrong password
[2016-08-22 09:50:28] DEBUG[4043]: chan_sip.c:28914 handle_request_do: SIP message could not be handled, bad request: 228412851@192.168.1.101

что ему не хватает для счастья? (

Сип телефон тоже не регается, тоже самое все...

спросил Aug 22 '16

aroun1 Gravatar aroun1
1 1 1

обновил Aug 22 '16

Comments

ну наверно логика у вас не та (транк на asterisk не принимает регистрацию !!!! а может только сам регистрироваться ), а goip регистрируется как extension 600 которого у вас на asterisk наверно просто нету. PS сделайте без регистрации

awsswa (Aug 22 '16)edit

потомучтоненастроен

meral (Aug 25 '16)edit

Будьте первым, кто ответит на этот вопрос!

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку

подписаться на rss ленту новостей

Статистика

Задан: Aug 22 '16

Просмотрен: 985 раз

Обновлен: Aug 22 '16

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