Re: [asterisk-users] My digium card die?

2012-09-03 Thread Andrew Colin
Can you confirm Dahdi is loaded correctly

What does the output of dmesg show?


-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of PedroTron
Sent: 02 September 2012 04:28 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] My digium card die?

Hi.

im starting my first steps with asterisk, but i have a doubt about my card.

lspci show the card correctly

01:07.0 Ethernet controller: Digium, Inc. Wildcard TDM410 4-port analog card 
(rev 11)

but when i run dahdi_scan dont show nothing.

How can i detect if really my card die?

Im running Asterisk 1.8.12.0 on Ubuntu Server 10.04.

Thanks and 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



--
_
-- 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] Automatic ODBC reconnect?

2012-09-03 Thread Stefan at WPF
Anyone having any idea? Can post more details like my config etc. later,
but if someone has an idea now... let me know, thanks!

2012/8/31 Stefan at WPF stefan.at@googlemail.com

 Thank you Doug, I tried that, but it doesn't have the expected effect. I
 set it to 1 second and restarted, no ODBC connection according to odbc
 show. After a reload Asterisk is connected though.

 2012/8/31 Doug Lytle supp...@drdos.info

  So, how to tell Asterisk to automatically retry to connect via ODBC on
 failures?

 /etc/asterisk/res_odbc.conf

 idlecheck

 Doug

 --
 Ben Franklin quote:

 Those who would give up Essential Liberty to purchase a little Temporary
 Safety, deserve neither Liberty nor Safety.

 --
 _
 -- 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] Asterisk hangs while starting in OpenSuse 12.2

2012-09-03 Thread Gopalakrishnan N
Hi,

I have started asterisk using strace, and the log is listed in pastebin
http://pastebin.com/ry2Q1e6x

Moreover, for some peoples Asterisk is properly installed in OpenSuse 12.1
(i586), can you please correct me with the installation steps what I did,
my steps as follows,

   1. OpenSuse fresh installation
   2. Login to root in terminal (sudo -i)
   3. Download libpri, dahdi and Asterisk
   4. Install libpri and dahdi (even though I am not using any dahdi
   hardware) - make and make install
   5. Installation of Asterisk (./configure, make menuconfig, make, make
   install and make samples)
   6. Start Asterisk (asterisk -c) - here hangs while loading modules.

any other packages has to be installed or the installation is fine! please
advice!

Regards.


On Thu, Aug 30, 2012 at 7:03 PM, Tzafrir Cohen tzafrir.co...@xorcom.comwrote:

 On Thu, Aug 30, 2012 at 01:42:06PM +0200, Patrick Lists wrote:
  On 08/30/2012 09:45 AM, Gopalakrishnan N wrote:
  Hi,
  
  I have installed libpri, Dahdi 2.6 and Asterisk 1.8.15, in normal host,
  I am not using any virtualbox, still i struck in loading the modules.
 
  Please do not top post.
 
  Install strace and then start asterisk with the command:
  # strace asterisk

 Asterisk will fork into the background and the process you trace will
 exit.

   strace -f asterisk #?
   strace asterisk -f #?

 Just in case you wonder, 'asterisk -f strace' will not work as you might
 have expected from the above examples. Nither will '-f strace asterisk'.

 '-U asterisk ' may also come in handy.

 --
Tzafrir Cohen
 icq#16849755  jabber:tzafrir.co...@xorcom.com
 +972-50-7952406   mailto:tzafrir.co...@xorcom.com
 http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

 --
 _
 -- 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] My digium card die?

2012-09-03 Thread PedroTron
2012/9/3 Andrew Colin a...@syrex.cc:
 Can you confirm Dahdi is loaded correctly

 What does the output of dmesg show?


dmesg output

