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

Проблема с входящими звонками

0

Добрый день. Есть астериск 1.8.7.0. Тестируем с провайдером новый sip транк. Есть проблемы с входящими звонками(отбой). Включил дебаг, и посмотрел лог одного звонка. В чем может быть проблема?

[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c:
<--- SIP read from UDP:195.158.10.102:5060 --->
INVITE sip:s@10.0.1.102:5060 SIP/2.0
Via: SIP/2.0/UDP 195.158.10.102:5060;branch=z9hG4bKd3cd82002gl19kks61i1.1
Accept: application/sdp
Allow: INVITE,ACK,CANCEL,BYE,INFO,PRACK,UPDATE,OPTIONS,REGISTER,REFER,SUBSCRIBE,MESSAGE,PUBLISH
Call-ID: SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1
Contact: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;transport=udp>
CSeq: 55 INVITE
Expires: 3600
From: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>;tag=SDf4bta01-hfj0g5nfqr
To: "712020707" <sip:712020707@10.0.1.102:5060;user=phone>
Organization: Iskratel
Supported: 100rel
User-Agent: SI3000
Max-Forwards: 69
Subject: Call from SI3000
P-Asserted-Identity: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>
Privacy: none
Content-Length: 189
Content-Type: application/sdp
Content-Disposition: session;handling=required

v=0
o=- 5851044 2646778 IN IP4 195.158.10.102
s=-
c=IN IP4 195.158.10.102
b=AS:64
t=0 0
m=audio 16076 RTP/AVP 8 0
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=ptime:20
a=sendrecv
<------------->
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: --- (20 headers 11 lines) ---
[Apr 30 23:31:21] VERBOSE[3652] netsock.c: == Using UDPTL TOS bits 184
[Apr 30 23:31:21] VERBOSE[3652] netsock.c: == Using UDPTL CoS mark 5
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: Sending to 195.158.10.102:5060 (no NAT)
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: Using INVITE request as basis request - SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: Found peer 'sip-2020707' for '712547696' from 195.158.10.102:5060
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c:
<--- Reliably Transmitting (no NAT) to 195.158.10.102:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 195.158.10.102:5060;branch=z9hG4bKd3cd82002gl19kks61i1.1;received=195.158.10.102
From: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>;tag=SDf4bta01-hfj0g5nfqr
To: "712020707" <sip:712020707@10.0.1.102:5060;user=phone>;tag=as4de8bf95
Call-ID: SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1
CSeq: 55 INVITE
Server: FPBX-2.8.1(1.8.7.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4588f494"
Content-Length: 0


<------------>
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: Scheduling destruction of SIP dialog 'SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1' in 32000 ms (Method: INVITE)
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c:
<--- SIP read from UDP:195.158.10.102:5060 --->
ACK sip:s@10.0.1.102:5060 SIP/2.0
Via: SIP/2.0/UDP 195.158.10.102:5060;branch=z9hG4bKd3cd82002gl19kks61i1.1
CSeq: 55 ACK
Call-ID: SDf4bta01-54406cc99705232cd81d1488e4dad41f-06a1gh1
From: "712547696" <sip:712547696@195.158.10.102:5060;user=phone;cpc=ordinary>;tag=SDf4bta01-hfj0g5nfqr
To: "712020707" <sip:712020707@10.0.1.102:5060;user=phone>;tag=as4de8bf95
Max-Forwards: 69
Content-Length: 0

<------------->
[Apr 30 23:31:21] VERBOSE[3652] chan_sip.c: --- (8 headers 0 lines) ---
удалить закрыть спам изменить тег редактировать

спросил 2013-05-01 09:56:00 +0400

CorsarWish Gravatar CorsarWish
9 3 3

обновил 2013-05-01 13:15:30 +0400

zzuz Gravatar zzuz flag of Russian Federation
7174 2 6 75
http://line24.ru/

Comments

так он у вас регистрацией или без ? - Registration for '2306023@172.15.210.2' timed out

awsswa ( 2013-05-01 10:47:50 +0400 )редактировать

2306023@172.15.210.2 это второй транк, рабочий... просто попал в дебаг-лог, уже удалил из поста

CorsarWish ( 2013-05-01 11:31:48 +0400 )редактировать

надо вам переоформить запрос - там тег есть дата - чтоб выглядело читаемо

awsswa ( 2013-05-01 12:08:04 +0400 )редактировать

Добавьте insecure=invite

zzuz ( 2013-05-01 13:16:01 +0400 )редактировать

1 Ответ

0

добавить в транк

insecure=port,invite

проверить что у вас есть екстеншен s во входящем контексте.

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

ответил 2013-05-01 14:03:13 +0400

meral Gravatar meral flag of Ukraine
23347 24 20 177
http://pro-sip.net/

Ваш ответ

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

Статистика

Задан: 2013-05-01 09:56:00 +0400

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

Обновлен: May 01 '13

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