Author Topic: LMCE 10.04 Asterisk status  (Read 13790 times)

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
LMCE 10.04 Asterisk status
« on: March 21, 2012, 07:20:04 pm »
Hi all,

because my 8.10 system is slowly breaking down on me hardware wise, I have taken on the task to install 10.04 on a brand new core system. As power usage is a major concern I have chosen a Asus EeePc to be my new core. Everything installed nicely and with some configuring I even have Mythtv up and running with IPTV.

The thing I noticed however is that the Asterisk side of things is not in a workable state. My system registers nicely to my Voip provider, but incoming calls do not get detected, Also a Generic Iphone and a Cisco 7960 can be added to the system but do not work. What I see in the Asterisk logs is that the phones cannot be found in the configuration.

Anybody able to tell what exactly the status of Asterisk under 10.04 is at the moment?

rgds

Han
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: LMCE 10.04 Asterisk status
« Reply #1 on: March 21, 2012, 07:39:20 pm »
in my install 10.04  all phones is working
 i have 2 x 7941   and one 7921
and one ata for pstn incoming call , only  issue that i have is that caller id from pstn  is not passed  to asterisk.

 

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
Re: LMCE 10.04 Asterisk status
« Reply #2 on: March 21, 2012, 07:40:34 pm »
in my install 10.04  all phones is working
 i have 2 x 7941   and one 7921
and one ata for pstn incoming call , only  issue that i have is that caller id from pstn  is not passed  to asterisk.

 

Thx, did you configure the phones manually or did the system detect them?

rgds

Han
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350

davegravy

  • Addicted
  • *
  • Posts: 551
    • View Profile
Re: LMCE 10.04 Asterisk status
« Reply #3 on: March 21, 2012, 08:00:36 pm »
My system uses IAX instead of SIP and has issues. Also, my core softphone does not work, whereas my MD softphone does. See my thread about the issue: http://forum.linuxmce.org/index.php/topic,12304.15.html

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: LMCE 10.04 Asterisk status
« Reply #4 on: March 21, 2012, 08:07:29 pm »
all cisco phones is auto detect  and ata is configured  manually

MarcoZan

  • Veteran
  • ***
  • Posts: 148
    • View Profile
Re: LMCE 10.04 Asterisk status
« Reply #5 on: March 22, 2012, 11:32:08 am »
Hi Han
Just a question on your new core

when you say EeePc are you meaning the laptop, or are you referring to the Eee Box?

I'm in a similar situation as yours (core died ... have to build a new one ...) and I'm also concerned about power usage, so I'm curious about the specs of your new core ...

thanks in advance
Marco

Hi all,

because my 8.10 system is slowly breaking down on me hardware wise, I have taken on the task to install 10.04 on a brand new core system. As power usage is a major concern I have chosen a Asus EeePc to be my new core. Everything installed nicely and with some configuring I even have Mythtv up and running with IPTV.

The thing I noticed however is that the Asterisk side of things is not in a workable state. My system registers nicely to my Voip provider, but incoming calls do not get detected, Also a Generic Iphone and a Cisco 7960 can be added to the system but do not work. What I see in the Asterisk logs is that the phones cannot be found in the configuration.

Anybody able to tell what exactly the status of Asterisk under 10.04 is at the moment?

rgds

Han

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
Re: LMCE 10.04 Asterisk status
« Reply #6 on: March 22, 2012, 08:06:23 pm »
Hi Han
Just a question on your new core

when you say EeePc are you meaning the laptop, or are you referring to the Eee Box?

I'm in a similar situation as yours (core died ... have to build a new one ...) and I'm also concerned about power usage, so I'm curious about the specs of your new core ...

thanks in advance
Marco


Hey Marco,

Its a EeePc box so the desktop thingie with 2 gb memory, ion chipset, dual core 1.6 ghz atom and a 300 gb hd. I am using this beside my old powerhungry server and want to extend the storage via nas in the near future.
Expected power consumption 20 + 20 watts instead of 180 atm.

I have a VLAN aware switch and I have configured the Eeepc with 2 vlan's, one being the outside network, one being the internal lan

Rgds

Han
« Last Edit: March 22, 2012, 08:12:10 pm by daballiemo »
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
Re: LMCE 10.04 Asterisk status
« Reply #7 on: March 22, 2012, 08:08:31 pm »
I have deleted all the phones I added and started from scratch. 7960 is now seen by the system and added. I reloaded the router and the phone. Now I am stuck with extension 201 on the phone with a cross beside it on the display.
Will investigate further

