LinuxMCE Forums
May 24, 2013, 12:37:16 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1] 2
  Print  
Author Topic: LMCE 10.04 Asterisk status  (Read 1442 times)
daballiemo
Guru
****
Posts: 236


Full Blown Addict


View Profile
« 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
Logged

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



View Profile WWW
« 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.

 
Logged
daballiemo
Guru
****
Posts: 236


Full Blown Addict


View Profile
« 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
Logged

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
Guru
****
Posts: 451


View Profile
« 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
Logged
cfernandes
Guru
****
Posts: 267



View Profile WWW
« Reply #4 on: March 21, 2012, 08:07:29 pm »

all cisco phones is auto detect  and ata is configured  manually
Logged
MarcoZan
Veteran
***
Posts: 143


View Profile
« 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
Logged
daballiemo
Guru
****
Posts: 236


Full Blown Addict


View Profile
« 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 » Logged

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


Full Blown Addict


View Profile
« 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 » Logged

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


Full Blown Addict


View Profile
« Reply #8 on: March 22, 2012, 08:30:08 pm »

From /var/log/pluto (devicelog):

Code:
========== 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:
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 » Logged

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


Full Blown Addict


View Profile
« 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  Grin
I added nat_enable : 1 again and:

Code:
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
Logged

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



View Profile WWW
« 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.
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #11 on: March 22, 2012, 09:14:17 pm »

7960s which are sccp based should be setup as 7970, iirc.
Logged

cfernandes
Guru
****
Posts: 267



View Profile WWW
« Reply #12 on: May 25, 2012, 11:48:36 am »

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 ?
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #13 on: May 25, 2012, 05:58:39 pm »

Fix it, and create a trac ticket with a patch. thx
Logged

cfernandes
Guru
****
Posts: 267



View Profile WWW
« Reply #14 on: June 02, 2012, 02:57:27 pm »

ticket is created
Ticket #1473
Ticket #1474

Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!