Добрый день!
Перешел с MikoPBX 2020.1.124 на 2021.2.194
Входящие звонки работают, а исходящие нет.
При исходящем звонке пишет:
в messages:
WARNING[29321][C-0000000a] app_dial.c: Unable to create channel of type 'PJSIP' (cause 3 - No route to destination)
в errors:
ERROR[9935] res_pjsip.c: Endpoint 'SIP-1623748623': Could not create dialog to invalid URI 'SIP-1623748623'. Is endpoint registered and reachable?
ERROR[9935] chan_pjsip.c: Failed to create outgoing session to endpoint 'SIP-1623748623'
в информации о системе
────────────────────────────────── asterisk endpoints ───────────────────────────────────
Endpoint: <Endpoint/CID.....................................> <State.....> <Channels.>
I/OAuth: <AuthId/UserName...........................................................>
Aor: <Aor............................................> <MaxContact>
Contact: <Aor/ContactUri..........................> <Hash....> <Status> <RTT(ms)..>
Transport: <TransportId........> <Type> <cos> <tos> <BindAddress..................>
Identify: <Identify/Endpoint.........................................................>
Match: <criteria.........................>
Channel: <ChannelId......................................> <State.....> <Time.....>
Exten: <DialedExten...........> CLCID: <ConnectedLineCID.......>
==========================================================================================
Endpoint: 401/401 Not in use 0 of 1
OutAuth: 401/denis.ostapuk@redcity.su
InAuth: 401/denis.ostapuk@redcity.su
Aor: 401 5
Contact: 401/sip:401@192.168.77.132:49182;line=r6f9 630d0e4e68 Avail 24.023
Endpoint: 402/402 Not in use 0 of 1
OutAuth: 402/ekaterina.timofeeva@redcity.su
InAuth: 402/ekaterina.timofeeva@redcity.su
Aor: 402 5
Contact: 402/sip:402@192.168.77.135:56455;line=sppd a2f288dcd8 Avail 23.858
Endpoint: 403/403 Not in use 0 of 1
OutAuth: 403/elena.peregrimova@redcity.su
InAuth: 403/elena.peregrimova@redcity.su
Aor: 403 5
Contact: 403/sip:403@192.168.77.138:55281;line=gkcd 4382d8e088 Avail 29.191
Endpoint: 404/404 Unavailable 0 of 1
OutAuth: 404/olga.zhukovina@redcity.su
InAuth: 404/olga.zhukovina@redcity.su
Aor: 404 5
Endpoint: 405/405 Unavailable 0 of 1
OutAuth: 405/olga.dimchenko@redcity.su
InAuth: 405/olga.dimchenko@redcity.su
Aor: 405 5
Endpoint: SIP-1623748623 Unavailable 0 of inf
Aor: SIP-1623748623 1
Contact: SIP-1623748623/sip:82.151.127.114:5060 29fcc2faa0 Unavail nan
Identify: SIP-1623748623/SIP-1623748623
Match: 82.151.127.114/32
Objects found: 6
─────────────────────────────────── asterisk contacts ───────────────────────────────────
Contact: <Aor/ContactUri..............................> <Hash....> <Status> <RTT(ms)..>
==========================================================================================
Contact: 401/sip:401@192.168.77.132:49182;line=r6f91lz9 630d0e4e68 Avail 24.023
Contact: 402/sip:402@192.168.77.135:56455;line=sppdo0yl a2f288dcd8 Avail 23.858
Contact: 403/sip:403@192.168.77.138:55281;line=gkcdrsj1 4382d8e088 Avail 29.191
Contact: SIP-1623748623/sip:82.151.127.114:5060 29fcc2faa0 Unavail nan
Objects found: 4
Такое ощущение, что АТС не может проверить доступность соединения с провайдером. Хотя от ростелекома приходят ответы на сообщения OPTIONS :
2021/06/15 14:08:09.307297 192.168.67.10:54255 -> 82.151.127.114:5060
OPTIONS sip:82.151.127.114:5060 SIP/2.0
Via: SIP/2.0/UDP 89.208.85.252:54255;rport;branch=z9hG4bKPj25c92dbc-1e9b-4171-8d45-12d9185ad950
From: <sip:74722733003@82.151.127.114>;tag=be6380fd-5b4a-4301-aad2-03a08fb508c5
To: <sip:82.151.127.114>
Contact: <sip:74722733003@89.208.85.252:54255>
Call-ID: 31478c31-a8b1-4f67-ab70-3c34ac8f18b2
CSeq: 12954 OPTIONS
Max-Forwards: 70
User-Agent: mikopbx-2021.2.194
Content-Length: 0
2021/06/15 14:08:10.306624 192.168.67.10:54255 -> 82.151.127.114:5060
OPTIONS sip:82.151.127.114:5060 SIP/2.0
Via: SIP/2.0/UDP 89.208.85.252:54255;rport;branch=z9hG4bKPj25c92dbc-1e9b-4171-8d45-12d9185ad950
From: <sip:74722733003@82.151.127.114>;tag=be6380fd-5b4a-4301-aad2-03a08fb508c5
To: <sip:82.151.127.114>
Contact: <sip:74722733003@89.208.85.252:54255>
Call-ID: 31478c31-a8b1-4f67-ab70-3c34ac8f18b2
CSeq: 12954 OPTIONS
Max-Forwards: 70
User-Agent: mikopbx-2021.2.194
Content-Length: 0
2021/06/15 14:08:12.307305 192.168.67.10:54255 -> 82.151.127.114:5060
OPTIONS sip:82.151.127.114:5060 SIP/2.0
Via: SIP/2.0/UDP 89.208.85.252:54255;rport;branch=z9hG4bKPj25c92dbc-1e9b-4171-8d45-12d9185ad950
From: <sip:74722733003@82.151.127.114>;tag=be6380fd-5b4a-4301-aad2-03a08fb508c5
To: <sip:82.151.127.114>
Contact: <sip:74722733003@89.208.85.252:54255>
Call-ID: 31478c31-a8b1-4f67-ab70-3c34ac8f18b2
CSeq: 12954 OPTIONS
Max-Forwards: 70
User-Agent: mikopbx-2021.2.194
Content-Length: 0
2021/06/15 14:08:12.350170 82.151.127.114:5060 -> 192.168.67.10:54255
SIP/2.0 200 OK
Via: SIP/2.0/UDP 89.208.85.252:54255;received=89.208.85.252;branch=z9hG4bKPj25c92dbc-1e9b-4171-8d45-12d9185ad950;rport=54255
From: <sip:74722733003@82.151.127.114>;tag=be6380fd-5b4a-4301-aad2-03a08fb508c5
To: <sip:82.151.127.114>
Call-ID: 31478c31-a8b1-4f67-ab70-3c34ac8f18b2
CSeq: 12954 OPTIONS
Content-Length: 0
Как заставить работать исходящие звонки?