Displaying 20 results from an estimated 9000 matches similar to: "evaluate SIP response codes in dialplan"
2009 Mar 04
5
AEL2: If-then-else not permitted in Switch-Case
I just want to confirm but it seems that if-then-else is not permitted
in case structure.
It was not really documented but it seems to be the case.
Can anyone confirm?
switch(${DIALSTATUS})
{
case NOANSWER:
{
// if-then-else not permitted
If (${ael-var} = 1)
{
Playback(beep);
2009 Jan 07
5
recommendation for German sound files
Hi!
http://www.voip-info.org/tiki-index.php?page=Asterisk+sound+files+international#German
lists a plenty of sound files for German.
Can someone recommend one for Asterisk 1.4 (any maybe 1.6 soon).
thanks
klaus
2009 Jan 08
4
AEL question: testing channel variables
Hi!
I use the following condition:
if (${FOOBAR}=YES) {
...
}
The problem is, that if FOOBAR is not defined at all Asterisk generates
a warning:
WARNING[11982]: ast_expr2.fl:407 ast_yyerror: ast_yyerror(): syntax
error: syntax error, unexpected '=', expecting $end; Input:
=YES
Of course I could use the following code, but this bloats up the code:
if (${EXISTS(${FOOBAR})}) {
2007 Mar 02
2
PRI progress codes.
Anyone know how to let asterisk deal with the progress codes coming
from the carrier? The problem I am having is when a customer calls an
invalid number the carrier tells me the call is invalid via a progress
code but doesn't route me to a recording (this number is invalid).
Instead they hang up on me causing a fast busy or sometimes hold up
the call with dead air for 15 to 30 seconds then a
2009 Jan 19
1
how to cancel new recorded message from voicemail menu?
Hi!
If a user has recorded a new voicemail message (e.g. unavailable
message) then it is prompted with 3 choices.
1. accept recording
2. listen to the recorded message
3. rerecord the message
Isn't it possible to cancel the recording?
thanks
klaus
2009 Jan 26
2
German date format in voicemail emails
Hi!
I want to configure voicemail to send emails with the date of the
message in German/Austria, that means:
"Montag, 26 J?nner 2009" instead of "Monday, 26 January 2009"
voicemail.conf refers to "man strftime". This refers to the current locales.
So, I tried
export LANG=de
export LC_ALL=de_DE
before starting Asterisk. Unfortunately the date format is still
2009 Jan 08
1
is it possible to store vmsecrets outside of users.conf?
Hi!
Currently I provision user account in users.conf. But I do not like that
VoiceMail writes to users.conf when the voicemail password is changed.
Is there a possibility to store the vmsecret in another place? (another
file or DB)?
thanks
klaus
2009 Jul 24
6
dialplan tips
Hi everybody
In advance sorry for my bad english and if my problem was already exposed (I
didn't find any tips in the mailing list archive. Bad luck)
I have some questions about asterisk 1.6 release :
1) how can I do a n+101 priority jumping if a SIP canal is busy ?
I read that the general parameter "priorityjumping" is depreciated in the
1.6 release and I already try the
2009 Mar 06
5
work around the 64 pickupgroups limit
Hi!
What are the typical ways to work around the 64 groups limit?
thanks
klaus
2009 Jun 05
5
How run AsyncAGI commands in background
Hi all,
I have an external application commanding asterisk by AMI and AsyncAGI. I
also have a dialplan like this:
; AsyncAGI extensions
exten => _8.,1,Noop(entering in AGI loop at 8 ${EXTEN});
exten => _8.,n,AGI(agi:async);
exten => _8.,n,Hangup();
; Meetme extensions
exten => _1.,1,Noop(Conference ${EXTEN} ${CONTEXT});
exten =>
2006 May 11
3
sangoma A102 installation question
Hi!
I've went through the READMEs and could not answer this question:
During installation, the Setup program asks:
Would you like update/upgrade wanpipe drivers? (y/n)
For a pure Asterisk TDM installation - is it required to patch the
kernel or is this only when using the sangoma cards as WAN router?
regards
klaus
2010 May 17
4
identify caller hangup or callee hangup?
Hello,
you know , when a call setup, either caller hangup first or callee
hangup first , the hangupcause will set to 16(means Call Clearing
Causes)
My question is how could i identify whether the caller or callee
hangup the phone first?
Best Regards!
--
Thanks for your supporting,
have a nice day.
Sucan
2009 Feb 24
7
multiple asterisks in a server
Hi all,
Is it possible to install more than 1 asterisk in a single server?
If yes, what do I need to set and take care?
Rgds,
ango
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:
2009 May 20
1
Macro with DIALSTATUS
Hi,
I am trying to pass DIALSTATUS to a Macro so that i can set a
variable when a call is placed (call is placed via a call file to
another extension first). Basically i don't want to dial a number
where a call is already bridged and thats why i am setting a variable.
[macro-afterdial];
exten => s,1,Goto(s-${ARG1},1)
exten => s-ANSWER,1,SetGlobalVar(NUM${ARG2} = "ACTIVE")
2009 Feb 05
6
Newbie query: how to write priority n+101
Hi All,
Asterisk 1.4.12 on CentOS 5
Sorry for a question that I'm guessing is obvious to most of you.
I'm trying to revamp my dialplan. When I first created it, I had
something like:
exten => s,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
exten => s,2,Dial(${rgMain},${RINGTIME},t)
exten => s,3,VoiceMail(main at default)
exten => s,103,VoiceMail(main at default)
2015 Aug 14
2
chan_sip.c: Retransmission timeout reached on transmission
Hello friends:
I am facing cutoffs randomly when negotiating calls.
The PBX dials the destination, the provider (softswitch) receives the
request *[1]* and sudenly the PBX hangs up the call* [2]* while the
provider is still dialing it, as a consequence the remote peer receives a
ghost call. Along the atempt I could see six times a messages regarding NAT
isuues *[3]*
I hope anyone can give me an
2009 Nov 10
2
looking for an Asterisk supervision (status viewer) tool
Hi!
I am looking for a tool (application or webinterface) which shows me the
current status of an Asterisk server, e.g.:
- Status of the SIP peers (registered/offline)
- current incoming and outgoing calls
- start-time, numbers, some history
- history (calls stopped in the last 15 minutes, who hang up?)
- should be possible to link those calls to the relevant SIP peers
-
2009 Jan 20
5
the FXS ports of Digium and damaging if connected to Tel Line
Hi All;
I am facing a problem that always the users confused and connect the telephone line coming from the telephone service provider to the FXS port and cause it to be damaged, specially if the card was 2 fxs and 2 fxo, so they make mistake and connect the line to fxs while it should be connected to fxo.
What is the solution for this disaster?
Regards
Bilal
2010 Sep 22
5
http://www.asterisk.org/downloads naming schema
Hi!
Since some time the download of the newest Asterisk does not contains
the version number anymore, but is just called "asterisk-1.4-current.tar.gz"
This gives me a tarball where I do not know the version without looking
into the tarball.
Thus, IMO it would be very useful to switch back to old schema war the
download contained the version number.
Thanks
Klaus