Error Creating SIP UA for profile: internal

58 views
Skip to first unread message

КАРД ТОО

unread,
Dec 27, 2022, 4:39:14 AM12/27/22
to freeswitch-ru
Добрый день!

Система поставлена с нуля. Debian 11, FreeSWITCH Version 1.10.8-release-20-3510866140~64bit (-release-20-3510866140 64bit).

Профиль Internal не запускается, вот ошибка:
...
2022-12-27 15:08:59.039384 95.37% [DEBUG] sofia.c:4721 force-register-domain [192.168.100.222]
2022-12-27 15:08:59.039384 95.37% [DEBUG] sofia.c:4721 force-subscription-domain [192.168.100.222]
2022-12-27 15:08:59.039384 95.37% [DEBUG] sofia.c:4721 force-register-db-domain [192.168.100.222]
2022-12-27 15:08:59.039384 95.37% [DEBUG] sofia.c:4721 ws-binding [:5066]
2022-12-27 15:08:59.039384 95.37% [DEBUG] sofia.c:4721 wss-binding [:7443]
2022-12-27 15:08:59.039384 95.37% [DEBUG] sofia.c:4721 challenge-realm [auto_from]
2022-12-27 15:08:59.039384 95.37% [INFO] sofia.c:6192 Setting MAX Auth Validity to 0 Attempts
2022-12-27 15:08:59.039384 95.37% [NOTICE] sofia.c:6359 Started Profile internal [sofia_reg_internal]
2022-12-27 15:08:59.039384 95.37% [DEBUG] sofia.c:3156 Creating agent for internal
2022-12-27 15:08:59.039384 95.37% [INFO] switch_time.c:1431 Timezone reloaded 1750 definitions
2022-12-27 15:08:59.039384 95.37% [ERR] sofia.c:3296 Error Creating SIP UA for profile: internal (sip:mod_...@89.40.67.12:5060;maddr=192.168.100.222;transport=udp,tcp) ATTEMPT 1 (RETRY IN 5 SEC)
2022-12-27 15:09:04.039394 95.30% [ERR] sofia.c:3296 Error Creating SIP UA for profile: internal (sip:mod_...@89.40.67.12:5060;maddr=192.168.100.222;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
2022-12-27 15:09:09.039391 95.70% [ERR] sofia.c:3296 Error Creating SIP UA for profile: internal (sip:mod_...@89.40.67.12:5060;maddr=192.168.100.222;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
2022-12-27 15:09:09.039391 95.70% [ERR] sofia.c:3307 Error Creating SIP UA for profile: internal (sip:mod_...@89.40.67.12:5060;maddr=192.168.100.222;transport=udp,tcp)
The likely causes for this are:
1) Another application is already listening on the specified address.
2) The IP the profile is attempting to bind to is not local to this system.
2022-12-27 15:09:09.039391 95.70% [DEBUG] sofia.c:3576 Write lock internal
2022-12-27 15:09:09.039391 95.70% [DEBUG] sofia.c:3589 Write unlock internal

root@debian:~# ss -anp | grep 5060
udp   UNCONN     0      0                                           [::1]:5060                            [::]:*      users:(("freeswitch",pid=69522,fd=59))                                                                                                                                                                                    
tcp   LISTEN     0      64                                          [::1]:5060                            [::]:*      users:(("freeswitch",pid=69522,fd=60))  

root@debian:~# ss -apln | grep free
udp   UNCONN 0      0                                 192.168.100.222:5080             0.0.0.0:*      users:(("freeswitch",pid=69522,fd=29))                                                                                                                                                                                                    
udp   UNCONN 0      0                                         0.0.0.0:1337             0.0.0.0:*      users:(("freeswitch",pid=69522,fd=46))                                                                                                                                                                                                    
udp   UNCONN 0      0                                           [::1]:5060                [::]:*      users:(("freeswitch",pid=69522,fd=59))                                                                                                                                                                                                    
udp   UNCONN 0      0                                           [::1]:5080                [::]:*      users:(("freeswitch",pid=69522,fd=34))                                                                                                                                                                                                    
tcp   LISTEN 0      4096                              192.168.100.222:8081             0.0.0.0:*      users:(("freeswitch",pid=69522,fd=44))                                                                                                                                                                                                    
tcp   LISTEN 0      4096                              192.168.100.222:8082             0.0.0.0:*      users:(("freeswitch",pid=69522,fd=45))                                                                                                                                                                                                    
tcp   LISTEN 0      64                                192.168.100.222:5080             0.0.0.0:*      users:(("freeswitch",pid=69522,fd=31))                                                                                                                                                                                                    
tcp   LISTEN 0      64                                          [::1]:5060                [::]:*      users:(("freeswitch",pid=69522,fd=60))                                                                                                                                                                                                    
tcp   LISTEN 0      4096                                        [::1]:8081                [::]:*      users:(("freeswitch",pid=69522,fd=49))                                                                                                                                                                                                    
tcp   LISTEN 0      4096                                        [::1]:8082                [::]:*      users:(("freeswitch",pid=69522,fd=50))                                                                                                                                                                                                    
tcp   LISTEN 0      5                                               *:8021                   *:*      users:(("freeswitch",pid=69522,fd=63))                                                                                                                                                                                                    
tcp   LISTEN 0      64                                          [::1]:5080                [::]:*      users:(("freeswitch",pid=69522,fd=33))

Смог подключить клиенты к внутренним номерам через порт 5080. Клиенты MicroSip и PhonerLite.

FreeSwitch только установил. Разбираюсь только. 

Как понять где ошибка? Все настройки по умолчанию.

КАРД ТОО

unread,
Dec 27, 2022, 5:20:35 AM12/27/22
to freeswitch-ru
Все нормально, порт 7443 был занят другой программой. Поменял порт, Internal запустился.

вторник, 27 декабря 2022 г. в 15:39:14 UTC+6, КАРД ТОО:

КАРД ТОО

unread,
Dec 27, 2022, 5:26:04 AM12/27/22
to freeswitch-ru
Следующая проблема это длительность вызова. После 30 секунд связь обрывается. Оба клиента установлены на один комп, звонки идут с одного IP адреса между MicroSip (ext 1001) и PhonerLite (1000). Если завершить разговор на любом из клиентов, то второй клиент продолжает держать связь. Нет автоматического завершения звонка на втором клиенте.

вторник, 27 декабря 2022 г. в 16:20:35 UTC+6, КАРД ТОО:
Reply all
Reply to author
Forward
0 new messages