bilal ghayyad
2011-Apr-05 08:31 UTC
[asterisk-users] Asterisk 1.8 and new the command: exten => _X., 4, Wait, 2
OK Dears; Is the exten => _X.,2,Wait,2 no more working with Asterisk 1.8? What is the equivalent? I installed Asterisk 1.8 and Star2Billing 1.9 but I am getting this error if someone can advise me: Executing [9615806234 at a2billing:1] Answer("SIP/gwsshihabuddinkw-00000014", "") in new stack [Apr 5 02:59:05] WARNING[2941]: pbx.c:4055 pbx_extension_helper: No application 'Wait,2' for extension (a2billing, 9615806234, 2) == Spawn extension (a2billing, 9615806234, 2) exited non-zero on 'SIP/gwsshihabuddinkw-00000014' Now, my investigations: The extensions.conf: [a2billing] exten => _X.,1,Answer exten => _X.,2,Wait,2 exten => _X.,3,DeadAGI,a2billing.php exten => _X.,4,Wait,2 exten => _X.,5,Hangup ;
isrlgb at gmail.com
2011-Apr-05 08:33 UTC
[asterisk-users] Asterisk 1.8 and new the command: exten => _X., 4, Wait, 2
Change Wait,2 to wait(2) -----Original Message----- From: bilal ghayyad <bilmar_gh at yahoo.com> Sender: asterisk-users-bounces at lists.digium.com Date: Tue, 5 Apr 2011 01:31:11 To: <asterisk-users at lists.digium.com> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Subject: [asterisk-users] Asterisk 1.8 and new the command: exten => _X., 4, Wait, 2 OK Dears; Is the exten => _X.,2,Wait,2 no more working with Asterisk 1.8? What is the equivalent? I installed Asterisk 1.8 and Star2Billing 1.9 but I am getting this error if someone can advise me: Executing [9615806234 at a2billing:1] Answer("SIP/gwsshihabuddinkw-00000014", "") in new stack [Apr 5 02:59:05] WARNING[2941]: pbx.c:4055 pbx_extension_helper: No application 'Wait,2' for extension (a2billing, 9615806234, 2) == Spawn extension (a2billing, 9615806234, 2) exited non-zero on 'SIP/gwsshihabuddinkw-00000014' Now, my investigations: The extensions.conf: [a2billing] exten => _X.,1,Answer exten => _X.,2,Wait,2 exten => _X.,3,DeadAGI,a2billing.php exten => _X.,4,Wait,2 exten => _X.,5,Hangup ; From the other side: I did installations for Star2Billing version 1.9, I copied the a2billing.conf to the /etc/, also I enabled the manager.conf with port 5038. I copied a2billing.php and the lib to the agi-bin directory and I ran chmod +x for a2billing.php to make sure it is executable. And my php packages are: [root at Call-Bilal asterisk]# rpm -qa | grep php php-pgsql-5.2.9-2.fc10.i386 php-pear-1.7.2-2.fc10.noarch php-common-5.2.9-2.fc10.i386 php-pdo-5.2.9-2.fc10.i386 php-mbstring-5.2.9-2.fc10.i386 php-cli-5.2.9-2.fc10.i386 php-5.2.9-2.fc10.i386 php-mysql-5.2.9-2.fc10.i386 php-imap-5.2.9-2.fc10.i386 php-gd-5.2.9-2.fc10.i386 Note: I am able to place a normal call frome extension to extension but using a2billing, no success. Any help? Regards Bilal -- _____________________________________________________________________ -- 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
isrlgb at gmail.com
2011-Apr-05 08:35 UTC
[asterisk-users] Asterisk 1.8 and new the command: exten => _X., 4, Wait, 2
Also change DeadAGI,a2billing.php to AGI(a2billing.php) -----Original Message----- From: bilal ghayyad <bilmar_gh at yahoo.com> Sender: asterisk-users-bounces at lists.digium.com Date: Tue, 5 Apr 2011 01:31:11 To: <asterisk-users at lists.digium.com> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Subject: [asterisk-users] Asterisk 1.8 and new the command: exten => _X., 4, Wait, 2 OK Dears; Is the exten => _X.,2,Wait,2 no more working with Asterisk 1.8? What is the equivalent? I installed Asterisk 1.8 and Star2Billing 1.9 but I am getting this error if someone can advise me: Executing [9615806234 at a2billing:1] Answer("SIP/gwsshihabuddinkw-00000014", "") in new stack [Apr 5 02:59:05] WARNING[2941]: pbx.c:4055 pbx_extension_helper: No application 'Wait,2' for extension (a2billing, 9615806234, 2) == Spawn extension (a2billing, 9615806234, 2) exited non-zero on 'SIP/gwsshihabuddinkw-00000014' Now, my investigations: The extensions.conf: [a2billing] exten => _X.,1,Answer exten => _X.,2,Wait,2 exten => _X.,3,DeadAGI,a2billing.php exten => _X.,4,Wait,2 exten => _X.,5,Hangup ; From the other side: I did installations for Star2Billing version 1.9, I copied the a2billing.conf to the /etc/, also I enabled the manager.conf with port 5038. I copied a2billing.php and the lib to the agi-bin directory and I ran chmod +x for a2billing.php to make sure it is executable. And my php packages are: [root at Call-Bilal asterisk]# rpm -qa | grep php php-pgsql-5.2.9-2.fc10.i386 php-pear-1.7.2-2.fc10.noarch php-common-5.2.9-2.fc10.i386 php-pdo-5.2.9-2.fc10.i386 php-mbstring-5.2.9-2.fc10.i386 php-cli-5.2.9-2.fc10.i386 php-5.2.9-2.fc10.i386 php-mysql-5.2.9-2.fc10.i386 php-imap-5.2.9-2.fc10.i386 php-gd-5.2.9-2.fc10.i386 Note: I am able to place a normal call frome extension to extension but using a2billing, no success. Any help? Regards Bilal -- _____________________________________________________________________ -- 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