Re: [asterisk-users] Calendar: cert mismatch

2013-02-26 Thread Phil Daws
Agreed. Local CA is probably the best route to take, and the most manageable, 
so will look at doing that. Thank you.

- Original Message -
From: James Cloos cl...@jhcloos.com
To: Phil Daws ux...@splatnix.net
Cc: ch...@acsdi.com, Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com
Sent: Tuesday, 26 February, 2013 12:45:46 AM
Subject: Re: [asterisk-users] Calendar: cert mismatch

 PD == Phil Daws ux...@splatnix.net writes:

PD It does generate a validity warning, as its self-signed, though I have
PD added it to the PBX ca-bundle.crt.  Am I right in assuming that
PD Asterisk will use the default OpenSSL paths for where certificates are
PD stored ?

The error said that the hostname in the uri does not match (any of) the
hostname(s) in the cert.

Does the self-signed cert have the hostname in either the CN or in (any
of) the dnsName(s) in the subjectAltName section?

It might work better if you created a local CA and used that to sign an
end-entity cert for each server which needs one.  Then add that CA cert
to the bundle.  Recent versions of tls (claim to have) deprecated the
idea of using self-signed certs for anything other than root ca certs,
but you can always create your own CA.

-JimC
-- 
James Cloos cl...@jhcloos.com OpenPGP: 1024D/ED7DAEA6

--
_
-- 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] auto install all required dependences for asterisk.

2013-02-26 Thread Matthew Jordan
On 02/25/2013 11:48 AM, Daniel - Asterisk wrote:
 Hello Mahendra,
  
 I've just installed Asterisk from source on my Raspberry Pi model B,
 this is what I did:
  
 sudo apt-get install build-essential
 sudo apt-get install libncurses5-dev
 sudo apt-get install libssl-dev
 sudo apt-get install libxml2-dev
  
 cd /usr/src/
 sudo wget
 http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.8-current.tar.gz
 sudo tar zxvf asterisk-1.8-current.tar.gz
 sudo reboot

Asterisk includes a script that installs prerequisites for common
distros in contrib/scripts/install_prereq. It does support Debian,
although I personally haven't run it on a Raspberry Pi B.

 sudo ./configure
 sudo make menuselect
 sudo make
 sudo make install
 sudo make samples
  
 sudo make config   -- It doesn't work for me

It doesn't work for me is not sufficient for someone to help you. You
need to provide what the error output is.

If the error output is We could not install init scripts for your
operating system, then Raspberry Pi B's distro is not supported by the
'make config' target. If that's the case, you will need to modify the
Makefile to recognize the distro and install appropriately; you can
probably use the stock Debian installation as a guide.

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
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] auto install all required dependences for asterisk.

2013-02-26 Thread Daniel - Asterisk
Hey Matthew,

Thanks for your answer, that's the very output I get with 'make config'.
Could you please share some readings to get asterisk as a linux service?

Thanks in advance!

Elder D. Arohuanca
Lima - Peru


On Tue, Feb 26, 2013 at 10:05 AM, Matthew Jordan mjor...@digium.com wrote:

 On 02/25/2013 11:48 AM, Daniel - Asterisk wrote:
  Hello Mahendra,
 
  I've just installed Asterisk from source on my Raspberry Pi model B,
  this is what I did:
 
  sudo apt-get install build-essential
  sudo apt-get install libncurses5-dev
  sudo apt-get install libssl-dev
  sudo apt-get install libxml2-dev
 
  cd /usr/src/
  sudo wget
 
 http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.8-current.tar.gz
  sudo tar zxvf asterisk-1.8-current.tar.gz
  sudo reboot

 Asterisk includes a script that installs prerequisites for common
 distros in contrib/scripts/install_prereq. It does support Debian,
 although I personally haven't run it on a Raspberry Pi B.

  sudo ./configure
  sudo make menuselect
  sudo make
  sudo make install
  sudo make samples
 
  sudo make config   -- It doesn't work for me

 It doesn't work for me is not sufficient for someone to help you. You
 need to provide what the error output is.

 If the error output is We could not install init scripts for your
 operating system, then Raspberry Pi B's distro is not supported by the
 'make config' target. If that's the case, you will need to modify the
 Makefile to recognize the distro and install appropriately; you can
 probably use the stock Debian installation as a guide.

 --
 Matthew Jordan
 Digium, Inc. | Engineering Manager
 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

