Re: [asterisk-users] Error messages with chan_dahdi

2010-12-06 Thread equis software
On Sat, Dec 4, 2010 at 2:11 PM, Shaun Ruffell sruff...@digium.com wrote:

 On 12/4/10 9:15 AM, equis software wrote:
  HI, I'm using asterisk-1.4.24, dahdi-linux-complete-2.4.0+2.4.0 and
  libpri-1.4.11.4
  When dial, when 492131 answer, in console appear some error messages
 
 
 
 -- AGI Script Executing Application: (DIAL) Options:
 (DAHDI/g1/492131|60)
   -- Requested transfer capability: 0x00 - SPEECH
   -- Called g1/492131
  [Dec  4 11:15:59] WARNING[7669]: chan_dahdi.c:1776 dahdi_enable_ec:
  Unable to enable echo cancellation on channel 2 (No such device)
   -- DAHDI/2-1 is ringing
  [Dec  4 11:16:02] WARNING[7669]: chan_dahdi.c:1776 dahdi_enable_ec:
  Unable to enable echo cancellation on channel 2 (No such device)

 These No such device errors when trying to enable the echocan are most
 likely the result of not having configured an echocan for the channel in
 /etc/dahdi/system.conf.

 See line 309 in

 http://svn.asterisk.org/view/dahdi/tools/trunk/system.conf.sample?view=markup


Yes, I wasn't cofigure the echocan, thanks!




   -- DAHDI/2-1 answered DAHDI/1-1
   -- Native bridging DAHDI/1-1 and DAHDI/2-1
  [Dec  4 11:16:02] ERROR[7669]: chan_dahdi.c:8735 dahdi_pri_error: ROSE
  REJECT:
  [Dec  4 11:16:02] ERROR[7669]: chan_dahdi.c:8735 dahdi_pri_error:
  INVOKE ID: 3
  [Dec  4 11:16:02] ERROR[7669]: chan_dahdi.c:8735 dahdi_pri_error:
  PROBLEM: Invoke: Unrecognized Operation
 
 

 These errors I don't know about off the top of my head (and they are
 probably the more critical ones for you I'm guessing).



Yes again, this is my real problem, despite the error messages,I can make
the call without problems, but I'm worried about it...



 --
 Shaun Ruffell
 Digium, Inc. | Linux Kernel Developer
 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
 Check us out at: www.digium.com  www.asterisk.org

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Error messages with chan_dahdi

2010-12-04 Thread Shaun Ruffell
On 12/4/10 9:15 AM, equis software wrote:
 HI, I'm using asterisk-1.4.24, dahdi-linux-complete-2.4.0+2.4.0 and
 libpri-1.4.11.4
 When dial, when 492131 answer, in console appear some error messages



-- AGI Script Executing Application: (DIAL) Options: (DAHDI/g1/492131|60)
  -- Requested transfer capability: 0x00 - SPEECH
  -- Called g1/492131
 [Dec  4 11:15:59] WARNING[7669]: chan_dahdi.c:1776 dahdi_enable_ec:
 Unable to enable echo cancellation on channel 2 (No such device)
  -- DAHDI/2-1 is ringing
 [Dec  4 11:16:02] WARNING[7669]: chan_dahdi.c:1776 dahdi_enable_ec:
 Unable to enable echo cancellation on channel 2 (No such device)

These No such device errors when trying to enable the echocan are most 
likely the result of not having configured an echocan for the channel in 
/etc/dahdi/system.conf.

See line 309 in 
http://svn.asterisk.org/view/dahdi/tools/trunk/system.conf.sample?view=markup

  -- DAHDI/2-1 answered DAHDI/1-1
  -- Native bridging DAHDI/1-1 and DAHDI/2-1
 [Dec  4 11:16:02] ERROR[7669]: chan_dahdi.c:8735 dahdi_pri_error: ROSE
 REJECT:
 [Dec  4 11:16:02] ERROR[7669]: chan_dahdi.c:8735 dahdi_pri_error:
 INVOKE ID: 3
 [Dec  4 11:16:02] ERROR[7669]: chan_dahdi.c:8735 dahdi_pri_error:
 PROBLEM: Invoke: Unrecognized Operation



