Displaying 20 results from an estimated 1000 matches similar to: "ChanIsAvail not working"
2006 Oct 13
2
AEL Question
Hi, all. I'm making my first foray into AEL. I'm starting with a
simple macro, but I've already encountered an odd behaviour. I'm
wondering if someone can shed some insight:
Asterisk 1.2.9.1
macro newPlaceCallPSTN {
s => {
TIMEOUT(absolute)=7200;
NoOp(Analog Out List: ${ANALOGOUT});
ChanIsAvail(${ANALOGOUT});
NoOp(Available Out List:
2004 Jul 18
0
ChanIsAvail issue
Hello
I am trying to setup ChanIsAvail function in the extensions.conf file so that user should use the available channel to call out, but immediately after the function like, zap channel hangup.
Here is the copy of my extensions.conf file and messages display on consol while making the call.
Please help me to fingure out this issue.
Thanks
Deepak
Extension.conf :
exten =>
2006 Feb 14
4
ChanIsAvail
Hi,
So I've done my research on Chanisavail, read the wiki, checked the
archive but can't seem to find anything to suit my scenario. I've
played around with it a lot, but I'm still scratching my head on what
I need to do.
What I need is to be able to accept a call by SIP and ring all
telephones that are not in use (which just so happen to be on Zap
interfaces, but might be SIP
2004 Apr 08
1
Two operators, 10 rollover lines, Cisco 7960G chanisavail problem
Here's my situation.
I have two receptionists that answer incoming lines. Each has a 7960G with
5 incoming lines each. I'm trying to set this up so each line on each phone
doesn't utilize call waiting. My problem seems to be that
ChanisAvail(Sip/cisco1&Sip/cisco2&Sip/cisco3&Sip/cisco4&Sip/cisco5) always
returns cisco1.
Here are the sip.conf entries: (mind you,
2003 Oct 05
1
ChanIsAvail app setting ${AVAILCHAN} to an unusable value.
I sent this earlier under "Editting variable contents" but no-one
has responded. So, the subject is now more to the problem, instead of
the solution I was trying to implement.
ChanIsAvail returns the channel ID plus "-<session>".
How can I edit ${AVAILCHAN} to remove this session ID, so I can use its
contents in a subsequent Dial statement?
Dialing on Zap just gives a
2007 Jan 24
1
ChanIsAvail kills dialplan processing when no Zap available on 1.2.14.
Hi, I'm trying to use ChanIsAvail to build a resilient 'dialout' macro.
The logic is simple; try Zap/g1 (a group of two E1s), and if that
fails, try locating a channel via DUNDi. Here's a massively cut down version
to illustrate the problem I'm having.
macro dialout ( dest ) {
ChanIsAvail(Zap/g1);
noop(Value of AVAILCHAN is ${AVAILCHAN});
2008 Feb 20
3
Dial+Macro and Queue
A call comes in and goes into the queue, the queue dials a sip channel using
a macro. The macro plays a set of options to the callee and if the callee
presses 3 it sets MACRO_RESULT=CONTINUE and the macro ends. For some reason
the caller goes back into the queue rather than continueing on in the dial
plan. Why is this, i could have sworn in 1.2 if i set MACRO_RESULT=CONTINUE
that the
2007 Jun 25
1
Problems with ChanIsAvail always return status 0
Hi list:
I'm having the next problem, it appear that the application ChanIsAvail
is not working on Asterisk 1.4.5 always return me 0 in AVAILSTATUS.
I add my dialplan and the output to the cli.
THanks.
In the example i'm dialing from extension SIP/112
My DialPlan Secction:
[macro-callonlyiffree]
exten => s,1,ChanIsAvail(${ARG1}|s)
exten => s,n,NoOp(${AVAILCHAN})
exten
2006 May 09
0
Using ChanIsAvail and SIP
I am trouble finding a configuration that works for ChanIsAvail and SIP.
My two providers are Voxee and Teliax.
I have these lines in a macro
exten => s,n,ChanIsAvail(SIP/teliax&SIP/voxee)
exten => s,n,Cut(CH=AVAILCHAN,-,1)
exten => s,n,NoOp(AVAILCHAN= ${CH})
; Dial the available Channel
exten => s,n,Dial(${CH}/${ARG1},60,t)
Looking at the execution, I can see what the AVAILCHAN
2004 Aug 20
3
Strange problem with Dial
I'm trying to add an emergency dial to my context. However, when I try to
dial it, I get caught in an endless loop.
For debugging, I have pared out nearly all the control flow and just have
ChanIsAvail() and Dial() called. Using two different extensions to call teh
same number, I get two different actions by *.
Here is the vvverbose output:
-- Starting simple switch on
2023 Sep 08
1
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
Some progress to report:
I had to run asterisk as the user logged in - actually not even that. I
could not "su user -c " to that user - I had to run it as that user.
Then I did a test and got audio! Great...
But when I do a second test. Asterisk HANGS on ChanIsAvail()
Then I thought lets SKIP that - and just let it do the Dial() - I stopped
everything - got it running again. - and
2012 Jan 03
4
Question on system command 1.4.43
I have a USB to serial converter attached to my box. pl2303: Prolific
PL2303 USB to serial adaptor driver
if I login to the box and send/receive serial commands over this unit it
works without error EVERY time.
however, if I run the same command set from with-in the extensions.conf
with System()
I get errors in dmesg like "pl2303 ttyUSB0: pl2303_open - failed
submitting read urb, error
2006 Feb 15
1
Bridge Calls with G()
Hi Guys,
This article was posted few days back. I thought i can get more info here.
I am trying to bridge two outbound calls together. (have a program start a
context, dial one party and then bridge another party)
I thought that the G() flag in the dial application would work.
I tried the the following test (continue down a dial plan). One station
calls into a context ... in this case, dials
2005 Oct 10
2
DTMF Question (misunderstood '*' button)
Hi all!
I'm experimenting a strange problem in my Asterisk PBX:
I've got an Asterisk pbx in the office: I dial an external number; the dialled
number answers me correctly, but as soon as I press the '*' button (i.e. to
navigate through the menus or to enter a password) my Asterisk box put me on
hold.
(CLI transcription follows:
-- Executing
2003 Apr 25
9
Dialplan question
First, here's what I want to do / what I have:
X100P and a Quicknet PhoneJack.
I want to be able to pick up the analog phone (connected to the phonejack)
and dial another computer (with the same hardware) or just make a regular
phone call which will be decided by asterisk depending on the phone number
dialed. I know that this won't be taking full advantage of asterisk, but
I'm
2012 Dec 20
7
asterisk 11 and DAHDI/i4
In 1.4.43 I would see things from "core show channels" like
DAHDI/18/xxxxx
for line 18
in Asterisk 11 its
DAHDI/i4/xxxx
How do I get the line number back?
Jerry
2006 Jan 22
1
Fail over using CHANAVAIL
I am trying to construct a macro for long distance dialling. I have two
internet feeds, I have all routes including Teliax on Internet A and a
static route to Voxee on Internet B. I thought I could use the dialplan
entry below which uses the ChanIsAvail() command to check the
connection, but this returns the provider but not the username, so I
don't understand how to use this for real
2007 Oct 19
1
Glare on Incoming Calls
How I change my configuration to reduce this issue. I have this setting on
my zapata.conf
signalling=fxs_ks
group=1
callgroup=1
pickupgroup=1
channel=1
signalling=fxs_ks
group=2
callgroup=1
pickupgroup=1
channel=2;
singalling=fxs_ks
group=3
callgroup=1
pickupgroup=1
channel=3;
singalling=fxs_ks
group=4
callgroup=1
pickupgroup=1
channel=4
and for outbound calls I have this context on my
2005 Jul 12
1
help needed-call recording
Hi,
I am trying to change the dialplan to enable call recording (incoming
and outgoing calls) on the "click of a button". Is it possible? All the
documentation I found so far, enable recording for 'all calls' to an
extension.
Does this code look ok?
Currently Recording "on" only for 1030
when user presses *44, start recording.
*55 to stop recording
2004 Aug 23
1
using ChanIsAvail
Hi
I am trying to use ChanIsAvail to decide if a particular extension is
available in the sip channel
I am using MySQL to hold my SIP friends.
and wy cvs version shows Asterisk CVS-08/02/04
my intention is, that if the extension is not available in Sip channel, I
will send the call somewhere else
my extensions file contains the following:
exten => _[123]XX,1,ChanIsAvail(sip/${EXTEN})
exten