Displaying 20 results from an estimated 90000 matches similar to: "Version 1.8 strange expression error"
2010 Dec 22
8
Possible Bug (Include ${HANGUPCAUSE} in CDR)
Ok I can't get my CDR values to set from the h extension in either 1.6.2 or
1.8 What is wrong? Here is what I found in the cdr.conf
; Normally, CDR's are not closed out until after all extensions are
finished
; executing. By enabling this option, the CDR will be ended before
executing
; the "h" extension so that CDR values such as "end" and "billsec" may
2011 Feb 15
1
outbound call leg CALLID
Hello everyone
Is there a possibility to catch an outbound callleg ID for the follovong
scenario: some carrier -----> ------(asterisk1) --->-----asterisk2 ?
I can get inbound callid for asterisk1 with a ${SIPCALLID} in
extensions.conf or to look it up in cdrs field (are the same). But how about
outbound? I have all calls just forwarded through asterisk1, not answered
and for every call I
2008 Mar 05
2
Passing variables between two DUNDi/IAX2 peers
Hi.
I am trying to pass a variable from one Asterisk PBX
to another.
I'm using DUNDi with IAX2. Is there a way to do it?
I tried the following but it fails.
On peer1:
[dundi-outgoing]
switch => DUNDI/priv
exten => s,1,Set(CDR(userfield)=test)
exten => s,2,Set(DUNDIVAR=${ARG1}#TEST)
exten => s,3,NoOp(Passing ${DUNDIVAR} to DUNDi peer.)
exten => s,4,Goto(${DUNDIVAR},1)
On
2012 Apr 04
2
Asterisk 1.8 and DeadAGI
Dears;
In asterisk 1.8, it is not more possible to use DeadAGI?
Also, I found the below commands in the a2billing and I would to ask why it set the sequence 1 for the Hangup()? Maybe because it is related to the NoOp? How?
[a2billing-callingcard]
exten => _X.,1,NoOp(A2Billing Start)
exten => _X.,n,Answer()
exten => _X.,n,Wait(2)
exten => _X.,n,DeadAgi(a2billing.php,1)
exten =>
2015 Aug 03
2
Modifying CDR values from a hangup extension in Asterisk 13
Hi,
I'm trying to migrate from Asterisk 1.8 to Asterisk 13 and can't figure
this one out. I'm pretty sure the question has been already asked, but I
failed to find a solution.
Can you modify CDR values in an h-extension?
My cdr.conf contains:
[general]
enable=yes
unanswered=yes
endbeforehexten=yes
initiatedseconds=no
batch=no
The diaplan contains a simple "h" extension
2015 Aug 04
2
Modifying CDR values from a hangup extension in Asterisk 13
With endbeforehexten=no I actually get two CDR entries. One for the call
and a second one for the "h" extension.
"","13","10","sip-locals","""13""
<13>","SIP/13-00000006","SIP/10-00000007","Dial","SIP/10","2015-08-04
06:28:44","2015-08-04
2010 Feb 03
1
CDR / billsec / originate / local chan
Hi All,
I have been running a environment with asterisk 1.4.20.1 for some time
now with no issue but have recently added some extra functionality
(enabled call recording via MixMonitor) and ran into some deadlock
issues which seem to be well documented with earlier 1.4.x releases so
have decided to take the plunge and upgrade. I decided to start testing
with 1.6.2 but have run into a couple
2018 Feb 20
2
Modifying CDR values from a hangup extension in Asterisk 13
Hi,
Reading this old thread, may I ask if keeping hangup handlers from updating
CDR values still enforced in Asterisk 15 ?
If positive, would it be very complex to add in Asterisk, a configuration
option allowing a system administrator to list in cdr.conf, the CDR fields
allowed to be updated in hangup handlers ?
I'm planning to store some RTCP stats.
Saving them in CDR(userfield) would be
2011 May 11
4
concurrent call tracking
Hi all,
I would like to track/store concurrent call usage per user by
day/week/month and get server totals by day/week/month. Google comes up with
mostly info regarding concurrent call limits, though my goal is to calculate
actual concurrent channel usage and add it into reporting. I'm using * 1.6.2
+ mysql - realtime (no gui). Any suggestions / open-source / AGI on where to
start looking
2007 May 16
1
WaitExten not responding on key presses
Hi,
I have the problem that WaitExten is not responding to key presses. Here
are the sections from my extensions.conf:
[globals]
incoming_call=0
menu=0
announce=0
[internal]
exten => 777,1,Goto(hotline,${EXTEN},1)
[hotline]
exten => _X.,1,Set(CALLERID(name)=Hotline)
exten => _X.,n,Set(original_extension=${EXTEN})
exten => _X.,n,GotoIf($[${announce}=1]?4:10)
exten =>
2007 May 02
2
delay in switching between contexts
Hi,
I am facing this issue, where I get a delay of aroud five seconds when
switching between contexts (through extension.conf) . This is how my
extensions looks like.
[salesivr]
exten => _X.,1,NoOp(Incoming call from user ${EXTEN} and caller id
${CALLERID})
exten => _X.,2,Playback(emptyy)
exten => _X.,3,Background(Main_Sales)
exten => _X.,4,WaitExten(2)
exten => _X.,5,Goto(_X.,3)
2011 Jul 14
9
Extension wise dialplan
Hi all,
I have n no. of extensions in my dialer. from 456 to 556 extensions. I was
created 2 other extensions 667 and 668 I need to allow only STD calls to
go from this extensions.
These all extensions are same context . I need to define the STD dialplan
for only this 2 extensions. how I can ?
Best Regards,
Mahesh Katta
*BUZZ**WORKS* Business Services Private Limited
BANGALORE | CHENNAI |
2005 Jun 22
1
missing cdr records
I am experiencing a very wired problem.
Some of my cdr are lost.
I use logging cdr to csv, mysql and odbc. But some of them are lost. They miss in csv mysql and odbc, so i'm pretty sure it is related to asterisk functioning.
I am running asterisk 1.0.7; this is simple configuration file:
extensions.conf
[general]
static=yes
writeprotect=no
[macro-gw-voipjet]
exten =>
2005 Sep 14
2
PRI to PRI passthrough with DID intact
I currently have: Telco-PRI ---- Panasonic DBS576 PBX ---- E&M wink
T1 ---- Asterisk.
I have configured the Panasonic to forward my Asterisk DIDs to the Asterisk
extensions over the T1.
I do not get DID nor CID on the Asterisk, so I want to use PRI between the
PBXs.
I do not want to pay for another PRI card for the Panasonic. (T1 and PRI are
different cards)
I see this as my least
2020 Feb 26
1
Hangup-handler on failed calls
Hello,
I have a setup with asterisk 16.8.0, I'm facing a problem where calls that
fail (CONGESTION) don't have filled in some extra fields we add to the CDRs
in the database.
We use cdr_adaptive_odbc with MySQL as backend.
To simplify the scenario:
[sub-hanguphandler]
exten => s,1,Set(CDR(foo)=${bar})
same => n,Return()
[default]
exten => _X.,1,NoOp(New test call)
same =>
2010 Jan 12
5
Multi-Tenant Parking
Has anyone managed to get multi-parking lot call parking working correctly? I've had several attempts at it, and never seem to be able to get it to go properly - (actually, at all):
I've most recently done this with 1.6.1.x, and now 1.6.2.x, with no luck in either case. What I've been "trying" is the following:
features.conf
[general]
parkext => 100
[featuremap]
2010 Nov 13
2
asterisk 1.8 fax woes
I upgraded from a perfectly working 1.6.2 asterisk installation
(including fax via app_fax_digium) to 1.8.0 this evening.
All my custom modules (including swift <thanks darren!>) are working
fine except for fax.
When a caller connects, asterisk switches to the fax context and hangs
up the call.
i've captured with:
core set verbose 10
core set debug 10
fax set debug on
sip
2018 Jun 26
2
Asterisk not matching longest prefix with include
Hi,
My dialplan looks like this:
[from-external]
Exten => _X.,1,Noop(CALL IS COMING INTO FROM EXTERNAL CONTEXT)
Exten => _X.,n,Noop(IP: ${CHANNEL(recvip)})
Exten => _X.,n,Noop(CALLED NUMBER: ${EXTEN})
Exten => _X.,n,Ringing
Exten => _X.,n,WaitExten(15)
Exten => _X.,n,Congestion()
Exten => _X.,n,Hangup()
include => test
[test]
Exten => 8282,1,Noop(--- WE GOT TO
2009 Feb 12
1
Problem with parking
Hi,
I'm having problem with call parking.
When I park call, either via transfer to xten or park digit sequence from
features.conf, I hear the parking lot number read to me and the user gets
transferred.
However, MOH stops for the caller the moment user is transferred.
The user can be retrieved by dialing the parked extension and voice resumes.
If the parked user hangs up, the channel state
2009 Jul 14
3
Why CDR is recording dst value = h?
For a new project, I have written a dialplan and it is pretty straight
forward: The [dialout] context dials out a number, and h extension in this
context writes the CDR. But what is happening is that if the callee hangs up
first, all values in the CDR are fine, but if the caller hangs up first, the
'dst' column is always 'h'. I put a NoOp right in the begining of this macro
to