Добрый день. Имеется следующая связка: Asterisk 1.8.16.0 + KX TDA600 соединенные через Е1 плата Wildcard TE220. Все норм работало. Но тут достался мне SPA8000. Все бы ничего, но появились жалобы от некотрых сотрудников, что не могут дозвонится на номер заведенные в SPA8000. Проверил так и есть, с некоторых телефонов произходит такая хрень: набор номер-> тишина 5 сек->сброс. Менял на TDA порты, номера-> не помогает. Смотрю логи астериска:
-- Executing [866@phones:1] Dial("DAHDI/i2/290-7e33", "SIP/866,60") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/866
[Apr 22 17:58:40] WARNING[11824]: chan_sip.c:3687 retrans_pkt: Retransmission timeout reached on transmission 224955ff134f64344220671c5f82b16b@192.168.0.2:5060 for seqno 102 (Critical Request) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 6401ms with no response
[Apr 22 17:58:40] WARNING[11824]: chan_sip.c:3716 retrans_pkt: Hanging up call 224955ff134f64344220671c5f82b16b@192.168.0.2:5060 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [866@phones:2] Hangup("DAHDI/i2/290-7e33", "") in new stack
== Spawn extension (phones, 866, 2) exited non-zero on 'DAHDI/i2/290-7e33'
-- Hungup 'DAHDI/i2/290-7e33'
Настроки в Sip.conf:
[general]
srvlookup=yes
jbenable = yes
jbforce=yes
jbimpl = fixed
jbmaxsize = 150
jbresyncthreshold = 1000
jblog = yes
videosupport=yes
allowguest=no
alwaysauthreject=yes
match_auth_username=yes
disallow=all
allow=g729
allow=alaw
allow=ulaw
allow=gsm
language=ru
nat = yes
canreinvite = no
transport=udp
Сделал tcpdump- звонок проходит: tcpdump -i any -vnn -s0 port 5060 and src 192.168.0.173(ip SPA8000)
17:34:58.873755 IP (tos 0x68, ttl 250, id 6095, offset 0, flags [none], proto UDP (17), length 376)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 348
SIP/2.0 100 Trying
To: <sip:866@192.168.0.173:5160>
From: "107" <sip:107@192.168.0.2>;tag=as02b2b534
Call-ID: 522b5ecc138d1c090b3f00ca3e8c878c@192.168.0.2:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK193c2b3a
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
17:34:58.880493 IP (tos 0x68, ttl 250, id 6096, offset 0, flags [none], proto UDP (17), length 515)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 487
SIP/2.0 180 Ringing
To: <sip:866@192.168.0.173:5160>;tag=4d63bce3b23f62f0i0
From: "107" <sip:107@192.168.0.2>;tag=as02b2b534
Call-ID: 522b5ecc138d1c090b3f00ca3e8c878c@192.168.0.2:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK193c2b3a
Contact: "866" <sip:866@192.168.0.173:5160>
Server: Linksys/SPA8000-6.1.12
Remote-Party-ID: "866" <sip:866@192.168.0.2>;screen=yes;party=called
Allow-Events: talk, hold, conference
Content-Length: 0
17:35:00.642620 IP (tos 0x68, ttl 250, id 6103, offset 0, flags [none], proto UDP (17), length 411)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 383
SIP/2.0 487 Request Terminated
To: <sip:866@192.168.0.173:5160>;tag=4d63bce3b23f62f0i0
From: "107" <sip:107@192.168.0.2>;tag=as02b2b534
Call-ID: 522b5ecc138d1c090b3f00ca3e8c878c@192.168.0.2:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK193c2b3a
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
17:35:00.644107 IP (tos 0x68, ttl 250, id 6104, offset 0, flags [none], proto UDP (17), length 395)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 367
SIP/2.0 200 OK
To: <sip:866@192.168.0.173:5160>;tag=4d63bce3b23f62f0i0
From: "107" <sip:107@192.168.0.2>;tag=as02b2b534
Call-ID: 522b5ecc138d1c090b3f00ca3e8c878c@192.168.0.2:5060
CSeq: 102 CANCEL
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK193c2b3a
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
Звонок не проходит:
17:40:56.655450 IP (tos 0x68, ttl 250, id 6810, offset 0, flags [none], proto UDP (17), length 326)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 298
SIP/2.0 100 Trying
To: <sip:866@192.168.0.173:5160>
From: "\0xca\0xee\0xe2\0xe0\0xeb\0xfc\0xf1\0xea\0xe0\0xffCall-ID: 165b6d612dc7d22c4f700dc203012ff3@192.168.0.2:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK46e04b03
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
17:40:56.657003 IP (tos 0x68, ttl 250, id 6811, offset 0, flags [none], proto UDP (17), length 352)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 324
SIP/2.0 486 Busy Here
To: <sip:866@192.168.0.173:5160>;tag=ca080b15bdb822eci0
From: "\0xca\0xee\0xe2\0xe0\0xeb\0xfc\0xf1\0xea\0xe0\0xffCall-ID: 165b6d612dc7d22c4f700dc203012ff3@192.168.0.2:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK46e04b03
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
17:40:56.754561 IP (tos 0x68, ttl 250, id 6812, offset 0, flags [none], proto UDP (17), length 352)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 324
SIP/2.0 486 Busy Here
To: <sip:866@192.168.0.173:5160>;tag=ca080b15bdb822eci0
From: "\0xca\0xee\0xe2\0xe0\0xeb\0xfc\0xf1\0xea\0xe0\0xffCall-ID: 165b6d612dc7d22c4f700dc203012ff3@192.168.0.2:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK46e04b03
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
17:40:56.954929 IP (tos 0x68, ttl 250, id 6813, offset 0, flags [none], proto UDP (17), length 352)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 324
SIP/2.0 486 Busy Here
To: <sip:866@192.168.0.173:5160>;tag=ca080b15bdb822eci0
From: "\0xca\0xee\0xe2\0xe0\0xeb\0xfc\0xf1\0xea\0xe0\0xffCall-ID: 165b6d612dc7d22c4f700dc203012ff3@192.168.0.2:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK46e04b03
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
17:40:57.152489 IP (tos 0x68, ttl 250, id 6814, offset 0, flags [none], proto UDP (17), length 352)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 324
SIP/2.0 486 Busy Here
To: <sip:866@192.168.0.173:5160>;tag=ca080b15bdb822eci0
From: "\0xca\0xee\0xe2\0xe0\0xeb\0xfc\0xf1\0xea\0xe0\0xffCall-ID: 165b6d612dc7d22c4f700dc203012ff3@192.168.0.2:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK46e04b03
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
17:40:57.355081 IP (tos 0x68, ttl 250, id 6815, offset 0, flags [none], proto UDP (17), length 352)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 324
SIP/2.0 486 Busy Here
To: <sip:866@192.168.0.173:5160>;tag=ca080b15bdb822eci0
From: "\0xca\0xee\0xe2\0xe0\0xeb\0xfc\0xf1\0xea\0xe0\0xffCall-ID: 165b6d612dc7d22c4f700dc203012ff3@192.168.0.2:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK46e04b03
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
17:40:58.152568 IP (tos 0x68, ttl 250, id 6820, offset 0, flags [none], proto UDP (17), length 352)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 324
SIP/2.0 486 Busy Here
To: <sip:866@192.168.0.173:5160>;tag=ca080b15bdb822eci0
From: "\0xca\0xee\0xe2\0xe0\0xeb\0xfc\0xf1\0xea\0xe0\0xffCall-ID: 165b6d612dc7d22c4f700dc203012ff3@192.168.0.2:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK46e04b03
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
17:40:58.156320 IP (tos 0x68, ttl 250, id 6821, offset 0, flags [none], proto UDP (17), length 352)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 324
SIP/2.0 486 Busy Here
To: <sip:866@192.168.0.173:5160>;tag=ca080b15bdb822eci0
From: "\0xca\0xee\0xe2\0xe0\0xeb\0xfc\0xf1\0xea\0xe0\0xffCall-ID: 165b6d612dc7d22c4f700dc203012ff3@192.168.0.2:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK46e04b03
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
17:40:59.754841 IP (tos 0x68, ttl 250, id 6826, offset 0, flags [none], proto UDP (17), length 352)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 324
SIP/2.0 486 Busy Here
To: <sip:866@192.168.0.173:5160>;tag=ca080b15bdb822eci0
From: "\0xca\0xee\0xe2\0xe0\0xeb\0xfc\0xf1\0xea\0xe0\0xffCall-ID: 165b6d612dc7d22c4f700dc203012ff3@192.168.0.2:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK46e04b03
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
17:41:00.152591 IP (tos 0x68, ttl 250, id 6827, offset 0, flags [none], proto UDP (17), length 352)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 324
SIP/2.0 486 Busy Here
To: <sip:866@192.168.0.173:5160>;tag=ca080b15bdb822eci0
From: "\0xca\0xee\0xe2\0xe0\0xeb\0xfc\0xf1\0xea\0xe0\0xffCall-ID: 165b6d612dc7d22c4f700dc203012ff3@192.168.0.2:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK46e04b03
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
17:41:02.954992 IP (tos 0x68, ttl 250, id 6835, offset 0, flags [none], proto UDP (17), length 352)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 324
SIP/2.0 486 Busy Here
To: <sip:866@192.168.0.173:5160>;tag=ca080b15bdb822eci0
From: "\0xca\0xee\0xe2\0xe0\0xeb\0xfc\0xf1\0xea\0xe0\0xffCall-ID: 165b6d612dc7d22c4f700dc203012ff3@192.168.0.2:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK46e04b03
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
17:41:04.152272 IP (tos 0x68, ttl 250, id 6836, offset 0, flags [none], proto UDP (17), length 352)
192.168.0.173.5160 > 192.168.0.2.5060: SIP, length: 324
SIP/2.0 486 Busy Here
To: <sip:866@192.168.0.173:5160>;tag=ca080b15bdb822eci0
From: "\0xca\0xee\0xe2\0xe0\0xeb\0xfc\0xf1\0xea\0xe0\0xffCall-ID: 165b6d612dc7d22c4f700dc203012ff3@192.168.0.2:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK46e04b03
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
17:41:05.367432 IP (tos 0x68, ttl 250, id 7713, offset 0, flags [none], proto UDP (17), length 483)
192.168.0.173.5361 > 192.168.0.2.5060: SIP, length: 455
SIP/2.0 200 OK
To: <sip:881@192.168.0.173:5361>;tag=284a97e26bdfb5d8i1
From: "asterisk" <sip:asterisk@192.168.0.2>;tag=as53391c9a
Call-ID: 20755d0202213a9e03d10cd878d5ff81@192.168.0.2:5060
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK26cca424
Server: Linksys/SPA8000-6.1.12
Allow-Events: talk, hold, conference
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: x-sipura, replaces
Подскажите, куда капнуть можно?
Задан: 2015-04-22 19:13:47 +0400
Просмотрен: 156 раз
Обновлен: Apr 22 '15
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.
SIP/2.0 486 Busy Here
догадываюсь , что это порт 7 или 8 на устройстве.
zzuz ( 2015-04-22 22:32:50 +0400 )редактироватьКоллеги, вопрос решен. Оказалось все гораздо "сложнее". Те номера на АТС TDA600, у которых название было на кирилице, типа "Иванов Иван" не могли дозвонится - SPA800 впадал в ступор и не отдуплял, типа:
SIP/2.0 200 OK To: <sip:866@192.168.0.173:5160>;tag=7cf74cbaff418240i0 From: "����������Call-ID: 4fe488507a89404f7c6bf88a693f018f@192.168.0.2:5060
Теперь прийдется всех на латиницу переводить(давно уже собирался)!! Всем удачи.
CheGev80 ( 2015-04-23 17:35:11 +0400 )редактироватьтеперь понятно почему поле FROM такое красивое .
zzuz ( 2015-04-23 18:47:59 +0400 )редактироватьНе надо переводить на латиницу всю телефонию, сделайте перевод в транслит перед звонком на SPA8000.
glukinho ( 2015-04-23 18:49:10 +0400 )редактировать