[   22.183501] dahdi: Telephony Interface Registered on major 196
[   22.183504] dahdi: Version: 2.5.1
[   22.275018] Invalid/unknown operating mode 'COLUMBIA' specified.
Please choose one of:
[   22.275021]   FCC
[   22.275022]   TBR21
[   22.275023]   ARGENTINA
[   22.275024]   AUSTRALIA
[   22.275025]   AUSTRIA
[   22.275025]   BAHRAIN
[   22.275026]   BELGIUM
[   22.275027]   BRAZIL
[   22.275028]   BULGARIA
[   22.275028]   CANADA
[   22.275029]   CHILE
[   22.275030]   CHINA
[   22.275031]   COLOMBIA
[   22.275031]   CROATIA
[   22.275032]   CYPRUS
[   22.275033]   CZECH
[   22.275034]   DENMARK
[   22.275034]   ECUADOR
[   22.275035]   EGYPT
[   22.275036]   ELSALVADOR
[   22.275037]   FINLAND
[   22.275037]   FRANCE
[   22.275038]   GERMANY
[   22.275039]   GREECE
[   22.275040]   GUAM
[   22.275040]   HONGKONG
[   22.275041]   HUNGARY
[   22.275042]   ICELAND
[   22.275043]   INDIA
[   22.275043]   INDONESIA
[   22.275044]   IRELAND
[   22.275045]   ISRAEL
[   22.275046]   ITALY
[   22.275046]   JAPAN
[   22.275047]   JORDAN
[   22.275048]   KAZAKHSTAN
[   22.275049]   KUWAIT
[   22.275049]   LATVIA
[   22.275050]   LEBANON
[   22.275051]   LUXEMBOURG
[   22.275052]   MACAO
[   22.275052]   MALAYSIA
[   22.275053]   MALTA
[   22.275054]   MEXICO
[   22.275055]   MOROCCO
[   22.275056]   NETHERLANDS
[   22.275056]   NEWZEALAND
[   22.275057]   NIGERIA
[   22.275058]   NORWAY
[   22.275059]   OMAN
[   22.275059]   PAKISTAN
[   22.275060]   PERU
[   22.275061]   PHILIPPINES
[   22.275062]   POLAND
[   22.275062]   PORTUGAL
[   22.275063]   ROMANIA
[   22.275064]   RUSSIA
[   22.275065]   SAUDIARABIA
[   22.275065]   SINGAPORE
[   22.275066]   SLOVAKIA
[   22.275067]   SLOVENIA
[   22.275068]   SOUTHAFRICA
[   22.275068]   SOUTHKOREA
[   22.275069]   SPAIN
[   22.275070]   SWEDEN
[   22.275071]   SWITZERLAND
[   22.275072]   SYRIA
[   22.275072]   TAIWAN
[   22.275073]   THAILAND
[   22.275074]   UAE
[   22.275074]   UK
[   22.275075]   USA
[   22.275076]   YEMEN
[   22.275077] Note this option is CASE SENSITIVE!

[   22.392156] dahdi_transcode: Loaded.

--
_
-- 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] Automatic ODBC reconnect?

2012-09-03 Thread Doug Lytle

Stefan at WPF wrote:

Anyone having any idea? Can post more details like my config etc


With my Asterisk 10 setup, the initial connect may fail and then it does 
a retry and succeeds.  I also have a 1.4x system setup that does the same.


I guess you can start with the contents of (Please disguise any passwords):

/etc/odbc.ini
/etc/asterisk/res_odbc.conf

Doug


--
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety.


--
_
-- 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] Automatic ODBC reconnect?

2012-09-03 Thread Stefan at WPF
Doug, which kind of connection exactly are you using? I am using Adaptive
ODBC.

2012/9/3 Doug Lytle supp...@drdos.info

 Stefan at WPF wrote:

 Anyone having any idea? Can post more details like my config etc


 With my Asterisk 10 setup, the initial connect may fail and then it does a
 retry and succeeds.  I also have a 1.4x system setup that does the same.

 I guess you can start with the contents of (Please disguise any passwords):

 /etc/odbc.ini
 /etc/asterisk/res_odbc.conf


 Doug


 --
 Ben Franklin quote:

 Those who would give up Essential Liberty to purchase a little Temporary
 Safety, deserve neither Liberty nor Safety.


 --
 __**__**_
 -- 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-**usershttp://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] Asterisk 11 WebSockets.

2012-09-03 Thread qasimak...@gmail.com
Hi,

I was testing with newly introduced websocket support in asterisk 11. I
have successfully implemented everything except when i try to make a call i
get no audio. I have tried both SipML5 as well as SIP-JS as clients. the
call get connected but i never hear any audio stream. I however get the
following warning

WARNING[2626][C-]: *chan_sip.c:9686 process_sdp:* Ignoring video
 stream offer because port number is zero


When i turn rtp debug on i can see RTP getting through.

*CLI Output*:http://pastebin.pk/16

*sip.conf*:http://pastebin.pk/17

