Re: [asterisk-users] Enterprise VoIP Trunk

2014-03-06 Thread Marcus Kvarsell
Hi there, we have this possibility, we are a official telephone operator in 
Sweden. We have low price and premium quality.

/ Marcus

From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Gopalakrishnan N
Sent: den 5 mars 2014 19:34
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Enterprise VoIP Trunk

Am looking for a service provider who can provide enterprise SIP trunk with 100 
channels concurrent sessions.

I see some like Inphonex, Broadvoice... and etc

Is there any suggestions for the service providers.

Regards
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Enterprise VoIP Trunk

2014-03-06 Thread Steven Howes
Probably should post this to the asterisk-biz list. This is the non-commercial 
discussion list. Post to the -biz list and you’ll probably have loads of sales 
droids happy to help :)

Steve
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


[asterisk-users] High Availability with Asterisk

2014-03-06 Thread Thorolf Godawa
Hi everybody,

what are the current options to get an Asterisk-system high available?


Using two servers as active/passive with DRBD, Pacemaker/Corosync works
very good, there are no quality issues of the voice quality, even not on
high loaded servers and no problems with a lot of small packages.

But for this you need two systems for every Asterisk-system, what is not
economic in any way.


Using (para-)virtualization with Xen could be an other option, on
systems with low load this works reliable, but what happens on systems
with high load? Are there any issues known about problems with the
realtime, packet loss etc. because it runs in a VM?

The idea would be having a HA-cluster of two servers with Xen, each of
them runs one instance of an Asterisk-system in a single VM and on a
failure the VM will be restarted on the other node.

This might result in a much higher load on this node, because is runs
two VMs, but for a short period, until the other node comes back again,
it might be tolerable.


Are there other options running two Asterisk-instances parallel on one
system, each binded on it's own IP, maybe s.th. with chroot or similar?


Thanks a lot,
-- 

kind regards,

Thorolf

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] High Availability with Asterisk

2014-03-06 Thread Michelle Dupuis
Some food for thought:

If you use DRBD, then you will mirror corruption from one system to another.  
You also cannot selectively pick files in a folder to mirror (you will mirror a 
lot!)  As well, DRBD struggles as peers are set further apart (latency) or 
number of changes increases.

A lot of HA tools don't look deeper into Asterisk to see if/how it has failed 
(they only detected catastrophic failures).  What happens when the Asterisk 
process is alive but no longer bridging calls?

If asterisk/host processes mess up an consume huge amounts of system resources, 
most HA tools cannot respond.

As a biased recommendation, take a look at HAAst at www.generationd.com  It 
takes care of moving a shared IP between hosts as well as other features.

Michelle


(I work for Generationd :)



From: asterisk-users-boun...@lists.digium.com 
asterisk-users-boun...@lists.digium.com on behalf of Thorolf Godawa 
nos...@godawa.de
Sent: Thursday, March 6, 2014 10:21 AM
To: Asterisk Users List
Subject: [asterisk-users] High Availability with Asterisk

Hi everybody,

what are the current options to get an Asterisk-system high available?


Using two servers as active/passive with DRBD, Pacemaker/Corosync works
very good, there are no quality issues of the voice quality, even not on
high loaded servers and no problems with a lot of small packages.

But for this you need two systems for every Asterisk-system, what is not
economic in any way.


Using (para-)virtualization with Xen could be an other option, on
systems with low load this works reliable, but what happens on systems
with high load? Are there any issues known about problems with the
realtime, packet loss etc. because it runs in a VM?

The idea would be having a HA-cluster of two servers with Xen, each of
them runs one instance of an Asterisk-system in a single VM and on a
failure the VM will be restarted on the other node.

This might result in a much higher load on this node, because is runs
two VMs, but for a short period, until the other node comes back again,
it might be tolerable.


Are there other options running two Asterisk-instances parallel on one
system, each binded on it's own IP, maybe s.th. with chroot or similar?


Thanks a lot,
--

kind regards,

Thorolf

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] High Availability with Asterisk

