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

Main Menu

Question about Asterisk tickets

Started by maverick0815, December 07, 2012, 07:13:55 PM

Previous topic - Next topic

maverick0815

I tried it out, but for me its not working...I still get "unkown" as callerid :-(

cfernandes


darkwizard864

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

you have configured   Phone Lines | Incoming Call Settings  to ring extensions ?


cfernandes

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

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

#22
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?
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]


cfernandes

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

#25
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

cfernandes

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

#27
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)

cfernandes

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