*http.conf*:   http://pastebin.pk/19

*extensions.conf*: http://pastebin.pk/20

Regards,
Qasim
--
_
-- 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] Automatic ODBC reconnect?

2012-09-03 Thread Doug Lytle

Stefan at WPF wrote:
Doug, which kind of connection exactly are you using? I am using 
Adaptive ODBC.


Oh!  I forgot you were using that.  No, I'm not, sorry!

Doug


--
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety.


--
_
-- 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] Automatic ODBC reconnect?

2012-09-03 Thread Stefan at WPF
Doug, if necessary I could change, just tell me, what you use, meaybe the
easiest solution ;-)

2012/9/3 Doug Lytle supp...@drdos.info

 Stefan at WPF wrote:

 Doug, which kind of connection exactly are you using? I am using Adaptive
 ODBC.


 Oh!  I forgot you were using that.  No, I'm not, sorry!


 Doug


 --
 Ben Franklin quote:

 Those who would give up Essential Liberty to purchase a little Temporary
 Safety, deserve neither Liberty nor Safety.


 --
 __**__**_
 -- 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-**usershttp://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] Automatic ODBC reconnect?

2012-09-03 Thread Doug Lytle

Stefan at WPF wrote:

just tell me, what you use, meaybe the easiest solution


UnixODBC

Doug


--
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety.


--
_
-- 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] Automatic ODBC reconnect?

2012-09-03 Thread Stefan at WPF
Thanks, but which Asterisk module? (Iam also using UnixODBC by adaptive
odbc)

2012/9/3 Doug Lytle supp...@drdos.info

 Stefan at WPF wrote:

 just tell me, what you use, meaybe the easiest solution


 UnixODBC


 Doug


 --
 Ben Franklin quote:

 Those who would give up Essential Liberty to purchase a little Temporary
 Safety, deserve neither Liberty nor Safety.


 --
 __**__**_
 -- 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-**usershttp://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] My digium card die?

2012-09-03 Thread John Novack


PedroTron wrote:

2012/9/3 Andrew Colin a...@syrex.cc:

Can you confirm Dahdi is loaded correctly

What does the output of dmesg show?


dmesg output

[   22.183501] dahdi: Telephony Interface Registered on major 196
[   22.183504] dahdi: Version: 2.5.1
[   22.275018] Invalid/unknown operating mode 'COLUMBIA' specified.
Please choose one of:
[   22.275021]   FCC
[   22.275022]   TBR21
[   22.275023]   ARGENTINA
[   22.275024]   AUSTRALIA
[   22.275025]   AUSTRIA
[   22.275025]   BAHRAIN
[   22.275026]   BELGIUM
[   22.275027]   BRAZIL
[   22.275028]   BULGARIA
[   22.275028]   CANADA
[   22.275029]   CHILE
[   22.275030]   CHINA
[   22.275031]   COLOMBIA

snip

Spell COLOMBIA correctly! in the conf file
It might then begin to work, or on to the next error!!

John Novack

--

Dog is my Co-pilot


--
_
-- 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] Automatic ODBC reconnect?

2012-09-03 Thread Doug Lytle

Stefan at WPF wrote:
Thanks, but which Asterisk module? (Iam also using UnixODBC by 
adaptive odbc)


func_odbc

Doug

--
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety.


--
_
-- 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] Asterisk 10 deb packages for Ubuntu 12.04?

2012-09-03 Thread Stefan at WPF
Hello,

are there any deb packages for Ubuntu 12.04?
The repos at https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packagesare
for older Ubuntu versions, also Asterisk 10 is only mentioned for YUM
/
CentOS?

Thanks :-)
--
_
-- 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 10 deb packages for Ubuntu 12.04?

2012-09-03 Thread Paul Belanger

On 12-09-03 07:46 AM, Stefan at WPF wrote:

Hello,

are there any deb packages for Ubuntu 12.04?
The repos at https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packagesare
for older Ubuntu versions, also Asterisk 10 is only mentioned for YUM
/
CentOS?


I'm working on a set for my personal repo, I'll share the link when finished

--
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: 
https://twitter.com/pabelanger


--
_
-- 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] new HOWTO - Lumicall/Android with an Asterisk PBX

2012-09-03 Thread Daniel - Lumicall.org


