[Asterisk-Users] Modified Prepaid doesn't update the balance

2004-08-15 Thread Glynn Condez
Hi all,

Has anyone successfully patch the modified prepaid application to update the
balance on the card after a call?


Best regards,
Glynn

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: rate-engine loading error

2004-08-01 Thread Glynn Condez
Hi,

Is there a new release of rate-engine that could compile of CVS-head of
asterisk?

thanks


> I compiled rate-engine version rate-engine-0.5.2 with Asterisk
> CVS-HEAD-07/14/04-18:25:12 with some warnings. When I load the asterisk in
> debug mode, I got an error:
> [rate_engine.so]Jul 29 13:51:19 WARNING[1024]: loader.c:242
> ast_load_resource: /usr/lib/asterisk/modules/rate_engine.so: undefined
> symbol: ast_channel_walk
> Jul 29 13:51:19 WARNING[1024]: loader.c:423 load_modules: Loading module
> rate_engine.so failed!
>
> --- the compile warnings ---
>
cc -O3 -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -g -fno-in
>
line-functions -D_REENTRANT -I/usr/include/pcre -DWITH_MYSQL -I/usr/include/
> mysql   -c -o rate_engine.o rate_engine.c
> In file included from /usr/include/asterisk/file.h:17,
>  from rate_engine.c:28:
> /usr/include/asterisk/channel.h:702: warning: declaration of `clone'
shadows
> global declaration
> In file included from rate_engine.c:28:
> /usr/include/asterisk/file.h:42: warning: declaration of `open' shadows
> global declaration
> /usr/include/asterisk/file.h:44: warning: declaration of `write' shadows
> global declaration
> /usr/include/asterisk/file.h:48: warning: declaration of `read' shadows
> global declaration
> /usr/include/asterisk/file.h:49: warning: declaration of `close' shadows
> global declaration
> /usr/include/asterisk/file.h:137: warning: declaration of `rewind' shadows
> global declaration
> In file included from rate_engine.c:32:
> /usr/include/asterisk/pbx.h:490: warning: declaration of `sync' shadows
> global declaration
> /usr/include/asterisk/pbx.h:494: warning: declaration of `sync' shadows
> global declaration
> In file included from rate_engine.c:36:
> /usr/include/asterisk/manager.h:99: warning: declaration of `description'
> shadows global declaration
> rate_engine.c:60: warning: duplicate `static'
> rate_engine.c: In function `cdr_ratecall':
> rate_engine.c:451: warning: implicit declaration of function
> `ast_channel_walk'
> rate_engine.c:451: warning: assignment makes pointer from integer without
a
> cast
> rate_engine.c:451: warning: assignment makes pointer from integer without
a
> cast
> rate_engine.c: In function `poster_worker':
> rate_engine.c:653: warning: unused parameter `arg'
> rate_engine.c: In function `rates_reload':
> rate_engine.c:1802: warning: unused parameter `argc'
> rate_engine.c:1802: warning: unused parameter `argv'
> rate_engine.c: In function `rates_status':
> rate_engine.c:1814: warning: unused parameter `argc'
> rate_engine.c:1814: warning: unused parameter `argv'
>
cc -O3 -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -g -fno-in
>
line-functions -D_REENTRANT -I/usr/include/pcre -DWITH_MYSQL -I/usr/include/
> mysql   -c -o pcre_subst.o pcre_subst.c
> cc -g -fno-inline-functions -L/usr/lib/mysql -shared -o rate_engine.so
> rate_engine.o pcre_subst.o -lpthread -lmysqlclient -lz -lpcre
>
>
> what should be the problem and how do i fix it?
>
> regards.
>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] rate-engine loading error

2004-07-28 Thread Glynn Condez
Hi all,

I compiled rate-engine version rate-engine-0.5.2 with Asterisk
CVS-HEAD-07/14/04-18:25:12 with some warnings. When I load the asterisk in
debug mode, I got an error:
[rate_engine.so]Jul 29 13:51:19 WARNING[1024]: loader.c:242
ast_load_resource: /usr/lib/asterisk/modules/rate_engine.so: undefined
symbol: ast_channel_walk
Jul 29 13:51:19 WARNING[1024]: loader.c:423 load_modules: Loading module
rate_engine.so failed!

--- the compile warnings ---
cc -O3 -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -g -fno-in
line-functions -D_REENTRANT -I/usr/include/pcre -DWITH_MYSQL -I/usr/include/
mysql   -c -o rate_engine.o rate_engine.c
In file included from /usr/include/asterisk/file.h:17,
 from rate_engine.c:28:
