Displaying 20 results from an estimated 198 matches for "chanisavail".
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...
2009 Nov 03
3
Problem with ChanIsAvail
Hi all,
I am having a problem with ChanIsAvail. It always returns the same
result, regardless of whether an extension is available or not.
It always returns 0 Unknown Status.
This is my dialplan.
exten => _2XX,1,ChanIsAvail(SIP/winsor_${EXTEN}|s)
exten => _2XX,2,Verbose(0, ${AVAILSTATUS})
exten => _2XX,3,GoToIf($[${AVAILSTAT...
2005 Mar 23
4
Chanisavail and IAX2
Guys.
Anybody doing ChanisAvail on IAX2 channels?
Im trying to do this:
exten => s,7,ChanIsAvail(IAX2/anton:intrudercom@armando-gw)
But I get that the chan is unavailable eventhough I can make calls to that
channel. Is there any chatch?
The channels is defined as peer and Ialso tried doing a register on iax.conf
for that ch...
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 s...
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
2005 Jun 03
3
911 context, is this right?
I have 3 analog trunks zap/1, zap/4 and zap/5. zap/5 is the least used
line. Would the following work for 911 calls?
[e911]
exten => 911,1,ChanIsAvail(Zap/1)
exten => 911,2,Dial(Zap/1/911)
exten => 911,3,Hangup()
exten => 911,102,ChanIsAvail(Zap/4)
exten => 911,103,Dial(Zap/4/911)
exten => 911,104,Hangup()
exten => 911,203,ChanIsAvail(Zap/5)
exten => 911,204,Dial(Zap/5/911)
exten => 911,205,Hangup()
exten => 911,304,...
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, there are entries for
frontdesk1-10 and each phone logs in with 1-5 and 6-10 respectively)
[frontdesk10]
type=friend ;Theresa Sprocket
username=fron...
2004 Jan 09
3
ChanIsAvail and SIP
Hello all. Has anyone had any success using ChanIsAvail with only SIP
channels? Is there another, better way to check if an extension is busy
without dialing it?
Thanks,
B. J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040109/48ac2c3e/attachmen...
2010 Aug 05
1
Can ChanIsAvail return status from sip uri using router ip
hello,
Although my previous posts in this forum have not received satisfying
answers, here is another question from me.
my question is can i use ChanIsAvail function to get the status of a user in
the format SPI/user-id if i provide user in sip uri like this
ChanIsAvail(SIP/user at 153.18.x.x:5062)
calling user with this sip uri works fine.
I once tried but status returned was "unknow host 153.18.x.x". what is wrong
here?
thanks
Nasir Jav...
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);
n...
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(${AVAILCH...
2005 Jan 27
1
ChanIsAvail not working
I'm testing ChanIsAvail context and it is not working for me.
exten => 55,1,ChanIsAvail(SIP/11&SIP/21)
exten => 55,2,Cut(theChannel=AVAILCHAN,,1)
exten => 55,3,Dial(${theChannel},r)
exten => 55,4,Hangup
exten => 55,102,Goto(s,4)
It is not dialing SIP/21 when I'm talking on SIP/11, it execute
Hangu...
2005 Sep 12
1
Is "ChanIsAvail" thread safe?
Curious whether the ChanIsAvail command is thread safe. By that I mean, if I
use ChanIsAvail to determine which channel to use, can I be sure that it
will still be available when I go to Dial it on the next line? It occurs to
me that there's a possibility the channel could get used by a competing
thread AFTER my thread ha...
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 'Zap/3-1'
-- Executing Dial("Zap/3-1", "Zap/1/5932336||T") in new stack
-- Called 1/59...
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 warning about unknown option "-", but
dialing a SIP channel completely errors out.
----...
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....
2005 May 07
0
ChanIsAvail for MGCP
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
ChanIsAvail does not work with MGCP channels, as said in the wiki.
But other applications works simular, like Queue and Dial.
What's really the problem with ChanIsAvail?
Is it possible to use Queue and Dial to make a working ChanIsAvail?
I will take a better look in the source when back at work on monday,...
2006 Jun 14
0
Asterisk Zap/QSig with ChanIsAvailable
Hey,
we're running an asterisk system connected to another telco system using
qsig. I'm currently trying to
use ChanIsAvailable to get the current phone status out of the foreign
system.
ChanIsAvailable always return "0" - UNKNOWN. The Qsig protocoll itself
supports the feature to
query the status of a given phone.
Is there any other way beside to use "ChanIsAvailable"?
Thanks in advance!
Greet...
2013 May 27
0
ChanIsAvail function is breaking the round robin strategy
Hello everybody,
i have two gsm line (extra channels) and i'd like to schedule the
outgoing calls with a round-robin strategy.
If all the gsm lines are busy, the call must be sent to the pri lines
with a linear strategy.
here is the dialplan:
exten => gsm,ChanIsAvail(EXTRA/r2&DAHDI/g1)
same => n,GotoIf($["${AVAILORIGCHAN}" = ""]?unavail,1)
same => n,Dial(${AVAILORIGCHAN}/${CALLEDNUMBER})
The problem is that the ChanIsAvail function is breaking the round
robin strategy.
When this function is executed i can see in the console this...
2005 Aug 26
0
ChanIsAvail for IAX not working again/still? AKA Redundant IAX connections not working
...allow=ulaw
trunk=no
tos=0x04
[ast551-out-backup]
type=peer
secret=secret
username=ast551-backup
host=Y.Y.Y.Y
qualify=1000
disallow=all
allow=gsm
allow=ulaw
trunk=no
tos=0x04
If one does become unavailable, I'd like the other to be used. I
tried to set that up like this:
exten => 145,1,ChanIsAvail(${IAX2/iax-in:secret@ast551-out-backup}/$
{EXTEN})
exten => 145,2,Dial(${IAX2/iax-in:secret@ast551-out-backup}/${EXTEN},
20,t)
exten => 145,102,Dial(${IAX2/iax-in:secret@ast551-out}/${EXTEN},20,t)
What is happening is that all calls are going out through "ast551-out-
backup", ev...