Project

General

Profile

RE: Error autenticate goautodial CE v4 » issue.txt

full issue here in text file - Brett05 VOIP , 08/30/2018 12:10 AM

 
1
for those who use Let’s Encrypt
2
if you try to start kamailio with "systemctl start kamailio " then you tail statis with "systemctl status kamailio.service -l"
3
in /var/log/messages i have see that he search the tls file so : 
4
/etc/kamailio/tls.cfg and 
5

    
6
<pre>
7
[server:default]
8
method = TLSv1
9
verify_certificate = no
10
require_certificate = no
11
private_key = /etc/letsencrypt/live/MYDOMAIN/privkey.pem
12
certificate = /etc/letsencrypt/live/MYDOMAIN/fullchain.pem
13
</pre>
14

    
15
and restart kamailio
16
i my case he tired me with read file privkey.pem so i have disable the "define WITH_TLS" in file /etc/kamailio/kamailio.cfg in line 152 "/*#!define WITH_TLS*/"
17
then i have reboot kamailio and it's working.
18

    
19
now my problme is when i log as agent exemple : agent001 i can access but if i click in "lOGIN TO DIALER" i see "ERROR
20
Login incorrect, please try again.
21
Please contact your Administrator"
22

    
23
what wrong here ?
24

    
25

    
26
screen i have is :
27

    
28
<pre>
29
 screen -ls
30
There are screens on:
31
        21433.ASTVDadapt        (Detached)
32
        1517.ASTfastlog (Detached)
33
        1511.ASTVDremote        (Detached)
34
        1508.ASTVDauto  (Detached)
35
        1505.ASTlisten  (Detached)
36
        1502.ASTsend    (Detached)
37
        1499.ASTupdate  (Detached)
38
        1285.asterisk   (Detached)
39
8 Sockets in /var/run/screen/S-root.
40

    
41
</pre>
42

    
43

    
44
<pre>
45
 systemctl status ngcp-rtpengine -l
46
● ngcp-rtpengine.service - LSB: NGCP rtpengine
47
   Loaded: loaded (/etc/rc.d/init.d/ngcp-rtpengine; bad; vendor preset: disabled)
48
   Active: active (running) since Wed 2018-08-29 23:47:53 EDT; 13min ago
49
     Docs: man:systemd-sysv-generator(8)
50
  Process: 14528 ExecStop=/etc/rc.d/init.d/ngcp-rtpengine stop (code=exited, status=0/SUCCESS)
51
  Process: 14552 ExecStart=/etc/rc.d/init.d/ngcp-rtpengine start (code=exited, status=0/SUCCESS)
52
 Main PID: 14570 (rtpengine)
53
   CGroup: /system.slice/ngcp-rtpengine.service
54
           └─14570 /usr/sbin/rtpengine --table=0 --no-fallback --config-file=/etc/rtpengine/rtpengine.conf --listen-ng=80.211.157.116:5066 --pidfile=/var/run/rtpengine.pid
55

    
56
Aug 29 23:47:53 ivrstats systemd[1]: Starting LSB: NGCP rtpengine...
57
Aug 29 23:47:53 ivrstats ngcp-rtpengine[14552]: Loading module for in-kernel packet forwarding
58
Aug 29 23:47:53 ivrstats rtpengine[14569]: INFO: Generating new DTLS certificate
59
Aug 29 23:47:53 ivrstats ngcp-rtpengine[14552]: Starting rtpengine: [  OK  ]
60
Aug 29 23:47:53 ivrstats systemd[1]: PID file /var/run/rtpengine.pid not readable (yet?) after start.
61
Aug 29 23:47:53 ivrstats rtpengine[14570]: INFO: Startup complete, version 6.4.0.0-1.el7
62
Aug 29 23:47:53 ivrstats systemd[1]: Started LSB: NGCP rtpengine.
63

    
64
</pre>
65

    
66

    
67
<pre>
68
systemctl status kamailio.service -l
69
● kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server
70
   Loaded: loaded (/usr/lib/systemd/system/kamailio.service; enabled; vendor preset: disabled)
71
   Active: active (running) since Wed 2018-08-29 23:46:36 EDT; 15min ago