/usr/include/asterisk/channel.h:702: warning: declaration of `clone' shadows
global declaration
In file included from rate_engine.c:28:
/usr/include/asterisk/file.h:42: warning: declaration of `open' shadows
global declaration
/usr/include/asterisk/file.h:44: warning: declaration of `write' shadows
global declaration
/usr/include/asterisk/file.h:48: warning: declaration of `read' shadows
global declaration
/usr/include/asterisk/file.h:49: warning: declaration of `close' shadows
global declaration
/usr/include/asterisk/file.h:137: warning: declaration of `rewind' shadows
global declaration
In file included from rate_engine.c:32:
/usr/include/asterisk/pbx.h:490: warning: declaration of `sync' shadows
global declaration
/usr/include/asterisk/pbx.h:494: warning: declaration of `sync' shadows
global declaration
In file included from rate_engine.c:36:
/usr/include/asterisk/manager.h:99: warning: declaration of `description'
shadows global declaration
rate_engine.c:60: warning: duplicate `static'
rate_engine.c: In function `cdr_ratecall':
rate_engine.c:451: warning: implicit declaration of function
`ast_channel_walk'
rate_engine.c:451: warning: assignment makes pointer from integer without a
cast
rate_engine.c:451: warning: assignment makes pointer from integer without a
cast
rate_engine.c: In function `poster_worker':
rate_engine.c:653: warning: unused parameter `arg'
rate_engine.c: In function `rates_reload':
rate_engine.c:1802: warning: unused parameter `argc'
rate_engine.c:1802: warning: unused parameter `argv'
rate_engine.c: In function `rates_status':
rate_engine.c:1814: warning: unused parameter `argc'
rate_engine.c:1814: warning: unused parameter `argv'
cc -O3 -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -g -fno-in
line-functions -D_REENTRANT -I/usr/include/pcre -DWITH_MYSQL -I/usr/include/
mysql   -c -o pcre_subst.o pcre_subst.c
cc -g -fno-inline-functions -L/usr/lib/mysql -shared -o rate_engine.so
rate_engine.o pcre_subst.o -lpthread -lmysqlclient -lz -lpcre


what should be the problem and how do i fix it?

regards.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] ast_data compile problem in asterisk CVS Asterisk CVS-HEAD-07/14/04

2004-07-19 Thread Glynn Condez
Hi all,

Is there any updates on ast_data from svn.asteriskdocs.org/res_data to work
with Asterisk cvs Asterisk CVS-HEAD-07/14/04?

regards,
Glynn

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] WellTech Wellgate 5250 E1 trunk gateway

2004-07-08 Thread Glynn Condez
Hi all,

I would like to ask if anyone successfully connected a Welltech Wellgate
5250 E1 trunk gateway to Asterisk?

Anyone can post a working config on the Asterisk or WG5250 would highly
appreciated.

Best regards.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Asterisk config on PostgreSQL

2004-07-06 Thread Glynn Condez
Hi all,

Based on the website http://svn.asteriskdocs.org/ast_data, I am trying to
migrate my config file to PostgreSQL,but I am having problem calling the
other endpoint which I configured his account and extension on sql. I got an
error code 484. I would like to ask what should be the correct entry in the
extension in sql.

regards.



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Monitoring Asterisk

2004-07-02 Thread Glynn Condez
Hi all,

I would like to ask if Asterisk will allow to be monitor via web browser. I
am planning to create a web interface to monitor the current sip connected
end points and status of iax channels use.

If i write a code in php to execute this command should it be possible?
asterisk -rx "iax show channels"

regards.


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re:[Asterisk-Users] QoS in Cisco

2004-07-01 Thread Glynn Condez
What IOS version has a fix for this bug and what IOS should work in QoS in
ethernet.

regards



>I remember seeing a notice about a fix about a month ago, don't remember
any
specifics.  The actual bug was a weird one and required simultaneous use of
QoS output service policies, PBR, and multicast PIM-DM to happen.



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Help with Welltech 2FXO gateway, GS BT100 and Asterisk (FIXED)

2004-07-01 Thread Glynn Condez
Hi all,

Just to follow up on my post. I just fixed the problem by removing the
dtmfmode entry on my sip.conf, voice works well now.

regards


- Original Message -
From: "Glynn Condez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 01, 2004 6:28 PM
Subject: [Asterisk-Users] Help with Welltech 2FXO gateway, GS BT100 and
Asterisk


> Hi All,
>
> I'm trying to configure 2 GS BT100 connected to asterisk and Welltech 2
> ports FXO gateway. I configure WellTech 2ports FXO and GS BT100, both GS
> BT100 can call each other without any problem but when I tried to call a
> local extensions connected to my Welltech FXO gateway, I couldn't hear any
> voice on both ends.
>
> I would like to ask if anyone has ever encountered this kind of problem
and
> what should be the solution about this. I already upgrade the firmware of
my
> Welltech 2FXO to version 103 but problem still the same.
>
> Is this an Asterisk related issue or maybe on my config?
>
> I hope anyone can open up the solution or should I post my config for
> further info about my settings.
>
> thanks in advance.
>
> regards.
>
>
>
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Help with Welltech 2FXO gateway, GS BT100 and Asterisk

