Re: [asterisk-users] Asterisk 13 on old VMware ESXI 4

2017-08-01 Thread Carlos Chavez

On 2017-08-01 15:48, Doug Lytle wrote:

I am having a very tough time trying to replace an Elastix 2.X
install running as a virtual machine on ESXI 4


Licensed or free ESXI?

I want to say your version is too old.  I'm currently running ESXI 6.0
update 3 at home and Asterisk in a VM under debian without issue.

Doug


The version is licensed and the customer does not want to invest on new 
hardware/software at the moment.  If the ESXI version is too old I need 
to give them definitive proof that the segfaults are caused by that but 
since the old elastix has been running there for years they do not quite 
believe it.


--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
dCAP #1349
+52 (55)8116-9161

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Asterisk 13 on old VMware ESXI 4

2017-08-01 Thread Doug Lytle
>>> I am having a very tough time trying to replace an Elastix 2.X 
>>> install running as a virtual machine on ESXI 4

Licensed or free ESXI?

I want to say your version is too old.  I'm currently running ESXI 6.0 update 3 
at home and Asterisk in a VM under debian without issue.

Doug

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Asterisk 13 on old VMware ESXI 4

2017-08-01 Thread Carlos Chavez
 I am having a very tough time trying to replace an Elastix 2.X 
install running as a virtual machine on ESXI 4.  I tried using the 
Freepbx 14 ISO that installs CentOS 6 along with Asterisk 13.16 but I 
keep getting random segfaults:


[175711.476685] asterisk[2942]: segfault at 188 ip 7fc6c41abffc sp 
7fc608575890 error 4 in libasteriskpj.so.2[7fc6c4144000+14c000]


 I then proceeded to install a CentOS 7.3 VM and compiled Asterisk 
13.17.0 by hand.  We are still using Freepbx 14 for the front end.  We 
did some testing over the weekend and calls were coming in and out and 
all extensions were registered.  Come Monday Asterisk started 
segfaulting again with exactly the same error.  Maybe VMware is too old 
to support the newer CentOS and Asterisk?  The Elastix install is based 
on CentOS 5 and Asterisk 1.6.  I have no idea how to approach this.  It 
only segfaults when there are only more than a couple simultaneous 
calls, that is why testing with only a couple of calls worked.


 There are several core dump files but I really do not know how to 
use them for debugging Asterisk.  Any ideas?  I will try using chan_sip 
instead of PJSIP to get things running but confidence is not high.


--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
dCAP #1349
+52 (55)8116-9161

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] How are people billing for minutes?

2017-08-01 Thread Tech Support
All;

We have always tried to avoid charging customers for minutes simply
because we didn't want the hassle of doing the accounting. I was wondering
what software packages or services people are using for this. 

Best Regards;

John V.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Asterisk realtime - Error with index length in alembic script

2017-08-01 Thread Floimair Florian
For anyone interested I documented my findings as a comment to the original 
wiki article here:

https://wiki.asterisk.org/wiki/display/AST/Setting+up+PJSIP+Realtime?refresh=1501592246325=1501592309852=1501592385401=37455051#comment-37455051



With best regards

Florian Floimair


Von: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] Im Auftrag von Floimair Florian
Gesendet: Donnerstag, 13. Juli 2017 11:52
An: Asterisk Users Mailing List - Non-Commercial Discussion 

Betreff: Re: [asterisk-users] Asterisk realtime - Error with index length in 
alembic script

Yeah, I will do that.

I have some more things I need to clarify, so I will just gather all the 
information and sum it up beforehand.



With best regards

Florian Floimair

Von: 
asterisk-users-boun...@lists.digium.com
 
[mailto:asterisk-users-boun...@lists.digium.com]
 Im Auftrag von Marcelo Terres
Gesendet: Mittwoch, 12. Juli 2017 22:55
An: Asterisk Users Mailing List - Non-Commercial Discussion 
>
Betreff: Re: [asterisk-users] Asterisk realtime - Error with index length in 
alembic script

Please open a Ticket (https://issues.asterisk.org), to let them know that they 
need to update the documentation in Wiki and also handle this situation when 
using Alembic in Debian 9 (could happens in other Distros too).

Marcelo H. Terres >
IM: 
mhter...@jabber.mundoopensource.com.br
https://www.mundoopensource.com.br
https://twitter.com/mhterres
https://linkedin.com/in/marceloterres

On 12 July 2017 at 13:11, Floimair Florian 
> wrote:
Nevermind guys!

I just found out the solution myself:

MariaDB in Debian uses utf8mb4 as default character set (see here: 
https://mariadb.com/kb/en/mariadb/differences-in-mariadb-in-debian-and-ubuntu/).

I needed to uncomment the lines with utf8mb4 in /etc/mysql/maria.db.conf in the 
following files:

50-client.cnf (1 line)
50-mysql-clients.cnf (1 line)
50-server.cnf (2 lines)



With best regards

Florian Floimair


-Ursprüngliche Nachricht-
Von: 
asterisk-users-boun...@lists.digium.com
 
[mailto:asterisk-users-boun...@lists.digium.com]
 Im Auftrag von Floimair Florian
Gesendet: Mittwoch, 12. Juli 2017 13:50
An: Asterisk Users Mailing List - Non-Commercial Discussion 
>
Betreff: [asterisk-users] Asterisk realtime - Error with index length in 
alembic script

Hi!

I just tried setting up Asterisk realtime database following the wiki article 
https://wiki.asterisk.org/wiki/display/AST/Setting+up+PJSIP+Realtime on a 
Debian 9 machine (which switched from MyQSL to MariaDB).

One has to install mariadb-plugin-connect, python-mysqldb and alembic packages 
(alembic does not work when installed via pip).
Additionally - since MariaDB by default does not have a root user password set 
and running mysql -u root requires sudo as well - you need to execute the 
following:
sudo mysql_secure_installation
sudo mysql_upgrade -p --force

So far so good. I run into problems when running alembic when I get to the 
following change:
https://linkprotect.cudasvc.com/url?a=https://e96a0b8071c_increase_pjsip_column_size.py=E,1,dGJHzJtuX7eYDELI39tEC4ecYafZjsCUjWDL5p09DOWe28cNAbd_GFmJLD2jBZfffS-vYPvUH1CUUjR7gX1rtdvm5NFCTV_tDVCtQerGg6RZ=1
mariadb fails this operation with error "Specified key was too long; max key 
length is 767 bytes" when it tries to increase some fields to varchar(255).

Any idea how to solve this? Do I maybe have to switch to a different encoding 
for this to work?

Thanks in advance



With best regards

Florian Floimair

COMMEND INTERNATIONAL GMBH
A-5020