2014-03-06 Thread Mitul Limbani
Hello,

Using Single Server with multiple VMs essentially kills the purpose, coz it
doesnt protect against physical hardware failures.

To save costs, use low end box as failover, to keep u in business, till
primary box goes live.

Mitul
On Mar 6, 2014 8:51 PM, Thorolf Godawa nos...@godawa.de wrote:
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] High Availability with Asterisk

2014-03-06 Thread Chris Bagnall

On 6/3/14 3:21 pm, Thorolf Godawa wrote:

The idea would be having a HA-cluster of two servers with Xen, each of
them runs one instance of an Asterisk-system in a single VM and on a
failure the VM will be restarted on the other node.
This might result in a much higher load on this node, because is runs
two VMs, but for a short period, until the other node comes back again,
it might be tolerable.


This is basically what we do, though in our case we use KVM rather than 
Xen; we found KVM behaved a great deal better managing timing than Xen, 
but YMMV and Xen may well have come along a great deal since we last 
looked at it.


In fact, it could be argued that even without any need for HA, there's 
still an advantage to running a server in a VM: hardware portability. If 
the machine dies, you can quickly redeploy the VM to a new host without 
having to recompile things and so on because hardware has changed.



Are there other options running two Asterisk-instances parallel on one
system, each binded on it's own IP, maybe s.th. with chroot or similar?


You might be able to do something interesting with containers (LXC), but 
given the ease of setting up KVM and the (relatively) small performance 
overhead, we've tended to just stick with that.


On 6/3/14 3:46 pm, Michelle Dupuis wrote:

A lot of HA tools don't look deeper into Asterisk to see if/how it has failed 
(they only detected catastrophic failures).  What happens when the Asterisk 
process is alive but no longer bridging calls?


In fairness, the tools the OP mentioned (pacemaker/corosync) can be set 
up to detect other failures than whether asterisk is alive - a simple 
one to set up is to try connecting on 5060 UDP and make sure you get an 
acknowledgement. Likewise, you could even set up a call using the 
manager interface to a dummy extension and make sure it completes 
successfully.


FWIW, we tend to use pacemaker with heartbeat rather than corosync, but 
both perform a pretty similar function.


Kind regards,

Chris
--
This email is made from 100% recycled electrons

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] High Availability with Asterisk

2014-03-06 Thread Markus

Hi Thorolf,

Am 06.03.2014 16:21, schrieb Thorolf Godawa:

Using (para-)virtualization with Xen could be an other option, on
systems with low load this works reliable, but what happens on systems
with high load? Are there any issues known about problems with the
realtime, packet loss etc. because it runs in a VM?


hmm, all my Asterisk'es run in (KVM) VMs, no issues there. But how is 
this related to high availability? I think it's not. :)


I think the way to go for high availability (and scalability) is 
Kamailio! In a redundant setup, running on 2 separate physical machines 
(maybe in a VM, doesn't matter). Then you make them failsafe using 
whatever tool(s) available. Then you can set up 1, 2, 10 or 100 Asterisk 
behind Kamailio and any of them could fail (but 1 :-) ) and you will 
still be online.


If you want to further develop the high availability thought, then you 
could use CephFS which will give you self-healing, 100% available 
storage over multiple physical storage servers. There you could store 
your Asterisk config files, or your MySQL database used by all the 
Asterisk servers, for CDRs, SIP registrations etc. It's kinda slow, but 
I think fast enough for Asterisk / MySQL. :)


And, to scale and to make the Asterisk nodes redundant (redundancy is 
not really needed anymore, since Kamailio takes care of that, but 
basically then you get also VM/physical redundancy), you could look into 
OpenNebula which provides a nice auto-scaling feature already out of the 
box. If there's load on your Asterisk VMs, OpenNebula will detect this 
and spawn new Asterisk VMs (probably on different physical servers, 
otherwise it doesn't make that much sense performance-wise) which will 
automagically receive requests/calls from Kamailio. If the load goes 
down, the VM can be automagically stopped again to free resources for 
other VMs/applications. OpenNebula is less popular than OpenStack, which 
seems to be the first choice for Cloud-stuff today, but what I liked 
about OpenNebula is that it provides the auto-scaling feature already in 
the customer-facing web-frontend out-of-the-box, unlike OpenStack. So 
you could offer your customers a self-managed, redundant Asterisk cloud 
or something like that. :)


