LinuxMCE Forums
May 23, 2013, 08:39:51 am 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 1434 times)
Foxi352
Veteran
***
Posts: 51


View Profile
« Reply #15 on: June 03, 2012, 12:05:41 pm »

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.

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
Foxi352
Veteran
***
Posts: 51


View Profile
« Reply #16 on: June 03, 2012, 01:15:00 pm »

Should be fixed with next release.

Please read comments in tickets for info's

Serge
Logged
cfernandes
Guru
****
Posts: 267



View Profile WWW
« Reply #17 on: June 03, 2012, 02:05:51 pm »

For my ata  a need to configure dialplan  to use p-asserted-identity  from ata .
Logged
Foxi352
Veteran
***
Posts: 51


View Profile
« Reply #18 on: June 03, 2012, 02:10:00 pm »

You have working code for this ?
Logged
cfernandes
Guru
****
Posts: 267



View Profile WWW
« Reply #19 on: June 03, 2012, 02:15:24 pm »

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
Logged
Foxi352
Veteran
***
Posts: 51


View Profile
« Reply #20 on: June 03, 2012, 02:19:08 pm »

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



View Profile WWW
« Reply #21 on: June 03, 2012, 02:21:49 pm »

Sure I can try to do this

Carlos
Logged
Foxi352
Veteran
***
Posts: 51


View Profile
« Reply #22 on: June 03, 2012, 02:23:26 pm »

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

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!