These errors I don't know about off the top of my head (and they are 
probably the more critical ones for you I'm guessing).

-- 
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] error messages related to mysql in asterisk CLI

2007-09-23 Thread Andrea Spadaccini
Ciao Jody,

 hi there :)
 i get this error in the asterisk CLI:
 
 Sep 21 20:31:49 ERROR[3774]: cdr_addon_mysql.c:159 mysql_log: cdr_mysql:
 Unknown connection error:
 (2006) MySQL server has gone away
 
 when I run 'cdr mysql status' i get:
 Connected to [EMAIL PROTECTED], port 3306 using table cdr for 18 minutes, 24
 seconds. Wrote 8 records since last restart and 1 records since last
 reconnect.

This is not an error, and in fact should be printed as a WARNING instead of
being printed as an ERROR.

IIRC I even submitted a small patch to change this behaviour.. Should check its
status.

Don't worry, it's a normal message. :) It's only annoying.

Bye,

-- 
Dott. Andrea Spadaccini
Multimedia Technologies Institute s.r.l.

___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] error messages related to mysql in asterisk CLI

2007-09-22 Thread Jody Gugelhupf
hi there :)
i get this error in the asterisk CLI:

Sep 21 20:31:49 ERROR[3774]: cdr_addon_mysql.c:159 mysql_log: cdr_mysql:
Unknown connection error:
(2006) MySQL server has gone away

when I run 'cdr mysql status' i get:
Connected to [EMAIL PROTECTED], port 3306 using table cdr for 18 minutes, 24 
seconds.
  Wrote 8 records since last restart and 1 records since last reconnect.

I checked my /etc/asterisk/cdr_mysql.conf but don't know what is wrong, here is 
my
/etc/asterisk/cdr_mysql.conf:

[global]
hostname=localhost
dbname=voiceone
table=cdr
user=username
password=X
port=3306
sock=/var/run/mysqld/mysqld.sock
userfield=1

any ideas what i'm doing wrong?
thx jody :)




Sep 21 20:31:49 ERROR[3774]: cdr_addon_mysql.c:159 mysql_log: cdr_mysql:
Unknown connection error:
(2006) MySQL server has gone away

This part is more like  mistake in /etc/asterisk/cdr_mysql.conf . Check it
once and relaod asterisk , then you can type cdr mysql status in cli to
check if it connects to mysql properly .




Sep 21 20:31:49 ERROR[3774]: cdr_csv.c:237 csv_log: Unable to re-open master
file
/var/log/asterisk//cdr-csv//Master.csv : Permission denied