In theory, this combination should give you a 100% redundant, 
auto-healing, auto-scaling VoIP setup. :)


Regards
Markus

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] Asterisk 11, CEL and ConfBridge recordings

2014-03-06 Thread Rusty Newton
On Wed, Mar 5, 2014 at 1:30 PM, Jairo jairomolin...@gmail.com wrote:
 Dear friends,

 Need to know filenames of conference recordings in Asterisk 11.

 Besides directory scanning the recordings could use CEL:

 Filter MySQL rows with eventtype equal CHAN_START and channame like
 ConfBridgeRecorder and then get the eventtime field and convert to timestamp
 to complete filename(s).

 Would you suggest any other approaches?

You might set the record file path yourself through the CONFBRIDGE
function, for example, in dialplan:

...stuff up here to build a unique file name into MyCustomFileName...
exten = 1,n,Set(CONFBRIDGE(user,record_file)=${MyCustomFileName}.wav)

Then of course you now know the file name so you could do whatever you
wanted with it afterwards.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_CONFBRIDGE

-- 
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct: +1 256 428 6200

Check us out at: http://digium.com  http://asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


[asterisk-users] asterisk11.5.1 module not load why ? any help

2014-03-06 Thread hkc323
===
Core was generated by `/usr/sbin/asterisk -f -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
#0  0x081b138e in ast_skip_blanks (str=0x0) at /usr/src/asterisk/asterisk-
11.5.1/include/asterisk/strings.h:90
90  AST_INLINE_API(
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.5-
7.el6_0.i686 cyrus-sasl-lib-2.1.23-8.el6.i686 db4-4.7.25-16.el6.i686 
elfutils-libelf-0.152-1.el6.i686 expat-2.0.1-11.el6_2.i686 gnutls-2.8.5-
4.el6_2.2.i686 keyutils-libs-1.4-4.el6.i686 krb5-libs-1.10.3-10.el6_4.3.i686 
libacl-2.2.49-4.el6.i686 libattr-2.4.44-4.el6.i686 libcap-2.16-5.2.el6.i686 
libcom_err-1.41.12-14.el6.i686 libcurl-7.19.7-26.el6_2.4.i686 libgcc-4.4.7-
3.el6.i686 libgcrypt-1.4.5-9.el6_2.2.i686 libgpg-error-1.7-4.el6.i686 
libical-0.43-6.el6.i686 libidn-1.18-2.el6.i686 libproxy-0.3.0-2.el6.i686 
libselinux-2.0.94-5.3.el6_4.1.i686 libsrtp-1.4.4-4.20101004cvs.el6.i686 
libssh2-1.2.2-7.el6.i686 libtasn1-2.3-3.el6.i686 libtool-ltdl-2.2.6-
15.5.el6.i686 libuuid-2.17.2-12.9.el6_4.3.i686 libxml2-2.7.6-12.el6_4.1.i686 
lm_sensors-libs-3.1.1-17.el6.i686 lua-5.1.4-4.1.el6.i686 mysql-connector-
odbc-5.1.5r1144-7.el6.i686 mysql-libs-5.1.69-1.el6_4.i686 ncurses-libs-5.7-
3.20090208.el6.i686 neon-0.29.3-3.el6_4.i686 net-snmp-libs-5.5-
44.el6_4.1.i686 nspr-4.8.6-1.el6.i686 nss-3.12.7-2.el6.i686 nss-softokn-
freebl-3.12.7-1.1.el6.i686 nss-util-3.12.7-1.el6.i686 openldap-2.4.19-
15.el6.i686 openssl-1.0.0-27.el6_4.2.i686 pakchois-0.4-3.2.el6.i686 perl-
libs-5.10.1-136.el6.i686 popt-1.13-7.el6.i686 rpm-libs-4.8.0-32.el6.i686 
sqlite-3.6.20-1.el6.i686 tcp_wrappers-libs-7.6-57.el6.i686 unixODBC-2.2.14-
12.el6_3.i686 xz-libs-4.999.9-0.3.beta.20091007git.el6.i686 zlib-1.2.3-
29.el6.i686
(gdb) 
(gdb) 
(gdb) bt
#0  0x081b138e in ast_skip_blanks (str=0x0) at /usr/src/asterisk/asterisk-
11.5.1/include/asterisk/strings.h:90
#1  0x080d40cd in __ast_cli_register (e=0x63d2478, ed=0x0) at cli.c:2120
#2  0x080d442d in ast_cli_register (e=0x63d2478) at cli.c:2178
#3  0x080d4456 in ast_cli_register_multiple (e=0x63d2000, len=13) at 
cli.c:2189
#4  0x063c09e1 in load_module () at app_confbridge.c:4741
#5  0x0812ba5d in start_resource (mod=0x90aeca0) at loader.c:845
#6  0x0812c430 in load_resource_list (load_order=0xbfaf4c50, 
global_symbols=0, mod_count=0xbfaf4c48) at loader.c:1045
#7  0x0812ca2e in load_modules (preload_only=0) at loader.c:1198
#8  0x080895f7 in main (argc=4, argv=0xbfaf6164) at asterisk.c:41

==
static struct ast_cli_entry cli_confbridge[] = {
AST_CLI_DEFINE(handle_cli_confbridge_list, List conference bridges 
and participants),
AST_CLI_DEFINE(handle_cli_confbridge_kick, Kick participants out of 
conference bridges),
AST_CLI_DEFINE(handle_cli_confbridge_mute, Mute a participant),
AST_CLI_DEFINE(handle_cli_confbridge_unmute, Unmute a 
participant),
AST_CLI_DEFINE(handle_cli_confbridge_lock, Lock a conference),
AST_CLI_DEFINE(handle_cli_confbridge_unlock, Unlock a 
conference.),
AST_CLI_DEFINE(handle_cli_confbridge_start_record, Start recording 
a conference),
AST_CLI_DEFINE(handle_cli_confbridge_stop_record, Stop recording a 
conference.),
AST_CLI_DEFINE(handle_cli_confbridge_channel_count, show confbridge 
chanel count), //sbt 
AST_CLI_DEFINE(confbridgeadmin_cmd,Execute Arrival of Marked user 
on a conference), //sbt
AST_CLI_DEFINE(confbridgecm_cmd, Show Number of User(s) in 
Conference. ),
AST_CLI_DEFINE(count_exec, Show Number of User(s) in Conference. 
),
AST_CLI_DEFINE(admincount_exec, Show Number of adminUser(s) in 
Conference. ),

};

/*! \brief Called when module is being loaded */
static int load_module(void)
{
ast_verb(3 ,==Inside load_module==);

int res = 0;

//static const char * const app  = ConfBridge;
//static const char * const app  = ConfBridge;

if (conf_load_config(0)) {
ast_verb(3, Unable to load config. Not loading module.\n);
ast_log(LOG_ERROR, Unable to load config. Not loading 
module.\n);
return AST_MODULE_LOAD_DECLINE;
}
if ((ast_custom_function_register(confbridge_function))) {
return AST_MODULE_LOAD_FAILURE;
}
if ((ast_custom_function_register(confbridge_info_function))) {
return AST_MODULE_LOAD_FAILURE;
}
if (!(record_tech.capabilities = ast_format_cap_alloc())) {
return AST_MODULE_LOAD_FAILURE;
}
ast_format_cap_add_all(record_tech.capabilities);
if (ast_channel_register(record_tech)) {
ast_log(LOG_ERROR, Unable to register ConfBridge 
recorder.\n);
return AST_MODULE_LOAD_FAILURE;
}
/* Create a container to hold the conference bridges