[asterisk-users] asterisk appache issue

2010-06-19 Thread pankaj pandey
Hi Everyone, I installed Asterisk-1.6 by user root and its working fine. but when i tried to run any asterisk command through apache user it shows Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist? i think its a permission error. how can i give the root

Re: [asterisk-users] asterisk appache issue

2010-06-19 Thread Steve Edwards
On Sat, 19 Jun 2010, pankaj pandey wrote: how can i give the root permission to apache ? sudo. However, without careful configuration you will probably be giving root access to any process that runs as your apache user. I've never done it, but I'm guessing you could create a group, make your

[asterisk-users] Voicemail ODBC

2010-06-19 Thread Andraž
I have Asterisk 1.4.32 and I would like save all VoiceMail to MSSQL 2008 database. I configured ODBC, but I receive this errors. [Jun 18 14:00:37] NOTICE[19914] res_odbc.c: Connecting sqlserver [Jun 18 14:00:37] NOTICE[19914] res_odbc.c: res_odbc: Connected to sqlserver [kupalaodbc]

[asterisk-users] playing file when using call file in /var/spool/asterisk/outgoing in asterisk

2010-06-19 Thread nikhil singhania
HI everybody, Thanks for your support till now. I am using call files to initiate call from asterisk to twinkle(softphone) over LAN, the call file is generated and moved using a php script to the location /var/spool/asterisk/outgoing. I want to know while we are calling are there some

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-19 Thread Hans Witvliet
On Fri, 2010-06-18 at 17:19 -0500, Cary Fitch wrote: If domain name, what are they using for DNS? Indeed, interesting question. On a quiet moment i would suggest you do: tcpdump -vvX -i eth0 port 53 on the machine that is your gateway to internet, and make an internal call (or use wireshark)

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-19 Thread Hans Witvliet
On Sat, 2010-06-19 at 01:39 +0200, Philipp von Klitzing wrote: Hi! But why can't my phones call. The outgoing lines are PRI/DAHDI T1. No sip. No iax. Why does the asterisk machine have to resolve any address? Probably because you have one or more register = statements in your sip.conf

[asterisk-users] Muti Asterisk

2010-06-19 Thread michel freiha
Dear All, I have installed 4 asterisks on the same Centos machine..Each Asterisk has its own installation folder and use its own libraries...Everything looks great and all asterisks are doing their jobs correctly except one thing...I faced a voice quality issue...On a specific time, and after the

Re: [asterisk-users] Why asterisk down when inet server down?

2010-06-19 Thread Hans Witvliet
On Fri, 2010-06-18 at 21:04 -0400, Andres wrote: Our company has set up hundreds of asterisk boxes over the years. One thing we learned early on was to avoid any type of DNS resolution by asterisk. Asterisk gets hung when it can't access your DNS server and all things grind to a

Re: [asterisk-users] Muti Asterisk

2010-06-19 Thread Motiejus Jakštys
Check CPU usage. Maybe one asterisk throttles it for all? On Sat, Jun 19, 2010 at 12:21 PM, michel freiha mich...@gmail.com wrote: Dear All, I have installed 4 asterisks on the same Centos machine..Each Asterisk has its own installation folder and use its own libraries...Everything looks

Re: [asterisk-users] dahdi modules installed wrong location

2010-06-19 Thread Tzafrir Cohen
On Fri, Jun 18, 2010 at 06:43:09PM -0700, Steve Casto wrote: CENTOS 5.5 dahdi 1.4.3.0.1 dahdi-linux 2.3.0.1 ? uname -r 2.6.18-194.3.1.el5PAE [r...@localhost dahdi-linux-2.3.0.1]# service dahdi start Loading DAHDI hardware modules: FATAL: Module dahdi not found. wct4xxp: FATAL:

[asterisk-users] Asterisk ODBC

2010-06-19 Thread Andraž
Ok, this issue I resolved, I just changed the TDS version to 7.0. But now I receive different error, I can't insert into database. [Jun 19 14:30:25] WARNING[6212] app_voicemail.c: SQL Prepare failed![INSERT INTO pbx_VoiceMail

Re: [asterisk-users] How to disable day light saving on Snom 360 phones?

2010-06-19 Thread Zeeshan Zakaria
I didn't get any reply to this question, which means it is not a very common issue users deal with. However, contrary to what customer complained, I have found out that daylight saving is *NOT* enabled by default and the phone points to UTC time if timezone is set to GBR-0. The firmware on these

[asterisk-users] Voicemail ODBC

2010-06-19 Thread Andraž
Ok, this issue I resolved, I just changed the TDS version to 7.0. But now I receive different error, I can't insert into database. [Jun 19 14:30:25] WARNING[6212] app_voicemail.c: SQL Prepare failed![INSERT INTO pbx_VoiceMail

Re: [asterisk-users] Voicemail ODBC

2010-06-19 Thread Zeeshan Zakaria
Seems to me that the SQL statement is not complete and asterisk is complaining about it. Do you prepare this statement in your dialplan or asterisk makes it automatically? Zeeshan A Zakaria -- www.ilovetovoip.com On 2010-06-19 9:10 AM, Andraž atle...@gmail.com wrote: Ok, this issue I resolved,

