similar to: Pattern Matching

Displaying 20 results from an estimated 10000 matches similar to: "Pattern Matching"

2008 Dec 23
2
AEL Variable Warning Messages
I have two offices sharing a phone system. They also share a common internal context because all of the employees of the second office also work for the first office. Each office has 4 outside lines and I have defined 2 channel groups in my zapata.conf. The second office needs all of their outgoing calls to go out over their lines so the people they call will have the correct callerID. I
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);
2008 Jun 02
2
ast_compile_ael2: Warning: file /etc/asterisk/extensions.ael, line 932-932: Empty Extension!
On starting Asterisk (1.4) I get a whole bunch of WARNING[5858]: pbx_ael.c:4040 ast_compile_ael2: Warning: file /etc/asterisk/extensions.ael, line 932-932: Empty Extension! I find it a bit disturbing that this message has a level of WARNING (instead of NOTICE maybe) because the extensions in question are empty on purpose. The only reason they exist are the hints. hint(SIP/3000) 3000 => {}
2008 Dec 02
1
Using Dial M option from extensions.ael
Hi, How can you use Dial application M(x) option from extensions.ael ? (As a reminder, this M(x) executes macro x when Dial called party answers). It seems to me that asterisk keeps looking for this macro in extensions.conf and not in extensions.ael. I tried both (and variations of those with ^ instead of ,) : Dial(Local/${EXTEN:1},,M(mymacro(${EXTEN}));
2009 May 11
1
Support of /* */ comments in ael.vim
Hello, It seems /* */ comments are not supported in ael.vim (which brings AEL syntax-highlighting to vim). Is it hard to add this feature and have uploaded in vim extensions downloading site ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090511/18f33bab/attachment.htm
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)
2009 Jul 13
1
#exec in #include'd file
Hi, Is Asterisk supposed to evaluate #exec's in an #include'd file? Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de --
2008 Dec 29
1
AEL: how to check if variable is defined
Hi! I use an "if" condition in extensions.ael to check if a channel variable is defined and if defined I add a certain header: context toNormaleRufe { _X. => { if (${NUMBER}) { SIPAddHeader(X-NUMBER: ${NUMBER}); }; ... }; This works fine, except NUMBER starts with the + sign. I tried using quotes but if
2008 Dec 16
2
1.6 upgrade issues
Greetings list, Over the last few days I've been gearing up to replace a couple of our servers with 1.6 as something of a testbed, but I'm encountering a few problems, and wondering if anyone can help... In extensions.conf, there are a number of contexts defined for each group of users, along the lines of: [groupa] [groupb] etc. In each of those, there's a command include =>
2009 May 24
7
Asterisk, SQL Database Update
Is there any method in Asterisk to enable the updating process into another SQL database through entering IVR options during the call. Thanks a lot. _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
2009 Jul 14
2
How to block inbound call with Asterisk?
Guys, How would you block inbound call's? for example person who is calling me is 212-555-1212, and I would like to do not receive the calls from this person and give them busy tone. What should I write in asterisk config files? and in to witch file should I write it??? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Mar 09
2
AEL #include file
Hi, Does anyone know how to include a file in AEL using the #include "filename" syntax in .conf files? Regards, Philipp -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? -> http://www.das-asterisk-buch.de Gesch?ftsf?hrer: Stefan Wintermeyer Handelsregister: Neuwied B
2008 May 08
3
Looking for a Snom expert
I would like to hire someone to help us tweak our asterisk system for Snom phones. We would like to enable things like: One touch recording One touch park orbits Presence Please contact off-list if you will be able to help. Thermal -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Aug 21
2
Changing callerID in a context
Hello, I am trying to alter the outbound callerID for extensions within a context I have created. I wrote the following: exten => _9.,2,ExecIf($[$["${REALCALLERIDNUM}" = "360"] | $["$ {REALCALLERIDNUM}" = "670"]]|Set|CALLERID(num)=581560) exten => _9.,3,ExecIf($[$["${REALCALLERIDNUM}" = "361"] | $["$
2009 Jul 22
3
ExecIf and empty variables (early evaluation)
Imagine that you have this code: exten => _X!,n,Set(foo=${QUEUE_WAITING_COUNT(${QueueName})})) If ${QueueName} happens to be unset, this will cause a warning: [Jul 22 14:26:17] ERROR[8114]: app_queue.c:5187 queue_function_queuewaitingcount: QUEUE_WAITING_COUNT requires an argument: queuename The obvious solution: exten => _X!,n,ExecIf($["${QueueName}" !=
2009 Jan 27
2
Module res_odbc is not loading
Hi, I have remove the comment defor res_odbc.so and res_config_odbc.so in my modules.conf, but the module is still not loading when I do: module show like odbc I have o module returned anybody knows why? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090127/0963b5a4/attachment.htm
2009 Apr 07
1
AEL2, BASE64_DECODE and hexadecimal
Hi, I'm trying to pass a single carriage return (0x0d in hexa) to Sendtext in an AEL2 file like this : SendText(${BASE64_DECODE(DQ==)}); Value sent (8 bytes long) is very strange : Content-Type: text/plain;charset=UTF-8 Content-Length: 8 ?ez?== Any workaround ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL:
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 Feb 11
3
call forward all except the extension it is forwarded to
I would like to know if I can set Call Forwarding on an extension but allow direct calls from the extension it is forwarded to. Example: Extension 100 sets call forwarding (all) to extension 101. All calls to 100 are immediately forwarded to 101 as expected. However, if 101 tries to transfer a call to 100 or tries to call 100 directly, it sounds "busy" because it obviously goes into
2009 Jan 26
2
custom cdr userfiled
Dear, I added new field to cdr table , named "service" and type varchar(20), but in extensions.conf with the following command, nothing to be saved. exten => _X.,1,Set(CDR(service)=OUT) does asterisk support this ability ? is any setting must be changed, before that ? best Mani