--
_
-- 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] auto install all required dependences for asterisk.

2013-02-26 Thread Kevin Larsen
From:   Daniel - Asterisk earohua...@gmail.com
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com, 
Date:   02/26/2013 09:29 AM
Subject:Re: [asterisk-users] auto install all required dependences 
for asterisk.
Sent by:asterisk-users-boun...@lists.digium.com



Hey Matthew,
 
Thanks for your answer, that's the very output I get with 'make config'.
Could you please share some readings to get asterisk as a linux service?
 
Thanks in advance!
 
Elder D. Arohuanca
Lima - Peru

If you are dedicating your Raspberry Pi to Asterisk, you might want to 
just check this out here:

http://www.raspberry-asterisk.org/

It is probably easier and better than rolling your own all the way 
through.


Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208
--
_
-- 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 AMI - Create a daemon (background process)

2013-02-26 Thread Steve Edwards

On Tue, 26 Feb 2013, Paul Belanger wrote:

You don't want to use PHP for your daemon, change to another scripting 
language (EG: python).


Why?

I'm just a 'c' weenie, but why would Python be a better choice than PHP?

--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

--
_
-- 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 AMI - Create a daemon (background process)

2013-02-26 Thread Eric Wieling
PHP has had memory leak issues in the past, though modern versions are 
apparently much better.

The thing is, when you write a daemon you must EXPECT it to exit at some point, 
maybe the socket went away or the system restarted or you are out of memory, 
whatever.  You need to make sure you handle these situations regardless of 
which language you write in.   Using inittab is one way, daemon-tools is 
another.  For me, PHP with its C-like syntax, decent string handling, Perl 
Regex, and POSIX process control (including fork), it is good enough for most 
stuff that I do.  

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Edwards
Sent: Tuesday, February 26, 2013 11:12 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk AMI - Create a daemon (background 
process)

On Tue, 26 Feb 2013, Paul Belanger wrote:

 You don't want to use PHP for your daemon, change to another scripting 
 language (EG: python).

Why?

I'm just a 'c' weenie, but why would Python be a better choice than PHP?

--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

--
_
-- 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] DAHDI and Oslec

2013-02-26 Thread Doug Lytle
I'm hoping someone can help me here. 

I've purchased replacement systems for 3 aging 1.4.x installs. I'm hoping to 
setup Asterisk 11, dahdi 2.6.1 and Oslec. 

I'm also moving those installs from Mandriva 10.0 to Debian 6.06 (Squeeze). 

In my testing, the TE220P PCIe cards that I have, the timing was awful on both 
slots, so I compiled Kernel 3.6.9 from kernel.org. Timing jumped to what I was 
expecting, so I moved on to recompiling dahdi complete for Oslec. 

Browsed the Linux source directory for drivers/staging/echo and copied it to 
the proper tree in the dahdi complete directory. 

Did a make distclean;make clean;make all 

And everything compiled cleanly, including oslec. 

But, when trying to set my E.C. to oslec, I get: 

Feb 26 11:21:37 indyvoip modprobe: FATAL: Error inserting dahdi_echocan_oslec 
(/lib/modules/3.6.9-custom-3.6.9/dahdi/dahdi_echocan_oslec.ko): Unknown symbol 
in module, or unknown parameter (see dmesg) 
Feb 26 11:21:37 indyvoip kernel: [ 1395.262334] dahdi_echocan_oslec: Unknown 
symbol oslec_create (err 0) 
Feb 26 11:21:37 indyvoip kernel: [ 1395.262348] dahdi_echocan_oslec: Unknown 
symbol oslec_update (err 0) 
Feb 26 11:21:37 indyvoip kernel: [ 1395.262365] dahdi_echocan_oslec: Unknown 
symbol oslec_free (err 0) 
Feb 26 11:21:41 indyvoip modprobe: FATAL: Error inserting dahdi_echocan_oslec 
(/lib/modules/3.6.9-custom-3.6.9/dahdi/dahdi_echocan_oslec.ko): Unknown symbol 
in module, or unknown parameter (see dmesg) 
Feb 26 11:21:41 indyvoip kernel: [ 1398.799227] dahdi_echocan_oslec: Unknown 
symbol oslec_create (err 0) 
Feb 26 11:21:41 indyvoip kernel: [ 1398.799241] dahdi_echocan_oslec: Unknown 
symbol oslec_update (err 0) 
Feb 26 11:21:41 indyvoip kernel: [ 1398.799258] dahdi_echocan_oslec: Unknown 
symbol oslec_free (err 0) 

