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

Почему не регистрируется 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^@^@@�\Ni�8?^P^C��^H^@E^@^A�^@^@@^@@^Q�Q��^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^@^@@�\Ni�8?^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^@<^@^@^@<^@^@^@@�\Ni�8?^P^C��^H^@E^@^@^_^@^@@^@@^Q�^W��^A^B��^Ad^S�^S�^@^KG� ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^Z��W�B^H^@�^A^@^@�^A^@^@@�\Ni�8?^P^C��^H^@E^@^A^?^@^@@^@@^Q�T��^Ae��^Ad^S�^S�^AkU�REGISTER 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 ^^��W�g^H^@-^B^@^@-^B^@^@@�\Ni�8?^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Ĺ^A�HTSIP/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^@^@@�\Ni�8?^P^C��^H^@E^@^A�^@^@@^@@^Q�S��^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 

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

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

удалить закрыть спам изменить тег редактировать

спросил 2016-08-22 17:56:06 +0400

aroun1 Gravatar aroun1
1 ● 1 ● 1

обновил 2016-08-22 18:25:59 +0400

Comments

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

awsswa ( 2016-08-22 19:28:40 +0400 )редактировать

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

meral ( 2016-08-25 14:24:37 +0400 )редактировать

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

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 ленту новостей

Статистика

Задан: 2016-08-22 17:56:06 +0400

Просмотрен: 1,014 раз

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

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