Asterisk Ulimit

Report
Question

After re/starting Asterisk with a user other than root you might see this error:

"/usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot modify limit: Operation not permitted"
, even if you try to set the current ulimit to a higher level. Edit your '/usr/sbin/safe_asterisk' and comment (put #) the line 86 and 102. Or you can also modify '/etc/sudoers' in order to to allow your user to call ulimit via sudo. The reason for this is that Asterisk will limit the number of open files it uses if you are not a super-user, to 32K (look at line 32). Anyways, it's very likely that Linux

Asterisk Tips 3.4 years ago 0 Answer

GSM gateway call redirect

Report
Question

Hi, I have a Portech mv-374 GSM IP gateway and I have to redirect all the
incoming calls to a certain phone number on every weeknight and all the
weekend. What would be the best solution? I have to do it by asterisk
because I have to record all the communication.
Thanks for your help in advance.
Best regards,
Peter Gelencser

Asterisk Users 3.4 years ago 0 Answer

asterisk distributions

Report
Question

I'm looking at replacing a PBX for a small business with an asterisk
box. I'm rather attracted to the idea of one of the iso distributions
where someone did most of the integration for us already ;) Can anyone comment on the pros/cons of the various options? I'm seeing
several options out there: -Trixbox CE (no new version since 2010? is this project dead?)
-Asterisk NOW
-PBX in a Flash
-Elastix

Asterisk Users 3.4 years ago 10 Answer

Problem while sending SIP NOTIFY via AMI in 1.8.10-rc2

Report
Question

Hi, while testing asterisk 1.8.10-rc2 I stumbled across a weird behavior. I
want to notify a snom phone to reload its configuration. For this to
happen, I use the NOTIFY mechanism. I started the notify via AMI
command. Asterisk is bound to udp 25060, because all phones are
registered with a local opensips proxy which uses 5060. The expected
behavior would be:
asterisk send SIP NOTIFY to the proxy, the proxy sends it to the phone. Actually asterisk sends the packet to the proxy, but the contact header
contains something invalid (IMHO): On…

Asterisk Users 3.4 years ago 1 Answer

Getting Ulimit Message after restart asterisk service

Report
Question

Hi all, Currently I'm getting this message after restarting asterisk service; Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open files:
cannot modify limit: Operation not permitted Before when I had root access I was not facing this message after that
system administrator assigned me sudo access for restarting asterisk
service. Please assist me out to resolve this issue at earliest. I also tried to set
ulimit till 4-40 times higher than currently set i.e. 1024 but still giving
me same message.

Asterisk Users 3.4 years ago 0 Answer