H
« Last Edit: March 22, 2012, 08:18:16 pm by daballiemo »
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
Re: LMCE 10.04 Asterisk status
« Reply #8 on: March 22, 2012, 08:30:08 pm »
From /var/log/pluto (devicelog):

Code: [Select]
========== NEW LOG SECTION ==========
1       03/22/12 20:13:29       18 (spawning-device)    Starting... 1
1       03/22/12 20:13:29       18 (spawning-device)    Found /usr/pluto/bin/Asterisk
05      03/22/12 20:13:33.956           Server IP: 127.0.0.1 <0xb77906d0>
05      03/22/12 20:13:34.002           Trying to connect to Asterisk daemon to see if is running. <0xb77906d0>
05      03/22/12 20:13:34.003           Creating child 36 <0xb77906d0>
05      03/22/12 20:13:34.004           Note: Device manager has attached a device of type 1700 that this has no custom event handler for.  It will not fire events. <0xb77906d0>
05      03/22/12 20:13:34.004           Note: Device manager has attached a device of type 1700 that this has no custom handler for.  This is normal for IR. <0xb77906d0>
05      03/22/12 20:13:34.068           NotifyPeersStatus status:
IAX2/200:Unregistered                                                                                                                                              
IAX2/201:Unregistered                                                                                                                                              
 <0xb638db70>                                                                                                                                                      
05      03/22/12 20:13:34.080           NotifyPeersStatus status:
SIP/200:Registered <0xb638db70>                                                                                                                                    
05      03/22/12 20:13:34.332           NotifyPeersStatus status:
SIP/200:Registered <0xb638db70>                                                                                                                                    
05      03/22/12 20:22:35.191           NotifyPeersStatus status:
SIP/200:Registered <0xb638db70>                                                                                                                                    
dcerouter_102xxx:/var/log/pluto#

and

Code: [Select]
dcerouter*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status     Realtime
200/200                    192.168.80.1                             D   N      5061     Unmonitored Cached RT
201/201                    (Unspecified)                            D   N      0        Unmonitored Cached RT
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 1 offline]
dcerouter*CLI>
« Last Edit: March 22, 2012, 08:31:59 pm by daballiemo »
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
Re: LMCE 10.04 Asterisk status
« Reply #9 on: March 22, 2012, 08:47:45 pm »
We'll that solved itself very quickly:

The wikihttp://wiki.linuxmce.org/index.php/Cisco_7970 says:

Note for CISCO 7960 SIP users: if your phone fails to register with asterisk then edit /tftpboot/SIPDefault.cnf and append

nat_enable: 1

I did that in the beginning but somehow the SIPDefault.cnf got overwritten  ;D
I added nat_enable : 1 again and:

Code: [Select]
dcerouter*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status     Realtime
200/200                    192.168.80.1                             D   N      5061     Unmonitored Cached RT
201/201                    192.168.80.134                           D   N      5060     Unmonitored Cached RT
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
dcerouter*CLI>

Now I am getting somewhere
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: LMCE 10.04 Asterisk status
« Reply #10 on: March 22, 2012, 09:05:01 pm »
i think  that the /usr/pluto/bin/configure_cisco7960.pl need to be changed .

my cisco use sccp  work fine.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: LMCE 10.04 Asterisk status
« Reply #11 on: March 22, 2012, 09:14:17 pm »
7960s which are sccp based should be setup as 7970, iirc.

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: LMCE 10.04 Asterisk status
« Reply #12 on: May 25, 2012, 12:48:36 pm »
Hello guys

i have one issue  with  security menu no sound is played  on Phone.

asterisk try to open files on  /var/lib/asterisk/sounds/pluto
but the script 
/usr/pluto/bin/pluto-sos-speak.pl 

creating files on
/usr/share/asterisk/sounds/pluto

to correct create a synlink  to this destination,

but i think the best  action is to fix  script or on asterisk.conf  ->astvarlibdir
what you guys think ?

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: LMCE 10.04 Asterisk status
« Reply #13 on: May 25, 2012, 06:58:39 pm »
Fix it, and create a trac ticket with a patch. thx

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: LMCE 10.04 Asterisk status
« Reply #14 on: June 02, 2012, 03:57:27 pm »
ticket is created
Ticket #1473
Ticket #1474