Displaying 20 results from an estimated 30000 matches similar to: "'h' extension and which one applies?"
2013 Sep 13
2
executing the h extension at the real hangup of the call
Hi,
I am running Asterisk 11.3 with both SIP and ISDN. When dialing out (always over SIP) I want to keep track of who answered and of the length of the call.
[outgoing-dev2]
exten => h,1,Agi(agi://localhost/ajpbxtest.agi?status=finished)
exten => _X.,1,NoOp(Will send call to ${CC_DIALSTRING})
exten => _X.,n,Dial(${CC_DIALSTRING}, 60, M(uploadpeer-dev2^${CC_CALLID})em)
exten =>
2008 Jan 27
1
rxfax does not work (anymore)
Below is my extensions.conf for the fax part
[incoming_28345474]
;
;********************************************************************
; BEGIN - Inbound call handlers
;********************************************************************
;
exten => 8862100,1,NoOp(${CALLERID(num)})
exten => 8862100,2,Background(if-u-know-ext-dial)
exten =>
2004 Jul 08
0
rxfax - mISDN - missing logs
Hi,
using HFC cards, mISDN/chan_misdn and spandsp lib fax retrieval works,
but some log file entries are missing. There should be one of the lines:
Fax successfully received.
Fax receive not successful.
Dail Plan config used:
[fax]
exten => _.,1,SetVar(FAXFILE=.............)
exten => _.,2,SetVar(LOCALSTATIONID=......)
exten => _.,3,rxfax(${FAXFILE})
exten => _.,4,NoOp,XYZ
exten
2004 Oct 05
0
Using Macro's that cause loops, on purpose and using h, exten in default twice
Please see my extensions below. I will try to type you through this. In default, an extension 5149053538 is matched on. This fires a macro that
determines what time is it, and resets a variable which is then used to call another macro to place a call. if the call is answered, and the far
end hangs up, the dial macro exits, then the routing macro exits, and you are back to default. at this point
2008 Apr 04
1
rxfax issue
Hi all,
Here's our setup:
Asterisk 1.4.18
Agx-ast-addons 1.4.5
Problem:
When accepting a fax, the fax itself comes through just fine, and it
does successfully create a tiff file. However, the dialplan should be
executing a system command right after that completes, but isn't due to
hanging up early. I'm getting a cause 16 hangup, which I believe is a
"Normal Hangup", but
2005 Sep 13
2
passing variables to h extension
Is there a way to pass variables/arguments to the h extension ?
for example :
[default]
exten => _1098933X.,1,NoOp(CARRIER TWT->TIM, EXTEN: ${EXTEN}},
SIPCALLID: ${SIPCALLID}, SIPDOMAIN: ${SIPDOMAIN})
exten => _1098933X.,2,SetVar(_PROVA="bla")
[lot of stuff, agi, goto, tricks and magic that happens]
exten => _1098933X.,10,Dial(${CHAN_DEST},,L(3600000:3599900)) <-
2014 Nov 25
0
Prohibit transfer to one extension
Hello all, first post, need help. I'm running a complex asterisk 1.8 install with five machines. I inherited it and don't fully understand it, nor the deep mysteries of asterisk either. I would appreciate any insight you might have. I scoured the 'net and the Digium wiki and my Google-Fu has failed me.
I've been asked to somehow prohibit transfers to extension 3232. It has to be
2005 Aug 02
0
app_rxfax errors
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Up until today, I have had no issues with receiving faxes in *. One
change I made was that I now have the incoming
2006 Dec 16
1
rxfax detection problems with multiple contexts
Hello,
I have a rather odd problem with Asterisk detecting faxes. I have two
POTS lines coming into the box (TDM400P). Line 1 is for voice, Line 2
is fof fax. When I set them up with channel => 1-2 in zapata.conf,
all is fine, but as soon as I have two channel => definitions,
Asterisk is unable to detect faxes. The fax line is not supposed to
ring local phones, so the most obvious
2009 Mar 18
1
Unable to receive faxes
Hi,
I'm experiencing a quite strange behavior while trying to receive faxes
through Asterisk (either directly through app_rxfax or with spandsp +
hylafax).
Config:
HFC quad BRI card (3 T0 connected to the card)
Asterisk 1.4.21
asterisk-app-fax 0.0.20070624-2
hylafax 2:4.4.4-10.1
libpri 1.4.2
libspandsp3 0.0.4pre16
/etc/zaptel.conf
loadzone=fr
defaultzone=fr
span=1,0,3,ccs,ami
2011 Apr 09
1
Is it the normal behaviore for AGI and DeadAGI to terminate AFTER the "h" extension?
Hi Everyone,
Trying to run a php script after DeadAGI for A2Billing does it's magic. This
is the dialplan:
[a2billing]
exten => _X.,1,System(php pre-call.php ${CALLERID(num)} ${EXTEN}
${UNIQUEID})
exten => _X.,n,AGI(a2billing.php,1)
exten => _X.,n,Hangup()
*exten => h,1,Wait(5)*
*exten => h,n,System(php post-call.php ${CALLERID(num)} ${UNIQUEID})*
As you can see above, I even
2005 May 24
3
rxfax(spandsp-0.0.2pre18) and HT488
Hi,
spandsp-0.0.2pre18 works fine for txfax with HT488(version-1.0.1.2),
but rxfax doesn't work. After some FAX sounds, it hangup!
Could someone tell me how to debug?
The following is the * CLI> log
to 192.168.0.161:43222
-- Executing NoOp("SIP/4881-bde9", "") in new stack
-- Executing RxFAX("SIP/4881-bde9",
2013 Aug 28
3
Dedicated hangup extension h
Hello,
We have a Kamailio SIP Proxy in front of our Asterisk cluster for incoming calls from our carrier.
The sip.conf looks like this:
[kamailio1]
type=friend
host=10.0.0.1
context=incoming
disallow=all
allow=alaw
All calls hit the incoming extension. In the extensions.conf we have multiple extensions configured, but now I have to add one which uses the special h extension to perform a CURL
2006 Jan 04
1
RxFax : Change FAX Resolution
Hello all,
Can this be done ?
Would setting the variable FAXRESOLUTION to a appropriate value affect
this change ?
> http://www.asteriskguru.com/tutorials/rxfax.html
Variables connected with the application
LOCALSTATIONID - used by to application to identify itself to the remote end
LOCALHEADERINFO - used to generate a header line on each page
REMOTESTATIONID - set by the application, the
2008 Sep 08
1
Help about the Rxfax on asterisk
Hi all,
I have a trixbox2.6.1 on my one server,
i have configured sangoma A200/Remora FXO/FXS Analog AFT card on that
server,
from my zap line the incoming faxes are coming, i have setup the did for zap
channel.
my question is when i am getting any faxes, asterisk shows me rxfax
execution and suddently asterisk crashes
and i can't get email notification for received faxes.
any one help me
2009 Sep 07
1
invalid extension
Hello,
with Asterisk 1.6.1.6 I try to hangup a call if called extension is not
existing. For this purpose I would use the internal i extension but
seems not to work.
[MyContext]
exten => s,1,NoOp(Call is treated as it should)
exten => s,n,NoOp(next step)
exten => s,n,NoOp(aso ...)
exten => _[a-zA-Z].,1,Goto(s,1) ; accept exten LEN >1 alpha
exten => _X.,1,Goto(s,1) ;
2008 Apr 16
1
Hangup conundrum with RxFAX
Heres something that's making me scratch my head... I'm using RxFAX on
ISDN lines and in-general it's going well.
However, there seems to be a case when the fax doesn't get delivered, but
looking through the CDRs it seems that the call happened, RxFAX was
executed .. time passed (1-2+ minutes) then hangup.
I'm wondering if some FAX machines just hangup after the call
2009 Jan 20
2
extensions.conf -- what to do when command throws errors?
Hi, all. I've got app_rxfax going and nicely receiving a fax, which I
then throw to a script, and have it convert it to a PDF and mail it.
Works great... a lot of the time. But a fair bit of the time, rxfax
throws errors, and extensions.conf seems never to invoke my script. Here
are the pertinent lines:
exten => _6403,n,rxfax(${FAXFILE})
exten =>
2006 Jan 18
1
SpanDSP not sending to fax extension.
Hi, all. I've got a fax extension in my extensions.conf, but spandsp
never sends my faxes there. Both applications -- txfax and rxfax -- are
registered by Asterisk, so they compiled and installed correctly. I've
got a Sangoma A104 card, and (as some people had suggested) have loaded
ztdummy. Everything seems fine, except that it never gets recognized as a
fax. I've even turned off
2018 Sep 08
3
failed to find existing extension
Hi all
some how I'm getting confused: it seems I clobbered incoming calls from
my sip provider.
I can not imagine that my upgrade from 15.3 to 15.5 could be related
I'm certain that dialling my own number, results in reaching asterisk,
from my tcpdump.
And on the asterisk console I get:
pbx*CLI>
== Using SIP RTP CoS mark 5
> 0x7f49ac54c040 -- Strict RTP learning after