After a lot of questions from Asterisk users, I've now created a
dedicated page with settings for Lumicall and Asterisk to work together


   http://www.lumicall.org/configuration/asterisk


As of the 1.8.x releases of Lumicall, it is much more consistent at
remaining registered on devices that frequently sleep. This is mainly
based on the addition of SIP outbound keep-alive over TLS/TCP, together
with improved code for background processing when Android sleeps.


Lumicall is also available from F-Droid now, so it is easier than ever
to be certain that you are running a binary built from the published
source code, and no Google account is needed to install with F-Droid:


http://f-droid.org/repository/browse/?fdfilter=lumicallfdid=org.lumicall.androidfdpage=1



--
_
-- 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 hangs while starting in OpenSuse 12.2

2012-09-03 Thread Bryant Zimmerman
Gopalakrishnan

I download and compile from libpri, dahdi, and asterisk. You have to insure 
that you have all of the dependencies when you compile there are many. Also 
compile and install spandsp as well. I did a 12.1 system over the weekend 
without issue. 

Thanks

Bryant Zimmerman (ZK Tech Inc.)
616-855-1030 Ext. 2003 


 From: Gopalakrishnan N gopalakrishnan...@gmail.com
Sent: Monday, September 03, 2012 5:43 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Asterisk hangs while starting in OpenSuse 
12.2

Hi,

 I have started asterisk using strace, and the log is listed in pastebin 
http://pastebin.com/ry2Q1e6x  
 Moreover, for some peoples Asterisk is properly installed in OpenSuse 12.1 
(i586), can you please correct me with the installation steps what I did, 
my steps as follows,   OpenSuse fresh installation Login to root in 
terminal (sudo -i) Download libpri, dahdi and Asterisk Install 
libpri and dahdi (even though I am not using any dahdi hardware) - make and 
make install Installation of Asterisk (./configure, make menuconfig, 
make, make install and make samples) Start Asterisk (asterisk -c) - 
here hangs while loading modules.   any other packages has to be installed 
or the installation is fine! please advice!  
 Regards.  

On Thu, Aug 30, 2012 at 7:03 PM, Tzafrir Cohen tzafrir.co...@xorcom.com 
wrote:
 On Thu, Aug 30, 2012 at 01:42:06PM +0200, Patrick Lists wrote:
 On 08/30/2012 09:45 AM, Gopalakrishnan N wrote:
 Hi,
 
 I have installed libpri, Dahdi 2.6 and Asterisk 1.8.15, in normal host,
 I am not using any virtualbox, still i struck in loading the modules.

 Please do not top post.

 Install strace and then start asterisk with the command:
 # strace asterisk

 Asterisk will fork into the background and the process you trace will
exit.

  strace -f asterisk #?
  strace asterisk -f #?

Just in case you wonder, 'asterisk -f strace' will not work as you might
have expected from the above examples. Nither will '-f strace asterisk'.

'-U asterisk ' may also come in handy.

--
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

--
_
-- 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] Cascading macros in 1.8. Bug or feature ?

2012-09-03 Thread Olivier
Hello,


In Freepbx 2.10, for instance, you can read several instances of the
following pattern :


In extensions.conf
#include extensions_additional.conf
#include extensions_custom.conf


In extensions_additional.conf
[macro-hangupcall]
include = macro-hangupcall-custom
exten = s,1,Noop(foobar1)


In extensions_custom.conf
[macro-hangupcall-custom]
exten = s,1,Noop(foobar2)


When using dialplan show s@macro-hangupcall, asterisk (1.8.12) displays
both foobar1 and foobar2 dialplans, in this order.
Then asterisk ignores foobar2 dialplan and only run foobar1 diaplan.

Would you rate this a bug or a feature ?
To me, asterisk should both :
1. list foobar2 dialplan first (with dialplan show) as the include
statement is the first one,
2. run foobar2 dialplan it is the first listed.

Opinions ?
Suggestions ?

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] Good way to query data from asterisk realtime with Asterisk Manager API

2012-09-03 Thread Shitian Long
Thanks for everyone's message, 
Finally, I figure out how to use AMI fetch data from realtime.

After log in AMI.
First step, a setVar action should be sent
(for example, in this case, I am interested in the content of realtime family = 
test_family, key = mykey,)

setVar action should look like 

Action: Setvar
Variable: REALTIME(test_family, key, mykey) 

After that, I should have a success response like 

