Quantcast
Channel: FreePBX Community Forums - Latest posts
Viewing all 228070 articles
Browse latest View live

Asterisk 16.30.0 OOM killing Asterisk processes every 2 weeks breaking phones

$
0
0

Asterisk is the process consuming all the RAM / triggering the OOM. We have 4 GB of RAM(hosted on AWS). We use to run an old version of FreePBX(can’t recall which version) and it worked very reliably(we had uptimes longer than 1 year). The only reason for the upgrade was to get security patches… Any pointers on identifying if this is a memory leak or if something in the code base changed and it now requires significantly more RAM would be much appreciated!

The screenshot below is after 5 hrs of uptime(cronjob rebooted server at 3am), and likely no phone calls have been made yet as it’s before business hours.


Asterisk 16.30.0 OOM killing Asterisk processes every 2 weeks breaking phones

$
0
0

Sorry I don’t understand the question… The only change I’m aware of is upgrading to a supported version of FreePBX. In regards to what activities cause the problem, I don’t know how we could determine that?

We’re a small business with about 20 people with phones(most rarely ever use the phone), and I’d guesstimate the maximum is about 5 simultaneous phone calls and that’s infrequent. I’m not sure what other factors would play into how much RAM Asterisk consumes… I just know from looking at htop /usr/sbin/asterisk is the process that is consuming all the RAM.

Asterisk 16.30.0 OOM killing Asterisk processes every 2 weeks breaking phones

$
0
0

This is the standard question when something stops working, but was working before.

Unusual behaviour under such circumstances normally indicates a security problem; large numbers of toll fraud attempts are getting through your firewall.

image

When debugging memory leaks, what is important is the time progression of the memory usage.

Incidentally, I note that your real memory use is only 9.4% and you have essentially zero swap, so I think most of the virtual memory here represents memory mapped files, which may not be an issue, unless they are log files, in which case, one probably comes back to a security failure causing those to grow, rapidly, or a failure to rotate them properly.

The htop output shows less than 30% of memory is in use. The blue and yellow bars can be sacrificed if memory becomes tight, although might cause performance problems. Memory mapped files will be represented by the yellow bar, which also includes pure executable code

Asterisk 16.30.0 OOM killing Asterisk processes every 2 weeks breaking phones

$
0
0

From what version of FreePBX to what version? Asterisk was not touched? (I should also add that 16 is end of life and no longer receives security fixes)

I’ll also go into memory usage a bit. Asterisk is a huge application with lots of functionality. What parts of Asterisk are used determines the code paths, and the memory. There shouldn’t be a leak of course but determining the code path and how to reproduce it can be helpful in identifying it.

Sangoma S serie - TLS ciphers incompatibility

$
0
0

So you just basically stated you are going to reverse engineer the firmware in a public forum for a company whose End User License states you are not allowed to do such a thing?

Grandstream HT814 not registering on FreePBX Extension

$
0
0

Thank you for your help!

All the settings were OK, except by the Bridge Mode. I forgot to change it, as soon as I did, the extensions registered.

Auto update disabled?

$
0
0

Hi.