2004-07-01 Thread Glynn Condez
Hi All,

I'm trying to configure 2 GS BT100 connected to asterisk and Welltech 2
ports FXO gateway. I configure WellTech 2ports FXO and GS BT100, both GS
BT100 can call each other without any problem but when I tried to call a
local extensions connected to my Welltech FXO gateway, I couldn't hear any
voice on both ends.

I would like to ask if anyone has ever encountered this kind of problem and
what should be the solution about this. I already upgrade the firmware of my
Welltech 2FXO to version 103 but problem still the same.

Is this an Asterisk related issue or maybe on my config?

I hope anyone can open up the solution or should I post my config for
further info about my settings.

thanks in advance.

regards.



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Fixed! Midifyed-Prepaid-Application

2004-06-21 Thread Glynn Condez
Hi Hekuran,

You can post an example account how did you populate the database on it?
thanks

regards


- Original Message -
From: "Hekuran Doli" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 21, 2004 9:23 AM
Subject: [Asterisk-Users] Fixed! Midifyed-Prepaid-Application


> Hi all
> I fixed this problem I just Granted Privileges for ap_prepaid tables and
> seems to work well.
>
> Thank you very much!
>
> Best Regards
> Hekuran Doli
>
> > Thank you Alex.
> > I just got an idea that something wrong is hapening with postgresql.
> > after I log_statement = true I got the following error that I didnt
> > understand why this could hapen couse I dont know postgresql to much but
> > Im trying to search in google. If any one couse help me to fix this It
> > would be so helpfull.
> >
> > LOG:  statement: SELECT 1
> > LOG:  statement: SELECT * FROM asterisk_authenticate('22') AS
> > authenticate(credit integer, tariffid integer, activated bool, expired
> > bool, cardid text)
> > ERROR:  permission denied for relation cid
> > CONTEXT:  PL/pgSQL function "asterisk_authenticate" line 8 at select
> > into variables
> >
> > Best Regards
> > Hekuran
> >
> >
> >> Try to debug postgresql query's done by app_prepaid...
> >> set log_statement = true in postgresql.conf and watch postgresql log's
> >> ..
> >> maybe it can help you ...
> >>
> >> Alex
> >>
> >> On Sun, 2004-06-20 at 20:27 +, Hekuran Doli wrote:
> >>> bill my local clients registred to my asterisk box using sip
> >>
> >>
> >> ___
> >> Asterisk-Users mailing list
> >> [EMAIL PROTECTED]
> >> http://lists.digium.com/mailman/listinfo/asterisk-users
> >> To UNSUBSCRIBE or update options visit:
> >>http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >
> > ___
> > Asterisk-Users mailing list
> > [EMAIL PROTECTED]
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] asterisk server hang up after conference

2004-06-16 Thread Glynn Condez
Hi all,

I got to make the conference work by the help of  Jeremy and Philipp, thanks
guys.

Right now im having a problem again, my server hang up after a user exit on
a conversation in a conference.

unloading the modules ztdummy the server works very well. what should be the
problem, im using the cvs head of asterisk and zaptel.

thanks a lot.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] error loading meetme module

2004-06-16 Thread Glynn Condez
Hi all,

I'm configuring meetme in asterisk but no luck. I dont have a digium card,
so based on the wiki, i have to install the zaptel driver and enable the
ztdummy on it. I compiled, install the module and enable it on the
module.conf. When i tried to start the asterisk, asterisk wont start because
of the error in loading the meetme module.

Jun 16 15:36:56 WARNING[-1084989312]:
/usr/lib/asterisk/modules/app_meetme.so: undefined symbol: ast_moh_stop
Jun 16 15:36:56 WARNING[-1084989312]: Loading module app_meetme.so failed!

I use the cvs head version of asterisk and zaptel, im running on Fedora core
1 with the default kernel 2.4.22-1.2115.nptlsmp, I want to try the zaprtc
but based on the wiki, it wont work on a dual processor.

modprobe ztdummy loads the modules and lsmod result:
Module  Size  Used byNot tainted
ztdummy 2620   0  (unused)
usb-uhci   27436   0  [ztdummy]
usbcore82912   0  [usb-uhci]
zaptel182080   0  [ztdummy]
ixj   430148   0  (unused)
phonedev3744   0  [ixj]
iptable_filter  2444   0  (autoclean) (unused)
ip_tables  16544   1  [iptable_filter]
tulip  44288   1
floppy 58908   0  (autoclean)
sg 37580   0  (autoclean)
microcode   5024   0  (autoclean)
loop   13208   0  (autoclean)
lvm-mod64640   0
ext3   74148   2
jbd56624   2  [ext3]
aic7xxx   169328   3
sd_mod 13708   6
scsi_mod  111496   3  [sg aic7xxx sd_mod]

what should be the problem with meetme module wont work?

thanks.



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users