Displaying 20 results from an estimated 3000 matches similar to: "agi and set variable ( accountcode in aserisk 1.4)"
2003 Aug 03
2
AGI accountcode.
I've setup cdr_mysql and am using AGI to authenticate users based on the
called-from # (callerid), use the AGI perl module. Looking at the info
stored in the caller detail, I see a field called "accountcode", is it
possible for me to set this field in AGI? I'd like to tie it to a
username, that I pull during my SQL authentication, so I can search the
cdr table based on a
2004 Oct 05
2
Howto change ACCOUNTCODE in extensions.conf
Hi,
I want to assign different accountcodes (for billing)
according to the IP address and or the H.323 name
(chan_oh323).
I tried in extensions.conf something like
setVar(ACCOUNTCODE=userid)
but in cdr I find the accountcode set in oh323.conf.
Howto change it in extensions.conf?
Roger.
2008 Dec 07
0
Unexpected behaviour in ForkCDR
Dear members of the list;
I am writing in the hope to get some help with a very peculiar problem with
my new asterisk 1.6.0.1 installation. The same code runs on version 1.2
without problems, but it seems the behaviour has changed (also on 1.4.7,
which I tried).
Please consider the following extension:
exten => 1213,1,Answer
exten => 1213,n,Set(counter=X)
exten =>
2008 Feb 18
1
ForkCdr in 1.4.*
Hello,
I'm looking for a way to restore old behaviour (before Arkadia patch
#0010668) of ForkCDR application in 1.4.18
I've done some research directly in the code (cdr.c & forkcdr.c), but
can't find any flag.
I am just f*c*ed or do you have something to suggest ? :)
Thank you for help.
Mathieu
2007 Jun 06
0
Solved: [SetAccount in extensions.conf]
> I'm using Asterisk 1.4 and I'm wanting to set an
> account code for incoming calls. In the
> extensions.conf file I have the following:
>
> exten => s,1,SetAccount(1234)
> exten => s,n,Dial(SIP/1234)
>
> Then when I dial the extension the following error
> message pops up in the CLI:
>
> [Jun 6 19:12:40] WARNING[28167]: pbx.c:1783
>
2007 Jun 06
0
SetAccount in extensions.conf
I'm using Asterisk 1.4 and I'm wanting to set an
account code for incoming calls. In the
extensions.conf file I have the following:
exten => s,1,SetAccount(1234)
exten => s,n,Dial(SIP/1234)
Then when I dial the extension the following error
message pops up in the CLI:
[Jun 6 19:12:40] WARNING[28167]: pbx.c:1783
pbx_extension_helper: No application 'SetAccount' for
2008 May 27
2
ForkCDR
Hello, CDR fans!
I'm looking at some issues brought forward over time:
12726/10668: someone wants me to revert the changes I made via
bug 10668, last Sept; (that's
they are messing him up. And I didn't do the change
suggested in ForkCDR, for fear of lousing up
folks depending on current behavior. Which probably sparked:
11721 :
2006 Nov 08
0
Warning: "Channel does not have a CDR" when doing ForkCDR
Gang,
I'm having this error pop up when I do a ForkCDR, and I'm not sure how
to get around it. Here are a few log lines:
Nov 8 10:37:08 VERBOSE[28079] logger.c: -- Executing
ForkCDR("Zap/49-1", "") in new stack
Nov 8 10:37:08 WARNING[28079] app_forkcdr.c: Channel does not have a
CDR
The scenario occurs like this:
I use a .call file to generate a call on
2005 Feb 18
0
Installing Asterisk on Mandrake 10.1 Official
I have a pretty basic Mandrake 10.2 w/KDE 3.2 and I installed Asterisk-1.0.1-2mdk. I installed the source of main and contrib from ftp, so at the install time I accepted all the packages needed to be installed too.
The installation went smooth, but when I try to execute asterisk (#asterisk -vvv) I encounter few warnings I end with an error. At this point I didn't touch any conf file, I was
2005 Jul 18
0
why $cdr{'CALLERID'} and $cdr{'DNID'} are empty in perl agi connected with asterisk manager
hello perl experts
i am working with "ast-rad-acc.pl" from
http://www.voip-info.org/tiki-index.php?page=PortaOne+Radius+auth
i dont know why $cdr{'DNID'} and $cdr{'CALLERID'}
under 'sub send_acc {' are empty. i m successfully
connected with asterisk manager and when call i hangup
my perl application is getting that all other thing
are ok but i dont know why only
2005 Jul 15
2
[Aserisk-Users]no audio inside the net
Hi list, i've problems with my * server and the 4 phones which are
linked to it. i've 2 grandstream bt100 with the firmware upgraded to
101, a wi-fi phone (i don't know its brand) and another ip phone i
don't know its brand. with this sip.conf :
[general]
port = 5060
bindaddr = 192.168.100.229
context = default ;x changed from default to sip
localnet = 192.168.100.0/24
2005 Jun 20
3
AGI/PHP errors
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 2593 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050620/a0fda201/attachment.jpeg
2014 Jan 08
0
(no subject)
Hi, all
I use Ubuntu 12.04.01 TLS and install asterisk 11.7.0 (tar.gz downloaded
from asterisk.org). We named it "Asterisk11".
I want to generate a call file to /var/spool/asterisk/outgoing. This call
will dial out to Local Channel and return to some Extens.
Then Asterisk11 will generate a CDR records to MySQL's cdr table(in
database "mydatabase") via cdr_adaptive_odbc.
2003 Oct 13
1
PRI/E1: machine freeze/dies after a few calls
Hi all,
inside my * is a E400P. The machine is a PII 400Mhz with 256MB Ram. OS is
Debian woody. * is the newest cvs co.
I have written a little callgen script which make outgoing calls through my
*:
#! /bin/sh
set -e
n=$1 # Nummer
anz=$2 # Anzhal der Versuche
anz2=$3 # Kan?le
sle=$4 # Timeout bis zum n?chsten Versuch
if [ -z $4 ]; then
sle=0
fi
s=1
2014 Jan 08
0
Billsec 0 when using call file to Local channel via cdr_adapative_odbc
Hi, all
Sorry that forgot add mail subject last one.
I use Ubuntu 12.04.01 TLS and install asterisk 11.7.0 (tar.gz downloaded
from asterisk.org). We named it "Asterisk11".
I want to generate a call file to /var/spool/asterisk/outgoing. This call
will dial out to Local Channel and return to some Extens.
Then Asterisk11 will generate a CDR records to MySQL's cdr table(in
database
2014 Jan 08
0
(CALL FILES to Local Channel)billsec Zero in cdr via cdr_adaptive_odbc
Hi, all
Sorry for null subject last mail.
I use Ubuntu 12.04.01 TLS and install asterisk 11.7.0 (tar.gz downloaded
from asterisk.org). We named it "Asterisk11".
I want to generate a call file to /var/spool/asterisk/outgoing. This call
will dial out to Local Channel and return to some Extens.
Then Asterisk11 will generate a CDR records to MySQL's cdr table(in
database
2004 Dec 28
1
Asterisk consuming 100% CPU - CDR loop
Hi,
I had Asterisk threads consuming 100% CPU at times since last week. Of
course, last week an extra card was installed (we had a 1PRI, a 4PRI was
added) so search concentrated on that, but to no avail. Today, I installed
DDD on the machine and quickly found out that it was looping because
cdr->next->next == cdr in ast_cdr_setapp().
I patched this up with some simple code in
2009 Jan 16
2
CDR problems -- two call legs create only one CDR. Using ForkCDR() not even working.
Hello,
When I bridge an incoming and outgoing call (attempting to simulate
call-forwarding) I'm only getting one CDR -- that of the outgoing call.
A (PSTN) calls B (residing on Asterisk) and the Asterisk calls C (cell phone
on PSTN) and bridges the call.
The only CDR created is from B to C. I have even tried using Answer() and
ForkCDR() to get two CDRs, but to no avail.
I am starting to
2005 Jul 21
1
account code missing in csv cdr
My cdrs are missing accountcodes for incoming calls from other asterisk
servers..
I've seen a few people mentioning this on the list and the solution
seems to be setting up a dialplan for incoming calls from a particular
sip peer.. in my opinion this does not scale well at all and I am
looking for a solution to correct this problem.
example sip peer:
[asterisk_gw]
type=friend
2004 Jun 25
0
3-way calling woes... Nasty static and inconsistent flash detection?
This is my setup:
SPA-2000 -> Asterisk -> X101P (x4) -> PSTN
3-way calling works fine if I use flash and dial just local extensions.
Or even if I use flash and dial one local extension, and one remote
party over the PSTN.
However, as soon as I dial from my SPA-2000 out over the PSTN, and hit
flash the call hangs-up about 50% of the time. The other 50% of the time
it puts the call on