Страница 1 из 2

SIP TLS+SRTP слышимость только у входящего абонента

Добавлено: 22 мар 2020, 14:50
evachka777151
Добрый день. Имеется ОС Debian 9, Asterisk 17.2.0, OpenSSL 1.1.0f. Если не включать TLS+SRTP, то вызовы работают нормально. И входящие и исходящие абоненты слышат друг друга.
После генерации самоподписанного сертификата скриптом Астериск была произведена настройка конфигурации SIP. После этого пропала слышимость у исходящего абонента. В чем может быть проблема?

sip.conf

[general]
;Внешний ip адрес
externaddr=80.x.x.x:5038
localnet=192.168.0.0/255.255.0.0
localnet=192.168.11.0/255.255.255.0
localnet=192.168.1.0/255.255.0.0
localnet=192.0.0.0/255.0.0.0
localnet=192.168.5.0/255.255.0.0
;Указываем использовать русскую озвучку
language=ru
context=default
allowguest=no
match_auth_username=no
allowoverlap=no
bindport=5038
udpbindaddr=0.0.0.0
tcpenable=no
tcpbindaddr=0.0.0.0
transport=tls
encryption=yes
srvlookup=yes
qualifyfreq=60
tonezone=ru
relaxdtmf=yes
rpid_update=yes
dtmfmode=rfc2833
videosupport=yes
maxcallbitrate=2048
authfailureevents=yes
alwaysauthreject=yes
auth_options_requests=yes
auth_message_requests=yes
regextenonqualify=yes
autocreatepeer=no
t1min=200
rtptimeout=600
rtpholdtimeout=300
callcounter=yes
t38pt_udptl=yes
faxdetect=yes
nat=force_rport,comedia
directmedia=no
jbenable=yes
jbmaxsize=200
limitonpeers=yes
session-timers=refuse
canreintive=no
externip=82.x.x.x
disallow=all
;allow=ulaw
allow=alaw
allow=g729
allow=g723
allow=g722

;------------------------ TLS settings ------------------------------------------------------------

tlsenable=yes
tlsbindaddr=0.0.0.0:5038
tlscertfile=/etc/asterisk/keys/asterisk.pem
tlscafile=/etc/asterisk/keys/ca.crt
tlscipher=ALL
tlsclientmethod=tlsv1
tlsdontverifyserver=no


[authentication]

;Создаем шаблон для телефонов
[phones](!)
type=friend
context=call-out
host=dynamic
nat=force_rport,comedia
localnet=192.168.0.0/255.255.0.0
localnet=192.168.11.0/255.255.255.0
localnet=192.168.1.0/255.255.0.0
localnet=192.0.0.0/255.0.0.0
localnet=192.168.5.0/255.255.0.0
qualify=yes
canreinvite=no
callgroup=2
pickupgroup=2
call-limit=1
dtmfmode=auto
disallow=all
;allow=ulaw
allow=alaw
allow=g729
allow=g723
allow=g722

transport=tls
encryption=yes

;Создаем пользователей
[111](phones)
defaultuser="111"
secret=QWERty
callerid="111" <111>
[112](phones)
defaultuser="112"
secret=QWERty
callerid="112" <112>
[113](phones)
defaultuser="113"
secret=QWERty
callerid="113" <113>

Re: SIP TLS+SRTP слышимость только у входящего абонента

Добавлено: 23 мар 2020, 07:44
awsswa
Поставьте нормальный сертификат, не самоподписанный

Re: SIP TLS+SRTP слышимость только у входящего абонента

Добавлено: 23 мар 2020, 13:14
evachka777151
С нормальным сертификатом от GlobalSign то же самое.

Re: SIP TLS+SRTP слышимость только у входящего абонента

Добавлено: 23 мар 2020, 14:24
ded
1. Найти нормальную инструкцию по подключению TLS/CRTP и выполнить в точности.
2. Если не получается - см. пункт 1.
3. Смотрим в CLI при set verbose 10, отладку звонка http://asterisk.ru/knowledgebase/debug и разбираем в пакетах почему SRTP не склеивается.
4. Это -
localnet=192.168.0.0/255.255.0.0
localnet=192.168.11.0/255.255.255.0
localnet=192.168.1.0/255.255.0.0
localnet=192.0.0.0/255.0.0.0
localnet=192.168.5.0/255.255.0.0
- головотяпство
- руки из задницы
- я не понимаю что тут написано
- (поставьте нужное определение самостоятельно).