And dmesg shows: 

[ 1395.262334] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0) 
[ 1395.262348] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0) 
[ 1395.262365] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0) 
[ 1398.799227] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0) 
[ 1398.799241] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0) 
[ 1398.799258] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0) 

My Googlng-Fu failed me, as everything was dated from 201 0 and earlier on this 
error. I'm guessing that I compiled the kernel wrong, I followed these 
instructions to create .debs 

http://www.howtoforge.com/kernel_compilation_ubuntu 

Everything seemed to work well. 

Coming from a Mandrake/Mandriva background, I'm used to just: 

make oldconfig 
make menuconfig (Make my changes) 
make all 
make modules_install 
make install 

Any hints would be appreciated, 

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] Asterisk AMI - Create a daemon (background process)

2013-02-26 Thread A J Stiles
On Tuesday 26 February 2013, Steve Edwards wrote:
 On Tue, 26 Feb 2013, Paul Belanger wrote:
  You don't want to use PHP for your daemon, change to another scripting
  language (EG: python).
 
 Why?
 
 I'm just a 'c' weenie, but why would Python be a better choice than PHP?

Because that poster likes Python.

They're both wrong, of course.  Perl is always the correct language to use  :D

(In case anyone mistakes the above for a serious remark, it hardly matters 
what scripting language you use as long as it has an AGI library.  PHP has 
outgrown powering web pages and is now a fully-fledged scripting language.  Use 
whatever you feel comfortable with and if you don't feel comfortable with it, 
use something else; or at least, abstract out the scariest parts.  You don't 
get prizes depending on the language you use, at least not in the parts of the 
real world I've lived in.)

-- 
AJS

Answers come *after* questions.

--
_
-- 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] POKE from command line

2013-02-26 Thread Gary Carr
Is it possible to issue the POKE to a end point from the CLI? Our 
asterisk servers is not seeing some end points drop off and I would like 
to create a script to manually check end points.



Thanks!


Gary


--
_
-- 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] DAHDI and Oslec

2013-02-26 Thread Christopher Harrington
On Tue, Feb 26, 2013 at 10:38 AM, Doug Lytle supp...@drdos.info wrote:

 But, when trying to set my E.C. to oslec, I get:

 Feb 26 11:21:37 indyvoip modprobe: FATAL: Error inserting
 dahdi_echocan_oslec
 (/lib/modules/3.6.9-custom-3.6.9/dahdi/dahdi_echocan_oslec.ko): Unknown
 symbol in module, or unknown parameter (see dmesg)
 Feb 26 11:21:37 indyvoip kernel: [ 1395.262334] dahdi_echocan_oslec:
 Unknown symbol oslec_create (err 0)
 Feb 26 11:21:37 indyvoip kernel: [ 1395.262348] dahdi_echocan_oslec:
 Unknown symbol oslec_update (err 0)
 Feb 26 11:21:37 indyvoip kernel: [ 1395.262365] dahdi_echocan_oslec:
 Unknown symbol oslec_free (err 0)
 Feb 26 11:21:41 indyvoip modprobe: FATAL: Error inserting
 dahdi_echocan_oslec
 (/lib/modules/3.6.9-custom-3.6.9/dahdi/dahdi_echocan_oslec.ko): Unknown
 symbol in module, or unknown parameter (see dmesg)
 Feb 26 11:21:41 indyvoip kernel: [ 1398.799227] dahdi_echocan_oslec:
 Unknown symbol oslec_create (err 0)
 Feb 26 11:21:41 indyvoip kernel: [ 1398.799241] dahdi_echocan_oslec:
 Unknown symbol oslec_update (err 0)
 Feb 26 11:21:41 indyvoip kernel: [ 1398.799258] dahdi_echocan_oslec:
 Unknown symbol oslec_free (err 0)

 And dmesg shows:

 [ 1395.262334] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0)
 [ 1395.262348] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0)
 [ 1395.262365] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0)
 [ 1398.799227] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0)
 [ 1398.799241] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0)
 [ 1398.799258] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0)