72
 Main PID: 14201 (kamailio)
73
   CGroup: /system.slice/kamailio.service
74
           ├─14201 /usr/sbin/kamailio -DD -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg -m 64 -M 4
75

    
76
Aug 29 23:46:36 ivrstats /usr/sbin/kamailio[14214]: INFO: rtpengine [rtpengine.c:2209]: rtpp_test(): rtp proxy <udp:80.211.157.116:5066> found, support for it enabled
77
Aug 29 23:46:36 ivrstats /usr/sbin/kamailio[14237]: INFO: rtpengine [rtpengine.c:2209]: rtpp_test(): rtp proxy <udp:80.211.157.116:5066> found, support for it enabled
78
Aug 29 23:46:36 ivrstats /usr/sbin/kamailio[14234]: INFO: rtpengine [rtpengine.c:2209]: rtpp_test(): rtp proxy <udp:80.211.157.116:5066> found, support for it enabled
79
Aug 29 23:46:36 ivrstats /usr/sbin/kamailio[14236]: INFO: rtpengine [rtpengine.c:2209]: rtpp_test(): rtp proxy <udp:80.211.157.116:5066> found, support for it enabled
80
Aug 29 23:46:36 ivrstats /usr/sbin/kamailio[14235]: INFO: rtpengine [rtpengine.c:2209]: rtpp_test(): rtp proxy <udp:80.211.157.116:5066> found, support for it enabled
81
Aug 29 23:46:36 ivrstats /usr/sbin/kamailio[14239]: INFO: rtpengine [rtpengine.c:2209]: rtpp_test(): rtp proxy <udp:80.211.157.116:5066> found, support for it enabled
82
Aug 29 23:46:36 ivrstats /usr/sbin/kamailio[14232]: INFO: rtpengine [rtpengine.c:2209]: rtpp_test(): rtp proxy <udp:80.211.157.116:5066> found, support for it enabled
83
Aug 29 23:46:36 ivrstats /usr/sbin/kamailio[14232]: INFO: ctl [io_listener.c:214]: io_listen_loop(): io_listen_loop:  using epoll_lt io watch method (config)
84
Aug 29 23:46:36 ivrstats /usr/sbin/kamailio[14238]: INFO: rtpengine [rtpengine.c:2209]: rtpp_test(): rtp proxy <udp:80.211.157.116:5066> found, support for it enabled
85
Aug 29 23:46:36 ivrstats /usr/sbin/kamailio[14233]: INFO: rtpengine [rtpengine.c:2209]: rtpp_test(): rtp proxy <udp:80.211.157.116:5066> found, support for it enabled
86

    
87
</pre>
88

    
89

    
90
<pre>
91
 asterisk -rvvv
92
Asterisk 13.17.2-vici, Copyright (C) 1999 - 2014, Digium, Inc. and others.
93
Created by Mark Spencer <markster@digium.com>
94
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
95
This is free software, with components licensed under the GNU General Public
96
License version 2 and other licenses; you are welcome to redistribute it under
97
certain conditions. Type 'core show license' for details.
98
=========================================================================
99
Connected to Asterisk 13.17.2-vici currently running on ivrstats (pid = 1290)
100
ivrstats*CLI> sip show peers
101
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
102
8001/8001                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
103
8002/8002                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
104
8003/8003                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
105
8004/8004                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
106
8005/8005                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
107
8006/8006                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
108
8007/8007                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
109
8008/8008                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
110
8009/8009                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
111
8010/8010                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
112
8011/8011                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
113
8012/8012                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
114
8013/8013                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
115
8014/8014                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
116
8015/8015                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
117
8016/8016                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
118
8017/8017                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
119
8018/8018                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
120
8019/8019                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
121
8020/8020                 (Unspecified)                            D  Yes        Yes            0        UNKNOWN
122
kamailio                  80.211.157.116                              Yes        Yes            5060     OK (1 ms)
123
21 sip peers [Monitored: 1 online, 20 offline Unmonitored: 0 online, 0 offline]
124

    
125
</pre>
126

    
127
any help please ??
    (1-1/1)
    Go to top