Re: SIP TLS+SRTP слышимость только у входящего абонента

Добавлено: 24 мар 2020, 15:27
evachka777151
1. делала по инструкции https://wiki.asterisk.org/wiki/display/ ... +Transport
причем односторонняя связь появляется при подключении сигнализации, даже без включенного SRTP.
Не нашла нормальной инструкции, чтобы сертификаты GlobalSign подключать можно было.
С самоподписанным так же не работает.

Сервер Asterisk находится за NAT (Cisco). На циско проброс портов настроен.

Re: SIP TLS+SRTP слышимость только у входящего абонента

Добавлено: 25 мар 2020, 11:41
ded
ded писал(а):3. Смотрим в CLI при set verbose 10, отладку звонка http://asterisk.ru/knowledgebase/debug
rtp set debug on

Re: SIP TLS+SRTP слышимость только у входящего абонента

Добавлено: 25 мар 2020, 14:18
evachka777151
set verbose 10

PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[Mar 25 15:08:38] VERBOSE[4622] chan_sip.c: Registered SIP '111' at 80.234.27.51:29910
[Mar 25 15:08:38] VERBOSE[4622] chan_sip.c: Saved useragent "MicroSIP/3.19.22" for peer 111
[Mar 25 15:08:38] NOTICE[4622] chan_sip.c: Peer '111' is now Reachable. (48ms / 2000ms)
[Mar 25 15:08:41] VERBOSE[4623] chan_sip.c: Registered SIP '113' at 85.26.234.75:12961
[Mar 25 15:08:41] VERBOSE[4623] chan_sip.c: Saved useragent "SessionTalk 6.0" for peer 113
[Mar 25 15:08:41] NOTICE[4623] chan_sip.c: Peer '113' is now Reachable. (54ms / 2000ms)
[Mar 25 15:08:41] VERBOSE[4623] chan_sip.c: Unregistered SIP '113'
[Mar 25 15:08:41] VERBOSE[4623] chan_sip.c: Registered SIP '113' at 85.26.234.75:12961
[Mar 25 15:08:47] VERBOSE[4622][C-00000001] netsock2.c: Using SIP RTP CoS mark 5
[Mar 25 15:08:47] VERBOSE[4622][C-00000001] netsock2.c: Using UDPTL CoS mark 5
[Mar 25 15:08:47] VERBOSE[4622][C-00000001] res_rtp_asterisk.c: 0x7f0480022ba0 -- Strict RTP learning after remote address set to: 80.234.27.51:10120
[Mar 25 15:08:47] VERBOSE[4625][C-00000001] pbx.c: Executing [113@call-out:1] Dial("SIP/111-00000000", "SIP/113") in new stack
[Mar 25 15:08:47] VERBOSE[4625][C-00000001] netsock2.c: Using SIP RTP CoS mark 5
[Mar 25 15:08:47] VERBOSE[4625][C-00000001] app_dial.c: Called SIP/113
[Mar 25 15:08:47] VERBOSE[4625][C-00000001] app_dial.c: SIP/113-00000001 is ringing
[Mar 25 15:08:47] VERBOSE[4625][C-00000001] app_dial.c: SIP/113-00000001 is ringing
[Mar 25 15:08:50] WARNING[4625][C-00000001] res_rtp_asterisk.c: RTP Read too short
[Mar 25 15:08:50] VERBOSE[4623][C-00000001] res_rtp_asterisk.c: 0x7f05c4007320 -- Strict RTP learning after remote address set to: 100.101.67.3:4000
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] app_dial.c: SIP/113-00000001 answered SIP/111-00000000
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] bridge_channel.c: Channel SIP/113-00000001 joined 'simple_bridge' basic-bridge <7c1dc90e-69e0-4fba-9b25-2e1c6fa1acd4>
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] bridge_channel.c: Channel SIP/111-00000000 joined 'simple_bridge' basic-bridge <7c1dc90e-69e0-4fba-9b25-2e1c6fa1acd4>
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: 0x7f05c4007320 -- Strict RTP qualifying stream type: audio
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] res_rtp_asterisk.c: 0x7f0480022ba0 -- Strict RTP qualifying stream type: audio
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: 0x7f05c4007320 -- Strict RTP switching source address to 85.26.234.75:52601
[Mar 25 15:08:50] DEBUG[4627][C-00000001] res_rtp_asterisk.c: RTP NAT: Got audio from other end. Now sending to address 85.26.234.75:52601
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:52601 (type 08, seq 018611, ts 427647522, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:52601 (type 08, seq 018612, ts 427647682, len 000170)
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] res_rtp_asterisk.c: 0x7f0480022ba0 -- Strict RTP switching source address to 80.234.27.51:29922
[Mar 25 15:08:50] DEBUG[4625][C-00000001] res_rtp_asterisk.c: RTP NAT: Got audio from other end. Now sending to address 80.234.27.51:29922
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29922 (type 08, seq 020058, ts 000800, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:52601 (type 08, seq 018613, ts 427647842, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:52601 (type 08, seq 018614, ts 427648002, len 000170)
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29922 (type 08, seq 020059, ts 000960, len 000170)
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29922 (type 08, seq 020060, ts 001120, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:52601 (type 08, seq 018615, ts 427648162, len 000170)
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29922 (type 08, seq 020061, ts 001280, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:52601 (type 08, seq 018616, ts 427648322, len 000170)
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29922 (type 08, seq 020062, ts 001440, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:52601 (type 08, seq 018617, ts 427648482, len 000170)
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29922 (type 08, seq 020063, ts 001600, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:52601 (type 08, seq 018618, ts 427648642, len 000170)
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29922 (type 08, seq 020064, ts 001760, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:52601 (type 08, seq 018619, ts 427648802, len 000170)
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29922 (type 08, seq 020065, ts 001920, len 000170)
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29922 (type 08, seq 020066, ts 002080, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:52601 (type 08, seq 018620, ts 427648962, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:52601 (type 08, seq 018621, ts 427649122, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:52601 (type 08, seq 018622, ts 427649282, len 000170)
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29922 (type 08, seq 020067, ts 002240, len 000170)
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29922 (type 08, seq 020068, ts 002400, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:52601 (type 08, seq 018623, ts 427649442, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Sent RTP packet to 85.26.234.75:52601 (type 08, seq 031367, ts 000800, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Sent RTP packet to 85.26.234.75:52601 (type 08, seq 031368, ts 000960, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:52601 (type 08, seq 018624, ts 427649602, len 000170)
[Mar 25 15:08:50] VERBOSE[4625][C-00000001] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29922 (type 08, seq 020069, ts 002560, len 000170)
[Mar 25 15:08:50] VERBOSE[4627][C-00000001] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:52601 (type 08, seq 018625, ts 427649762, len 000170)
[Mar 25 15:08:59] VERBOSE[4623][C-00000002] netsock2.c: Using SIP RTP CoS mark 5
[Mar 25 15:08:59] VERBOSE[4623][C-00000002] res_rtp_asterisk.c: 0x7f048402ded0 -- Strict RTP learning after remote address set to: 100.101.67.3:4002
[Mar 25 15:08:59] VERBOSE[4628][C-00000002] pbx.c: Executing [111@call-out:1] Dial("SIP/113-00000002", "SIP/111") in new stack
[Mar 25 15:08:59] VERBOSE[4628][C-00000002] netsock2.c: Using SIP RTP CoS mark 5
[Mar 25 15:08:59] VERBOSE[4628][C-00000002] app_dial.c: Called SIP/111
[Mar 25 15:08:59] VERBOSE[4628][C-00000002] app_dial.c: SIP/111-00000003 is ringing
[Mar 25 15:09:01] VERBOSE[4622][C-00000002] netsock2.c: Using UDPTL CoS mark 5
[Mar 25 15:09:01] VERBOSE[4622][C-00000002] res_rtp_asterisk.c: 0x7f05cc006200 -- Strict RTP learning after remote address set to: 80.234.27.51:10122
[Mar 25 15:09:01] VERBOSE[4628][C-00000002] app_dial.c: SIP/111-00000003 answered SIP/113-00000002
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] bridge_channel.c: Channel SIP/111-00000003 joined 'simple_bridge' basic-bridge <ec9f86a5-2298-4ce4-ba9b-db39438b19b0>
[Mar 25 15:09:01] VERBOSE[4628][C-00000002] bridge_channel.c: Channel SIP/113-00000002 joined 'simple_bridge' basic-bridge <ec9f86a5-2298-4ce4-ba9b-db39438b19b0>
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: 0x7f05cc006200 -- Strict RTP qualifying stream type: audio
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: 0x7f05cc006200 -- Strict RTP switching source address to 80.234.27.51:29929
[Mar 25 15:09:01] DEBUG[4629][C-00000002] res_rtp_asterisk.c: RTP NAT: Got audio from other end. Now sending to address 80.234.27.51:29929
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010039, ts 000800, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010040, ts 000960, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010041, ts 001120, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010042, ts 001280, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010043, ts 001440, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010044, ts 001600, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010045, ts 001760, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010046, ts 001920, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010047, ts 002080, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010048, ts 002240, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010049, ts 002400, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010050, ts 002560, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010051, ts 002720, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010052, ts 002880, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010053, ts 003040, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010054, ts 003200, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010055, ts 003360, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010056, ts 003520, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010057, ts 003680, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010058, ts 003840, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010059, ts 004000, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010060, ts 004160, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010061, ts 004320, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010062, ts 004480, len 000170)
[Mar 25 15:09:01] WARNING[4628][C-00000002] res_rtp_asterisk.c: RTP Read too short
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010063, ts 004640, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010064, ts 004800, len 000170)
[Mar 25 15:09:01] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: 0x7f048402ded0 -- Strict RTP qualifying stream type: audio
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010065, ts 004960, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010066, ts 005120, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010067, ts 005280, len 000170)
[Mar 25 15:09:01] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: 0x7f048402ded0 -- Strict RTP switching source address to 85.26.234.75:17008
[Mar 25 15:09:01] DEBUG[4628][C-00000002] res_rtp_asterisk.c: RTP NAT: Got audio from other end. Now sending to address 85.26.234.75:17008
[Mar 25 15:09:01] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009957, ts 712022962, len 000170)
[Mar 25 15:09:01] DEBUG[4628][C-00000002] res_rtp_asterisk.c: RTCP NAT: Got RTCP from other end. Now sending to address 85.26.234.75:11001
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010068, ts 005440, len 000170)
[Mar 25 15:09:01] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009958, ts 712023122, len 000170)
[Mar 25 15:09:01] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009959, ts 712023282, len 000170)
[Mar 25 15:09:01] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009960, ts 712023442, len 000170)
[Mar 25 15:09:01] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009961, ts 712023602, len 000170)
[Mar 25 15:09:01] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009962, ts 712023762, len 000170)
[Mar 25 15:09:01] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009963, ts 712023922, len 000170)
[Mar 25 15:09:01] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009964, ts 712024082, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010069, ts 005600, len 000170)
[Mar 25 15:09:01] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009965, ts 712024242, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010070, ts 005760, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010071, ts 005920, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010072, ts 006080, len 000170)
[Mar 25 15:09:01] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009966, ts 712024402, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010073, ts 006240, len 000170)
[Mar 25 15:09:01] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010074, ts 006400, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010075, ts 006560, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010076, ts 006720, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010077, ts 006880, len 000170)
[Mar 25 15:09:02] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009967, ts 712024562, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Sent RTP packet to 80.234.27.51:29929 (type 08, seq 015691, ts 712022960, len 000170)
[Mar 25 15:09:02] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009968, ts 712024722, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010078, ts 007040, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Sent RTP packet to 80.234.27.51:29929 (type 08, seq 015692, ts 712023120, len 000170)
[Mar 25 15:09:02] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009969, ts 712024882, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010079, ts 007200, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Sent RTP packet to 80.234.27.51:29929 (type 08, seq 015693, ts 712023280, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010080, ts 007360, len 000170)
[Mar 25 15:09:02] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009970, ts 712025042, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Sent RTP packet to 80.234.27.51:29929 (type 08, seq 015694, ts 712023440, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010081, ts 007520, len 000170)
[Mar 25 15:09:02] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009971, ts 712025202, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Sent RTP packet to 80.234.27.51:29929 (type 08, seq 015695, ts 712023600, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010082, ts 007680, len 000170)
[Mar 25 15:09:02] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009972, ts 712025362, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Sent RTP packet to 80.234.27.51:29929 (type 08, seq 015696, ts 712023760, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010083, ts 007840, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Sent RTP packet to 80.234.27.51:29929 (type 08, seq 015697, ts 712023920, len 000170)
[Mar 25 15:09:02] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009973, ts 712025522, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010084, ts 008000, len 000170)
[Mar 25 15:09:02] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009974, ts 712025682, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Sent RTP packet to 80.234.27.51:29929 (type 08, seq 015698, ts 712024080, len 000170)
[Mar 25 15:09:02] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009975, ts 712025842, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Sent RTP packet to 80.234.27.51:29929 (type 08, seq 015699, ts 712024240, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010085, ts 008160, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Got RTP packet from 80.234.27.51:29929 (type 08, seq 010086, ts 008320, len 000170)
[Mar 25 15:09:02] VERBOSE[4628][C-00000002] res_rtp_asterisk.c: Got RTP packet from 85.26.234.75:17008 (type 08, seq 009976, ts 712026002, len 000170)
[Mar 25 15:09:02] VERBOSE[4629][C-00000002] res_rtp_asterisk.c: Sent RTP packet to 80.234.27.51:29929 (type 08, seq 015700, ts 712024400, len 000170)
[Mar 25 15:09:13] WARNING[4571] chan_sip.c: Retransmission timeout reached on transmission HHDYWlCDtscUapAqM4prFw.. for seqno 2 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 12800ms with no response
[Mar 25 15:09:13] WARNING[4571] chan_sip.c: Hanging up call HHDYWlCDtscUapAqM4prFw.. - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/ ... nsmissions).
[Mar 25 15:09:13] VERBOSE[4628][C-00000002] bridge_channel.c: Channel SIP/113-00000002 left 'simple_bridge' basic-bridge <ec9f86a5-2298-4ce4-ba9b-db39438b19b0>
[Mar 25 15:09:13] VERBOSE[4629][C-00000002] bridge_channel.c: Channel SIP/111-00000003 left 'simple_bridge' basic-bridge <ec9f86a5-2298-4ce4-ba9b-db39438b19b0>
[Mar 25 15:09:13] VERBOSE[4628][C-00000002] pbx.c: Spawn extension (call-out, 111, 1) exited non-zero on 'SIP/113-00000002'
[Mar 25 15:09:15] VERBOSE[4622] chan_sip.c: Unregistered SIP '111'
[Mar 25 15:09:17] VERBOSE[4623] chan_sip.c: Unregistered SIP '113'

Может ли быть проблема из-за NAT в Cisco? Когда транспорт не tls, всё отлично работает.

Re: SIP TLS+SRTP слышимость только у входящего абонента

Добавлено: 25 мар 2020, 20:33
ded
Может быть проблема из-за NAT в Cisco. В обычном режиме там работает NAT helper (SIP ALG). Но что-то такое же жолжно работать и для TLS.
А у вас порт 5061 (TLS) проброшен через неё на Астериск?

Re: SIP TLS+SRTP слышимость только у входящего абонента

Добавлено: 26 мар 2020, 10:52
tma
ded писал(а):А у вас порт 5061 (TLS) проброшен через неё на Астериск?
Это ж сигнализация, а не RTP.

Re: SIP TLS+SRTP слышимость только у входящего абонента

Добавлено: 26 мар 2020, 12:03
ded
tma, RTP не идёт когда переключают на сигнализацию tls.
evachka777151 писал(а): Когда транспорт не tls, всё отлично работает.