We are using FreePBX 15.0.37.4, and it has worked great. As the admin, I used to get notifications every week which modules needed updating, and I would go in approve them, and the system would then go through the process to upgrade and send me a message that the upgrades were done. Perfect.
The last couple of months (at least) I still get a message, but every time I am told that “no modules were marked for upload” (or something to that effect. Then I get a message like this:
endpoint (Cur v. 15.0.27.26) should be upgraded to v. 15.0.65 to fix security issues: SEC-2023-001 restapps (Cur v. 15.0.19.4) should be upgraded to v. 15.0.41 to fix security issues: SEC-2023-001, SEC-2021-013 pms (Cur v. 15.0.2.38) should be upgraded to v. 15.0.3 to fix security
issues: SEC-2022-001

And finally I get a message that no modules were upgraded.

What is my course of action? Do I need to upgrade the items in the second email manually? Will that restart the auto-update?

CDR report Pro

$
0
0

Hi Guys ,

I notice something weird when pulling report on CDR report Pro … i am having a lot calls that appear twice in report, for each extension making an outbound calls , it appear twice even though the uniqueid is different,but i can’t understand why an extension or most of all extensions calling customer showing twice in report, is it the system itself that making a duplicate .
Any thought.

Thanks !


Migration FreePBX to new host

$
0
0

Hi there,

I have a virtual machine running FreePBX version 14.0.13.28 on VMware ESXI 6.7 and I need to migrate this VM to a new ESXI host. I wanted to check in here to see if you guys had any recommandations on how to do this.

I have seen a lot of people recommending using backup and restore, but from what I understand this would also mean upgrading to 16 which is not really needed in my case as we’re only trying keep this server alive until a complete phone system change in a year or two. I was thinking of using VMware vConverter to copy the VM to the new host.

I have also seen some stuff about deployment ID for activation, so please do let me know what is needed to not lock myself out of both systems :wink:

PJSIP and 911 location

$
0
0

PJSIP extensions with address location

Here is how we solved this issue, using Yealink phones.

  1. Create an e911 DID, per location, that is properly registered with the correct physical address of each unique location.

  2. Create a unique EPM template per physical location. Each template has a dial string change in the basefile with its “designator”. Meaning this: Location 1 is 10, location 2 is 20, etc. We then make the following basefile edits:

     dialplan.replace.replace.1 = 10911
     dialplan.replace.prefix.1 = 911
     dialplan.replace.replace.2 = 10933
     dialplan.replace.prefix.2 = 933
     dialnow.item.1 = 911
     dialnow.item.2 = 933
    

    This tells the phone, if a user dials 911 (or 933 for test) change what is sent to the PBX to be 10911 for the location 1 template (location 2 would be 20911, location 3 would be 30911, etc)

  3. Create an outbound route for only 911 and 933 dialed calls, per location. So, emergency outbound route for location 1 looks for 10911 or 10933 only, in the accepted dial patterns. That route is NOT marked Emergency in the route settings, this allows us to specify the outbound caller ID for the whole route. We then specify the “Route CID” to be the e911 specified DID as the outbound caller ID number (using the DID we setup in step 1 with the correct physical address, for that location, in e911). We replicate this for all other locations, looking for 20911 in the next route, etc.

  4. We specify the dialnow variable for 911 and 933 that ensure a user dialing just 911 or 933 allows the call to immediately process without the need to have the user pressing dial, #, etc.

It takes a small bit of planning and detail, but it does provide for multiple correct e911 data being transmitted for the same extension that has physical devices located across multiple physical offices.

Configuring bind9 on FreePBX

$
0
0

I suspect the person wants to be able to resolve a domain name to an internal IP when looking up the address from the same network.

For that to work you probably need to setup a local DNS server for DNS lookups from the local network and setup the appropriate Zone files to return the proper results to local workstations.

You probably don’t want to be running bind on the same machine as your phone system. You should probably set this up on a different device inside your network and administer it separately.

In any case, the answer on how to do this would be out of scope for this forum. You might want to look at how to do that somewhere else online.

If you are wanting to change what IP address your PBX resolves an A record to you would add a line inside the /etc/hosts file on your phone system. This change would only affect your phone system though.

Migration FreePBX to new host

$
0
0

This is really a question about how to use vmware ESXi, not sure how much help you’ll get here as it’s not really a question about administrating FreePBX.

I would check with vmware to see what sort of VM migration paths between esxi hosts are supported by them in your environment specifically as I am sure it depends what options you have available to you based on whatever licensing you have purchased from them and in place for your servers.

Migration FreePBX to new host

$
0
0

Hi Igor, thank you for your answer.

I guess my question is more about what i will need to do in the FreePBX VM / GUI if I do migrate the VM to the new host. I am pretty capable of moving a VM from a host to another, but if it’s simply better to create a new FreePBX VM in the new host and use the backup & restore module, i’ll do it that way.

Migration FreePBX to new host

$
0
0

If you are going from esxi to esxi it sounds to me like you wouldn’t need to do anything inside of the VM. Just migrate to new host and turn on the VM on the new host.

Migration FreePBX to new host

$
0
0

Your networking will likely change if your network adapters get new MAC addresses. In that case, you will have to make sure your new network adapters are configured properly. If you are retaining MAC addresses, you shouldn’t have to do anything.


Migration FreePBX to new host

$
0
0

This could very well be the case, I just know for ShoreTel phone systems, for example, the virtual machine needs to have the same MAC Address or else activation fails and you have 30 days to register/generate a new system key.

Knowing this warrants me to be very careful about phone system migrations and i haven’t had to migrate a FreePBX yet.

PJSIP and 911 location

$
0
0

I didn’t know this was possible with Yealink phones. Nice work, I’m going to implement this on my phone and test it out since this would solve a problem that we’ve had with PJSIP contacts and e911.

Call parking

$
0
0

Hello! We have been using freepbx for a while now and are starting to experience and issue with parking a call… We have the park pro module which allows us to have different parking lots which we use for our different offices. To help with troubleshooting, we have eliminated all but 2 of our parking lots and set the office that uses this feature the most on the default parking lot so they don’t see the issue. Lately, we are noticing that our sangoma softphones are only able to park calls in the default parking lot which makes them disappear for anyone that parks a call using their softphone. It seems like our desk phones work fine for parking but we haven’t had any luck figuring out what is going on with the softphones… Any thoughts are greatly appreciated!

Configuring bind9 on FreePBX

$
0
0

You can’t but you can ‘redirect a domain name to an ip address’ by changing the A record on the responsible name server, or you can add a line in /etc/hosts as you have confirmed. Many routers like mkrotik or pfsense, openwrt or ubiquiti and so on . . . can maintain a table of “lookups” that kicks in before 53 is called if you want a lan resolution but you might get away with hair-pin rules

UCP - Change voicemail message

$
0
0

From: wiki
image

What wiki is this? The options in my UCP does not have a ‘record greeting’ option.

The existing options seem to be totally inadequate in practice. Who is going to go through the whole process of going elsewhere, recording a message, coming back here and linking it in?

Where is the option shown in the wiki?

(FreePBX 17 is no better).

Viewing all 228070 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>