Re: [asterisk-users] LoadAvg , Codec and Bandwidth Utilisation
On Sat, 2 May 2009, Jim Dickenson wrote: http://www.ex-parrot.com/~pdw/iftop/ You can use http://www.rpmfind.net/ to find where stuff you are looking for can be found. Or apt-get install iftop on sensible distributions ;-) Gordon -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ From: Dave Walker d...@damcconsulting.com Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Date: Sat, 02 May 2009 20:39:10 -0700 To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Subject: Re: [asterisk-users] LoadAvg , Codec and Bandwidth Utilisation [r...@vicidialnow ~]# iftop interface: eth0 IP address is: 192.168.0.100 1.91Mb 3.81Mb 5.72Mb 7.63Mb9.54Mb ¨¦¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨ª¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨ª¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨ª¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨ª ¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡¨¡ What package did you get this utility from? I want to try it out.. ___ -- 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 ___ -- 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] [UK SPECIFIC] DAHDI and a OpenVox Card
- Gordon Henderson gordon+aster...@drogon.net wrote: On Fri, 1 May 2009, --[ UxBoD ]-- wrote: Okay, getting somewhere now ! I am now getting the following :- == Starting post polarity CID detection on channel 1 -- Starting simple switch on 'DAHDI/1-1' [May 1 12:03:10] NOTICE[4360]: chan_dahdi.c:7669 ss_thread: MWI: Channel 1 message waiting! -- Executing [...@inbound-dahdi:1] Answer(DAHDI/1-1, ) in new stack -- Executing [...@inbound-dahdi:2] Ringing(DAHDI/1-1, ) in new stack -- Executing [...@inbound-dahdi:3] Wait(DAHDI/1-1, 1) in new stack -- Executing [...@inbound-dahdi:4] Playback(DAHDI/1-1, home-message) in new stack -- DAHDI/1-1 Playing 'home-message.gsm' (language 'en') -- Executing [...@inbound-dahdi:5] Hangup(DAHDI/1-1, ) in new stack == Spawn extension (inbound-dahdi, s, 5) exited non-zero on 'DAHDI/1-1' -- Hungup 'DAHDI/1-1' The problem is that I never actually here the message playback. On the dialling phone I just hear it keep ringing. My test dialplan is as follows :- [inbound-dahdi] exten = s,1,Answer() exten = s,n,Ringing() exten = s,n,Wait(1) exten = s,n,Playback(home-message) exten = s,n,Hangup() I put that in mine and get: == Starting post polarity CID detection on channel 4 -- Starting simple switch on 'Zap/4-1' -- Executing Answer(Zap/4-1, ) in new stack -- Executing Ringing(Zap/4-1, ) in new stack -- Executing Wait(Zap/4-1, 1) in new stack -- Executing Playback(Zap/4-1, tt-ferrets) in new stack -- Playing 'tt-ferrets' (language 'en') -- Executing Hangup(Zap/4-1, ) in new stack == Spawn extension (incoming-zap-ddi, s, 5) exited non-zero on 'Zap/4-1' -- Hungup 'Zap/4-1' Personally I'd not put in the Ringing(), but it's doing no harm here... Looks like it's almost there - barring bugs in the dahdi code, but there must be 1000's of people out there using it with TDM400 cards or clones... The differences between UK and US lines are minimal give or take a line reversal, but who knows... Gordon ___ Yes, I agree with you Gordon, I really do think it is a bug in the DADHI code as it never plays back the message at all. I even tried removing the Ringing code and that makes no difference at all. With such a simple dialplan and configuration I can only think it is how BT signals the line. Though the fact that the dialplan does get executed suggests that it has noticed the inbound call; it just does not pick up the line :( Best Regards, -- SplatNIX IT Services :: Innovation through collaboration ___ -- 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] Can someone help me with my IAX-registration
- jonas kellens jonas.kell...@telenet.be wrote: I have connected my Asterisk-box directly to my internetconnection. I have disabled my firewall. Still I am unable to register with my IAX-provider. Can someone please point me out why I am unable to register my Asterisk to another Asterisk-box ? A RegReq is send to the other Asterisk-box but no reply is received... No confirm, no reject... I have tried yet several configuration in my iax.conf file. There is also always the ignoring bindaddr and ignoring bindport... which doesn't sound right. What I know from books is that when you want to connect your Asterisk to another Asterisk-box you need to describe this other Asterisk-box as a peer. So my iax.conf : [general] autokill=yes bindport=4569 bindaddr=78.22.166.226 ; the IP-address I get from my ISP register = cstore:my-passw...@ip-of-other-iax-box [cstore] type=user trunk=yes context=from-other-iax-box disallow=all allow=ulaw allow=alaw allow=gsm [attractel] ; name I use in extensions.conf to contact other iax-box type=peer host=ip-address username=cstore ; username @ remote asterisk secret=my-password ; pass @ remote Asterisk auth=plaintext,md5 trunk=yes disallow=all allow=ulaw allow=alaw allow=gsm IAX reload : asterisk*CLI iax2 reload == Parsing '/etc/asterisk/iax.conf': Found [May 2 10:34:23] NOTICE[4626]: chan_iax2.c:10124 set_config: Ignoring bindport on reload [May 2 10:34:23] NOTICE[4626]: chan_iax2.c:10183 set_config: Ignoring bindaddr on reload doing dnsmgr_lookup for '62.213.196.38' == Parsing '/etc/asterisk/users.conf': Found doing dnsmgr_lookup for '62.213.196.38' == Loaded firmware 'iaxy.bin' == Parsing '/etc/asterisk/iaxprov.conf': Found -- Loaded provisioning template 'default' Is ignoring bindaddr and bindport normal ? IAX debug : Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00019ms SCall: 13117 DCall: 0 [62.213.196.38:4569] USERNAME : cstore REFRESH : 60 Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00019ms SCall: 13117 DCall: 0 [62.213.196.38:4569] USERNAME : cstore REFRESH : 60 Tx-Frame Retry[002] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00019ms SCall: 13117 DCall: 0 [62.213.196.38:4569] USERNAME : cstore REFRESH : 60 IAX status : asterisk*CLI iax2 show registry Host dnsmgr Username Perceived Refresh State 62.213.196.38:4569 N cstore Unregistered 60 Request Sent Host dnsmgr Username Perceived Refresh State 62.213.196.38:4569 N cstore Unregistered 60 Timeout Thanks for the help, Jonas. ___ -- 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 Can you telnet to the remote Asterisk host on port 4569 ??? Best Regards, -- SplatNIX IT Services :: Innovation through collaboration ___ -- 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] Sangoma Wanpipe Driver Compile for DAHDI Failure
Atlanticnynex wrote: 3.4.1 was the first I tried. Gives me the same error. Then I'd suggest that you file a bug report with Sangoma. Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ -- 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] Asterisk not starting up due to database problems
When I try and start asterisk I get the following, however I have commented out the data the connections in res_mysql.conf and res_pgsql.conf. I am not sure therefore why I am getting these errors. Do I have to change something else to turn this off? Thanks Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer marks...@digium.com Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. = This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk = [ Booting... [ Reading Master Configuration ] [ Initializing Custom Configuration Options ] [May 3 13:29:14] NOTICE[7477]: cdr.c:1373 do_reload: CDR simple logging enabled. [May 3 13:29:14] NOTICE[7477]: loader.c:859 load_modules: 175 modules will be loaded. ..[May 3 13:29:14] NOTICE[7477]: res_odbc.c:235 load_odbc_config: Adding ENV var: INFORMIXSERVER=my_special_database [May 3 13:29:14] NOTICE[7477]: res_odbc.c:235 load_odbc_config: Adding ENV var: INFORMIXDIR=/opt/informix [May 3 13:29:14] NOTICE[7477]: res_odbc.c:530 odbc_obj_connect: Connecting asterisk [May 3 13:29:14] WARNING[7477]: res_odbc.c:541 odbc_obj_connect: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data source name not found, and no default driver specified [May 3 13:29:14] WARNING[7477]: res_odbc.c:463 ast_odbc_request_obj: Failed to connect to asterisk [May 3 13:29:14] NOTICE[7477]: res_odbc.c:316 load_odbc_config: Registered ODBC class 'asterisk' dsn-[asterisk] [May 3 13:29:14] NOTICE[7477]: res_odbc.c:716 load_module: res_odbc loaded. .[May 3 13:29:14] WARNING[7477]: res_smdi.c:1335 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener. .[May 3 13:29:14] NOTICE[7477]: config.c:1274 ast_config_engine_register: Registered Config Engine odbc . Loading [Sub]Agent Module .[May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:683 parse_config: Postgresql RealTime: No database user found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:691 parse_config: Postgresql RealTime: No database password found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:699 parse_config: Postgresql RealTime: No database host found, using localhost via socket. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:707 parse_config: Postgresql RealTime: No database name found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:715 parse_config: Postgresql RealTime: No database port found, using 5432 as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:725 parse_config: Postgresql RealTime: No database socket found, using '/tmp/pgsql.sock' as default. [May 3 13:29:14] ERROR[7477]: res_config_pgsql.c:782 pgsql_reconnect: Postgresql RealTime: Failed to connect database server asterisk on . Check debug for more info. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:605 load_module: Postgresql RealTime: Couldn't establish connection. Check debug. [May 3 13:29:14] NOTICE[7477]: config.c:1274 ast_config_engine_register: Registered Config Engine pgsql ..[May 3 13:29:14] WARNING[7477]: res_config_mysql.c:542 parse_config: MySQL RealTime: No database user found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:549 parse_config: MySQL RealTime: No database password found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:556 parse_config: MySQL RealTime: No database host found, using localhost via socket. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:563 parse_config: MySQL RealTime: No database name found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:570 parse_config: MySQL RealTime: No database port found, using 3306 as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:577 parse_config: MySQL RealTime: No database socket found, using '/tmp/mysql.sock' as default. [May 3 13:29:14] ERROR[7477]: res_config_mysql.c:629 mysql_reconnect: MySQL RealTime: Failed to connect database server asterisk on (err 2002). Check debug for more info. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:476 load_module: MySQL RealTime: Couldn't establish connection. Check debug. [May 3 13:29:14] NOTICE[7477]: config.c:1274 ast_config_engine_register: Registered Config Engine mysql ..[May 3 13:29:14] NOTICE[7477]: pbx_ael.c:4131 pbx_load_module: Starting AEL load process. [May 3 13:29:14] NOTICE[7477]: pbx_ael.c:4138
[asterisk-users] System noise reduction
Hi team, I noted there has a little system noise while I dial into system. I do believe it is generated in system as I would heard those noise even I was in CDR. would anbody guide me where is the noise system generated? It is second time I meet this issue, last time was fixed by change from alaw to ulaw. But no luck is time... Regards, Sunny ___ -- 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] Asterisk not starting up due to database problems
On Sun, May 03, 2009 at 01:30:49PM +0100, Charlie Grosvenor wrote: When I try and start asterisk I get the following, however I have commented out the data the connections in res_mysql.conf and res_pgsql.conf. I am not sure therefore why I am getting these errors. Do I have to change something else to turn this off? What are you trying to do? What fails? What are the relevant parts of the configuration files? Thanks Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer marks...@digium.com Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. = This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk = [ Booting... [ Reading Master Configuration ] [ Initializing Custom Configuration Options ] [May 3 13:29:14] NOTICE[7477]: cdr.c:1373 do_reload: CDR simple logging enabled. [May 3 13:29:14] NOTICE[7477]: loader.c:859 load_modules: 175 modules will be loaded. ..[May 3 13:29:14] NOTICE[7477]: res_odbc.c:235 load_odbc_config: Adding ENV var: INFORMIXSERVER=my_special_database [May 3 13:29:14] NOTICE[7477]: res_odbc.c:235 load_odbc_config: Adding ENV var: INFORMIXDIR=/opt/informix [May 3 13:29:14] NOTICE[7477]: res_odbc.c:530 odbc_obj_connect: Connecting asterisk [May 3 13:29:14] WARNING[7477]: res_odbc.c:541 odbc_obj_connect: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data source name not found, and no default driver specified [May 3 13:29:14] WARNING[7477]: res_odbc.c:463 ast_odbc_request_obj: Failed to connect to asterisk [May 3 13:29:14] NOTICE[7477]: res_odbc.c:316 load_odbc_config: Registered ODBC class 'asterisk' dsn-[asterisk] [May 3 13:29:14] NOTICE[7477]: res_odbc.c:716 load_module: res_odbc loaded. .[May 3 13:29:14] WARNING[7477]: res_smdi.c:1335 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener. .[May 3 13:29:14] NOTICE[7477]: config.c:1274 ast_config_engine_register: Registered Config Engine odbc . Loading [Sub]Agent Module .[May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:683 parse_config: Postgresql RealTime: No database user found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:691 parse_config: Postgresql RealTime: No database password found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:699 parse_config: Postgresql RealTime: No database host found, using localhost via socket. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:707 parse_config: Postgresql RealTime: No database name found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:715 parse_config: Postgresql RealTime: No database port found, using 5432 as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:725 parse_config: Postgresql RealTime: No database socket found, using '/tmp/pgsql.sock' as default. [May 3 13:29:14] ERROR[7477]: res_config_pgsql.c:782 pgsql_reconnect: Postgresql RealTime: Failed to connect database server asterisk on . Check debug for more info. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:605 load_module: Postgresql RealTime: Couldn't establish connection. Check debug. [May 3 13:29:14] NOTICE[7477]: config.c:1274 ast_config_engine_register: Registered Config Engine pgsql ..[May 3 13:29:14] WARNING[7477]: res_config_mysql.c:542 parse_config: MySQL RealTime: No database user found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:549 parse_config: MySQL RealTime: No database password found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:556 parse_config: MySQL RealTime: No database host found, using localhost via socket. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:563 parse_config: MySQL RealTime: No database name found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:570 parse_config: MySQL RealTime: No database port found, using 3306 as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:577 parse_config: MySQL RealTime: No database socket found, using '/tmp/mysql.sock' as default. [May 3 13:29:14] ERROR[7477]: res_config_mysql.c:629 mysql_reconnect: MySQL RealTime: Failed to connect database server asterisk on (err 2002). Check debug for more info. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:476 load_module: MySQL RealTime: Couldn't establish connection. Check debug.
Re: [asterisk-users] System noise reduction
On Sun, 3 May 2009, Sunny Du wrote: Hi team, I noted there has a little system noise while I dial into system. I do believe it is generated in system as I would heard those noise even I was in CDR. would anbody guide me where is the noise system generated? It is second time I meet this issue, last time was fixed by change from alaw to ulaw. But no luck is time... comfort noise ? Maybe your phone/handset is generating it. Gordon ___ -- 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] Sangoma Wanpipe Driver Compile for DAHDI Failure
On Sun, May 3, 2009 at 6:08 AM, Doug Lytle supp...@drdos.info wrote: Atlanticnynex wrote: 3.4.1 was the first I tried. Gives me the same error. Then I'd suggest that you file a bug report with Sangoma. Doug This is probably a compilation error due to changes in DAHDI headers, since DAHDI 2.2 is still a release candidate and NOT a final release, the Wanpipe drivers were not tested with it. Why don't you just use the latest DAHDI release (and not the release candidate)? -- Moises Silva Software Developer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. m...@sangoma.com ___ -- 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] Asterisk not starting up due to database problems
I am just trying to start asterisk from the console by typing: asterisk -c What part of the config do you require me to post? I am not wanting to store any of the config in a database and have the connections commented out. Thanks -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tzafrir Cohen Sent: 03 May 2009 14:11 To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Asterisk not starting up due to database problems On Sun, May 03, 2009 at 01:30:49PM +0100, Charlie Grosvenor wrote: When I try and start asterisk I get the following, however I have commented out the data the connections in res_mysql.conf and res_pgsql.conf. I am not sure therefore why I am getting these errors. Do I have to change something else to turn this off? What are you trying to do? What fails? What are the relevant parts of the configuration files? Thanks Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer marks...@digium.com Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. = This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk = [ Booting... [ Reading Master Configuration ] [ Initializing Custom Configuration Options ] [May 3 13:29:14] NOTICE[7477]: cdr.c:1373 do_reload: CDR simple logging enabled. [May 3 13:29:14] NOTICE[7477]: loader.c:859 load_modules: 175 modules will be loaded. ..[May 3 13:29:14] NOTICE[7477]: res_odbc.c:235 load_odbc_config: Adding ENV var: INFORMIXSERVER=my_special_database [May 3 13:29:14] NOTICE[7477]: res_odbc.c:235 load_odbc_config: Adding ENV var: INFORMIXDIR=/opt/informix [May 3 13:29:14] NOTICE[7477]: res_odbc.c:530 odbc_obj_connect: Connecting asterisk [May 3 13:29:14] WARNING[7477]: res_odbc.c:541 odbc_obj_connect: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data source name not found, and no default driver specified [May 3 13:29:14] WARNING[7477]: res_odbc.c:463 ast_odbc_request_obj: Failed to connect to asterisk [May 3 13:29:14] NOTICE[7477]: res_odbc.c:316 load_odbc_config: Registered ODBC class 'asterisk' dsn-[asterisk] [May 3 13:29:14] NOTICE[7477]: res_odbc.c:716 load_module: res_odbc loaded. .[May 3 13:29:14] WARNING[7477]: res_smdi.c:1335 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener. .[May 3 13:29:14] NOTICE[7477]: config.c:1274 ast_config_engine_register: Registered Config Engine odbc . Loading [Sub]Agent Module .[May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:683 parse_config: Postgresql RealTime: No database user found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:691 parse_config: Postgresql RealTime: No database password found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:699 parse_config: Postgresql RealTime: No database host found, using localhost via socket. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:707 parse_config: Postgresql RealTime: No database name found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:715 parse_config: Postgresql RealTime: No database port found, using 5432 as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:725 parse_config: Postgresql RealTime: No database socket found, using '/tmp/pgsql.sock' as default. [May 3 13:29:14] ERROR[7477]: res_config_pgsql.c:782 pgsql_reconnect: Postgresql RealTime: Failed to connect database server asterisk on . Check debug for more info. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:605 load_module: Postgresql RealTime: Couldn't establish connection. Check debug. [May 3 13:29:14] NOTICE[7477]: config.c:1274 ast_config_engine_register: Registered Config Engine pgsql ..[May 3 13:29:14] WARNING[7477]: res_config_mysql.c:542 parse_config: MySQL RealTime: No database user found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:549 parse_config: MySQL RealTime: No database password found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:556 parse_config: MySQL RealTime: No database host found, using localhost via socket. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:563 parse_config: MySQL RealTime: No database name found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:570 parse_config:
Re: [asterisk-users] Asterisk not starting up due to database problems
Then don't load the modules.. On 3 May 2009, at 16:03, Charlie Grosvenor wrote: I am just trying to start asterisk from the console by typing: asterisk -c What part of the config do you require me to post? I am not wanting to store any of the config in a database and have the connections commented out. Thanks -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com ] On Behalf Of Tzafrir Cohen Sent: 03 May 2009 14:11 To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Asterisk not starting up due to database problems On Sun, May 03, 2009 at 01:30:49PM +0100, Charlie Grosvenor wrote: When I try and start asterisk I get the following, however I have commented out the data the connections in res_mysql.conf and res_pgsql.conf. I am not sure therefore why I am getting these errors. Do I have to change something else to turn this off? What are you trying to do? What fails? What are the relevant parts of the configuration files? Thanks Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer marks...@digium.com Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. = = = = = This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk = = = = = [ Booting... [ Reading Master Configuration ] [ Initializing Custom Configuration Options ] [May 3 13:29:14] NOTICE[7477]: cdr.c:1373 do_reload: CDR simple logging enabled. [May 3 13:29:14] NOTICE[7477]: loader.c:859 load_modules: 175 modules will be loaded. ..[May 3 13:29:14] NOTICE[7477]: res_odbc.c:235 load_odbc_config: Adding ENV var: INFORMIXSERVER=my_special_database [May 3 13:29:14] NOTICE[7477]: res_odbc.c:235 load_odbc_config: Adding ENV var: INFORMIXDIR=/opt/informix [May 3 13:29:14] NOTICE[7477]: res_odbc.c:530 odbc_obj_connect: Connecting asterisk [May 3 13:29:14] WARNING[7477]: res_odbc.c:541 odbc_obj_connect: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data source name not found, and no default driver specified [May 3 13:29:14] WARNING[7477]: res_odbc.c:463 ast_odbc_request_obj: Failed to connect to asterisk [May 3 13:29:14] NOTICE[7477]: res_odbc.c:316 load_odbc_config: Registered ODBC class 'asterisk' dsn-[asterisk] [May 3 13:29:14] NOTICE[7477]: res_odbc.c:716 load_module: res_odbc loaded. .[May 3 13:29:14] WARNING[7477]: res_smdi.c:1335 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener. .[May 3 13:29:14] NOTICE[7477]: config.c:1274 ast_config_engine_register: Registered Config Engine odbc . Loading [Sub]Agent Module .[May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:683 parse_config: Postgresql RealTime: No database user found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:691 parse_config: Postgresql RealTime: No database password found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:699 parse_config: Postgresql RealTime: No database host found, using localhost via socket. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:707 parse_config: Postgresql RealTime: No database name found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:715 parse_config: Postgresql RealTime: No database port found, using 5432 as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:725 parse_config: Postgresql RealTime: No database socket found, using '/tmp/pgsql.sock' as default. [May 3 13:29:14] ERROR[7477]: res_config_pgsql.c:782 pgsql_reconnect: Postgresql RealTime: Failed to connect database server asterisk on . Check debug for more info. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:605 load_module: Postgresql RealTime: Couldn't establish connection. Check debug. [May 3 13:29:14] NOTICE[7477]: config.c:1274 ast_config_engine_register: Registered Config Engine pgsql ..[May 3 13:29:14] WARNING[7477]: res_config_mysql.c:542 parse_config: MySQL RealTime: No database user found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:549 parse_config: MySQL RealTime: No database password found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:556 parse_config: MySQL RealTime: No database host found, using localhost via socket. [May 3
Re: [asterisk-users] Can someone help me with my IAX-registration
On Sun, 3 May 2009, --[ UxBoD ]-- wrote: - jonas kellens jonas.kell...@telenet.be wrote: I have connected my Asterisk-box directly to my internetconnection. I have disabled my firewall. Still I am unable to register with my IAX-provider. Can someone please point me out why I am unable to register my Asterisk to another Asterisk-box ? A RegReq is send to the other Asterisk-box but no reply is received... No confirm, no reject... Can you telnet to the remote Asterisk host on port 4569 ??? IAX is UDP. Telnet is TCP. This is wrong. You can use Netcat (nc) to set up a UDP listener on one host and use nc on the other host to connect to the first host. See the man page for nc. Thanks in advance, Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 ___ -- 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] asterisk-users Digest, Vol 58, Issue 5
Asterisk ODBC prereq libtool-ltdl libtool-ltdl-devel ___ -- 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] Sangoma Wanpipe Driver Compile for DAHDI Failure
Okay. I've downloaded the lastest release of DAHDI and now I get this error: # Sangoma Wanpipe # #Dahdi/Zaptel/SMG/TDMAPI/BOOT Configuration Script # # v2.32# # Sangoma Technologies Inc.# #Copyright(c) 2009.# FATAL: Error inserting wanpipe (/lib/modules/2.6.26-2-amd64/kernel/drivers/net/wan/wanpipe.ko): Unknown symbol in module, or unknown parameter (see dmesg) Would you like to generate /etc/asterisk/chan_dahdi.conf ... followed by. # SUMMARY # ### No Sangoma voice compatible cards found/configured - dmesg output: [14177.069421] dahdi: Telephony Interface Registered on major 196 [14177.069426] dahdi: Version: 2.2.0-rc2 [14177.088282] dahdi_dummy: Trying to load High Resolution Timer [14177.088282] dahdi_dummy: Initialized High Resolution Timer [14177.088282] dahdi_dummy: Starting High Resolution Timer [14177.088282] dahdi_dummy: High Resolution Timer started, good to go [14177.088754] dahdi: Registered tone zone 0 (United States / North America) [25488.043502] Sangoma WANPIPE Router v1.1 (c) 1995-2000 Sangoma Technologies Inc. [25755.341101] Sangoma WANPIPE Router v1.1 (c) 1995-2000 Sangoma Technologies Inc. [99801.258792] process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.default.retrans_time; Use net.ipv6.neigh.default.retrans_time_ms instead. [99801.444158] WANPIPE(tm) Hardware Support Module Beta 3.4.1.0 (c) 1994-2009 Sangoma Technologies Inc [99801.448162] WANPIPE(tm) Interface Support Module Beta 3.4.1.0 (c) 1994-2009 Sangoma Technologies Inc [99801.448699] wanpipe: disagrees about version of symbol dahdi_alarm_notify [99801.448709] wanpipe: Unknown symbol dahdi_alarm_notify [99801.448749] wanpipe: disagrees about version of symbol dahdi_hdlc_getbuf [99801.448751] wanpipe: Unknown symbol dahdi_hdlc_getbuf [99801.448918] wanpipe: disagrees about version of symbol dahdi_transmit [99801.448922] wanpipe: Unknown symbol dahdi_transmit [99801.448977] wanpipe: disagrees about version of symbol dahdi_register [99801.448979] wanpipe: Unknown symbol dahdi_register [99801.449077] wanpipe: disagrees about version of symbol dahdi_qevent_lock [99801.449080] wanpipe: Unknown symbol dahdi_qevent_lock [99801.449108] wanpipe: disagrees about version of symbol dahdi_hooksig [99801.449109] wanpipe: Unknown symbol dahdi_hooksig [99801.449194] wanpipe: disagrees about version of symbol dahdi_receive [99801.449196] wanpipe: Unknown symbol dahdi_receive [99801.449222] wanpipe: disagrees about version of symbol dahdi_ec_span [99801.449225] wanpipe: Unknown symbol dahdi_ec_span [99801.449260] wanpipe: disagrees about version of symbol dahdi_unregister [99801.449262] wanpipe: Unknown symbol dahdi_unregister [99801.450441] wanpipe: disagrees about version of symbol dahdi_ec_chunk [99801.450443] wanpipe: Unknown symbol dahdi_ec_chunk [99801.451499] wanpipe: disagrees about version of symbol dahdi_rbsbits [99801.451501] wanpipe: Unknown symbol dahdi_rbsbits [100640.420173] WANPIPE(tm) Hardware Support Module Beta 3.4.1.0 (c) 1994-2009 Sangoma Technologies Inc [100640.424176] WANPIPE(tm) Interface Support Module Beta 3.4.1.0 (c) 1994-2009 Sangoma Technologies Inc [100640.424176] wanpipe: disagrees about version of symbol dahdi_alarm_notify [100640.424176] wanpipe: Unknown symbol dahdi_alarm_notify [100640.424176] wanpipe: disagrees about version of symbol dahdi_hdlc_getbuf [100640.424176] wanpipe: Unknown symbol dahdi_hdlc_getbuf [100640.424176] wanpipe: disagrees about version of symbol dahdi_transmit [100640.424176] wanpipe: Unknown symbol dahdi_transmit [100640.424176] wanpipe: disagrees about version of symbol dahdi_register [100640.424176] wanpipe: Unknown symbol dahdi_register [100640.424176] wanpipe: disagrees about version of symbol dahdi_qevent_lock [100640.424176] wanpipe: Unknown symbol dahdi_qevent_lock [100640.424176] wanpipe: disagrees about version of symbol dahdi_hooksig [100640.424176] wanpipe: Unknown symbol dahdi_hooksig [100640.424176] wanpipe: disagrees about version of symbol dahdi_receive [100640.424176] wanpipe: Unknown symbol dahdi_receive [100640.424176] wanpipe: disagrees about version of symbol dahdi_ec_span [100640.424176] wanpipe: Unknown symbol dahdi_ec_span [100640.424176] wanpipe: disagrees about version of symbol dahdi_unregister [100640.424176] wanpipe: Unknown symbol dahdi_unregister [100640.424176] wanpipe: disagrees about version of symbol dahdi_ec_chunk [100640.424176] wanpipe: Unknown symbol dahdi_ec_chunk [100640.424176] wanpipe: disagrees
Re: [asterisk-users] LoadAvg , Codec and Bandwidth Utilisation
Hii, Looking at this, your problem appears to be that you are diskbound. Note the 60% wait time. Use hdparm -t to find out the throughput of each of your disks. If its not 20MB/sec or more then you need to look into the drivers you are using for your disk. If you do have good disk throughput and still stuck with high wait time then you need to look into why you have so much disk IO going on. By the way - there's no big problem with an Asterisk box with a load average of 4. I've seen 10 or so without audible issues. Obviously depends on available CPUs and what exactly is happening on the box. Steve 2009/5/1 David @ULC ucoms2...@gmail.com [root]# top top - 20:19:40 up 53 min, 1 user, load average: 9.54, 7.85, 6.44 Tasks: 224 total, 1 running, 223 sleeping, 0 stopped, 0 zombie Cpu(s): 7.5%us, 3.8%sy, 0.0%ni, 28.6%id, 59.1%wa, 0.2%hi, 0.8%si, 0.0%st PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 2835 root 15 0 41252 14m 4932 S5 0.4 1:08.82 asterisk 2456 mysql 15 0 154m 28m 4480 S2 0.8 0:42.05 mysqld 2995 root 16 0 12380 7220 2740 S1 0.2 0:21.56 AST_update.pl 10700 root 15 0 2304 1088 788 R1 0.0 0:00.03 top 413 root 10 -5 000 D0 0.0 0:02.54 kjournald 428 apache15 0 58168 6460 2952 S0 0.2 0:00.10 httpd 3004 root 15 0 11096 5804 2640 S0 0.2 0:03.12 AST_VDauto_dial 6725 root 15 0 12644 7400 2600 S0 0.2 0:00.90 AST_CRON_audio_ 10428 root 18 0 21536 15m 2600 S0 0.4 0:00.28 AST_CRON_audio_ 13471 apache15 0 58168 6780 3260 S0 0.2 0:00.50 httpd 17253 root 15 0 13248 6696 1456 S0 0.2 0:00.30 FastAGI_log.pl 29074 apache15 0 58168 6692 3172 S0 0.2 0:00.38 httpd 30454 root 16 0 21536 15m 2596 S0 0.4 0:00.65 AST_CRON_audio_ 1 root 15 0 2044 664 572 S0 0.0 0:00.58 init 2 root RT 0 000 S0 0.0 0:00.02 migration/0 3 root 34 19 000 S0 0.0 0:00.00 ksoftirqd/0 4 root RT 0 000 S0 0.0 0:00.00 watchdog/0 5 root RT 0 000 S0 0.0 0:00.01 migration/1 6 root 34 19 000 S0 0.0 0:00.00 ksoftirqd/1 ___ -- 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 ___ -- 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] LoadAvg , Codec and Bandwidth Utilisation
Check this... http://prodsurvey.webng.com/top.jpg ___ -- 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] AMD Not Working
On 1/05/2009 10:10 p.m., Sam Hawkin wrote: Hi, Thanks for your reply. I have tried to play the message 3 times, it played upto 30 seconds. We have installed amd based on the information given in below link http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+AMD We are using the asterisk 1.2.4 in production server, we cannot go to new version. There are major changes (even in the 1.2 branch) since then, and Asterisk is now up to 1.6. How did AMD go? Is it a backport? Hope your machine is not accessible via the Internet as 1.2.4 is likely to have quite a few security vulnerabilities in it. -- Kind Regards, Matt Riddell Director ___ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News - html) http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss) ___ -- 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] AMD Not Working
Hope your machine is not accessible via the Internet as 1.2.4 is likely to have quite a few security vulnerabilities in it. And they are ? the core itself ? LOL.. Im sure 1.6 has more than 1.2 or 1.4, but then again.. i was just reading a thread here I have connected my Asterisk-box directly to my internetconnection. I have disabled my firewall. Still I am unable to register with my IAX-provider. Can someone I think code 18 here, hence people getting hacked.. Probably with default settings that include (longdistance and international ) ;) -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users- boun...@lists.digium.com] On Behalf Of Matt Riddell Sent: May-03-09 6:49 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] AMD Not Working On 1/05/2009 10:10 p.m., Sam Hawkin wrote: Hi, Thanks for your reply. I have tried to play the message 3 times, it played upto 30 seconds. We have installed amd based on the information given in below link http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+AMD We are using the asterisk 1.2.4 in production server, we cannot go to new version. There are major changes (even in the 1.2 branch) since then, and Asterisk is now up to 1.6. How did AMD go? Is it a backport? Hope your machine is not accessible via the Internet as 1.2.4 is likely to have quite a few security vulnerabilities in it. -- Kind Regards, Matt Riddell Director ___ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News - html) http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss) ___ -- 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 ___ -- 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] Asterisk not starting up due to database problems
st_register_application: Already have an application 'VoiceMail' you should really stop copy pasting anything you see.. this means that you have 2 load modules for voicemail these are all warnings and notices, not errors... what is the error ? already running asterisk process ? killall -9 asterisk asterisk -vvvgcf reply ;) -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users- boun...@lists.digium.com] On Behalf Of Charlie Grosvenor Sent: May-03-09 8:31 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Asterisk not starting up due to database problems When I try and start asterisk I get the following, however I have commented out the data the connections in res_mysql.conf and res_pgsql.conf. I am not sure therefore why I am getting these errors. Do I have to change something else to turn this off? Thanks Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer marks...@digium.com Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. === == This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk === == [ Booting... [ Reading Master Configuration ] [ Initializing Custom Configuration Options ] [May 3 13:29:14] NOTICE[7477]: cdr.c:1373 do_reload: CDR simple logging enabled. [May 3 13:29:14] NOTICE[7477]: loader.c:859 load_modules: 175 modules will be loaded. ..[May 3 13:29:14] NOTICE[7477]: res_odbc.c:235 load_odbc_config: Adding ENV var: INFORMIXSERVER=my_special_database [May 3 13:29:14] NOTICE[7477]: res_odbc.c:235 load_odbc_config: Adding ENV var: INFORMIXDIR=/opt/informix [May 3 13:29:14] NOTICE[7477]: res_odbc.c:530 odbc_obj_connect: Connecting asterisk [May 3 13:29:14] WARNING[7477]: res_odbc.c:541 odbc_obj_connect: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data source name not found, and no default driver specified [May 3 13:29:14] WARNING[7477]: res_odbc.c:463 ast_odbc_request_obj: Failed to connect to asterisk [May 3 13:29:14] NOTICE[7477]: res_odbc.c:316 load_odbc_config: Registered ODBC class 'asterisk' dsn-[asterisk] [May 3 13:29:14] NOTICE[7477]: res_odbc.c:716 load_module: res_odbc loaded. .[May 3 13:29:14] WARNING[7477]: res_smdi.c:1335 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener. .[May 3 13:29:14] NOTICE[7477]: config.c:1274 ast_config_engine_register: Registered Config Engine odbc . Loading [Sub]Agent Module .[May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:683 parse_config: Postgresql RealTime: No database user found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:691 parse_config: Postgresql RealTime: No database password found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:699 parse_config: Postgresql RealTime: No database host found, using localhost via socket. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:707 parse_config: Postgresql RealTime: No database name found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:715 parse_config: Postgresql RealTime: No database port found, using 5432 as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:725 parse_config: Postgresql RealTime: No database socket found, using '/tmp/pgsql.sock' as default. [May 3 13:29:14] ERROR[7477]: res_config_pgsql.c:782 pgsql_reconnect: Postgresql RealTime: Failed to connect database server asterisk on . Check debug for more info. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:605 load_module: Postgresql RealTime: Couldn't establish connection. Check debug. [May 3 13:29:14] NOTICE[7477]: config.c:1274 ast_config_engine_register: Registered Config Engine pgsql ..[May 3 13:29:14] WARNING[7477]: res_config_mysql.c:542 parse_config: MySQL RealTime: No database user found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:549 parse_config: MySQL RealTime: No database password found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:556 parse_config: MySQL RealTime: No database host found, using localhost via socket. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:563 parse_config: MySQL RealTime: No database name found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:570 parse_config: MySQL RealTime: No database port found, using 3306 as default. [May 3 13:29:14] WARNING[7477]: res_config_mysql.c:577 parse_config: MySQL RealTime: No database socket found,
Re: [asterisk-users] System noise reduction
What is the phone ? If spa9X2 then you upgraded firmware ? 6.1.5 ? coz im getting this too lately on non asterisk software.. but it disappears on first ring.. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Sunny Du Sent: May-03-09 8:59 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] System noise reduction Hi team, I noted there has a little system noise while I dial into system. I do believe it is generated in system as I would heard those noise even I was in CDR. would anbody guide me where is the noise system generated? It is second time I meet this issue, last time was fixed by change from alaw to ulaw. But no luck is time... Regards, Sunny ___ -- 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] Sangoma Wanpipe Driver Compile for DAHDI Failure
[14177.069426] dahdi: Version: 2.2.0-rc2 Are you sure you're using the latest stable release of Dahdi and not the rc? - Noah ___ -- 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] Asterisk and ODBC
Are you sure you have the dev package installed. I use Ubuntu/Debian and i needed to have unixodbc-dev as well as unixodbc Make sure you get the development librarys otherwise it will not work/see it :) -Kev - Original Message - From: Tim Panton [mailto:t...@westhawk.co.uk] To: Asterisk Users Mailing List - Non-Commercial Discussion [mailto:asterisk-us...@lists.digium.com] Sent: Sun, 03 May 2009 05:48:09 +1000 Subject: Re: [asterisk-users] Asterisk and ODBC On 2 May 2009, at 19:30, Vela Sivasankaran wrote: Hi, I am using a 64-bit RHEL 5 machine. I built Asterisk latest 1.6 branch. The system has ODBC and Postgres installed. psql, isql and odbc work fine. Asterisk make menuselect for some reason does not see the installed packages and refuses to build res_odbc and other packages. How do I force it to do that? Is there a way to modify the output file from menuselect and make it build these modules? Can I donwload these modules from anywhere if it is not possible from menuselect? Is there a sample Asterisk 1.6 full build 64-bit RHEL rpm available anywhere? Make sure you have the odbc headers installed (is that unix-odbc- devel ?) Then re-run ./configure before you do a make menuselsect Tim. Tim Panton - Web/VoIP consultant and implementor www.westhawk.co.uk This Communication is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential or copyright. You are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited without the authority of the sender. If you have received this e-mail message in error or are not the intended recipient, please delete and destroy all copies and notify us immediately by return mail. Any views expressed in this communication are those of the individual sender, except where the sender specifically states otherwise. If you no longer want to receive notifications, simply reply to this e-mail. ___ -- 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] [UK SPECIFIC] DAHDI and a OpenVox Card
--[ UxBoD ]-- wrote: - Gordon Henderson gordon+aster...@drogon.net wrote: On Fri, 1 May 2009, --[ UxBoD ]-- wrote: Okay, getting somewhere now ! I am now getting the following :- == Starting post polarity CID detection on channel 1 -- Starting simple switch on 'DAHDI/1-1' [May 1 12:03:10] NOTICE[4360]: chan_dahdi.c:7669 ss_thread: MWI: Channel 1 message waiting! -- Executing [...@inbound-dahdi:1] Answer(DAHDI/1-1, ) in new stack -- Executing [...@inbound-dahdi:2] Ringing(DAHDI/1-1, ) in new stack -- Executing [...@inbound-dahdi:3] Wait(DAHDI/1-1, 1) in new stack -- Executing [...@inbound-dahdi:4] Playback(DAHDI/1-1, home-message) in new stack -- DAHDI/1-1 Playing 'home-message.gsm' (language 'en') -- Executing [...@inbound-dahdi:5] Hangup(DAHDI/1-1, ) in new stack == Spawn extension (inbound-dahdi, s, 5) exited non-zero on 'DAHDI/1-1' -- Hungup 'DAHDI/1-1' The problem is that I never actually here the message playback. On the dialling phone I just hear it keep ringing. My test dialplan is as follows :- [inbound-dahdi] exten = s,1,Answer() exten = s,n,Ringing() exten = s,n,Wait(1) exten = s,n,Playback(home-message) exten = s,n,Hangup() I put that in mine and get: == Starting post polarity CID detection on channel 4 -- Starting simple switch on 'Zap/4-1' -- Executing Answer(Zap/4-1, ) in new stack -- Executing Ringing(Zap/4-1, ) in new stack -- Executing Wait(Zap/4-1, 1) in new stack -- Executing Playback(Zap/4-1, tt-ferrets) in new stack -- Playing 'tt-ferrets' (language 'en') -- Executing Hangup(Zap/4-1, ) in new stack == Spawn extension (incoming-zap-ddi, s, 5) exited non-zero on 'Zap/4-1' -- Hungup 'Zap/4-1' Personally I'd not put in the Ringing(), but it's doing no harm here... Looks like it's almost there - barring bugs in the dahdi code, but there must be 1000's of people out there using it with TDM400 cards or clones... The differences between UK and US lines are minimal give or take a line reversal, but who knows... Gordon ___ Yes, I agree with you Gordon, I really do think it is a bug in the DADHI code as it never plays back the message at all. I even tried removing the Ringing code and that makes no difference at all. With such a simple dialplan and configuration I can only think it is how BT signals the line. Though the fact that the dialplan does get executed suggests that it has noticed the inbound call; it just does not pick up the line :( Best Regards, Are you using a 2-pin BT to RJ-11 phone cable? If your cable is a 4-pin BT to RJ-11 version, then its a modem cable and it won't work. The symptoms will be similar to what you have described. Regards, Steve ___ -- 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] Can someone help me with my IAX-registration
Hi Jonas, Maybe you can try leaving out bindport and bindaddr parameters first. The port defaults to 4569 anyway. As for the bindaddr, you should be using the IP Address of your interfaces. I am assuming you are using the IP Address obtained from your router. If that is the case, then asterisk will not be able to bind to that address. Leaving out the parameter binds asterisk to all interfaces. Give that a try first and see if it solves your problem. If it does, then change bindaddr to your actual interface ip address. Regards, Steve jonas kellens wrote: I have connected my Asterisk-box directly to my internetconnection. I have disabled my firewall. Still I am unable to register with my IAX-provider. Can someone *please* point me out why I am unable to register my Asterisk to another Asterisk-box ? A RegReq is send to the other Asterisk-box but no reply is received... No confirm, no reject... I have tried yet several configuration in my iax.conf file. There is also always the ignoring bindaddr and ignoring bindport... which doesn't sound right. What I know from books is that when you want to connect your Asterisk to another Asterisk-box you need to describe this other Asterisk-box as a peer. So my iax.conf : [general] autokill=yes bindport=4569 bindaddr=78.22.166.226 ; the IP-address I get from my ISP register = cstore:my-passw...@ip-of-other-iax-box [cstore] type=user trunk=yes context=from-other-iax-box disallow=all allow=ulaw allow=alaw allow=gsm [attractel] ; name I use in extensions.conf to contact other iax-box type=peer host=ip-address username=cstore ; username @ remote asterisk secret=my-password ; pass @ remote Asterisk auth=plaintext,md5 trunk=yes disallow=all allow=ulaw allow=alaw allow=gsm IAX reload : asterisk*CLI iax2 reload == Parsing '/etc/asterisk/iax.conf': Found [May 2 10:34:23] NOTICE[4626]: chan_iax2.c:10124 set_config: Ignoring bindport on reload [May 2 10:34:23] NOTICE[4626]: chan_iax2.c:10183 set_config: Ignoring bindaddr on reload doing dnsmgr_lookup for '62.213.196.38' == Parsing '/etc/asterisk/users.conf': Found doing dnsmgr_lookup for '62.213.196.38' == Loaded firmware 'iaxy.bin' == Parsing '/etc/asterisk/iaxprov.conf': Found -- Loaded provisioning template 'default' Is ignoring bindaddr and bindport normal ? IAX debug : Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00019ms SCall: 13117 DCall: 0 [62.213.196.38:4569] USERNAME: cstore REFRESH : 60 Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00019ms SCall: 13117 DCall: 0 [62.213.196.38:4569] USERNAME: cstore REFRESH : 60 Tx-Frame Retry[002] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ Timestamp: 00019ms SCall: 13117 DCall: 0 [62.213.196.38:4569] USERNAME: cstore REFRESH : 60 IAX status : asterisk*CLI iax2 show registry Host dnsmgr Username Perceived Refresh State 62.213.196.38:4569N cstore Unregistered 60 Request Sent Host dnsmgr Username Perceived Refresh State 62.213.196.38:4569N cstore Unregistered 60 Timeout Thanks for the help, Jonas. ___ -- 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 ___ -- 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] Sangoma Wanpipe Driver Compile for DAHDI Failure
Most likely you screwed up and just compiled dahdi release but you still have loaded the rc dahdi kernel modules. cat /sys/module/dahdi/version That will tell you for sure which dahdi module version is loaded. -- Moises Silva Software Developer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. m...@sangoma.com ___ -- 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] System noise reduction
The phone is Cisco 7961. My system is a bit different. The Cisco 7961 connected to Callmanager with SCCP, Callmanager connect to Asterisk with E1. Will I call into Meetme bridge, I would hear system noise even I am in meetme IVR. The call between Cisco phones are worked well. I aslo tried Avaya phone - Avaya 8700 -Asterisk but not good luck too. It should be something wrong in Asterisk, but I can not figure it out. On Mon, May 4, 2009 at 7:32 AM, ContactTel Business li...@contacttel.comwrote: What is the phone ? If spa9X2 then you upgraded firmware ? 6.1.5 ? coz im getting this too lately on non asterisk software.. but it disappears on first ring.. *From:* asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] *On Behalf Of *Sunny Du *Sent:* May-03-09 8:59 AM *To:* asterisk-users@lists.digium.com *Subject:* [asterisk-users] System noise reduction Hi team, I noted there has a little system noise while I dial into system. I do believe it is generated in system as I would heard those noise even I was in CDR. would anbody guide me where is the noise system generated? It is second time I meet this issue, last time was fixed by change from alaw to ulaw. But no luck is time... Regards, Sunny ___ -- 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 ___ -- 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] question of flite installation
Hi, After following the messages to install flite, I can find the following files. /usr/lib/asterisk/modules/app_flite.so /etc/asterisk/flite.conf That's mean flite is installed successfully. Then I restart asterisk but nothing found for that module. sip*CLI core show application flite Your application(s) is (are) not registered The module doesn't load by asterisk even after restart. How can Asterisk reload all the modules in /usr/lib/asterisk/module? ango ___ -- 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] How to get PBX's clock with AMI?
I am still not sure what you are askingis it something to do with NTP? PaulH Daniel - Asterisk wrote: I guess it was a problem with my connection, here the complete question.. Dear all, I wanna know what can I do to get the PBX's clock from an external AMI server, especially with Asterisk-Java Library. Thanks by your answers. Elder Arohuanca Lagos t. +51 1 994149553 On Tue, Apr 28, 2009 at 11:00 AM, Steve Howes st...@geekinter.net mailto:st...@geekinter.net wrote: On 28 Apr 2009, at 16:49, Daniel - Asterisk wrote: Dear all, I wanna know what can I do to get the PBX's clock from You sir, are made of fail. ___ -- 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 ___ -- 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 ___ -- 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] How to get PBX's clock with AMI?
Steve Howes wrote: On 28 Apr 2009, at 16:49, Daniel - Asterisk wrote: Dear all, I wanna know what can I do to get the PBX's clock from You sir, are made of fail. I had to admit, I laughed. PaulH ___ -- 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] need help on asterisk call forwarding
On Thursday 30 April 2009 09:37:50 Oguzhan Kayhan wrote: Ok I found an example script that said to be work.. but i have some errors. Here is the script and then the error msgs. exten = *666*,2,GotoIf($[${DB(CFBOOLEAN/${CALLERID(NUM)})} = 1]?3:102) The DB returns nothing, so it evaluates $[ = 1] which doesn't parse. Try: exten = *666*,2,GotoIf($[0${DB(CFBOOLEAN/${CALLERID(NUM)})} = 1]?3:102) When the value doesn't exist, it will evaluate $[0 = 1]. If it does exist, it evaluates $[01 = 1], which is true. Still getting ast_expr2.fl:440 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '=', expecting $end; Input: = 1 Smthing wrong with the syntax??? exten = *22*,1,DB_DELETE(CFIM/${CALLERID(NUM)}) DB_DELETE is a function, not an application. You can do one of the following: exten = *22*,1,NoOp(${DB_DELETE(CFIM/${CALLERID(NUM)})}) exten = *22*,1,DBDel(CFIM/${CALLERID(NUM)}) -- Tilghman ___ -- 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 ___ -- 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