Response: Success
Message: Variable Set

Afterward. I could use getVar action to fetch the result

Action: Getvar
Variable: REALTIME(test_family, key, mykey) 

Finally, query result will be in the response.

From this practice, it seems, AMI getVar and setVar action have more function 
than I through.

Thanks for every one's help.





On Sep 1, 2012, at 10:14 AM, Olle E. Johansson wrote:

 
 31 aug 2012 kl. 16:58 skrev Shitian Long longst...@gmail.com:
 
 Do you think it is a good way to use Manager API command action to 
 implement this feature?
 No. The command action should be avoided since the output from the CLI 
 commands is not
 made for parsing by applications and may change too. Sometimes we cut of 
 informaiton to fit
 into a terminal window. If you use manager actions instead, you will always 
 get the full data in a
 format you can parse. If you have to use the command action you have found a 
 place where a
 manager action is missing and we developers would like to know that and fix 
 it :-)
 
 For realtime, there's a dialplan function REALTIME() that you can use with 
 the manager actions
 that change or read channel variables. That's the best way, since we lack 
 manager realtime commands.
 
 One reason for not going directly to the database API is that when building 
 3rd party apps,
 we don't know what database you are using and can benefit from the ARA 
 interface to databases,
 exactly like Asterisk. It's not as effecient as going directly when you can, 
 but sometimes you just
 don't know what's behind ARA and thanks to ARA you don't have to. :-)
 
 /Olle
 
 * The new Edvina SIP Masterclass - Stockholm, Sweden Oct and Miami, FL, Dec 
 2012
  http://edvina.net/training/new-sip-masterclass/--
 _
 -- 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] Indicate multiple incoming calls from a multi-channel DID on a single phone

2012-09-03 Thread Chris Nighswonger
Is it possible to indicate multiple incoming calls from a multi-channel DID
on a single phone? The phone in question is a Polycom 550.

I've googled this with little to no success.

Thanks,
Chris
--
_
-- 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] Indicate multiple incoming calls from a multi-channel DID on a single phone

2012-09-03 Thread Chris Nighswonger
On Mon, Sep 3, 2012 at 8:25 PM, Chris Nighswonger 
cnighswon...@foundations.edu wrote:

 Is it possible to indicate multiple incoming calls from a multi-channel
 DID on a single phone? The phone in question is a Polycom 550.


I think I may have it, but would like some feedback so I won't chase the
rabbit too far if it is something other than a rabbit...

Set up 4 extensions, one assigned to each of the four line keys on the 550.
Route the incoming call to line 1.
Set up line n to roll over to line n+1 on busy.

Am I going about this right?

Thanks,
Chris
--
_
-- 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 on arm

2012-09-03 Thread Sazzad

 has anyone tried asterisk on arm processors?


Yeah, I used Asterisk on ARM Cortex8 processors for an embedded board, Zoom
OMAP35x.


 how is the performance?


Well, it was an experimental setup to create a custom Asterisk channel. So
I can't tell you about the performance in production deployment.


 have encountered problems in the compilation?


Yes, occasionally. Since cross compiler was used there were several issues,
like setting the appropriate environment variables, customizing Makefiles
and such. But Timesys' Factory https://linuxlink.timesys.com provided a
kind of SDK for embedded system development. It worked well I think.

-- 
Sazzad Bin Kamal
--
_
-- 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 on arm

2012-09-03 Thread qasimak...@gmail.com
I have tried it on raspberrypi, Although i didn't do any tests but looks
promising. Should be able to handle calls in figure of two digits easily,
The final answer always depends on your configuration.

Regards,
Qasim

On Tue, Sep 4, 2012 at 8:52 AM, Sazzad sazzadbinka...@gmail.com wrote:

 has anyone tried asterisk on arm processors?


 Yeah, I used Asterisk on ARM Cortex8 processors for an embedded board,
 Zoom OMAP35x.


 how is the performance?


 Well, it was an experimental setup to create a custom Asterisk channel. So
 I can't tell you about the performance in production deployment.


 have encountered problems in the compilation?


 Yes, occasionally. Since cross compiler was used there were several
 issues, like setting the appropriate environment variables, customizing
 Makefiles and such. But Timesys' Factory 
 https://linuxlink.timesys.comprovided a kind of SDK for embedded system 
 development. It worked well I
 think.

 --
 Sazzad Bin Kamal


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