I encountered the same. Turns out, you need to disable OSLEC in your codec
.config, and delete the modules in your /lib/modules/[kernel
version]/drivers/staging directory, and then (in your kernel sources)
make  make modules  make modules install

The dahdi tools actually contains an out-of-tree version that worked out of
the box.


-- 
-Chris Harrington
ACSDi Office: 763.559.5800
Mobile Phone: 612.326.4248
--
_
-- 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] GSM Sip Gateway

2013-02-26 Thread Frank

So what is the official page to get those GoIP ?
All I can find is on ebay..

On 2/24/13 5:23 AM, longst wrote:

I am using GoIp 1 channel gateway. it is fine

Sent from Shitian Long


On Feb 24, 2013, at 1:54 AM, Frank fr...@efirehouse.com wrote:


Hi all,

Anyone ever used GoIP GSM SIP Gateways ?
If yes, what was your experience with those ?

I'm looking at this:
http://www.ebay.com/itm/HOT-GSM-VOIP-GoIP-Gateway-SIP-Trunk-to-Asterisk-iP-PBX-/280736774012?pt=US_VoIP_Business_Phones_IP_PBXhash=item415d37377c

If anyone has any (good) experience with another brand, I'll take the names and 
models.

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


--
_
-- 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] GSM Sip Gateway

2013-02-26 Thread Frank

Ha... Here is the other company I was looking for:

http://www.yx.cl

Anyone is using their GSM gateways ?

On 2/26/13 11:56 AM, Frank wrote:

So what is the official page to get those GoIP ?
All I can find is on ebay..

On 2/24/13 5:23 AM, longst wrote:

I am using GoIp 1 channel gateway. it is fine

Sent from Shitian Long


On Feb 24, 2013, at 1:54 AM, Frank fr...@efirehouse.com wrote:


Hi all,

Anyone ever used GoIP GSM SIP Gateways ?
If yes, what was your experience with those ?

I'm looking at this:
http://www.ebay.com/itm/HOT-GSM-VOIP-GoIP-Gateway-SIP-Trunk-to-Asterisk-iP-PBX-/280736774012?pt=US_VoIP_Business_Phones_IP_PBXhash=item415d37377c


If anyone has any (good) experience with another brand, I'll take the
names and models.

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


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


--
_
-- 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] POKE from command line

2013-02-26 Thread Steven Howes
On 26 Feb 2013, at 16:52, Gary Carr wrote:
 Is it possible to issue the POKE to a end point from the CLI? Our asterisk 
 servers is not seeing some end points drop off and I would like to create a 
 script to manually check end points.

http://www.geekinter.net/iaxping.txt

May be of use to you. Just dug it out of my subversion repo of useful bits so 
make need some poking (excuse the pun) to get it running. No warranty etc etc.

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


Re: [asterisk-users] DAHDI and Oslec

2013-02-26 Thread Marco Signorini

Hi.
I had the same problem in the past and I've found that there was already 
an echo.ko module built in my kernel module folder.
I've renamed it and replaced with the one compiled with dahdi+oslec and 
it started working as expected.


I was on OpenSuse with kernel 2.6.27.56-0.1... it's very old so I can't 
tell you if this is something true for Debian 6.06 too.


Thanks.
Marco Signorini.



On 02/26/2013 05:38 PM, Doug Lytle wrote:

I'm hoping someone can help me here.

I've purchased replacement systems for 3 aging 1.4.x installs.  I'm 
hoping to setup Asterisk 11, dahdi 2.6.1 and Oslec.


I'm also moving those installs from Mandriva 10.0 to Debian 6.06 
(Squeeze).


In my testing, the TE220P PCIe cards that I have, the timing was awful 
on both slots, so I compiled Kernel 3.6.9 from kernel.org.  Timing 
jumped to what I was expecting, so I moved on to recompiling dahdi 
complete for Oslec.


Browsed the Linux source directory for drivers/staging/echo and copied 
it to the proper tree in the dahdi complete directory.


Did a make distclean;make clean;make all

And everything compiled cleanly, including oslec.

But, when trying to set my E.C. to oslec, I get:

Feb 26 11:21:37 indyvoip modprobe: FATAL: Error inserting 
dahdi_echocan_oslec 
(/lib/modules/3.6.9-custom-3.6.9/dahdi/dahdi_echocan_oslec.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
Feb 26 11:21:37 indyvoip kernel: [ 1395.262334] dahdi_echocan_oslec: 
Unknown symbol oslec_create (err 0)
Feb 26 11:21:37 indyvoip kernel: [ 1395.262348] dahdi_echocan_oslec: 
Unknown symbol oslec_update (err 0)
Feb 26 11:21:37 indyvoip kernel: [ 1395.262365] dahdi_echocan_oslec: 
Unknown symbol oslec_free (err 0)
Feb 26 11:21:41 indyvoip modprobe: FATAL: Error inserting 
dahdi_echocan_oslec 
(/lib/modules/3.6.9-custom-3.6.9/dahdi/dahdi_echocan_oslec.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
Feb 26 11:21:41 indyvoip kernel: [ 1398.799227] dahdi_echocan_oslec: 
Unknown symbol oslec_create (err 0)
Feb 26 11:21:41 indyvoip kernel: [ 1398.799241] dahdi_echocan_oslec: 
Unknown symbol oslec_update (err 0)
Feb 26 11:21:41 indyvoip kernel: [ 1398.799258] dahdi_echocan_oslec: 
Unknown symbol oslec_free (err 0)


And dmesg shows:

[ 1395.262334] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0)
[ 1395.262348] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0)
[ 1395.262365] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0)
[ 1398.799227] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0)
[ 1398.799241] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0)
[ 1398.799258] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0)

My Googlng-Fu failed me, as everything was dated from 201 0 and 
earlier on this error.  I'm guessing that I compiled the kernel wrong, 
I followed these instructions to create .debs


http://www.howtoforge.com/kernel_compilation_ubuntu

Everything seemed to work well.

Coming from a Mandrake/Mandriva  background, I'm used to just:

make oldconfig
make menuconfig (Make my changes)
make all
make modules_install
make install

Any hints would be appreciated,

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] DAHDI and Oslec

2013-02-26 Thread Tzafrir Cohen
On Tue, Feb 26, 2013 at 11:38:15AM -0500, Doug Lytle wrote:
 I'm hoping someone can help me here. 
 
 I've purchased replacement systems for 3 aging 1.4.x installs. I'm hoping to 
 setup Asterisk 11, dahdi 2.6.1 and Oslec. 
 
 I'm also moving those installs from Mandriva 10.0 to Debian 6.06 (Squeeze). 

Grab a recent dahdi-source from somewhere:

http://packages.debian.org/search?keywords=dahdi-source

If that does not work, try:

http://updates.xorcom.com/pkg-voip/

With that installed, run:

  m-a a-i dahdi

It already includes OSLEC.

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


Re: [asterisk-users] Asterisk AMI - Create a daemon (background process)

2013-02-26 Thread Steve Edwards

On Tue, 26 Feb 2013, Eric Wieling wrote:


For me, PHP with its C-like syntax...


For me, C with it's C-like syntax...

--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

--
_
-- 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] DAHDI and Oslec

2013-02-26 Thread Doug Lytle
I encountered the same. Turns out, you need to disable OSLEC in your codec 
.config, and delete the modules in your /lib/modules/[kernel 
version]/drivers/staging directory, and then  (in your kernel sources) 
 make  make modules  make modules install 

There was nothing listed in /usr/src/linux/.config for OSLEC 
There were no modules in /lib/modules/3.6.9-custom-3.6.9/kernel/drivers/staging 
for OSLEC 

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] Asterisk AMI - Create a daemon (background process)

2013-02-26 Thread Tzafrir Cohen
On Tue, Feb 26, 2013 at 11:29:44AM -0500, Eric Wieling wrote:
 PHP has had memory leak issues in the past, though modern versions
 are apparently much better.
 
 The thing is, when you write a daemon you must EXPECT it to exit at
 some point, maybe the socket went away or the system restarted or
 you are out of memory, whatever.  You need to make sure you handle
 these situations regardless of which language you write in.  Using
 inittab is one way, daemon-tools is another.

Some Linux distributions nowadays have upstart or systemd. That makes
writing an extra daemon simpler. Regardless of the language.

 For me, PHP with its C-like syntax, decent string handling, Perl
 Regex, and POSIX process control (including fork), it is good enough
 for most stuff that I do.  