[asterisk-users] OT - Explain RDNIS

2010-06-19 Thread Olivier
Hi, 1. Can you explain what RDNIS is when it should used with Asterisk ? I've read this http://www.voip-info.org/wiki/view/RDNIS but I'm still wondering if I should use it. My understanding is: when dialing out through an ISDN line, Asterisk is sending two numbers (using signalling channel) : -

[asterisk-users] Using SetVar with System() is it possible?

2010-06-19 Thread bruce bruce
Hi Guys, Is it possible to harvest the output of system into a SetVar(variable)? exten = s,n,SetVar(var=system(*asterisk -rx sip show channels | grep -c (ulaw))* * * *??? any problem with the syntax? * * * * * *Thanks,* * * --

Re: [asterisk-users] Voicemail ODBC

2010-06-19 Thread Andraž
Asterisk make it. It is in app_voicemail, I'm using voicemail ODBC. On Sat, Jun 19, 2010 at 3:35 PM, Zeeshan Zakaria zisha...@gmail.com wrote: Seems to me that the SQL statement is not complete and asterisk is complaining about it. Do you prepare this statement in your dialplan or asterisk

[asterisk-users] dahdi span

2010-06-19 Thread Daniel Knoll
Hello Group, what does the Compiler Option mean LOTS_OF_SPANS ? The description is: More than 32 DAHDI spans Does this mean, more than 32 DAHDI Channels ? Thanx for help. Daniel -- _ -- Bandwidth and Colocation Provided by

Re: [asterisk-users] Using SetVar with System() is it possible?

2010-06-19 Thread Steve Edwards
On Sat, 19 Jun 2010, bruce bruce wrote: Is it possible to harvest the output of system into a SetVar(variable)? exten = s,n,SetVar(var=system(asterisk -rx sip show channels | grep -c (ulaw)) ??? any problem with the syntax? Really? Is posting questions showing you've made zero effort

Re: [asterisk-users] Linksys SPA94x keep-alive reply replies to wrong address (1.4.32)

2010-06-19 Thread James Lamanna
On Fri, Jun 18, 2010 at 10:51 PM, Stefan Schmidt s...@sil.at wrote: James Lamanna schrieb: It appears as though the 489 Bad Event response to the NAT keep alive event responds to the local address, instead of responding to the NATted address. This causes Linksys phones to go amber (no

Re: [asterisk-users] Muti Asterisk

2010-06-19 Thread Paul Belanger
On Sat, Jun 19, 2010 at 5:21 AM, michel freiha mich...@gmail.com wrote: Waiting your reply Reply: Do not cross-post to #asterisk-dev -- Paul Belanger | dCAP Polybeacon | Consultant Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode) blog.polybeacon.com --

Re: [asterisk-users] Using SetVar with System() is it possible?

2010-06-19 Thread Tzafrir Cohen
On Sat, Jun 19, 2010 at 10:58:17AM -0400, bruce bruce wrote: Hi Guys, Is it possible to harvest the output of system into a SetVar(variable)? exten = s,n,SetVar(var=system(*asterisk -rx sip show channels | grep -c (ulaw))* There's the function SHELL. Though I suspect you use 1.2 and I'm

Re: [asterisk-users] asterisk appache issue

2010-06-19 Thread Tzafrir Cohen
On Sat, Jun 19, 2010 at 12:23:44AM -0700, Steve Edwards wrote: On Sat, 19 Jun 2010, pankaj pandey wrote: how can i give the root permission to apache ? sudo. However, without careful configuration you will probably be giving root access to any process that runs as your apache user.

[asterisk-users] dahdi modules installed wrong location

2010-06-19 Thread Steve Casto
On Fri, Jun 18, 2010 at 06:43:09PM -0700, Steve Casto wrote: CENTOS 5.5 dahdi 1.4.3.0.1 dahdi-linux 2.3.0.1 ? uname -r 2.6.18-194.3.1.el5PAE [root at localhost dahdi-linux-2.3.0.1]# service dahdi start Loading DAHDI hardware modules: FATAL: Module dahdi not found. wct4xxp:

Re: [asterisk-users] question on nortel sip connection

2010-06-19 Thread Watkins, Bradley
-Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jerry Geis Sent: Friday, June 18, 2010 9:55 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] question on nortel

[asterisk-users] Peer status unreachable/problem in IAX packets

2010-06-19 Thread Adil Zaaraoui
Dear Asterisker, I am using java-asterisk-IAX, java based application, that implemented the IAX2 protocol. I am registred with this applet to my asterisk; when i try to show iax2 peers in my asterisk, i get my status UNREACHABLE. I have no firewall in my network; i tried qualify=3000 and still

Re: [asterisk-users] Using SetVar with System() is it possible?

2010-06-19 Thread bruce bruce
I am using Asterisk v1.4.x I have got php along with phpagi to report back using a system call within php to asterisk -rx but it's buggy. For one thing php is hanging sometimes and not returning anything. Wondering if I can run search to see if a g.729 channel is up or not using only the