Author Topic: Question about Asterisk tickets  (Read 26659 times)

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: Question about Asterisk tickets
« Reply #15 on: December 19, 2012, 05:24:44 pm »
I tried it out, but for me its not working...I still get "unkown" as callerid :-(

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: Question about Asterisk tickets
« Reply #16 on: December 19, 2012, 05:53:37 pm »
you can post  logs again

darkwizard864

  • Veteran
  • ***
  • Posts: 131
    • View Profile
Re: Question about Asterisk tickets
« Reply #17 on: December 19, 2012, 08:41:35 pm »
i have same problem but no incoming calls can be made. it says this error
[Dec 19 14:40:53] WARNING[11802]: pbx.c:5119 __ast_pbx_run: Channel 'SIP/14849921113-00000006' sent into invalid extension '101' in context 'custom-linuxmce', but no invalid handler

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: Question about Asterisk tickets
« Reply #18 on: December 20, 2012, 10:11:21 am »
you have configured   Phone Lines | Incoming Call Settings  to ring extensions ?

darkwizard864

  • Veteran
  • ***
  • Posts: 131
    • View Profile
Re: Question about Asterisk tickets
« Reply #19 on: December 20, 2012, 03:45:06 pm »
yeap

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: Question about Asterisk tickets
« Reply #20 on: December 20, 2012, 03:50:03 pm »
how your  lines is configured ?

and please post your log files

 how to collect the needed logs: launch asterisk -r from your core
type: core set debug 0
type: core set verbose 999999
type: sip set debug on

darkwizard864

  • Veteran
  • ***
  • Posts: 131
    • View Profile
Re: Question about Asterisk tickets
« Reply #21 on: December 20, 2012, 06:13:08 pm »
what part of log do you need?
i not gona post up my private number with log.
i am on mirc as koffel if you want talk to me on there.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Question about Asterisk tickets
« Reply #22 on: December 20, 2012, 06:37:46 pm »
why don't you just replace the number of yours with a nonsense number in the logs? Is that too much work for you? Or is the idea too brilliant?
« Last Edit: December 20, 2012, 06:41:26 pm by posde »

darkwizard864

  • Veteran
  • ***
  • Posts: 131
    • View Profile
Re: Question about Asterisk tickets
« Reply #23 on: December 20, 2012, 08:53:01 pm »
pastebin.com/euKYfCD3

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: Question about Asterisk tickets
« Reply #24 on: December 20, 2012, 11:18:46 pm »
thank you

one more think you can check on database asterisk  if you have record like this

               from-lmce-custom | 101                 |        1 | AGI       | lmce-phonebook-lookup.agi


use this query to check

select * from extensions where context like '%from-lmce-custom%' limit 15;






darkwizard864

  • Veteran
  • ***
  • Posts: 131
    • View Profile
Re: Question about Asterisk tickets
« Reply #25 on: December 20, 2012, 11:25:09 pm »
no 101
this is all it shows

      from-lmce-custom 301 1 AGI lmce-getusermode.agi
      from-lmce-custom 301 2 Goto from-lmce-custom,301-um${USERMODE}-pri${PRIORITYCA...
      from-lmce-custom 301 3 Hangup   
      from-lmce-custom 301-um1-pri0 1 Goto from-lmce-custom,301-um1-pri0-try1,1
      from-lmce-custom 301-um1-pri0-try1 1 Dial Local/201@trusted&Local/200@trusted,15
      from-lmce-custom 301-um1-pri0-try1 2 Goto from-lmce-custom,301-um1-pri0-try1-${DIALSTATUS},1
      from-lmce-custom 301-um1-pri0-try1 3 Hangup   
      from-lmce-custom 301-um1-pri0-try1-BUSY 1 Goto from-lmce-custom,301-um1-pri0-try2,1
      from-lmce-custom 301-um1-pri0-try1-CHANUNAVAIL 1 Goto from-lmce-custom,301-um1-pri0-try2,1
      from-lmce-custom 301-um1-pri0-try1-CONGESTION 1 Goto from-lmce-custom,301-um1-pri0-try2,1
      from-lmce-custom 301-um1-pri0-try1-NOANSWER 1 Goto from-lmce-custom,301-um1-pri0-try2,1
      from-lmce-custom 301-um1-pri0-try2 1 Macro vm,301,DIRECTDIAL
      from-lmce-custom 301-um1-pri0-try2 2 Hangup   
      from-lmce-custom 301-um2-pri0 1 Goto from-lmce-custom,301-um2-pri0-try1,1
  from-lmce-custom 301-um2-pri0-try1 1 Macro vm,301,DIRECTDIAL
« Last Edit: December 20, 2012, 11:27:10 pm by darkwizard864 »

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: Question about Asterisk tickets
« Reply #26 on: December 21, 2012, 10:36:35 am »
ok , 

your dialplan you can run   db_create_dialpaln.sh  to recreate the dialplan

and test   if not work 

post result off  query

use pluto_telecom;
 select ID,EK_HouseMode,Routing from Line_HouseMode order by ID,EK_HouseMode;





darkwizard864

  • Veteran
  • ***
  • Posts: 131
    • View Profile
Re: Question about Asterisk tickets
« Reply #27 on: December 21, 2012, 04:11:28 pm »
create dialplan did not fix it...
dcerouter_1029653:/usr/pluto/bin# ./db_create_dialplan.sh
ERROR 1062 (23000) at line 1: Duplicate entry 'from-lmce-custom-100-1' for key 'PRIMARY'
dcerouter_1029653:/usr/pluto/bin#

mysql> select ID,EK_HouseMode,Routing from Line_HouseMode order by ID,EK_HouseMode;
+------+--------------+--------------------+
| ID   | EK_HouseMode | Routing            |
+------+--------------+--------------------+
|    0 |            1 | ring,107,90,325    |
|    0 |            2 | ring,107,90,325    |
|    0 |            3 | ring,107,90,325    |
|    0 |            4 | voicemail,1        |
|    0 |            5 | prompt             |
|    0 |            6 | prompt             |
|    1 |            1 | ring,339,22        |
|    1 |            2 | ring,339,22        |
|    1 |            3 | ring,339,22        |
|    1 |            4 | ring,339,22        |
|    1 |            5 | ring,339,22        |
|    1 |            6 | ring,339,22        |
|    2 |            1 | ring,22,90,107     |
|    2 |            1 | ring,22,90,107     |
|    2 |            1 | ring,22,90,107     |
|    2 |            1 | ring,22,90,107     |
|    2 |            1 | ring,22,90,107     |
|    2 |            1 | ring,22,90,107     |
|    2 |            1 | ring,22,90,107     |
|    2 |            1 | ring,22,90,107     |
|    2 |            1 | ring,22,90,107     |
|    2 |            1 | ring,22,90,107,325 |
|    2 |            1 | ring,22,90,107,325 |
|    2 |            1 | ring,22,339        |
|    2 |            1 | ring,22,339        |
|    2 |            1 | ring,22,339        |
|    2 |            1 | ring,22,339        |
|    2 |            2 | prompt             |
|    2 |            2 | prompt             |
|    2 |            2 | prompt             |
|    2 |            2 | prompt             |
|    2 |            2 | prompt             |
|    2 |            2 | prompt             |
|    2 |            2 | prompt             |
|    2 |            2 | prompt             |
|    2 |            2 | prompt             |
|    2 |            2 | prompt             |
|    2 |            2 | prompt             |
|    2 |            2 | prompt             |
|    2 |            2 | prompt             |
|    2 |            2 | prompt             |
|    2 |            2 | prompt             |
|    2 |            3 | ring,22,90,107     |
|    2 |            3 | ring,22,90,107     |
|    2 |            3 | ring,22,90,107     |
|    2 |            3 | ring,22,90,107     |
|    2 |            3 | ring,22,90,107     |
|    2 |            3 | ring,22,90,107     |
|    2 |            3 | ring,22,90,107     |
|    2 |            3 | ring,22,90,107     |
|    2 |            3 | ring,22,90,107     |
|    2 |            3 | ring,22,90,107,325 |
|    2 |            3 | ring,22,90,107,325 |
|    2 |            3 | ring,22,339        |
|    2 |            3 | ring,22,339        |
|    2 |            3 | ring,22,339        |
|    2 |            3 | ring,22,339        |
|    2 |            4 | prompt             |
|    2 |            4 | prompt             |
|    2 |            4 | prompt             |
|    2 |            4 | prompt             |
|    2 |            4 | prompt             |
|    2 |            4 | prompt             |
|    2 |            4 | prompt             |
|    2 |            4 | prompt             |
|    2 |            4 | prompt             |
|    2 |            4 | prompt             |
|    2 |            4 | prompt             |
|    2 |            4 | prompt             |
|    2 |            4 | prompt             |
|    2 |            4 | prompt             |
|    2 |            4 | prompt             |
|    2 |            5 | ring,22,90,107     |
|    2 |            5 | ring,22,90,107     |
|    2 |            5 | ring,22,90,107     |
|    2 |            5 | ring,22,90,107     |
|    2 |            5 | ring,22,90,107     |
|    2 |            5 | ring,22,90,107     |
|    2 |            5 | ring,22,90,107     |
|    2 |            5 | ring,22,90,107     |
|    2 |            5 | ring,22,90,107     |
|    2 |            5 | ring,22,90,107,325 |
|    2 |            5 | ring,22,90,107,325 |
|    2 |            5 | ring,22,339        |
|    2 |            5 | ring,22,339        |
|    2 |            5 | ring,22,339        |
|    2 |            5 | ring,22,339        |
|    2 |            6 | prompt             |
|    2 |            6 | prompt             |
|    2 |            6 | prompt             |
|    2 |            6 | prompt             |
|    2 |            6 | prompt             |
|    2 |            6 | prompt             |
|    2 |            6 | prompt             |
|    2 |            6 | prompt             |
|    2 |            6 | prompt             |
|    2 |            6 | prompt             |
|    2 |            6 | prompt             |
|    2 |            6 | prompt             |
|    2 |            6 | prompt             |
|    2 |            6 | prompt             |
|    2 |            6 | prompt             |
|    3 |            1 | ring,22,90,107     |
|    3 |            1 | ring,22,90,107     |
|    3 |            2 | prompt             |
|    3 |            2 | prompt             |
|    3 |            3 | ring,22,90,107     |
|    3 |            3 | ring,22,90,107     |
|    3 |            4 | prompt             |
|    3 |            4 | prompt             |
|    3 |            5 | ring,22,90,107     |
|    3 |            5 | ring,22,90,107     |
|    3 |            6 | prompt             |
|    3 |            6 | prompt             |
+------+--------------+--------------------+
114 rows in set (0.00 sec)
« Last Edit: December 21, 2012, 04:29:15 pm by darkwizard864 »

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: Question about Asterisk tickets
« Reply #28 on: December 21, 2012, 04:29:13 pm »
i think that problem is this records

        1 ring,107,90,325
      0 2 ring,107,90,325
      0 3 ring,107,90,325
      0 4 voicemail,1
      0 5 prompt
      0 6 prompt

from all my instalations   id start with 1 and not 0

darkwizard864

  • Veteran
  • ***
  • Posts: 131
    • View Profile
Re: Question about Asterisk tickets
« Reply #29 on: December 21, 2012, 04:34:18 pm »
what 0?
only 1 user
it starts with 1