Gah. Just write it in Perl. Or, if it's a glorified script, maybe it
just needs to be a shell script.

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


Re: [asterisk-users] GSM Sip Gateway

2013-02-26 Thread Eder Chaves
http://www.yx.cl

works very good in Brazil

Suport very goog


2013/2/26 Frank fr...@efirehouse.com

 Ha... Here is the other company I was looking for:

 http://www.yx.cl

 Anyone is using their GSM gateways ?


 On 2/26/13 11:56 AM, Frank wrote:

 So what is the official page to get those GoIP ?
 All I can find is on ebay..

 On 2/24/13 5:23 AM, longst wrote:

 I am using GoIp 1 channel gateway. it is fine

 Sent from Shitian Long


 On Feb 24, 2013, at 1:54 AM, Frank fr...@efirehouse.com wrote:

  Hi all,

 Anyone ever used GoIP GSM SIP Gateways ?
 If yes, what was your experience with those ?

 I'm looking at this:
 http://www.ebay.com/itm/HOT-**GSM-VOIP-GoIP-Gateway-SIP-**
 Trunk-to-Asterisk-iP-PBX-/**280736774012?pt=US_VoIP_**
 Business_Phones_IP_PBXhash=**item415d37377chttp://www.ebay.com/itm/HOT-GSM-VOIP-GoIP-Gateway-SIP-Trunk-to-Asterisk-iP-PBX-/280736774012?pt=US_VoIP_Business_Phones_IP_PBXhash=item415d37377c


 If anyone has any (good) experience with another brand, I'll take the
 names and models.

 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-**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-**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-**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-**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] DAHDI and Oslec

2013-02-26 Thread Christopher Harrington
It's called echo in the kernel configs.


On Tue, Feb 26, 2013 at 11:09 AM, Doug Lytle supp...@drdos.info wrote:

 I encountered the same. Turns out, you need to disable OSLEC in your
 codec .config, and delete the modules in your /lib/modules/[kernel
 version]/drivers/staging directory, and then  (in your kernel sources)
  make  make modules  make modules install

 There was nothing listed in /usr/src/linux/.config for OSLEC
 There were no modules in
 /lib/modules/3.6.9-custom-3.6.9/kernel/drivers/staging for OSLEC

 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




-- 
-Chris Harrington
ACSDi Office: 763.559.5800
Mobile Phone: 612.326.4248
--
_
-- 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 AMI - Create a daemon (background process)

2013-02-26 Thread Don Kelly
On Tue, 26 Feb 2013, Eric Wieling wrote:

 For me, PHP with its C-like syntax...

Steve Edward said:
For me, C with it's C-like syntax...

So that brings up the question I have. Shouldn't a daemon be a compiled
process?

  --Don



--
_
-- 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] DAHDI and Oslec

2013-02-26 Thread Doug Lytle
 It's called echo in the kernel configs. 

cat .config|grep -i echo 

CONFIG_SND_ECHO3G=m 
# CONFIG_ECHO is not set 

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] DAHDI and Oslec

2013-02-26 Thread Doug Lytle
 Grab a recent dahdi-source from somewhere:

Did just that and ran your listed command.  The compile fails at:


make[3]: Entering directory `/usr/src/linux-3.6.9'
  CC [M]  /usr/src/modules/dahdi/drivers/dahdi/dahdi-base.o
/usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:52:28: error: 
linux/smp_lock.h: No such file or directory

I did a:

updatedb
locate smp_lock.h

Came back with not found


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] Asterisk AMI - Create a daemon (background process)

2013-02-26 Thread Steve Edwards

On Tue, 26 Feb 2013, Don Kelly wrote:

So that brings up the question I have. Shouldn't a daemon be a compiled 
process?


Since C is my sharpest tool, the question is somewhat moot :)

Once you get past the overhead of parsing a scripting language like PHP or 
Python, I think the efficiency advantage of C is minimal and the actual 
execution time will be dominated by whatever the daemon is 'talking to' -- 
i.e. Asterisk or MySQL or ...


For smaller, frequently executed programs, C will be at home enjoying a 
cold one with friends and family before scripting programs get out of the 
starting gate.


--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

--
_
-- 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] Delay before audio starts

2013-02-26 Thread Gerard
Hi everyone,

I'm having a hard time figuring this issue out, we just switched from a
T1 PRI to a SIP trunk provider and that's when the issue started.
Now when someone forwards all calls on their phone to a cellphone, when
a customer calls in, Asterisk correctly calls the cellphone and connects
the call, but there is a long delay before the audio starts, basically
for the first 6-10 seconds of the call there is dead silence, eventually
the audio will start and everything works correctly.
We never had this problem with the PRI. So I suspect it has something to
do with a call coming in as SIP and going out as SIP.

At first I thought it was a call forwarding issue because I got this
message in the console:
[Feb 26 12:35:19] NOTICE[1143][C-025d]: app_dial.c:958 do_forward:
Not accepting call completion offers from call-forward recipient
Local/1XX@default-0013;1

So I put this in my dial plan:

1AA = {
NoOp(${CALLERID(num)});
Ringing;
Set(CHANNEL(musicclass)=none);
Dial(${OUTBOUND-TRUNKR}/1XX,30);
Voicemail(198,u);
 };

So basically as soon as someone calls incoming number AA,
Asterisk dials phone number XX. it's a quick and dirty way to
call forward.. and this does the same thing, there's a good 8 second
delay before the audio kicks in.


There is a Linux firewall with NAT in the path, but I have no other
audio issues, so don't *think* it's a factor.
I just upgraded to asterisk 11.2.1.


Asterisk 11.2.1 built by root @ phonesys2 on a i686 running Linux on
2013-02-23 01:40:02 UTC


Any help would be appreciated,
Thanks,
-- 
Gerard Saraber

--
_
-- 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] DAHDI and Oslec

2013-02-26 Thread Tzafrir Cohen
On Tue, Feb 26, 2013 at 12:31:59PM -0500, Doug Lytle wrote:
  Grab a recent dahdi-source from somewhere:
 
 Did just that and ran your listed command.  The compile fails at:
 
 
 make[3]: Entering directory `/usr/src/linux-3.6.9'
   CC [M]  /usr/src/modules/dahdi/drivers/dahdi/dahdi-base.o
 /usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:52:28: error: 
 linux/smp_lock.h: No such file or directory

What version did you use? 2.6.1 or the older 2.3.0 one? If the latter,
try 2.6.1 .

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


Re: [asterisk-users] DAHDI and Oslec

2013-02-26 Thread Doug Lytle
 or the older 2.3.0 one? If the latter, try 2.6.1 .

Started from scratch, and then downloaded the 2.6.1.  This time is succeeded.

Thanks for everybody input and Tzafrir's help!

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] Issue with .siren14 sound files

2013-02-26 Thread Richard Kenner
I'm connecting a Polycom SoundStation IP 7000 and trying to use siren14.
I downloaded the codecs and now it will properly transcode to connect
to other phones and play any files that are in .wav format.  But when it
tries to play any files with .siren14 extensions, I get complete noise
coming out.

Here's the negotiated SDP:

v=0
o=root 1668560220 1668560220 IN IP4 207.10.184.50
s=Asterisk PBX 10.7.1
c=IN IP4 207.10.184.50
t=0 0
m=audio 16204 RTP/AVP 115 127
a=rtpmap:115 G7221/32000
a=fmtp:115 bitrate=48000
a=rtpmap:127 telephone-event/8000
a=fmtp:127 0-16
a=ptime:20
a=sendrecv

If I rename away the .siren14 files, all is OK.

I can't find anything related to this with a search.

--
_
-- 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] Managing Abandoned Call

2013-02-26 Thread akhilesh chand
Dear All,

I have a query ,basically i use three server for own call center. The
server A and B i have configure the 60-60 channel each server. Server A and
B(or call transfers into server X) calls hitting into server X.Both the
server have contain same CLI mean anybody call 8032(mean server A an B)
call goes to Server X.

In the case of Server A
8032 mapped with toll-free,it is configured with Server A, Anybody dial
toll-free call goes to server X via Server A.

In the case of Server B
Soppose to any anybody dial directly 8032 call goes to server X via Server
B.

Supposed to two call originate at same time one call come via toll-free and
another one call come via 8032 (dial directly pilot number) and both the
channels dial into same extension(4002) due to this reason one of the call
is abandoned and another one is pick by the agent.

  ** 8032 is pilot number

Please help me.

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