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
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.
Quote from: cfernandes 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.
Thx, did you configure the phones manually or did the system detect them?
rgds
Han
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 (http://forum.linuxmce.org/index.php/topic,12304.15.html)
all cisco phones is auto detect and ata is configured manually
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
Quote from: daballiemo 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
Quote from: MarcoZan 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
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
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
From /var/log/pluto (devicelog):
========== 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
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>
We'll that solved itself very quickly:
The wikihttp://wiki.linuxmce.org/index.php/Cisco_7970 (http://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:
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
i think that the /usr/pluto/bin/configure_cisco7960.pl need to be changed .
my cisco use sccp work fine.
7960s which are sccp based should be setup as 7970, iirc.
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 ?
Fix it, and create a trac ticket with a patch. thx
ticket is created
Ticket #1473
Ticket #1474
If you ever find out the called id problem please let me know. It works flawlessly for me, but some other users are reporting that same problem as you have.
Quote from: cfernandes 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.
Should be fixed with next release.
Please read comments in tickets for info's
Serge
For my ata a need to configure dialplan to use p-asserted-identity from ata .
You have working code for this ?
yes
i put this lines on db_phone_config.sh
LINESSQL="$LINESSQL INSERT INTO $DB_Extensions_Table (context,exten,priority,app,appdata) VALUES \
('$context','$phonenumber','1','Set','__FROM_DID=\${EXTEN}'), \
('$context','$phonenumber','2','Set','PAI=\$(SIP_HEADER(P-Asserted-Identify)}'), \
('$context','$phonenumber','3','Set','tmpcid=\${CUT(PAI,:,2)}'), \
('$context','$phonenumber','4','Set','tmpcid=\${CUT(tmpcid,@,1)}'), \
('$context','$phonenumber','5','Set','CALLERID(number)=\${tmpcid}'), \
('$context','$phonenumber','6','Noop','Incoming call from \${CALLERID(number)}'), \
('$context','$phonenumber','7','Set','FAX_RX='), \
('$context','$phonenumber','8','Goto','custom-linuxmce,$line,1');"
i will suggest a check box on page to add line to use p-asserted-if or caller id
I will make some tests to see if my provider also sets that header.
Hmm.. Maybe we should try to fetch that header, and if it does not exist / it is empty we use "standard" incoming cid variable ....
Could you modify your sql to to add that, as you have some asterisk knowledge. I would be happy to integrated this to next release .
Serge
Sure I can try to do this
Carlos
Great. Attach it to a ticket as soon as you think it works. I will test it on my install first ...
Please add some Noop's for debugging ...