Permission error try chowning the directory to user  which asterisk runs on
OR chmod 777 /var/log/asterisk/* -R

Sep 21 20:31:49 ERROR[3774]: cdr_custom.c:127 custom_log: Unable to re-open
master file
/var/log/asterisk/cdr-custom/Master.csv : Permission denied

Same permission error .


On 22/09/2007, Jody Gugelhupf knueffle at yahoo.com wrote:

 hi ppl, i have a problem, i get these messages in the asterisk CLI:

 Sep 21 20:31:49 ERROR[3774]: cdr_addon_mysql.c:159 mysql_log: cdr_mysql:
 Unknown connection error:
 (2006) MySQL server has gone away

 Sep 21 20:31:49 ERROR[3774]: cdr_csv.c:237 csv_log: Unable to re-open
 master file
 /var/log/asterisk//cdr-csv//Master.csv : Permission denied

 Sep 21 20:31:49 ERROR[3774]: cdr_custom.c:127 custom_log: Unable to
 re-open master file
 /var/log/asterisk/cdr-custom/Master.csv : Permission denied

 how can i fix these errors?
 here some info about my system:

 debian etch 4.0
 kernel:
 2.6.18-4-686
 Asterisk 1.2.13
 VoiceOne version is v. 0.5.0 using plugin subsystem v. 0.4pre3
 mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using readline 5.2
 PHP 4.4.4-8+etch4 (cli) (built: Jun 30 2007 21:02:54)
 using grandstream(handytone) 486 as sip device, no other devices or PSTN
 connected, only using
 sip/voip providers
 behind router/NAT

 thx in advance :)
 jody :)


  Ask a question on any topic and get answers from real people. Go to 
Yahoo! Answers and share what you know at http://ca.answers.yahoo.com

___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] error messages related to mysql in asterisk CLI

2007-09-22 Thread Nicholas Blasgen
It would surprise me to see mySQL configured incorrectly, but it's always a
possibility.  Look at the mysql server var called 'wait_timeout'.
phpMyAdmin shows it under system vars.

http://blog.taragana.com/index.php/archive/mysql-tip-mysql-server-has-gone-away-or-lost-connection-to-server-during-query-fix/


On 9/22/07, Jody Gugelhupf [EMAIL PROTECTED] wrote:

 hi there :)
 i get this error in the asterisk CLI:

 Sep 21 20:31:49 ERROR[3774]: cdr_addon_mysql.c:159 mysql_log: cdr_mysql:
 Unknown connection error:
 (2006) MySQL server has gone away
___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Error messages in console : sipsock_read: SIP MESSAGE JUST IGNORED:

2007-05-03 Thread Don Fletcher
I have googled this, and have come up with blanks.  Someone told me it 
was a bug, and I read in one forum, that these errors were because of 
poorly configured .conf files, but, it gave no clue as to what are to 
look in.


Any help would be appreciated.

Thanks

Don Fletcher
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Error messages

2006-04-24 Thread Tomislav Parčina
Are there some instructions how to solve problems that produce some typical 
error messages in asterisk? For example, if I don't use iax, dundi or mysql 
logging, every time I start asterisk I'll get several error messages. How What 
can I do to disable loading those files?

Here re some error messages that I receive.

Apr 24 12:21:09 ERROR[2050] res_config_mysql.c: MySQL RealTime: Failed to 
connect database server  on . Check debug for more info.
Apr 24 12:21:09 WARNING[2050] res_config_mysql.c: MySQL RealTime: Couldn't 
establish connection. Check debug.
Apr 24 12:21:09 WARNING[2050] pbx_ael.c: Unable to open 
'/etc/asterisk/extensions.ael': No such file or directory
Apr 24 12:21:09 WARNING[2050] pbx.c: Requested contexts didn't get merged
Apr 24 12:21:10 ERROR[2050] pbx_dundi.c: Unable to load config dundi.conf
Apr 24 12:21:10 ERROR[2050] chan_iax2.c: Unable to load config iax.conf
Apr 24 12:21:12 WARNING[2050] cdr_custom.c: Failed to load configuration file. 
Module not activated.


--
Tomislav Parčina
Lama Computers Split
Stinice 12, 21000 Split
Tel.: +385(21)495148
SIP: [EMAIL PROTECTED]
e-mail: tparcina#lama.hr
http://www.lama.hr
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Error messages

2006-04-24 Thread yusuf

Tomislav Parčina wrote:

Are there some instructions how to solve problems that produce some typical 
error messages in asterisk? For example, if I don't use iax, dundi or mysql 
logging, every time I start asterisk I'll get several error messages. How What 
can I do to disable loading those files?

Here re some error messages that I receive.

Apr 24 12:21:09 ERROR[2050] res_config_mysql.c: MySQL RealTime: Failed to 
connect database server  on . Check debug for more info.
Apr 24 12:21:09 WARNING[2050] res_config_mysql.c: MySQL RealTime: Couldn't 
establish connection. Check debug.
Apr 24 12:21:09 WARNING[2050] pbx_ael.c: Unable to open 
'/etc/asterisk/extensions.ael': No such file or directory
Apr 24 12:21:09 WARNING[2050] pbx.c: Requested contexts didn't get merged
Apr 24 12:21:10 ERROR[2050] pbx_dundi.c: Unable to load config dundi.conf
Apr 24 12:21:10 ERROR[2050] chan_iax2.c: Unable to load config iax.conf
Apr 24 12:21:12 WARNING[2050] cdr_custom.c: Failed to load configuration file. 
Module not activated.


--

well, if you dont use/need a module, in modules.conf put noload = 
app_intercom.so (for example).

i think you can choose whether to automatically load all then specifically noload whichever you dont 
want with a noload =, or with autoload=no, specify which you want to load.



--
thanks,
yusuf
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] error messages on /var/log/asterisk/messages

2006-03-02 Thread Dov Bigio



Hi,

I am using 1.2.3, and sometimes I can see the 
following message:

Mar 2 08:42:42 WARNING[25937] ast_expr2.fl: 
ast_yyerror(): syntax error: syntax error, unexpected TOK_PLUS, expecting 
TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input:+ 
1^Mar 2 08:42:42 WARNING[25937] ast_expr2.fl: If you have 
questions, please refer to doc/README.variables in the asterisk 
source.

Any ideas?

Thank you
Dov
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] error messages on /var/log/asterisk/messages

2006-03-02 Thread Michiel van Baak
On 09:44, Thu 02 Mar 06, Dov Bigio wrote:
 Hi,
 
 I am using 1.2.3, and sometimes I can see the following message:
 
 Mar  2 08:42:42 WARNING[25937] ast_expr2.fl: ast_yyerror(): syntax error: 
 syntax error, unexpected TOK_PLUS, expecting TOK_MINUS or TOK_COMPL or TOK_LP 
 or TOKEN; Input:
  + 1
  ^
 Mar  2 08:42:42 WARNING[25937] ast_expr2.fl: If you have questions, please 
 refer to doc/README.variables in the asterisk source.

Hi,

I have those too sometimes, but because it's not giving any
indication of what went wrong they are pretty useless.
I know it means SOMETHING has gone wrong, and there's a bug
in my dialplan, but since everything works normally, you
get the point.
Would be great if it could be a bit more complete, like
printing the whole line that went wrong.

-- 
Michiel van Baak
http://michiel.vanbaak.info
[EMAIL PROTECTED]
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7E0B9A2D

Why is it drug addicts and computer afficionados are both called users?

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] error messages on /var/log/asterisk/messages

2006-03-02 Thread Doug Lytle

Michiel van Baak wrote:

On 09:44, Thu 02 Mar 06, Dov Bigio wrote

Mar  2 08:42:42 WARNING[25937] ast_expr2.fl: ast_yyerror(): syntax error: 
syntax error, unexpected TOK_PLUS, expecting TOK_MINUS or TOK_COMPL or TOK_LP 
or TOKEN; Input:
 + 1
 ^
Mar  2 08:42:42 WARNING[25937] ast_expr2.fl: If you have questions, please 
refer to doc/README.variables in the asterisk source.



  


From what has been discussed in the last month, it would indicates that 
it's a variable that hasn't been defined before doing a math function. 
(i.e. not setting a=0 before doing an a=a+1)


Doug

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] error messages on /var/log/asterisk/messages

2006-03-02 Thread Michiel van Baak
On 08:32, Thu 02 Mar 06, Doug Lytle wrote:
 From what has been discussed in the last month, it would indicates that 
 it's a variable that hasn't been defined before doing a math function. 
 (i.e. not setting a=0 before doing an a=a+1)

Hhmm, Only thing in my setup that looks like it can go wrong
is this:

[macro-safedial]
exten = s,1,Dial(${ARG1},${ARG2},${ARG3},${ARG4})
exten = s,2,Goto(s-${DIALSTATUS},1)
exten = s-CANCEL,1,Hangup()
exten = s-NOANSWER,1,GotoIf($[${DIALEDTIME} = 0]?3)
exten = s-NOANSWER,2,Hangup()
exten = s-NOANSWER,3,Verbose(1,Need failover for ${ARG1})

Looks like the Dial statement is not setting the $DIALEDTIME
in some cases.

Anyone ?
-- 
Michiel van Baak
http://michiel.vanbaak.info
[EMAIL PROTECTED]
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7E0B9A2D

Why is it drug addicts and computer afficionados are both called users?

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] error messages on /var/log/asterisk/messages

2006-03-02 Thread Ira

At 06:00 AM 03/02/2006, you wrote:

exten = s-NOANSWER,1,GotoIf($[${DIALEDTIME} = 0]?3)

Looks like the Dial statement is not setting the $DIALEDTIME
in some cases.


This is the general solution to that.

exten = s-NOANSWER,1,GotoIf($[${DIALEDTIME} = 0]?3)

Ira 



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 268.1.1/272 - Release Date: 03/01/2006


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] error messages

2005-08-28 Thread Chris Wilson

Hey,

does anyone know why i'd be receiving:

Aug 28 19:40:04 DEBUG[1875]: # Testing 66.27.233.241 with 10.0.10.0
Aug 28 19:40:04 DEBUG[1875]: Target address 66.27.233.241 is not local, 
substituting externip


I get tons of them, usually when the phone is registering/calling/receiving 
calls.


Thanks!

Chris 


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Error messages I don't understand.

2004-02-12 Thread John Fraizer
I've been seeing these error messages for a couple of days but, I can't 
figure out what is causing them.

Feb 12 18:22:42 WARNING[98311]: Got 200 OK on REGISTER that isn't a register
Feb 12 18:22:43 WARNING[98311]: Got 200 OK on REGISTER that isn't a register
Anyone know what I should look for?

John

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Error messages during Registeration on CVS Version CVS-01/08/04-14:20:34

2004-01-08 Thread tony banks
Hello 

I downloaded latest CVS version and got following error messages while registeration. 
( CVS Version Asterisk CVS-01/08/04-14:20:34)

As a result IP Phone don't register with the Asterisk. Is it broken ?
How can I go back to older CVS version ? Please recommend relatively stable version.


*CLI WARNING[1142106560]: File chan_sip.c, Line 428 (__sip_xmit): sip_xmit of 
0x80de5ac (len 461) to 129.82.44.222 returned
-1: Bad file descriptor
WARNING[1142106560]: File chan_sip.c, Line 428 (__sip_xmit): sip_xmit of 0x80e000c 
(len 461) to 129.82.44.226 returned -1: Bad file descriptor
WARNING[1142106560]: File chan_sip.c, Line 428 (__sip_xmit): sip_xmit of 0x80de5ac 
(len 461) to 129.82.44.222 returned -1: Bad file descriptor
WARNING[1142106560]: File chan_sip.c, Line 428 (__sip_xmit): sip_xmit of 0x80e000c 
(len 461) to 129.82.44.226 returned -1: Bad file descriptor
WARNING[1142106560]: File chan_sip.c, Line 428 (__sip_xmit): sip_xmit of 0x80de5ac 
(len 461) to 129.82.44.222 returned -1: Bad file descriptor
WARNING[1142106560]: File chan_sip.c, Line 428 (__sip_xmit): sip_xmit of 0x80e000c 
(len 461) to 129.82.44.226 returned -1: Bad file descriptor
WARNING[1142106560]: File chan_sip.c, Line 428 (__sip_xmit): sip_xmit of 0x80de5ac 
(len 461) to 129.82.44.222 returned -1: Bad file descriptor

Thanks
Tony