Re: [asterisk-users] PJSIP client - Incoming doesn't work after IP change

2017-03-15 Thread Madushan Geethanga
Hi, My snom phone doesn't work until i restart the phone after the ip change. Best Regards, Madushan On Thu, Mar 16, 2017 at 10:08 AM, Madushan Geethanga < mgliyanage...@gmail.com> wrote: > Hi, > > Thank you very much for the reply, is there a setting for it in snom > phones? > > Best Regards,

Re: [asterisk-users] PJSIP client - Incoming doesn't work after IP change

2017-03-15 Thread Madushan Geethanga
Hi, Thank you very much for the reply, is there a setting for it in snom phones? Best Regards, Madushan On Thu, Mar 16, 2017 at 10:01 AM, Dovid Bender wrote: > Madushan, > > With PJSIP you can have multiple devices registering to the same username. > How often is the

Re: [asterisk-users] PJSIP client - Incoming doesn't work after IP change

2017-03-15 Thread Dovid Bender
Madushan, With PJSIP you can have multiple devices registering to the same username. How often is the phone set to register? It can be that the IP is changing in between registrations. On Thu, Mar 16, 2017 at 12:12 AM, Madushan Geethanga < mgliyanage...@gmail.com> wrote: > Hi All, > > I have a

[asterisk-users] PJSIP client - Incoming doesn't work after IP change

2017-03-15 Thread Madushan Geethanga
Hi All, I have a Asterisk 13 with PJSIP running on cloud, and snom phones at client site, but when my clients home internet public ip changes incoming does not work. the PJSIP Contact seems to be not updated. is there a solution for this. I have allowed multiple registrations to the extension.

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Ron Wheeler
Great. Let me know how your policy works out. I would not mind trying it myself. I have no intrinsic objection to doing things the right way but sometimes one just needs to get the phones working! Ron On 15/03/2017 4:06 PM, Dan Cropp wrote: Thank you Jason After following your steps,

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Ron Wheeler
Have you tried to turn of Selinux permanently? I don't see why it would be required on a system that has no users. In /etc/selinux/config I set SELINUX to disabled # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Dan Cropp
Just a quick update. Problem seems to have been with the init.d script. I decided to re-set SElinux to enabled just to verify while using the systemd. Even after a restart, asterisk is running with SElinux enabled. Thanks to everyone on asterisk-users for helping me solve my problem. Dan

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Dan Cropp
Thank you Jason After following your steps, Asterisk starts up each time even after the reset. I will look into creating an SELinux policy exception for Asterisk. Have a great day! Dan From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Telium Technical Support
Dan - you probably installed the init script (look in /etc/init.d for an 'asterisk' file). Asterisk includes the older init style scripts which are *compatible* with systemd but you don't have as much control compared to creating an Asterisk systemd file. (SystemD service files replace InitD

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Dan Cropp
Thanks Jason. I will try to explain what I'm seeing for this issue. I did a fresh install of CentOS 7 Minimal into a VM with VMWare Workstation. Followed the Asterisk from Source instructions using pjproject 2.6 and asterisk 13.14.0 for the configure, install, ... At the end of the asterisk

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Telium Technical Support
The history of the question is lost (in the mail thread) so I'll jump in based on what I could see in my recent mail and the subject line: -The ASTDB should have no impact on Asterisk service start (which I assume is the problem given the subject line) -If you disabled SElinux

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Dan Cropp
Some background to make sure this is the right track. SELINUX does seem to be the problem on startup. The audit.log I provided is what is happening prior to executing 'setenforce 0' Looking at astdb.sqlite3, there is only one table astdb. It has one record, which contains a key and value

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Ron Wheeler
What are you using for the database - SQLite? I am using mysql (mariadb). I am not familiar with SQLlite. Can you access the database from the console - look up the list of tables - display the contents from a table? Anything to see if your SQLite is working and has asterisk data in it. From

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Dan Cropp
Here is the audit.log. Does this indicate a problem with accessing the astdb.sqlite3 file? Permissions for this file are... [root@localhost ~]# ls -l /var/lib/asterisk/astdb.sqlite3 -rw-r--r--. 1 root root 5120 Mar 15 09:39 /var/lib/asterisk/astdb.sqlite3 [root@localhost ~]# tail -f

Re: [asterisk-users] Having problem getting Asterisk to work on CentOS 7

2017-03-15 Thread Tzafrir Cohen
On Tue, Mar 14, 2017 at 02:46:19PM -0400, Ron Wheeler wrote: > https://docs.fedoraproject.org/en-US/Fedora/11/html/Security-Enhanced_Linux/sect-Security-Enhanced_Linux-Working_with_SELinux-Enabling_and_Disabling_SELinux.html > > If disabling Selinux solves your problem, then your problem may be

Re: [asterisk-users] codec negotiation or transcoding issue

2017-03-15 Thread Lợi Đặng
Asterisk might be unable to transcode rtp type from downstream to upstream, or vice versa. There's a bug reported here, for asterisk 12 or above, using chan_sip. https://issues.asterisk.org/jira/browse/ASTERISK-25676 It says that you could avoid the bug by using chan_pjsip, but you still encounter

Re: [asterisk-users] double NAT - one way audio

2017-03-15 Thread Andre Gronwald
ISP won't change, but will check. in the hidden menus it isn't changeable either. However, it is working after i deactivated VoIP in the router. And even after reenabling VoIP it is still working. I don't understand why... However, it works. :-D thanks a lot. regards, andre -- Andre Gronwald