Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sun Apr 28, 2024 12:19 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Currently in use: 1
PostPosted: Fri Jul 14, 2006 8:56 pm 
Offline

Joined: Fri Jul 14, 2006 8:51 pm
Posts: 3
Does anyone have a problem with "hanging" up?

If I hang up manually, A2Billing doesn't seem to hangup correctly and sets a status of "currently in use: 1". I have to manually reset it back to zero for it to be usable again.

If I let the IVR hang me up by intentionally making invalid requests. "currently in use:" is correctly set to 0 and the phone hangs up correctly.

Any suggestions?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 14, 2006 8:59 pm 
Offline

Joined: Sun Jun 25, 2006 9:13 am
Posts: 183
Location: Germany
hello,


you have to install php-pcntl


Mohan


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 17, 2006 3:53 pm 
Offline

Joined: Fri Jul 14, 2006 8:51 pm
Posts: 3
Thanks, does it matter which version I use?

I am using CentOS 4.3 and I installed php4-pcntl-4.4.1-2.i386.rpm with rpm -ivh xxx.rpm. I'm using PHP Version 4.3.11 (default Trixbox 1.1.1 package).

Nothing observable happens when executing 'php -m | grep pcntl'.

Any suggestions?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 18, 2006 7:29 pm 
Offline

Joined: Sun Jun 25, 2006 9:13 am
Posts: 183
Location: Germany
hello,

i am not an expert.

my knowledge both have to be same ver.
php-pcntl-4.3.11xx

http://phprpms.sourceforge.net/pcntl


Mohan


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 19, 2006 8:39 pm 
Offline

Joined: Fri Jul 14, 2006 8:51 pm
Posts: 3
Mohan,

Thanks! It works now.

For anyone using Trixbox 1.1.1 (PhP 4.3.11)

You can download and install "php-pcntl-4.3.11-2.5.1.i386.rpm". It should work fine now.


Top
 Profile  
 
 Post subject: re php-pcntl
PostPosted: Wed Jan 03, 2007 7:31 pm 
Offline

Joined: Fri Dec 01, 2006 2:06 pm
Posts: 5
Location: PRGCZ
hi all,

i am kind of new to linux/a2billing and have the same problem.

rpm -q php show php-4.3.11-2.8

i did try to install with 'rpm -iv /tmp/php-pcntl-4.3.11-2.5.1.i386.rpm'. then query it with 'rpm -q php-pcntl-4.3.11-2.5.1.i386.rpm'. system tell me it is not install. but when i redo rpm -iv, it show its already installed.

also

php -m | grep pnctl show....

PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/imap.so' - libc-client.so.0: cannot open shared object file: No such file or directory in Unknown on line 0

anyone can help!!

thanks

tom


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 26, 2007 1:24 pm 
Offline

Joined: Fri Jan 26, 2007 1:15 pm
Posts: 7
I have the same problem, and I recomplied my php with '--enable-pcntl'
but it still doesnot work.
the reslut for php -m is

[PHP Modules]
ctype
ftp
gd
gettext
mbstring
mysql
overload
pcntl
pcre
posix
session
sockets
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
zlib

[Zend Modules]

any suggestion ?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 29, 2007 3:56 pm 
Offline

Joined: Fri Jan 26, 2007 1:15 pm
Posts: 7
it's my mistake
there are several php on my server
now I have change to the correct one.
It works now.


Top
 Profile  
 
 Post subject: Still Have a Problem
PostPosted: Fri Feb 23, 2007 6:14 pm 
Offline

Joined: Fri Feb 23, 2007 6:10 pm
Posts: 3
I have the Same Problem.
I dial from an Asterisk Extension to the Extension 225, the Lady asks for the PIN, I enter the Pin, The She sayd I have x Dollars, Then I hang up.

I call the 225 again, and when I enter the Pin, she says the Pin is already in Use.

I have Recompiled the PHP with --enable-pcntl, But still the same.
I have a Fresh Installation of TrixBox 2.0

[root@asterisk1 ~]# php -m
[PHP Modules]
ctype
mysql
overload
pcntl
pcre
posix
session
shmop
standard
sysvsem
sysvshm
tokenizer
wddx
xml

[Zend Modules]

[root@asterisk1 ~]#

PLEASE Help


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 23, 2007 10:58 pm 
Offline

Joined: Fri Apr 28, 2006 5:11 am
Posts: 426
may be this posting will help you?
playsolo wrote:
it's my mistake
there are several php on my server
now I have change to the correct one.
It works now.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 08, 2007 1:58 am 
Offline

Joined: Thu Feb 15, 2007 9:35 pm
Posts: 60
I have this same issue, when I do

> rpm -q php , it showed php-4.3.11-2.8

but when I do

> php -m

[PHP Modules]
bcmath
bz2
calendar
ctype
curl
dba
dbx
dio
exif
ftp
gd
gettext
gmp
iconv
imap
mbstring
mime_magic
mysql
openssl
overload
pcre
posix
pspell
session
shmop
snmp
sockets
standard
sysvsem
sysvshm
tokenizer
wddx
xml
yp
zlib


Can someone show me how to issue a command to compile it again ? Thanks for helping .. :(


Top
 Profile  
 
 Post subject: pcntl
PostPosted: Tue May 08, 2007 4:43 am 
Offline

Joined: Fri Feb 23, 2007 6:10 pm
Posts: 3
I have Recompiled the PHP myself wth pcntl enabled, and replaced it with the one that Asterisk uses it.

Asterisk2Billing is working fine, BUT FreePBX now does not work properly.

It does not write to the files!

for A2B to work, Make sure that the 'php' your asterisk system is using is the one with pcntl enabled. Because when I compiled, and did the install thing, the paths are different !

AFShin


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 08, 2007 6:54 am 
Offline

Joined: Thu Oct 19, 2006 9:56 am
Posts: 300
Location: Athens, Greece
In general (this is not a freepbx or a2billing issue) you should NOT manually compile and install source on a production system! Try to use rpms or debs or whatever your distro gives you.
Reason is, rpms have some additional tweaks suited for your system: --prefix is right, config files go to the right place and dependencies are handled. Moreover, when you will need to upgrade, rpms will have kept track of installed files and update them safely/sanely.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 34 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group