[asterisk-users] Asterisk crash in ast_find_ourip

2017-03-14 Thread Patrick Wakano
Hello list, We've got an Asterisk crash in one of our servers and the core dump showed following call tree. Is this anyhow helpful to someone? Seems like a regular RTP / RTCP handling that lead to a malloc crash Grateful for any help! Cheers, Patrick Thread 1 (Thread 0x7f8d6b023700 (LWP

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

2017-03-14 Thread Glenn Geller (VDOPh)
Hi Andre, On your comment "unfortunately there is no bridge mode or any comparable mode available", sometimes the carrier (if it's a carrier supplied DSL router) will have these settings hidden from standard user's eyes. You may need to call your ISP and request them to place your DSL router

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

2017-03-14 Thread Dan Cropp
Thanks Tzafrir. Upon further investigation it is safe_asterisk that was the process id I initially saw. I believe this is what was installed when running make config to install the Initialization Scripts in the asterisk 13.14.0 source code Asterisk did not start up previously on a restart. I

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

2017-03-14 Thread Ron Wheeler
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 related to Selinux. If it does not change yout problem, you may

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

2017-03-14 Thread Ron Wheeler
I have FreePBX 14.0.1beta20 running on Centos 7.3. What problems are you having? The latest emails don't have any details about the problem or what you have tried. Ron On 14/03/2017 2:21 PM, Tzafrir Cohen wrote: On Tue, Mar 14, 2017 at 06:03:33PM +0100, Jean Aunis wrote: Hello, Did you

[asterisk-users] codec negotiation or transcoding issue

2017-03-14 Thread Faheem Muhammad
Hi, I'm facing strange issue while establishing inbound calls from SIP trunks. Provider A is sending (G729,Alaw,uLaw) offer and asterisk dial the peer with its preferred codec order(G729,aLaw, uLaw). The peer's phone send the codec list as (uLaw, speex) in 200 OK replay. The Peer's phone has

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

2017-03-14 Thread Eric Wieling
This is what I hacked up for my CentOS 7 Asterisk server. It does NOT act like safe_asterisk. [Unit] Description=Asterisk PBX and telephony daemon Documentation=man:asterisk(8) After=network-online.target multi-user.target [Service] Type=simple User=root Group=root

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

2017-03-14 Thread Tzafrir Cohen
On Tue, Mar 14, 2017 at 06:03:33PM +0100, Jean Aunis wrote: > Hello, > > Did you disable selinux ? It usually causes troubles when starting asterisk > as a service. You can do this with : setenforce 0 (this will not totally > disable selinux, but switch it to a permissive mode). Generally before

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

2017-03-14 Thread Tzafrir Cohen
On Tue, Mar 14, 2017 at 05:09:17PM +, Dan Cropp wrote: > Thank you Tzafrir. > > I had been using different users in earlier attempts to make this work. > Decided to try everything where root is the only user, simply to verify it's > working. > > For problem 2, where asterisk is writing to

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

2017-03-14 Thread Dan Cropp
Thank you Jean. I changed selinux to permissive in the /etc/selinux/config and restarted. Asterisk was able to start up. One oddity though, I now see two different pids for asterisk (pgrep asterisk). Is this to be expected or do I still have something wrong? For my second issue, after

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

2017-03-14 Thread Dan Cropp
Thank you Tzafrir. I had been using different users in earlier attempts to make this work. Decided to try everything where root is the only user, simply to verify it's working. For problem 2, where asterisk is writing to the log but doesn't seem to receive the SIP packets even though tcpdump

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

2017-03-14 Thread Jean Aunis
Hello, Did you disable selinux ? It usually causes troubles when starting asterisk as a service. You can do this with : setenforce 0 (this will not totally disable selinux, but switch it to a permissive mode). For your second point, maybe you should check that firewalld is either stopped or

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

2017-03-14 Thread Tzafrir Cohen
On Tue, Mar 14, 2017 at 04:45:38PM +, Dan Cropp wrote: > After that, I modify the asterisk conf files for a couple pjsip endpoints and > turn on debugging and verbosity. Copying settings from another box which is > working. > > I am seeing two different issues > > First, when I

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

2017-03-14 Thread Dan Cropp
Some background information. I have used Debian with Asterisk for several years. Have encountered zero problems. I am now trying to setup an Asterisk on a CentOS7 box using VMWare Workstation. I am brand new to CentOS and RHEL so I may be missing something obvious. I am installing CentOS

Re: [asterisk-users] How to install and configure Dahdi from Debian Stretch repo ?

2017-03-14 Thread Tzafrir Cohen
On Tue, Mar 14, 2017 at 02:58:07PM +0100, Olivier wrote: > 2017-03-14 13:08 GMT+01:00 Tzafrir Cohen : > > > On Tue, Mar 14, 2017 at 11:10:57AM +0100, Olivier wrote: > > > Hello, > > > > > > After all these years installing from source, I'm giving Dahdi package > > >

Re: [asterisk-users] How to install and configure Dahdi from Debian Stretch repo ?

2017-03-14 Thread Olivier
2017-03-14 13:08 GMT+01:00 Tzafrir Cohen : > On Tue, Mar 14, 2017 at 11:10:57AM +0100, Olivier wrote: > > Hello, > > > > After all these years installing from source, I'm giving Dahdi package > > installation a try on a recent Stretch box. > > > > Google over the web, I

Re: [asterisk-users] How to install and configure Dahdi from Debian Stretch repo ?

2017-03-14 Thread Tzafrir Cohen
On Tue, Mar 14, 2017 at 11:10:57AM +0100, Olivier wrote: > Hello, > > After all these years installing from source, I'm giving Dahdi package > installation a try on a recent Stretch box. > > Google over the web, I didn't find too many doc on this topic. > > 1. Is this one [1] up-to-date ? Not

[asterisk-users] How to install and configure Dahdi from Debian Stretch repo ?

2017-03-14 Thread Olivier
Hello, After all these years installing from source, I'm giving Dahdi package installation a try on a recent Stretch box. Google over the web, I didn't find too many doc on this topic. 1. Is this one [1] up-to-date ? Reading Stretch I would say a single asterisk-dahdi would be enough to install