[asterisk-users] real time billing system

2006-09-29 Thread Pato Valarezo
Hi, sorry for the question, i've been searching for a real time billing 
system for asterisk with zap/sip support, for use in post paid systems 
like locutorios, do you know of or use any ?


thanks

--
patoVala
Linux User#280504
Hablando en http://www.elprimoalcahuete.com
El tiempo cura los dolores y las querellas porque cambiamos. Ya no 
somos la misma persona. -- Blaise Pascal. (1600-1662) Filósofo y 
escritor francés. 

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] real time billing system

2006-09-29 Thread Pato Valarezo

Chapeti wrote:
Hola pato, hasta donde yo sé no hay nada que sea código abierto, lo que 
me parece mas fácil es que te hagas
uno propio, echale una ojeada a lo que hay en 
http://www.voip-info.org/wiki-Asterisk+manager+API, lo
único que haría falta sería un poco de conocimientos deVB 6 y de como 
trabajar con sockets ( cosa que no es nada del otro mundo ).


Saludos.


mmm... bueno no estaba buscando precisamente algo que sea abierto, 
simplemente algo que me ayude a instalar un pequeño locutorio con 
telefonos sip y con 4 salidas zap.
Para lo que me comentas del AMI, muy interesante, la verdad que se 
pueden hacer maravillas... aunque no lo hiciera en VB, mas bien en algo 
mejor como python!. Voy a buscar que encuentro y si no hay nada 
adaptable me pondré manos a la obra con esto.


gracias por la información.

saludos

--
patoVala
Linux User#280504
Hablando en http://www.elprimoalcahuete.com
El tiempo cura los dolores y las querellas porque cambiamos. Ya no 
somos la misma persona. -- Blaise Pascal. (1600-1662) Filósofo y 
escritor francés. 

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Line Pickup Problem

2006-09-26 Thread Pato Valarezo

Lacy Moore - Aspendora wrote:

Wherever you have your exten = s,1,Answer statement, replace with:
 
exten = s,1,Wait(30) ; or however long you want to wait to give someone 
else the chance to answer

exten = s,n,Answer
 
then continue on.
 
Asterisk will then wait 30 seconds before it answers the phone.  You 
would probably want this a lower number, though.




Hi, i'm using x100P clones and i have two related  issues:

1. In the first system (or in both) when someone answer the call, 
asterisk doesn't notice the stop ringing signal and continues with the 
dialplan, and of course answer the call and plays the welcome message 
and interrupts the current call in progress.


2. One of the system wich is connected to the PSTN doesn't seems to wait 
the time i specify in exten = s,1,Wait(10), and answers the line in a 
shorter time... it seems like the time doesn't count to it.


I'm testing and training with this systems until i can buy a better 
quality hardware i expect to not have this problems with digium or 
better hardware. If someone has experience in this i'll apreciate comments.



--
patoVala
Linux User#280504
Hablando en http://www.elprimoalcahuete.com
Res non verba. (Las vacas no hablan). -- Cantervill. (1953) Poeta, 
cantautor, internauta y webmaster argentino. 

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] callback without agi

2006-09-14 Thread Pato Valarezo

Jean-Michel Hiver wrote:

Patricio Valarezo a écrit :

Hi, it's possible to implement a callback without agi?, i'm trying 
this but * exits without dialing (if I hungup during s,3 wait) but if 
it hungs in s,4 it dials, so is there an explanation to this behavior? 
there is an alternative to do it? just for learning



Sorry to ask, but what's wrong with AGI?

Cheers,
Jean-Michel.


Thanks for the answers, I just thougt than using AGI is like killing 
flyes with a cannon ;-), i've implemented a new approach with AGI 
anyway, i'm in a deeplearning process.


I've another question: when you enumerate the extensions priority  with 
'n' what's the better aproach to handle the n+101 extensions?


ie:

exten = 333,n,Authenticate(1234)
.
.
exten = 333,n+101,NoOp(Is this ok??)


Or i have to explicitly enumerate the priority? ... i'm searching for 
doc about this.


thanks a lot


--
patoVala
Linux User#280504
Hablando en http://www.elprimoalcahuete.com
El que a todos saluda, pronto rompe su cabeza. 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] WAIT FOR DIGIT not working

2006-09-14 Thread Pato Valarezo

Joel Lansden wrote:

Hello all,

I have been trying to solve this problem for days, with no luck.

When I run an AGI script from my extensions.conf, it seems no matter 
what I do, the WAIT FOR DIGIT command will not work.  The system just 
flies past it without waiting a single millisecond, and of course my 
script crashes because it doesn't have the input it needs.  I have run 3 
different versions of Asterisk in the hopes of clearing this up, and 
presently am on 1.2.12.1.


My script is simple:


#!/usr/bin/perl

use POSIX;

$| = 1;

sub trim {
my @out = @_;
for (@out)
{
   s/^\s+//;
   s/\s+$//;
}
return wantarray ? @out : $out[0];
}

while(STDIN) {
chomp;
last unless length($_);
if (/^agi_(\w+)\:\s+(.*)$/) {
$AGI{$1} = $2;
}
}

print EXEC Ringing\n;
print EXEC Wait 1\n;
print EXEC Answer\n;
print EXEC Festival 'Please enter the extension you want to call'\n;
$target = ;

print WAIT FOR DIGIT 5000\n;
$target .= STDIN;
print WAIT FOR DIGIT 5000\n;
$target .= STDIN;
print WAIT FOR DIGIT 5000\n;
$target .= STDIN;

print STDERR Result was $target\n;


That's all there is to it, but it won't work.

Can anyone help?
Thanks!!!

~Joel


Hi, are you using SIP? note that you NEED to answer before launch the AGI.



--
patoVala
Linux User#280504
Hablando en http://www.elprimoalcahuete.com
La práctica vale más que la gramática. 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users