Re: [asterisk-users] How to make asterisk work with remote mysql database?

2015-05-07 Thread Vinicius Fontes
To install start script: make config
To install samples (this will overwrite all files in /etc/asterisk!): make
samples

I usually do this when I need to compile and install Asterisk:

./configure  make menuselect  make  make install  make config 
make samples

2015-05-07 14:44 GMT-03:00 Manish Jain manish.j...@roundabouttech.com:

 Hi,

 I am trying to make asterisk 11.7 work on Ubuntu 12 (amd64). I would like
 asterisk to not use the inbuilt sqlite database. Instead, I want it use a
 remote mysql database. Is this possible ? If yes, is there any good HowTo
 on this ?

 Running 'make install' installed my asterisk successfully, but no conf
 files were copied to /etc/asterisk. Nor was a service start script placed
 in /etc/init.d. Is there normal ? fixable?

 One additional problem is that, after installation, the CLI has no odbc
 command. Why could this be ? I suspect that for asterisk to work with
 remote mysql database, odbc functionality needs to be fully workable.

 Thanks for any help.

 Manish Jain

 ---
 This email is free from viruses and malware because avast! Antivirus
 protection is active.
 http://www.avast.com


 --
 _
 -- 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

[asterisk-users] How to make asterisk work with remote mysql database?

2015-05-07 Thread Manish Jain

Hi,

I am trying to make asterisk 11.7 work on Ubuntu 12 (amd64). I would 
like asterisk to not use the inbuilt sqlite database. Instead, I want it 
use a remote mysql database. Is this possible ? If yes, is there any 
good HowTo on this ?


Running 'make install' installed my asterisk successfully, but no conf 
files were copied to /etc/asterisk. Nor was a service start script 
placed in /etc/init.d. Is there normal ? fixable?


One additional problem is that, after installation, the CLI has no odbc 
command. Why could this be ? I suspect that for asterisk to work with 
remote mysql database, odbc functionality needs to be fully workable.


Thanks for any help.

Manish Jain

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


--
_
-- 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] How to make asterisk work with remote mysql database?

2015-05-07 Thread jg




I am trying to make asterisk 11.7 work on Ubuntu 12 (amd64). I would like asterisk to not use 
the inbuilt sqlite database. Instead, I want it use a remote mysql database. Is this possible 
? If yes, is there any good HowTo on this ?


Running 'make install' installed my asterisk successfully, but no conf files were copied to 
/etc/asterisk. Nor was a service start script placed in /etc/init.d. Is there normal ? fixable?


One additional problem is that, after installation, the CLI has no odbc command. Why could 
this be ? I suspect that for asterisk to work with remote mysql database, odbc functionality 
needs to be fully workable.
Installed from sources or from packages? If you install from sources you must make sure that the 
ODBC parts, dev stuff as well, must be installed. When you add something to your system, you 
also need to run ./configure again. Then try make menuselect to check your configuration. If 
you cannot select an item, there are usually hints on what the resource depends.


jg

--
_
-- 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] Phones don't stop ringing when queue is answered

2015-05-07 Thread Andrew Martin
James,

The WaitExten()s just provide a pause between the two Queue() calls to
let the first group of phones finish ringing. In this example I am ringing
the same group (queue_level_1) twice, however in a real-world scenario I 
would ring queue_level_1 and then ring queue_level_2 which each have a 
different list of phones.

Thanks,

Andrew

- Original Message -
 From: James Thomas jthomas...@gmail.com
 To: Asterisk Users Mailing List - Non-Commercial Discussion 
 asterisk-users@lists.digium.com
 Sent: Thursday, May 7, 2015 10:20:10 AM
 Subject: Re: [asterisk-users] Phones don't stop ringing when queue is answered
 
 What purpose do the WaitExten()s serve here? Are you really allowing the
 caller to connect to different extensions in the test-queue context? Have
 you tried without the WaitExten()s?
 
 --
 _
 -- 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] DPMA - Asterisk Realtime

2015-05-07 Thread Matthew Jordan
On Fri, May 1, 2015 at 10:43 AM, Robert Broyles rob...@webservicesaz.com
wrote:

 We love our Digium phones and DPMA - but we really need it to work on our
 Realtime Platform. Otherwise we lose all the cool features and they are
 just standard SIP phones.

 Anyone working on a solution for this? Or anyone from Digium see this on
 the roadmap?


Hey Robert -

We've had a number of requests to have the DPMA work more closely with
Asterisk Realtime. Right now, that feature isn't planned for an upcoming
scheduled release, but we do keep track of requests such as this. We've
made a note of it, and we'll keep evaluating it versus other planned and
requested features.

Thanks -

Matt

-- 
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
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

Re: [asterisk-users] Phone provisioning template Snoms

