Displaying 20 results from an estimated 10000 matches similar to: "Dialstatus"
2010 Oct 20
4
Email from Dialplan
Hi,
I'm sure this topic has been discussed before but i'm having trouble finding a simple answer.
Whats the easiest way of sending an email from Asterisk?
I want to set up a warning so that after a Dial cmd, if the DIALSTATUS is CHANUNAVAIL, Asterisk sends an email to the admin to check the voip phone is connected properly.
I've got the dial plan set up, I just dont know what
2015 Jun 26
2
Asterisk dialplan best practices syntax
Hi,
I've two yocto questions about the syntax of dialplan:
1. What's the "official" notation of each line: "=>" or "=" ? In the wiki
of Asterisk, I see very often "=>", however, what's the reason for both
syntaxes authorized ? Historical ?
2. To write info in logs/console, you have two commands: NoOp and Verbose.
Verbose seems to be
2010 Jul 01
1
call file question
I am sure this is simple, but have been struggling. I want to create a
call file that dials out a particular Dahdi channel to enable call
forwarding on a POTS line. I have this in extensions.conf:
[custom-callfwd]
exten => s,1,Answer
exten => s,n,Dial(DAHDI/4-1/*717157750)
exten => s,n,Verbose(${DIALSTATUS})
exten => s,n,Hangup
[custom-callfwdcanc]
exten => s,1,Answer
exten
2015 Jun 28
2
Asterisk dialplan best practices syntax
2015-06-26 17:11 GMT+02:00 Steve Edwards <asterisk.org at sedwards.com>:
> On Fri, 26 Jun 2015, Ludovic Gasc wrote:
>
> 1. What's the "official" notation of each line: "=>" or "=" ? In the wiki
>> of Asterisk, I see very often "=>", however, what's the reason for both
>> syntaxes authorized ? Historical ?
>>
2008 Mar 21
4
Calls to sip extensions not defined
Hi all, new to the list and this is probably a basic question and
couldn't find anything clear googling around but I don't know how to
handle calls to sip extensions not defined on sip.conf while using
pattern matching. On my example I have sip extensions 10, 11, 12, and 13
on sip.conf. On a basic extension.conf I set up a pattern starting with
"1" and a second digit should dial
2015 Feb 25
5
situation with ivr and four-channel gateway
Hi list, I need your help ,I have an incoming call x the ivr and the
operator takes the call. ext "101" , If a second call reenters and the
operator is talking, I want to send to the extension 102 I use the
Variable DIALSTATUS , but not working
check IVR
[IVRINMA]
exten => s,1,Wait(1)
exten => s,n,Set(CHANNEL(language)=es)
same=> n,Set(TIMEOUT(digit)=4)
same=>
2012 Apr 04
2
Asterisk 1.8 and DeadAGI
Dears;
In asterisk 1.8, it is not more possible to use DeadAGI?
Also, I found the below commands in the a2billing and I would to ask why it set the sequence 1 for the Hangup()? Maybe because it is related to the NoOp? How?
[a2billing-callingcard]
exten => _X.,1,NoOp(A2Billing Start)
exten => _X.,n,Answer()
exten => _X.,n,Wait(2)
exten => _X.,n,DeadAgi(a2billing.php,1)
exten =>
2010 Jun 03
5
how to get call duration
Hello,
I want to ask how to get call duration.
--
Necati DEM?R
http://demir.web.tr
http://friendfeed.com/ndemir
ndemir ~ demir.web.tr
---------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100603/d4085dc6/attachment.htm
2005 Aug 23
2
SIP powercycle not hanging up
I have Sipura 841's talking to a CVS-HEAD of August 4.
If I disconnect the power to the Sipura, Asterisk does not hang up the
channel.
My sip.conf for this phone looks like:
;
[super1] ; Sipura 841
disallow = all
allow = ulaw
callerid = "super1"
2012 Mar 08
1
Using the h and DeadAGI
Hi All;
Really I need to know why when using the "h" in the exten =>, then we use DeaAGI with it?
I am using vicidial and I see this line alot, so I need to know how it work (when it will be executed):
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
The question is:
When
2009 Aug 25
1
How to detect if the call is being answered by Voice Mail?
Hi,
I am pretty new to Asterisk. I am trying to make sure some human being
answers the phone not the voice mail machine. How can I programmatically
identify that?
Here is my Sub:
sub DialPhysician {
my ($self, $con, $PhysicianPhone, $call_id, $conv_id) = (@_);
to_log($self, "Inside Dial Physician", 2);
my $DocPhone = "1".
2011 Aug 14
1
1.6.2.20 ${DIALSTATUS} disagrees with CDR(answered)
I am having a problem with ${DIALSTATUS} and )=CDR(disposition) disagreeing. Below is a dialplan snippet and the resulting CLI output. This is running in an 'h' extension.
Noop(DIALSTATUS=${DIALSTATUS})
Noop(CDR(disposition)=${CDR(disposition)})
-- Executing [h at pbxmax-dial-simple:1] NoOp("SIP/msx_01-0000005b", "DIALSTATUS=ANSWER") in new stack
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
2007 Feb 07
4
s-${DIALSTATUS} extensions
In examples, s-${DIALSTATUS} is used to handle unsuccessful dial attempts in
the s extension. Goto() is used in examples. Is the prefix "s-" mandatory?
Is it related to the original extension "s"? (Apparently Goto(${DIALSTATUS})
won't work for me.)
Yuan Liu
2012 Jan 06
1
Why write your dialplan using Lua?
Hello,
Reading through the Wiki:
"Asterisk supports the ability to write dialplan instructions in the Lua
programming language. This method can be used as an alternative to or in
combination with extensions.conf and/or AEL. PBX lua allows users to use
the full power of lua to develop telephony applications using Asterisk"
My question is, what is the benefit of using Lua? I recently
2014 Mar 28
1
AMD with analog lines - DIALSTATUS empty
Hello,
I would like to use AMD on outgoing calls using analog line. I tested
with SPA3102 and cisco2811 as gw and asterisk 1.8.26.1 as well as 11.8.1
Other end is analog number behind another cisco/asterisk, also tested
calling a mobile number with the same result.
What I did: dial is done like exten => s,n,Dial(SIP/<IP gw>/<dialed
number>,,M(myMacro)), which tell Asterisk to
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
2009 Jun 04
2
broken pipe in perl agi
Hi gang,
Since I'm getting no joy from device_Status or SIPPEER in
1.4.26-rc1, I thought I would do an AGI to read my hints and check for line
in use that way. The AGI works fine from a prompt, but returns the dreaded
"utils.c:966 ast_carefulwrite: write() returned error: Broken pipe" when I
try to run it from the dialplan. Here is my dialplan snippet;
2010 Feb 26
3
: PSTN calls
Hi All,
I have installed astriesk 6 and am able to make calls using sip x-lite.
Its working as I expected.
Now I want to make call from sipx-lite to PSTN using asterisk.
can any please suggest me which Hardware card that I can buy? and use ( pl give me all ths list of cards.... which are good.).
2) what is that I need to do after buying the card to make it talk to the real world PSTN network?
2011 Jan 19
2
Asterisk extension not found problem...
Hi All,
I am using Asterisk for one of my projects in OpenBTS. I am having the age
old problem of "extension not found" when try to make
a call from one registered SIP phone to other registered SIP phone (two
mobile phones connected to Asterisk via OpenBTS).
The exact error thrown on Asterisk CLI is
*"chan_sip.c:20039 handle_request_invite: Call from [IMSI310410270465840] to