Page 1 of 1

Time Syn and No Ringback issue

PostPosted: Sat May 30, 2020 4:12 am
by PJ111288
Hi Matt,

Yesterday I installed vicidial from theraysolomon site but it is getting Time Syn error(i have already gone through to fix this issue by doing these steps which are mentioned in this link https://striker24x7.blogspot.com/2012/1 ... idial.html ) but no luck and also No Ringback issue I am getting.

I am trying to use webRTC webphone that is why I used asterisk 13. Could i use a lower version of an asterisk(11 or else) for the webphone?

Configuration :
VERSION: 2.14-753a
Asterisk 13.21.0-vici
Centos 6.10
DB Schema Version: 1595
SVN Version: 3251

Screen -ls


[root@portal ~]# screen -ls
There are screens on:
19416.ASTupdate (Detached)
26149.ASTconf3way (Detached)
2597.astshell20200528201224 (Detached)
19428.ASTVDremote (Detached)
19422.ASTlisten (Detached)
2602.asterisk (Detached)
2815.ASTfastlog (Detached)
26146.ASTVDadapt (Detached)
19419.ASTsend (Detached)
19425.ASTVDauto (Detached)
10 Sockets in /var/run/screen/S-root.

[root@portal ~]# date
Sat May 30 14:37:46 IST 2020


Please tell me if other information you need about it.

Re: Time Syn and No Ringback issue

PostPosted: Sat May 30, 2020 4:39 pm
by carpenox
you may have to set the time zone in the php.ini files the same as the server itself, what time zone are you in?

Re: Time Syn and No Ringback issue

PostPosted: Wed Jun 03, 2020 1:32 am
by PJ111288
Its the same date.timezone = Asia/Kolkata in php.ini which is in server

[root@portal ~]# date
Wed Jun 3 12:01:47 IST 2020
[root@portal ~]#



[root@portal ~]# hwclock
Wed 03 Jun 2020 12:01:25 PM IST -0.970176 seconds
[root@portal ~]#

Re: Time Syn and No Ringback issue

PostPosted: Wed Jun 03, 2020 6:07 am
by carpenox
when you click on reports, are all three layers green? database, php and server itself? you need to hit the + sign next to server name. Also there are 2 php.ini files one in apache and one in php

Re: Time Syn and No Ringback issue

PostPosted: Wed Jun 03, 2020 11:44 am
by PJ111288
Hi Carpenox,

when you click on reports, are all three layers green? database, php and server itself? you need to hit the + sign next to server name.

Yes all green PHP and DB time is matched but asterisk has 7 sec behind them.

Asterisk : 2020-06-03 22:10:12
PHP :2020-06-03 22:10:19
DB : 2020-06-03 22:10:19

Also there are 2 php.ini files one in apache and one in php

I find this >>/etc/php.ini but can't able to find php,ini in apache. Could you please share the full path of it...that would be great.

Many Thanks.

Re: Time Syn and No Ringback issue

PostPosted: Wed Jun 03, 2020 10:14 pm
by carpenox
Code: Select all
cyburity:/etc/php7 # cd apache2/
cyburity:/etc/php7/apache2 # ls
php.ini
cyburity:/etc/php7/apache2 # cd ..
cyburity:/etc/php7 # cd cli
cyburity:/etc/php7/cli # ls
pear.conf  php.ini


However if they are all green then that is not the issue. 7 seconds is not enuf to do time sync issue. its over 30 where it starts i believe. You have FastAGI running?

Re: Time Syn and No Ringback issue

PostPosted: Thu Jun 04, 2020 1:42 am
by PJ111288
Hi Carpenox,

Thanks for your time and response.

But I have php5.X version and checked date & time relating setting in it but no setting. One more issue which is i mentioned here earlier that no ringback while the logging agent and not even in asterisk CLI any hit of that. Could you share some of your thought about it?

Many Thanks.

Re: Time Syn and No Ringback issue

PostPosted: Thu Jun 04, 2020 7:17 am
by carpenox
check if dahdi is running:

dahdi_cfg -vvv

and as far as being php5, check the same thing in php5 but if your green i dont think thats the issue, if you type "ps a" on the server, do you see FastAGI running>?

Re: Time Syn and No Ringback issue

PostPosted: Thu Jun 04, 2020 7:48 am
by PJ111288
Yes, dahdi is working as you can check...

[root@portal asterisk]#
[root@portal asterisk]# dahdi_cfg -vvv
DAHDI Tools Version - 2.10.2

DAHDI Version: 2.10.2
Echo Canceller(s):
Configuration
======================


Channel map:


0 channels to configure.

[root@portal asterisk]#

This is the output of "ps a".

[root@portal asterisk]# ps a
PID TTY STAT TIME COMMAND
2626 pts/2 Ss+ 0:00 /bin/sh
2631 pts/3 Ss+ 0:00 /bin/sh
2644 tty2 Ss+ 0:00 /sbin/mingetty /dev/tty2
2646 tty3 Ss+ 0:00 /sbin/mingetty /dev/tty3
2648 tty4 Ss+ 0:00 /sbin/mingetty /dev/tty4
2650 tty5 Ss+ 0:00 /sbin/mingetty /dev/tty5
2654 tty6 Ss+ 0:00 /sbin/mingetty /dev/tty6
2672 tty1 Ssl+ 0:03 /usr/bin/Xorg :0 -br -verbose -audit 4 -auth /var/run/gdm/auth-for-gdm-wfUIAS/database -nolisten tcp vt1
2751 pts/0 Ss+ 0:38 /usr/bin/perl /usr/share/astguiclient/AST_update_AMI2.pl
2754 pts/1 Ss+ 9:03 /usr/bin/perl /usr/share/astguiclient/AST_manager_send.pl
2757 pts/4 Ss+ 1:38 /usr/bin/perl /usr/share/astguiclient/AST_manager_listen_AMI2.pl
2760 pts/5 Ss+ 2:57 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial.pl
2763 pts/6 Ss+ 1:12 /usr/bin/perl /usr/share/astguiclient/AST_VDremote_agents.pl --debug
2769 pts/8 Ss+ 0:01 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug
2817 pts/8 S+ 0:00 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug
2818 pts/8 S+ 0:00 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug
2819 pts/8 S+ 0:00 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug
2820 pts/8 S+ 0:00 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug
2821 pts/8 S+ 0:00 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug
12097 pts/7 Ss+ 3:07 /usr/bin/perl /usr/share/astguiclient/AST_VDadapt.pl --debug
12100 pts/9 Ss+ 0:20 /usr/bin/perl /usr/share/astguiclient/AST_conf_update_3way.pl --debug
12748 pts/10 Ss 0:00 -bash
14924 pts/10 R+ 0:00 ps a
[root@portal asterisk]#

Re: Time Syn and No Ringback issue

PostPosted: Thu Jun 04, 2020 8:13 am
by carpenox
im not sure dude, looks like everything running correctly, try running sip debug in asterisk and paste the output so i can see whats happening

Re: Time Syn and No Ringback issue

PostPosted: Thu Jun 04, 2020 9:01 am
by PJ111288
Hi Carpenox,

Only agent login on Softphone hit on asterisk debug. NO Ring back hit even in CLI.

Thanks.

Re: Time Syn and No Ringback issue

PostPosted: Fri Jun 05, 2020 7:53 pm
by carpenox
you did "sip set debug on" ?

Re: Time Syn and No Ringback issue

PostPosted: Mon Jun 08, 2020 5:58 am
by PJ111288
Yes i did sip set debug.

Re: Time Syn and No Ringback issue

PostPosted: Mon Jun 08, 2020 10:56 pm
by carpenox
first do "core set verbose 50" then "sip set debug on" and show me results after loggin into dialer and making a call

Re: Time Syn and No Ringback issue

PostPosted: Thu Jun 11, 2020 9:36 am
by PJ111288
Hi Carpenox,

Many thanks for your time and effort. Really appreciate.

But unfortunately i have to res-install server because my customer was down and now server is working.

Thanks.

Re: Time Syn and No Ringback issue

PostPosted: Thu Jun 11, 2020 10:12 am
by carpenox
ok glad to hear that its working now

Re: Time Syn and No Ringback issue

PostPosted: Fri Jun 12, 2020 1:25 am
by PJ111288
Many Thanks for your help.