Displaying 20 results from an estimated 20000 matches similar to: "s-${DIALSTATUS} extensions"
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
2018 Mar 14
2
DIALSTATUS vs HANGUPCAUSE
Hello list,
Hope all doing well!
I've been checking some cases when a Dial fails and dialplan execution
continues to handle this. I am finding it a little confusing how we should
handle the DIALSTATUS and the HANGUPCAUSE in this situation....
More specifically, I am facing a case in version 13.6.0 where I am getting
a DIALSTATUS=BUSY and HANGUPCAUSE=19 after receiving a 480 SIP error. Seems
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:
2005 Aug 28
1
DIALSTATUS for Originate
Hi all,
I am from India and has been recently using asterisk for testing and enahncing my telephony knowledge. I am trying to use the originate Command from the Asterisk manager on both SIP and ZAP. The command works successfully but does not return any DIALSTATUS such as BUSY,ANSWER,NOANSWER as in case of command DIAL when used from the dial plan. Can some one guide me how to get the vaue of
2009 Sep 23
3
Simple dialplan issue
I have an issue where a particular dialplan works but another doesn't. I'm
not sure why. To me they look identical and it has me stumped.
This works:
[to-test]
exten => _X., 1, SetCallerPres(allowed)
exten => _X., 2, Monitor(wav,/tmp/test-${UNIQUEID},mb)
exten => _X., 3, Ringing
exten => _X., 4, Dial(SIP/9330 at a-test,20,ro)
exten => _X., 5,
2010 Dec 20
5
DIALSTATUS on CANCEL
Hello,
We have a strange situation (asterisk 1.6.2.14), where we get a result for
DIALSTATUS for BUSY and No-ANSWER, but nothing for CANCEL.
This is the (relevant) test dialplan:
--------------------------------
[incoming-private]
exten => _X., n, Dial(SIP/1001,30)
exten => _X., n, NoOp(${DIALSTATUS})
exten => _X., n, Gosub(incoming-status,s-${DIALSTATUS},1)
[incoming-status]
exten
2009 Jun 03
1
Using DIALSTATUS question
Hi all,
I am trying to make decisions in my dialplan based on {DIALSTATUS}. I am
creating calls using AMI (rawman with parameters via URL) with
action:Originate. I am using SIP and an outside voip provider for the calls.
If I define the number to call in the Channel parameter (e.g.
SIP/15555555555 at myvoipprovider, the call gets placed before entering the
context that I defined. I understand
2006 Apr 07
2
DIALSTATUS for Multiple Dialled Numbers
Folks,
When I have a dial string like this:
Dial(SIP/3254101&SIP/3254102,20,tr)
and I want to check the ${DIALSTATUS} variable after the dial, how do I know which number I am getting the variable for?
And, what about this?
Dial(SIP/3254101&SIP/3254102@proxy1,20,tr)
What happens in that case? How can I get the ${DIALSTATUS} variable for EACH NUMBER dialled?
Thanks,
Doug.
2010 Apr 29
2
Code in extensions.conf to leave a voice mail in another PBX ?!
Hi Guys,
i spent some time to figure this out (since i love how dialplan is written)
but i decided to ask for your help guys.
i have two asterisk servers one is 1.2 the other is 1.4, from 1.4 (pbx1) to
1.2 (pbx2) i can leave a voice mail without any pb, but from pbx2 to pbx1 it
just hang up.
in pbx2 extensions.conf:
i am using: exten => 8029,1,Dial(IAX2/pbx1/${EXTEN},20,tTWwr)
in pbx1, i
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
2007 Aug 03
2
DIALSTATUS not set
I'm trying to write a dialplan that will allow me to "stress" test it. I
want to be able to dial an extension, or pretend that the extension is
busy or out of order (so that I can see what to do)
given the dialplan snippet:
[outbound]
exten => _X.,1,NoOp(${TEST})
exten => _X.,n,Dial(SIP/${EXTEN})
exten => Busy,1,Busy(2)
exten => Busy,n,Hangup()
exten =>
2007 Nov 29
2
Using existing extensions.conf macros, and co-habitation
I'm trying to set up my extensions.conf file using some of the existing
macros like stdexten, etc. while at the same time having two logically
separate virtual PBX's (with no "default" context) and two trunks coming
into separate contexts, i.e. one for residence and one for my at-home
business.
I noticed, however, that macro-stdexten depends on the "default" context:
2010 Nov 30
2
Correct operation of timout parameter for dial application
Hi All,
I'd just like to verify what the correct operation of the timeout parameter is for the dial application. I'm not sure if I've encountered a bug or a configuration issue.
When a sip phone is not responding to invites on an outbound call, the dial application still waits the duration of timeout before continuing with dialplan execution. I was under the impression that app_dial
2008 Mar 19
3
How to configure Voice mail for multi users.
Hi All,
i want to configure voice mail on Asterisk 1.4 for multiple users. let
me explain you the scenario.
i have 10 users with the name of
1000,2000,3000,4000,5000,6000,.......and these user can call to each
other. Now i want to configure separate voice mail box for separate
user.
my extensions.conf ..... settings below..
[voicemail]
exten => _X.,1,Dial(SIP/${EXTEN})
exten =>
2005 Mar 03
3
Why ${EXTEN} variable changes after Goto ?
Hi,
I'm trying to implement dynamic routing of incoming calls to local extension
if previous outgoing call was unanswered.
But after I do Goto to s-NOANSWER, variable ${EXTEN} changes to
's-NOANSWER'. I guess this is normal, but I don't understand why ? How to
workaround on this one ?
Thanks in advance,
regards,
Rob.
[outbound-capi-ISDN]
exten => _0.,1,NoOp(Calling ISDN
2018 Mar 14
2
DIALSTATUS vs HANGUPCAUSE
Thanks Dovid!
Indeed looks a bug but regardless of this, this problem made me think that
the HANGUPCAUSE could be used for this purpose with benefits.
I couldn't find an explanation about when DIALSTATUS would actually be
better.
The HANGUPCAUSE was reworked in version 11 (
https://wiki.asterisk.org/wiki/display/AST/Hangup+Cause) but I didn't find
someone actually stating it is a better
2007 May 16
2
Get sip response code
I was wondering if it is possible (in 1.2.x) to get the SIP response code
back after doing Dial().
Dial() seems to treat most call-setup problems as dialstatus CONGESTION, and
some are NOANSWER, but I want to know the SIP response code, so I could
return the right tones to the user, not just a congestion tone for every
fault.
Anyone know a way to find out that information, so I want the
2007 Jan 23
4
weird undocumented extensions such as s-BUSY
I've seen several examples that use extensions such as;
s-BUSY
s-NOANSWER
etc...
It's more or less evident what they do, but I've searched for some
FORMAL documentation everywhere and have found nothing.
Do they work for anything else than "s-"? (I think I've seen other
examples, but can't find them now)
Are they standard in any way?
What are the allowed values
2007 Jun 16
2
MixMonitor Problem
Hi,
I am facing some issues while using MixMonitor and StopMonitor. My
extensions logic is attached below:
exten => s,1,MixMonitor(${CALLERID(num)}_${TIMESTAMP}.gsm,b)
exten => s,2,Dial(SIP/101,13)
exten => s,3,StopMonitor()
exten => s,4,NoOp(Dial Status: ${DIALSTATUS})
exten => s,5,Goto(sss-${DIALSTATUS},1)
exten => sss-NOANSWER,1,VoiceMail(777 at salesvoice)
exten =>
2005 Jan 25
1
Re: I think your problem has to do with how you set the variable.
No Jeremy, excuse me, the error was in my email. The correct command is
/bin/echo "Channel: Local/$1@chiamamezzi-dialout";\
/bin/echo "Variable:
callid=123456|number=$1|url=pippo|menuid=FOP|redirectnum=0554202880";\
/bin/echo "Context: chiamamezzi-Wave";\
/bin/echo "Exten: s";\
/bin/echo "Priority: 1";\
/bin/echo "Callerid: Asterisk Automatic