Displaying 20 results from an estimated 600 matches similar to: "app_prepaid won't load - undefined symbol mysql_num_fields"
2004 Jun 28
1
cannot make app_prepaid
hai there, today i tried to implement the prepaid application to my * box.
I do the step that mantion in to voip-info. i copy the app_prepaid.c and
Make file to my asteris/apps, then i run the make. but it show an error like
:
gcc -shared -Xlinker -x -o app_prepaid.so app_prepaid.o -lpq
/usr/bin/ld: cannot find -lpq
collect2: ld returned 1 exit status
make[1]: *** [app_prepaid.so] Error 1
2004 Jun 18
1
app_prepaid NAT issue
I was able to get app_prepaid working, but unfortunately I am getting one
way audio on the phone that I was placing the call from. It is behind NAT.
It appears that the app_prepaid is not taking this into consideration since
I see:
Jun 18 17:46:25 DEBUG[1133742896]: chan_sip.c:4130 build_route: build_route:
Contact hop: <sip:7708183799@192.168.1.101:5060;line=jet7pbic>
Jun 18 17:46:25
2004 Jun 10
3
FW: question about prepaid app_prepaid
Hi,
I have compiled and installed app_prepaid module. But have problem when
connect to postgres database. I guess so because after key in card number,
it always play prepaid-no-aaa voice file.
Anyone succeeded in configuring the app_prepaid for prepaid calling service
for asterisk? Please help.
Ps: where can I view the log file for this module.
Thanks.
Tom
--------------
2004 Jun 10
1
RE: question about prepaid app_prepaid
Hi,
As you asked, I have included my diff to what I did for the DIAL command. I
probably didn't stick to some * pre-agreed standard of coding or something,
so if these things offend you then I suggest that you close your eyes. :)
The biggest thing to consider when you are doing a prepaid system is, what
if the person with the same account in/out calls twice? I chose, for now,
just to keep
2004 Jun 16
1
Modified Prepaid Error
I am trying to install the Modified Prepaid App. I
have installed PostgeSQL, created the tables, etc.
Make Install runs ok. The when I try to launch
asterisk (asterisk -vvvvvgc), it fails to run. I get
the following errors,
1st error:
[app_prepaid.so] => (Prepaid Application)
== Parsing '/etc/asterisk/prepaid.conf': Found
Jun 16 14:27:27 ERROR[-1085267840]: app_prepaid.c:127
2004 Aug 23
1
Problem with mysql and with asterisk
Hi Every one and Lerale Erwan
I have briefly describe my problem and I have provide the steps as follows:
I have intalled redhat properly and from the konsole I checked with mysql.
"rpm -qa | grep mysql" and the konsole provide me the message:
mysql-3.23.54a-11
mysql-server-3.23.54a-11
Then I have download the asterisk and addons:
By the using of :
cd /usr/src
export
2008 Apr 23
2
prepaid on the trunks
if i have this setup:
[sip users] -- [asterisk] --- [as5300] --- [pstn]
asterisk will talk to as5300 using sip. i will use as5300 as a trunk on the asterisk so sip users can call out to pstn.
what i would like to is do prepaid on those trunks, not on the sip users. sip users can call any other sip users . i want to do it that way coz i'm trying to build a multi-tenant pbx, and i will use
2004 Dec 17
1
modified prepaid application
how can we integrate the modified-prepaid application with asterisk
because when i compile the app_prepaid it gives bunch of errors.
2004 Jun 24
4
Asterisk with PostgreSQL
Hello Everybody,
I am trying to configure Asterisk to listen into a database which is
created in PostgreSQL. Whenever asterisk starts up, it is unable to
connect to the pg database and gives the following error:
[cdr_pgsql.so] => (PostgreSQL CDR Backend)
== Parsing '/etc/asterisk/cdr_pgsql.conf': Found
Jun 24 21:20:53 DEBUG[1074494336]: cdr_pgsql.c:284 my_load_module:
cdr_pgsql:
2004 Apr 12
1
Voicemail config from database
Any help with this will be greatly appreciated. When re-compiling * to
include voicemail access from a MySQL database, I recieve the follwing
error. Anybody know how I can fix this? Am I missing packages somewhere?
app_voicemail.c:44:25: mysql/mysql.h: No such file or directory
In file included from app_voicemail.c:247:
mysql-vm-routines.h:7: parse error before '*' token
2004 May 26
7
PostgreSQL
Hi to all!!
Here's my problem:
[cdr_pgsql.so] => (PostgreSQL CDR Backend)
== Parsing '/etc/asterisk/cdr_pgsql.conf': Found
May 26 17:21:35 ERROR[16384]: cdr_pgsql.c:298 my_load_module: cdr_pgsql:
Unable to connect to database server localhost.
Calls will not be logged!
May 26 17:21:35 ERROR[16384]: cdr_pgsql.c:299 my_load_module: cdr_pgsql:
Reason: could not connect to server:
2008 Dec 03
1
Dynamic loading changed in asterisk 1.4
Hi all,
I have browsed through a couple of posts that deal with the failure of
applications that originally worked on asterisk 1.2 but fail on asterisk
1.4, but can't seem to understand what I need to change in my installation.
I also went through the CHANGES.txt file in my asterisk source directory,
and still was none the wiser.
I have a a MySQL integrated Prepaid application which worked
2004 Jun 22
0
Modified Prepaid App Database error
Prepaid app can not connect to the database,
[app_prepaid.so] => (Prepaid Application)
== Parsing '/etc/asterisk/prepaid.conf': Found
Jun 22 14:38:43 ERROR[-1084964736]: app_prepaid.c:127
check_connected: app_prepaid: cannot connect to
database server localhost. Calls will not be logged
== Registered application 'Prepaid'
Here is pgsql confs;
pg_hba.conf:
------------
2004 Jun 11
3
Simplified Voicemail app / keeping peace with cohabitants
Hello,
I have modified the VoiceMailMain application to satisfy the request of
the "local users", i.e., my wife. She lost patience with too many
options (we have one mailbox, so we don't need to forward messages, or
reply to messages, or file them in 6 different folders...) So the
modified app says "Message 1", reads the message, "Message 2", reads...
2004 Aug 23
1
Problem with asterisk and postgresql
Hi Every one and Fabio Donaggio
Fabio Donaggio you have faced same type of problem with postgresql with
asterisk. Did you solved your problem. Please help me. The problem is as
follows:
When i reload the asterisk I had got this error
"== Parsing '/etc/asterisk/cdr_pgsql.conf': Found
Aug 23 14:22:33 ERROR[1076245120]: cdr_pgsql.c:299 my_load_module:
cdr_pgsql: Unable to connect
2005 Jun 07
4
I want to move the MySQL server out to another machine
I tried to add the databases from the localhost to the database server
and changed the every /etc/asterisk/*.conf from host=localhost to
host=192.168.10.10
(my dababase server)
When I restart asterisk, I do not get any errors, but after a phone call
I see:
Jun 7 18:11:56 ERROR[7877]: cdr_addon_mysql.c:400 my_load_module:
Failed to connect to mysql database cdr on 192.168.10.10
Or if I try
2006 Jan 09
3
Problem Compiling Zaptel 1.2.1
[root@iw-asterisk zaptel-1.2.1]# make
gcc -I/lib/modules/2.4.21-4.ELsmp/build/include -O6 -DMODULE -D__KERNEL__
-DEXPORT_SYMTAB -I/lib/modules/2.4.21-4.ELsmp/build/drivers/net -Wall -I.
-Wstrict-prototypes -fomit-frame-pointer
-I/lib/modules/2.4.21-4.ELsmp/build/drivers/net/wan
-I/lib/modules/2.4.21-4.ELsmp/build/include/net -DMODVERSIONS -include
2007 Jul 23
3
extension.conf doesn't reload?
Hi everyone,
I have just installed Asterisk 1.4.6 on CentOS 5. When I issues the
reload command in the asterisk command prompt, it doesn't seem to read
my configuration files. Any suggestions?
pbx*CLI> reload
The 'reload' command is deprecated and will be removed in a future
release. Please use 'module reload' instead.
== Parsing '/etc/asterisk/cdr.conf': Found
2004 Jun 14
5
Prepaid application error
Hi, I successfully installed postgres and prepaid application in my
asterisk box but after I digited the code
I receive this error:
ERROR: Function asterisk_authenticate("unknown", "unknown") does not
exist
Unable to identify a function that satisfies the given argument
types
You may need to add explicit typecasts
-- Playing 'prepaid-no-aaa'