Displaying 20 results from an estimated 4000 matches similar to: "Passing dialstatus back through an IAX chain .."
2005 Sep 15
3
${DIALSTATUS} problems
Hi.
I'm dialling two numbers - one that's unobtainable, one that's busy.
${DIALSTATUS} is coming back ANSWER each time right before the channels hang
up.
Am using the following dialplan macro to dial out.
[macro-advdial]
exten => s,1,Dial(${ARG1},20,g) ; Ring the interface, 20 seconds maximum
exten => s,2,Goto(s-${DIALSTATUS},1) ; Jump based on status
2004 Dec 12
0
DIALSTATUS missing an important condition?
I have recently built my first asterisk system and am very impressed with
its capabilities.
However, I have run into one problem that hopefully someone can help me
with.
I am trying to use the DIALSTATUS function to route incoming calls to the
appropriate Voice Mail (busy or unavailable) or to an Unavailable Number
recording if the number is not assigned.
However, I find that DIALSTATUS
2010 Apr 06
1
SIP Dialplan Failover Solution
Hello list,
I need a hand to find the best dialplan failover solution when using two SIP Trunks.
My reasons to do failover are:
a) one of the two providers could be unreachable
b) both providers may be UP but one of them could return a SIP error message (maybe caused by DOWN E1s)
Googling I found a few possible solutions:
1.
2004 Dec 03
2
DIALSTATUS weirdness (CHANUNAVAIL instead of BUSY, NOANSWER instead of CHANUNAVAIL)
Just throwing this out here, hopefully someone can tell me why.
*CLI> show version
Asterisk CVS-HEAD-11/17/04-10:16:38 built by root@wanderer on a i686 running
Linux
Zap/g1 is pri_cpe to Bell Canada
5551234 is a normal POTS line I have busied out (handset offhook)
exten => 1234,1,Dial(Zap/g1/5551234,,g)
exten => 1234,n,NoOp(HANGUPCAUSE is ${HANGUPCAUSE} and DIALSTATUS is
2004 Nov 20
1
IAX Dialstatus
Hello,
I've got some SIP clients, and an IAX2 long distance provider. Ideally,
when a the dialed number is busy I will hear a busy signal. Instead, I
get Congestion even though * knows it's busy. Is this a bug or am I
missing something?
The dial plan, in basically this
Dial(IAX2/user@provider/19995551234,,)
Goto(failedcall-${DIALSTATUS})
failedcall-CONGESTION plays congestion
2013 Jul 03
1
SIP. Call-limit dialstatus
Hi all. We have a problem with correct dialstatus and cdr(disposition) when
using call-limit. When call-limit reached dialstatus is CHANUNAVAIL and
CDR(disposition)='NO ANSWER'
-- Executing [0014 at sub_pbxdialco:49] Dial("SIP/1295-000001f8",
"SIP/0014,12,tTkK") in new stack
== Using SIP RTP CoS mark 5
[2013-07-03 15:22:27] NOTICE[29728]: chan_sip.c:6003
2015 Feb 27
1
603 Declined > Dialstatus Busy
Hello Everyone.
In my outbound contexts, I'm using "${DIALSTATUS}" to fail over to other
routes if the chosen route rejects the call.
Now, My current scenario is if I get "BUSY" back from the first provider,
I send a busy back to my customer. If I get something like CHANUNAVAIL
(Like a SIP 503) I advance to the next carrier and attempt the call.
This works
2004 Dec 04
1
more DIALSTATUS/HANGUPSTATUS woes with IAX2
Phone - TDM430P - home* - IAX2 - office* - PRI - Telco
I dial a busy number from the Phone.
Home* shows this in the CLI:
-- Executing Macro("Zap/1-1", "dial-wu|2922004") in new stack
-- Executing Dial("Zap/1-1", "IAX2/andrew@wu-ast/2922004||g") in new stack
-- Called andrew@wu-ast/2922004
-- Call accepted by wu-ast (format gsm)
--
2005 Jan 21
0
Manager API on gives the DIALSTATUS of the first picked up channel?
Hi All!
Let me explain the problem. When using the Originate?
command from the manager api, the dialstatus variable returns results?
for whichever phone picks up first, and in this case it is the IAX/2?
connection. It doesn't matter if Zap/G2/XXXXXXX is set as the channel,?
or an extension either. What I am ultimately trying to do is get the?
dialstatus of the Zap/X/XXXXXXX channel, i.e.,
2005 Feb 27
1
DIALSTATUS with X100P
I'm having an issue with my current configuration. I have a single
PSTN line connected to an X100P and a couple IAX trunks to NuFone and
VoipJet. When I make an outbound call it doesn't properly detect if
my PSTN line is in use with another call and then overflow to my
outbound IAX connections. I think the root cause is that DIALSTATUS
gets reported as BUSY instead of CHANUNAVAIL. I
2005 Jan 21
0
Help DIALSTATUS gives ANSWER when line is BUSY?
I'm running Asterisk CVS-v1-0-12/20/04.
I'm using PHP with Manager API Here is the code:
####################################################################
# Make call
####################################################################
$socket = fsockopen($ask_db,"5038", $errno, $errstr, $timeout);
if (!$socket) {
echo "$errstr ($errno)<br /\n";
} else {
2006 Jan 21
0
Dialstatus Oddity in 1.2
Hello all,
I am working on a creating some intelligent failover dial-plan
logic and I'm running into something that I'd like some feedback on.
Basically, it appears that if you place a call to an IAX2 peer that
refuses the connection, or is unavailable, a NOANSWER dialstatus is
returned.
Example:
-- Executing Macro("IAX2/cubix-19",
2007 Sep 10
2
Failover SIP logic
I need some extensions logic assistance, I'm trying to dial out one of multiple SIP trunks, in sequence. I need to detect a busy SIP trunk(I only allow 1 call per trunk) and roll over to a second or third depending on that busy status
Here's what I've got for a macro thusfar, but it's not working(fails if the 1st trunk is busy)
extensions.conf:
[globals]
trunk_1 => SIP/trunk1
2005 Sep 14
0
Dial Application Return Codes - Help needed
Hi.
I'm dialling two numbers - one that's unobtainable, one that's busy.
${DIALSTATUS} is coming back ANSWER each time right before the channels hang
up.
Am using the following dialplan macro to dial out.
[macro-advdial]
exten => s,1,Dial(${ARG1},20,g) ; Ring the interface, 20 seconds maximum
exten => s,2,Goto(s-${DIALSTATUS},1) ; Jump based on status
2009 Apr 18
2
dialling multiple extensions in an internal context
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there. I've done some googling around to try and find an example
of what I'm trying to do, but it's one of those things that just seems
hard to find the right terms to search for. If there's some
documentation out there on this, I'd appreciate being pointed in the
right direction. If not, then if someone has some
2008 Apr 29
0
PRI CallerID - leading zero added
Hello List!
We have problems setting the right caller id on outgoing calls. The
Asterisk Pbx is located
in Bucarest(Romania), our Telco provider is rcs-rds.ro. We have the
local telefon number
40787 00-99, associated to our PRI E1 Line. Where 00-99 are the DID
numbers available.
The telco is aspecting a 3 digit long Callerid from us, for example
like "710", for the extension 10.
2009 Jun 12
2
Current possible values for DIALSTATUS?
Hi,
As of v 1.6.1.1, can anyone tell me what the current possible values for
DIALSTATUS could be? I found
http://www.voip-info.org/wiki/view/Asterisk+variable+DIALSTATUS but believe
it is outdated since there is no FAIL or FAILED in this list.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2003 Apr 07
0
Call FWD & the new channel driver chan_local
I just thought i'd post a small sample that uses the new chan_local
to show one way of doing variable callfwding
This sample extension.conf uses's the ast DB to store a users current
extension,
in a db family of CallFWD
and the unique Key is based on the current channel the user is assigned.
In the globals var section each key is hardcoded EXT1, EXT2 this is used in
the
[incoming] context
2012 Sep 17
1
iax2 trunks between asterisk servers
Hi,
I am using iax2 trunks between asterisk servers and am having a callerid
problem. We are using realtime sip clients distributed between multiple
servers. Only in test now but have run into a calleeid problem - the
name of the called party is not displayed if the called party is on a
different server, it works if the called party is on the same server.
On each server sip clients show calleeid
2013 May 05
1
GotoIf DIALSTATUS - not working
What am I doing wrong?
Goif dialstatus: busy CONGESTION not working.
exten => _7NXXXXXX,1,Dial(SIP/7780${EXTEN:1}@pstn-5665,60,tr)
exten => _7NXXXXXX,n,GotoIf($[$["${DIALSTATUS}" = "BUSY"] | $["${DIALSTATUS}" = "CONGESTION"]]?line2)
exten => _7NXXXXXX,n(line2),Dial(SIP/9780${EXTEN:1}@pstn-1270,60,tr)
exten => _7NXXXXXX,n,Hangup()
When I try to