2015-05-07 Thread Chris Bagnall
On 7 May 2015, at 23:45, Tafadzwa Nyabasa tnyab...@gmail.com wrote:
 I am looking for a phone provisioning template for Snom phones, Yealinks and 
 Polycoms. I am always doing deployments of many phones and usually configure 
 each phone one by one for each installation.  Any help will be highly 
 appreciated

There’s some excellent documentation about provisioning on the Snom Wiki:

http://wiki.snom.com/Category:Auto_Provisioning:Configuration_Files

You can set the phones (via DHCP options) a firmware url on a web server under 
your control, grab their MAC addresses, then deliver them custom config 
settings as required.

Easiest way to start is to copy the config file (via the web interface) from a 
phone with factory default settings, then just change the settings you need to 
change, and write something in your scripting language of choice (PHP, Perl, 
Python, etc.) to just send those settings to the phone dependent on MAC 
address. Don’t send *every* available config setting to the phone - only the 
changes from default you need to make.

I suspect the same can be done with Yealink and Polycom phones - I’ve not used 
those so can’t really comment. I have a similar system which seems to work for 
Sipura/Linksys/Cisco phones, though most of my new deployments are exclusively 
Snom.

Kind regards,

Chris
-- 
C.M. Bagnall
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] Phone provisioning template Snoms

2015-05-07 Thread Kevin Larsen
  I am looking for a phone provisioning template for Snom phones, 
 Yealinks and Polycoms. I am always doing deployments of many phones 
 and usually configure each phone one by one for each installation. 
 Any help will be highly appreciated
 
 There’s some excellent documentation about provisioning on the Snom 
Wiki:
 
 http://wiki.snom.com/Category:Auto_Provisioning:Configuration_Files
 
 You can set the phones (via DHCP options) a firmware url on a web 
 server under your control, grab their MAC addresses, then deliver 
 them custom config settings as required.
 
 Easiest way to start is to copy the config file (via the web 
 interface) from a phone with factory default settings, then just 
 change the settings you need to change, and write something in your 
 scripting language of choice (PHP, Perl, Python, etc.) to just send 
 those settings to the phone dependent on MAC address. Don’t send 
 *every* available config setting to the phone - only the changes 
 from default you need to make.
 
 I suspect the same can be done with Yealink and Polycom phones - 
 I’ve not used those so can’t really comment. I have a similar system
 which seems to work for Sipura/Linksys/Cisco phones, though most of 
 my new deployments are exclusively Snom.
 

I use the Polycom phones and there are any number of ways you can automate 
deployments of them. The templates you want to start with can be found on 
the Polycom website here: 
http://support.polycom.com/PolycomService/support/us/support/voice/index.html

When you download the firmware (UC software release), you get the 
templates you want included in the download. You can use FTP, TFTP, and 
HTTP that I know of to provision the phones. I use HTTP and have some 
custom php scripts that I wrote that create my own templates on the fly 
for a phone based on its mac address. You can use a combination of static 
templates for things that are system wide and dynamic templates for the 
things that are specific to each phone. You can also just create a static 
template for each phone. It really depends on how in depth you want to go. 
It does make provisioning much easier though.
-- 
_
-- 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] Phone provisioning template Snoms

2015-05-07 Thread Tafadzwa Nyabasa
Good day

I am looking for a phone provisioning template for Snom phones, Yealinks
and Polycoms. I am always doing deployments of many phones and usually
configure each phone one by one for each installation.  Any help will be
highly appreciated

Regards

-- 
Tafadzwa
-- 
_
-- 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] Phones don't stop ringing when queue is answered

2015-05-07 Thread James Thomas
What purpose do the WaitExten()s serve here? Are you really allowing the
caller to connect to different extensions in the test-queue context? Have
you tried without the WaitExten()s?
-- 
_
-- 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] DPMA - Asterisk Realtime

2015-05-07 Thread Robert Broyles

Thanks for the update.

As an Authorized Digium Reseller - it's difficult for me to sell Digium 
phones if the customer can't use the cool features it comes with. They 
can purchase a standard IP Phone (which is what Digium phones are 
without DPMA) from other vendors for a lower price point.


So the ability to use DPMA with Asterisk RT is very important for our 
large deployments.


Anyone willing to contribute towards a bounty for this feature?

--
Robert Broyles

On 5/7/15 7:14 AM, Matthew Jordan wrote:




On Fri, May 1, 2015 at 10:43 AM, Robert Broyles 
rob...@webservicesaz.com mailto:rob...@webservicesaz.com wrote:


We love our Digium phones and DPMA - but we really need it to work
on our Realtime Platform. Otherwise we lose all the cool features
and they are just standard SIP phones.

Anyone working on a solution for this? Or anyone from Digium see
this on the roadmap?


Hey Robert -

We've had a number of requests to have the DPMA work more closely with 
Asterisk Realtime. Right now, that feature isn't planned for an 
upcoming scheduled release, but we do keep track of requests such as 
this. We've made a note of it, and we'll keep evaluating it versus 
other planned and requested features.


Thanks -

Matt

--
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
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