Re: [asterisk-users] How to set SIP to auto answer in the dial plan .
upendra wrote: Hi, I am trying to write dial plan for sip to auto answer (auto attend) the incoming call to the sip phone. - If i call from sip1 to sip2 then sip2 should automatically answer the call and play some sound file. I am trying to do this but as new to the asterisk dial plan configuration , so not able Todo this. help me if anyone already done this setup. Regards Upendra. -- Unless I'm misunderstanding your needs, wouldn't this do what you want? exten = 1234,1,Answer exten = 1234,n,Playback(soundfile) exten = 1234,n,Dial(SIP/1234,60,m) ; caller hears music on hold ; instead of ringtone -- Ron Bergin -- _ -- 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] DAHDI DTMF problem?
Bill Dunn - VCI Internet Services wrote: I have an Asterisk server configured to run as voicemail with a T1 and SMDI. It has 1.6.1.6 (dahdi 2.1.0.4) and Centos 5.6 and has worked great for a few years. I am configuring a new server with Asterisk 1.8.13 (dahdi 2.6.1) on Centos 5.8 The problem I am having appears to be related to DTMF detection. When the test phone number is called (2704083000) Asterisk only receives a portion of the dialed number. It varies as to what numbers are detected. Sometimes it sees a single digit, sometimes 3 or 4 of the digits of the dialed number. When I compare this to the old server the debug below is similar but there isn't any mention of the sig_analog.c lines shown below. I am told the T1's on the old server and the new server are configured the same. I can make outgoing calls on the T1 from Asterisk. Can someone give me a clue as to what could be causing this? Bill Dunn Try setting: relaxdtmf=yes We used to have that same problem on most of our servers. Setting relaxdtmf to yes solved the problem for us. -- Ron Bergin Network Operations Administrator Fry's Electronics, Inc. -- _ -- 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] DAHDI DTMF problem?
Bill Dunn - VCI Internet Services wrote: Thanks Ron. I have had my chan_dahdi.conf file set as follows with the same result. [trunkgroups] [channels] switchtype=national usecallerid=yes callerid=asreceived cidsignalling=smdi echocancel=yes echocancelwhenbridged=yes relaxdtmf=yes rxgain=0.0 txgain=0.0 usesmdi=yes smdiport=/dev/ttyS0 signalling = em_w immediate = no group = 1 channel = 1-3 Bill Dunn - Original Message - From: Ron Bergin To: Asterisk Users Mailing List - Non-Commercial Discussion Sent: Friday, July 06, 2012 12:34 PM Subject: Re: [asterisk-users] DAHDI DTMF problem? Try setting: relaxdtmf=yes We used to have that same problem on most of our servers. Setting relaxdtmf to yes solved the problem for us. Are you using SIP? If so, relaxdtmf can also be set in sip.conf as well as a dtmfmode setting that you can adjust. What type of phones are you using? In our case, part of this problem was due our low end 2.4ghz cordless phones. -- Ron Bergin Network Operations Administrator Fry's Electronics (408) 487-4600 -- _ -- 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] Best practices to route calls according holidays
Olivier wrote: Hi, At the moment, I'm mostly using a Day/Night toggle button to let users deal with week-ends, holidays and opening hours. As Asterisk 1.8 introduces Calendar capabilities, I'm wondering if better alternatives now exist. Is it possible, safe, reliable and easy to refer from Asterisk to a public calendar resource listing holidays, for a given country ? Should you instead refer to a private resource, to avoid depending on an externaly managed resource ? If you go this way, which tools would you recommend to build and update a private calendar ? Suggestions ? Regards -- The database approach that others have suggested sounds pretty good. What I did was to write a simple agi script that dispatches a subroutine based on the holiday. I hard coded the holidays in the script, but they could just as easily be stored in a db. Here's the key portion of the script. (The formatting may get goofed up in the email). #!/usr/bin/perl use strict; use warnings; use Asterisk::AGI; use Date::Calendar; $|++; my ($min, $hr, $day, $mo, $yr, $dow) = (localtime)[1..6]; $mo++; $yr += 1900; my $today = sprintf(%d%02d%02d, $yr,$mo,$day); my $holidays = { New Year's Day = #Jan/1, Easter = +0, Memorial Day = 5/Mon/May, Independence Day = #Jul/4, Labor Day = 1/Mon/Sep, Thanksgiving = 4/Thu/Nov, Black Friday = 4/Fri/Nov, Christmas Eve = #Dec/24, Christmas Day = #Dec/25, Christmas Dayafter = #Dec/26, New Year's Eve = #Dec/31 }; my %dispatch = ( New Year's Day = \new_years_day, Easter = \easter, Memorial Day = \memorial_day, Independence Day = \july4, Labor Day = \labor_day, Thanksgiving = \thanksgiving, Black Friday = \black_friday, Blackout Period= \blackout_hrs, Christmas Eve = \christmas_eve, Christmas Day = \christmas_day, Christmas Dayafter = \christmas_dayafter, New Year's Eve = \new_years_eve, ); my $agi= Asterisk::AGI-new; my $calendar = Date::Calendar-new( $holidays ); $calendar-year( $yr ); foreach my $holiday ( keys %$holidays ) { my @holiday = $calendar-search( $holiday ); my $holidaydate = sprintf(%d%02d%02d, $holiday[0]-year, $holiday[0]-month, $holiday[0]-day ); if ( $today == $holidaydate ) { $dispatch{ $holiday }-($agi); exit; } } if ( in_blkout_period( $today ) ) { $dispatch{Blackout Period}-( $agi, $dow, $hr ); exit; } ## sub playback { my ($agi, $holiday, $hrs) = @_; $agi-stream_file([ 'frys/thank_you_for_calling', frys/$holiday, frys/$hrs, 'frys/enjoy', 'frys/frys_goodbye' ] ); } sub new_years_day { my $agi = shift; $agi-exec('noop', Incoming call on New Year's Day); if ($hr 10 or $hr = 19) { playback($agi, 'new_years_day', '10to7'); $agi-hangup(); } else { $agi-exec('Goto', 'welcome'); } } -- Ron Bergin Network Operations Administrator Fry's Electronics, Inc. -- _ -- 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] Reliable SIP Trunk Provider
Jake Wicke wrote: I'm wondering if any other Asterisk users have a recommendation for a reliable SIP Trunk provider that supports Asterisk and offers decent support. I've worked with Coredial, Broadvox, and Broadvoice and have had some bad experiences with each of these providers. I'm going to assume that you're in the US, since those 3 providers are all based here. I can highly recommend XO Communications. http://www.xo.com/ We currently have 35 SIP trunks with them and will be adding more. Our corp office is on a DS3 SIP trunk with 500 DID's and our stores are on a T1 SIP trunk with 100 DID's. They have several levels of support. We use their upper level support called SNA (I forget what it stands for), which gives us direct access to their upper level engineers when needed. Their front line support people that I deal with are very good and may be VoIP engineers themselves. Ron Bergin Network Operations Administrator Fry's Electronics Inc. -- _ -- 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] Compiling asterisk with mysql support
Jason Parker wrote: On 03/06/2012 12:31 PM, Ron Bergin wrote: Mathew, Each of those odbc modules are unavailable i.e., marked with XXX I even deleted the asterisk build directory and started over, but had the same results. What prereqs do I need besides these: mysql.i386 5.0.95-1.el5_7.1installed mysql-connector-odbc.i386 3.51.26r1127-1.el5 installed mysql-devel.i3865.0.95-1.el5_7.1installed mysql-server.i386 5.0.95-1.el5_7.1installed unixODBC.i386 2.2.11-7.1 installed unixODBC-devel.i386 2.2.11-7.1 installed libtool-ltdl-devel should be a dependency for unixODBC-devel in CentOS, but it is not. You'll need to install that and re-run ./configure. -- _ Jason, Sorry for the delay in responding. I just realized that my response, which was shortly after yours, was stuck in limbo on my side. Installing libtool-ltdl-devel fixed the odbc problem and asterisk is now starting up fine. Thanks -- Ron Bergin Network Operations Administrator Fry's Electronics, Inc. -- _ -- 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
[asterisk-users] Compiling asterisk with mysql support
I have a working asterisk test box that I'm rebuilding with mysql support so that I can test cdr stats (http://www.cdr-stats.org/). When I run 'make memuselect', I select res_config_mysql, app_mysql, cdr_mysql, and app_saycountpl components. The build/install process goes fine i.e. no errors. However, I'm getting a seg fault error when starting asterisk. # /usr/sbin/safe_asterisk: line 145: 27014 Segmentation fault (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} /dev/${TTY} 21 /dev/${TTY} CentOS release 5.7 asterisk-1.8.9.2 dahdi-linux-complete-2.6.0 libpri-1.4.12 What am I missing? -- Ron Bergin Network Operations Administrator Fry's Electronics, Inc. -- _ -- 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] Compiling asterisk with mysql support
Paul Belanger wrote: On 12-03-06 12:05 PM, Ron Bergin wrote: However, I'm getting a seg fault error when starting asterisk. # /usr/sbin/safe_asterisk: line 145: 27014 Segmentation fault (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} /dev/${TTY} 21 /dev/${TTY} What am I missing? For what ever reason, asterisk is crashing. You'll need to generate a backtrace[1]. [1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace -- Paul Belanger Digium, Inc. | Software Developer twitter: pabelanger | IRC: pabelanger (Freenode) Check us out at: http://digium.com http://asterisk.org Thanks Paul, I'll look at getting the backtrace a little later today. -- _ -- 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] Compiling asterisk with mysql support
Matthew Jordan wrote: - Original Message - From: Ron Bergin r...@i.frys.com To: asterisk-users@lists.digium.com Sent: Tuesday, March 6, 2012 11:05:35 AM Subject: [asterisk-users] Compiling asterisk with mysql support When I run 'make memuselect', I select res_config_mysql, app_mysql, cdr_mysql, and app_saycountpl components. The build/install process goes fine i.e. no errors. However, I'm getting a seg fault error when starting asterisk. Please also note that app_saycountpl, res_config_mysql, app_mysql, and cdr_mysql are all either extended support modules or deprecated: https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States Note that if the segmentation fault is occurring in an extended support module, development support typically comes from the Asterisk community. In the case of deprecated modules, your mileage will vary considerably. You may want to consider using an ODBC connection instead of interfacing directly with the MySQL database, using the following: * app_mysql = func_odbc * cdr_mysql = cdr_adaptive_odbc * res_config_mysql = res_odbc * app_saycountpl = say.conf What am I missing? -- Ron Bergin Network Operations Administrator Fry's Electronics, Inc. Matthew Jordan Digium, Inc. | Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: http://digium.com http://asterisk.org -- Thanks for the info. Can I assume that these (mysql) modules will be removed soon or will they come alive again down the road? -- Ron Bergin Network Operations Administrator Fry's Electronics, Inc. -- _ -- 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] Compiling asterisk with mysql support
Matthew Jordan wrote: - Original Message - From: Ron Bergin r...@i.frys.com To: asterisk-users@lists.digium.com Sent: Tuesday, March 6, 2012 11:05:35 AM Subject: [asterisk-users] Compiling asterisk with mysql support I have a working asterisk test box that I'm rebuilding with mysql support so that I can test cdr stats (http://www.cdr-stats.org/). When I run 'make memuselect', I select res_config_mysql, app_mysql, cdr_mysql, and app_saycountpl components. The build/install process goes fine i.e. no errors. However, I'm getting a seg fault error when starting asterisk. Please also note that app_saycountpl, res_config_mysql, app_mysql, and cdr_mysql are all either extended support modules or deprecated: https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States Note that if the segmentation fault is occurring in an extended support module, development support typically comes from the Asterisk community. In the case of deprecated modules, your mileage will vary considerably. You may want to consider using an ODBC connection instead of interfacing directly with the MySQL database, using the following: * app_mysql = func_odbc * cdr_mysql = cdr_adaptive_odbc * res_config_mysql = res_odbc * app_saycountpl = say.conf -- Ron Bergin Network Operations Administrator Fry's Electronics, Inc. Matthew Jordan Digium, Inc. | Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: http://digium.com http://asterisk.org -- Mathew, Each of those odbc modules are unavailable i.e., marked with XXX I even deleted the asterisk build directory and started over, but had the same results. What prereqs do I need besides these: mysql.i386 5.0.95-1.el5_7.1installed mysql-connector-odbc.i386 3.51.26r1127-1.el5 installed mysql-devel.i3865.0.95-1.el5_7.1installed mysql-server.i386 5.0.95-1.el5_7.1installed unixODBC.i386 2.2.11-7.1 installed unixODBC-devel.i386 2.2.11-7.1 installed -- Ron Bergin Network Operations Administrator Fry's Electronics, Inc. -- _ -- 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] AGI: blocking script until playback complete
Chris Bagnall wrote: Greetings list, I've done AGI scripting before, but in the past I've always wanted control to be returned to the dialplan as soon as possible. However, today I have a scenario where I want the script to remain running during the playback of a file so that I can read DTMF at the end of playback. However, doing this: GET DATA en_welcome 5000 6 Results (correctly) in the following in the asterisk console: -- SIP/a.b.c.d-dc027b50 Playing 'en_welcome' (language 'en') But the AGI continues to run on after this point, not waiting for either the sound file to be played, nor for the expected 6 DTMF digits. Adding a simple 10 second sleep/wait to the AGI allows the sound file to be successfully played back. I'm sure I must be missing something very obvious, buy my google-fu is failing me this afternoon. Suggestions gratefully received :-) Thanks in advance. Kind regards, Chris -- Have you tried increasing the timeout value in the command? To me, it appears to be too short. Try setting it to 5. -- Ron Bergin -- _ -- 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] Asterisk perl AGI confusing variables
Steve Edwards wrote: On Mon, 13 Feb 2012, Sammy Govind wrote: On Sat, Feb 11, 2012 at 11:20 PM, Ron Bergin r...@i.frys.com wrote: Finally, add a couple debugging statements after the get_variable statements to verify/dump the vars. Doing any I/O on STDIN or STDOUT will violate the AGI protocol. -- That is correct. I forgot to clarify that by saying to dump it out to a file or STDERR -- _ -- 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] Asterisk perl AGI confusing variables
Sammy Govind wrote: Hello all, I'm struck with a very strange problem today. I've an AGI with some code subroutine snippet as follows: sub enable_sbc($) { my $carrier = shift; my $tmp = substr($carrier,1); my $jkh = $tmp; $server_port = $ast_agi-get_variable(SIPPEER($jkh,port)); $ser_ip = $ast_agi-get_variable(SIPPEER($tmp,ip)); $ast_agi-exec(SIPAddHeader,P-PORT: $server_port); $ast_agi-exec(SIPAddHeader,P-IPADDRESS: $ser_ip); return 0; } Where $carrier resolves to @my-carrier Strangely and very weird get variable is returning correct values on console as given below but the variables containing the values gets lost or confused with each other ! SIP/sipproxy3.32-AGI Rx GET VARIABLE SIPPEER(my-carrier,port) SIP/sipproxy3.32-AGI Tx 200 result=1 (5060) SIP/sipproxy3.32-AGI Rx GET VARIABLE SIPPEER(my-carrier,ip) SIP/sipproxy3.32-AGI Tx 200 result=1 (192.168.2.19) SIP/sipproxy3.32-AGI Rx EXEC SIPAddHeader P-PORT: -- AGI Script Executing Application: (SIPAddHeader) Options: (P-PORT: ) SIP/sipproxy3.32-AGI Tx 200 result=0 SIP/sipproxy3.32-AGI Rx EXEC SIPAddHeader P-IPADDRESS: 5060 -- AGI Script Executing Application: (SIPAddHeader) Options: (P-IPADDRESS: 5060) SIP/sipproxy3.32-AGI Tx 200 result=0 Anyone please help. Am I doing anything wrong ? Regards, Sammy. -- _ Did you copy/paste the code in the email posting, or did you retype it? Is it possible that you have multiple versions of the script and the wrong one is being executed? First step I'd suggest, after checking the above possibility, is to remove the prototype. It is almost never needed/wanted and can introduce bugs if not used correctly. http://www.modernperlbooks.com/mt/2009/08/the-problem-with-prototypes.html Next, are you using the strict and warnings pragmas? If not, you should add them and fix the problems that they point out. Next, declare $server_port and $ser_ip as lexical vars in the sub. Finally, add a couple debugging statements after the get_variable statements to verify/dump the vars. --- Ron Bergin -- _ -- 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] asterisk - AGI (perl) - sqlplus(oracle)
Add a BEGIN {...} block prior to the use statements and in there redirect STDERR to a file. This will aloow you to capture compilation errors You should also add some debugging statements at key points in the script. Then run the script and review the file to see what errors it generated. -- Ron Bergin Network Operations Administrator Fry's Electronics Ahmed Munir wrote: Yes, I already declared 'use lib /home/asterisk/lib/lib64/perl5/5.8.8/x86_64-linux-thread-multi/;' in my AGI. When I execute the script as a user Asterisk, i.e. perl -wc test.pl in return I'm getting OK and no error messages and script is running fine when I try to run in shell. Even though I already declared the environmental variables in .bash_profile. At the end I tired every method but still stuck in this problem. Date: Thu, 5 Jan 2012 14:07:59 -0800 From: Ron Bergin r...@i.frys.com Subject: Re: [asterisk-users] asterisk - AGI (perl) - sqlplus (oracle) To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Message-ID: 69ecf8ff3230bc206837478422f97aad.squir...@webmail.i.frys.com Content-Type: text/plain;charset=iso-8859-1 Ahmed Munir wrote: Hi, I installed the modules in asterisk user home directory with read and excitable permissions for asterisk but still my AGI not working. IMO, it would have been better to install it in it's normal location. Is your script using the warnings and strict pragmas? What error message do you receive when running the script from the command line? Did you add the proper use lib '' statement to add the install directory to the @INC array? Ron Bergin Please provide me other advise to resolve this issue. Date: Wed, 4 Jan 2012 11:30:34 -0600 From: Danny Nicholas da...@debsinc.com Subject: Re: [asterisk-users] asterisk - AGI (perl) - sqlplus (oracle) To: 'Asterisk Users Mailing List - Non-Commercial Discussion' asterisk-users@lists.digium.com Message-ID: 00ca01cccb06$911e8300$b35b8900$@debsinc.com Content-Type: text/plain; charset=us-ascii The module probably isn't readable/executeable from Asterisk From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ahmed Munir Sent: Wednesday, January 04, 2012 10:45 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] asterisk - AGI (perl) - sqlplus (oracle) Hi all, I'm trying to run an AGI in PERL which uses the module DBD-Oracle. Currently my AGI is working fine in my two servers but not in my other four servers. When I tried execute an AGI (as a user asterisk) in command line it works fine (even I also declare environmental variables in user profile and in my AGI), but when I tried to call my AGI (perl) in dial plan, it don't get executed. Please advise me to resolve this issue. -- Regards, Ahmed Munir Chohan -- Regards, Ahmed Munir Chohan -- _ -- 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] asterisk - AGI (perl) - sqlplus (oracle)
Ahmed Munir wrote: Hi, I installed the modules in asterisk user home directory with read and excitable permissions for asterisk but still my AGI not working. IMO, it would have been better to install it in it's normal location. Is your script using the warnings and strict pragmas? What error message do you receive when running the script from the command line? Did you add the proper use lib '' statement to add the install directory to the @INC array? Ron Bergin Please provide me other advise to resolve this issue. Date: Wed, 4 Jan 2012 11:30:34 -0600 From: Danny Nicholas da...@debsinc.com Subject: Re: [asterisk-users] asterisk - AGI (perl) - sqlplus (oracle) To: 'Asterisk Users Mailing List - Non-Commercial Discussion' asterisk-users@lists.digium.com Message-ID: 00ca01cccb06$911e8300$b35b8900$@debsinc.com Content-Type: text/plain; charset=us-ascii The module probably isn't readable/executeable from Asterisk From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ahmed Munir Sent: Wednesday, January 04, 2012 10:45 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] asterisk - AGI (perl) - sqlplus (oracle) Hi all, I'm trying to run an AGI in PERL which uses the module DBD-Oracle. Currently my AGI is working fine in my two servers but not in my other four servers. When I tried execute an AGI (as a user asterisk) in command line it works fine (even I also declare environmental variables in user profile and in my AGI), but when I tried to call my AGI (perl) in dial plan, it don't get executed. Please advise me to resolve this issue. -- Regards, Ahmed Munir Chohan - Regards, Ahmed Munir Chohan -- _ -- 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
[asterisk-users] DAHDI spans up without physical connections
We are in the process of rebuilding our servers and upgrading asterisk and zaptel/dahdi. The server I'm currently working on was: OS: Fedora fc9 libpri 1.4.10.2 Zaptel 1.4.12.1 Asterisk: 1.4.27 After rebuild: OS: CentOS 5.7 (Final) installed via Spacewalk libpri: 1.4.12 DAHDI: dahdi-linux-complete-2.5.0.2+2.5.0.2. Asterisk 1.8.6 Digium card TE420: pci::09:08.0 wct4xxp+ d161:1420 Wildcard TE420 (5th Gen) dahdi spans are configured as: span=1,0,0,esf,b8zs span=2,0,0,esf,b8zs span=3,0,0,esf,b8zs fxoks=1-24 fxoks=25-48 fxoks=49-72 No errors during build process, but the dahdi spans are showing up even though there are no cables connected to the card's T1 ports. We have rebuilt libpri and dahdi multiple times and with various combinations of versions (libpri 1.4.11.3 and 14..12 and dahdi 2.3 and 2.5), but always have the same results. One possible clue would be this error in dmesg (which I don't fully understand): WARNING: FALC framer not intialized in compatibility mode. ERROR: FALC framer version is unknown (VSTR = 0x00). FALC version: , Board ID: 00 Has anyone come across this problem and/or can point me in the right direction to fix it? Thanks -- Ron Bergin Fry's Electronics, Inc -- _ -- 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