Displaying 20 results from an estimated 939 matches for "_x".
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, GotoIf($["${DIALSTATUS}" = "ANSWER"]?9)
exten => _X., 6, GotoIf($["${DIALSTATUS}"...
2013 Feb 21
2
[PATCH] xen: consolidate implementations of LOG() macro
...g.h>
#include <xen/types.h>
#include <xen/sched.h>
+#include <xen/bitops.h>
#include <public/xen.h>
#include <asm/current.h>
@@ -18,13 +19,6 @@
#define OFFSET(_sym, _str, _mem) \
DEFINE(_sym, offsetof(_str, _mem));
-/* base-2 logarithm */
-#define __L2(_x) (((_x) & 0x00000002) ? 1 : 0)
-#define __L4(_x) (((_x) & 0x0000000c) ? ( 2 + __L2( (_x)>> 2)) : __L2( _x))
-#define __L8(_x) (((_x) & 0x000000f0) ? ( 4 + __L4( (_x)>> 4)) : __L4( _x))
-#define __L16(_x) (((_x) & 0x0000ff00) ? ( 8 + __L8( (_x)>> 8)) : __L8( _x...
2018 Jun 26
2
Asterisk not matching longest prefix with include
Hi,
My dialplan looks like this:
[from-external]
Exten => _X.,1,Noop(CALL IS COMING INTO FROM EXTERNAL CONTEXT)
Exten => _X.,n,Noop(IP: ${CHANNEL(recvip)})
Exten => _X.,n,Noop(CALLED NUMBER: ${EXTEN})
Exten => _X.,n,Ringing
Exten => _X.,n,WaitExten(15)
Exten => _X.,n,Congestion()
Exten => _X.,n,Hangup()
include => test
[test]
Exten =...
2008 Nov 19
1
IF else
Hi all,
I have the following context in extensions.conf:
[a2billing]
exten => _X.,1,Gotoif($[${EXTEN} = 111] ? 21)
exten => _X.,2,DeadAGI,a2billing.php
exten => _X.,3,Wait,2
exten => _X.,4,Hangup
exten => _X.,21,Playback(AR_GetGiveToID)
exten => _X.,22,Wait(2)
exten => _X.,23,Record(/tmp/asterisk-recording:ulaw,,5)
exten => _X.,24,Wait(2)
exten => _X.,25...
2008 Jul 18
5
GotoIf Problem
Everybody,
I have a fall though context that, among other things, tests to see if
someone it trying to pick up a non-existent parked call (Defined from 90
to 99). I have the following:
[not-in-service]
exten => _X.,1,Wait(1)
exten => _X.,n,ResetCDR()
; **************************************************
; Check to see if the mis-dialed number was a parking
; slot. If so, jump to the not-parked context
; **************************************************
exten => _X.,n,GotoIf($["${EXTEN}" =...
2011 Sep 07
4
(no subject)
Hi team,
I am trying to find solution to hangup b-party call after 1 min with out disconnecting the call of a-party but following dial plan which is disconnect both the calls.
Please suggest me the solution.
[TB]
exten => _X.,1,Wait(${INCOMING_WAIT})
exten =>_X.,2,Verbose(TB)
exten =>_X.,3,Answer()
exten => _X.,4,Set(mainLoop=0)
exten => _X.,5,Set(TIMEOUT(absolute)=10)??????? ; set time in? milliseconds
exten => _X.,6,Playback(/var/callagent/prompts/monitor/thanks)
exten => _X.,7,Dial(DAHDI/7/...
2015 Oct 14
1
Bug#801768: blktap-dkms: module FTBFS for Linux 4.2: error: too many arguments to function 'mempool_resize'
...nux-blktap.h:119:24: warning: variably modified 'pending' at file scope
sizeof(((struct blktap_sring *)0)->ring[0])))
^
/usr/src/linux-headers-4.2.0-1-common/include/xen/interface/io/ring.h:15:59: note: in definition of macro '__RD2'
#define __RD2(_x) (((_x) & 0x00000002) ? 0x2 : ((_x) & 0x1))
^
/usr/src/linux-headers-4.2.0-1-common/include/xen/interface/io/ring.h:17:66: note: in expansion of macro '__RD4'
#define __RD8(_x) (((_x) & 0x000000f0) ? __RD4((_x...
2018 Jun 26
2
Asterisk not matching longest prefix with include
On Tue, Jun 26, 2018 at 7:06 PM, Doug Lytle <support at drdos.info> wrote:
> On 06/26/2018 06:57 PM, Dovid Bender wrote:
>
>> Hi,
>>
>> My dialplan looks like this:
>> [from-external]
>>
>> Exten => _X.,1,Noop(CALL IS COMING INTO FROM EXTERNAL CONTEXT)
>> Exten => _X.,n,Noop(IP: ${CHANNEL(recvip)})
>> Exten => _X.,n,Noop(CALLED NUMBER: ${EXTEN})
>> Exten => _X.,n,Ringing
>> Exten => _X.,n,WaitExten(15)
>> Exten => _X.,n,Congestion()
>> Exten =>...
2017 Sep 09
5
Bug#874751: blktap-dkms: module FTBFS for Linux 4.12
...ux-blktap.h:119:24: warning: variably modified 'pending' at file scope
sizeof(((struct blktap_sring *)0)->ring[0])))
^
/usr/src/linux-headers-4.12.0-1-common/include/xen/interface/io/ring.h:15:59: note: in definition of macro '__RD2'
#define __RD2(_x) (((_x) & 0x00000002) ? 0x2 : ((_x) & 0x1))
^~
/usr/src/linux-headers-4.12.0-1-common/include/xen/interface/io/ring.h:17:66: note: in expansion of macro '__RD4'
#define __RD8(_x) (((_x) & 0x000000f0) ? __RD4((...
2008 Sep 15
2
Asterisk
Dear All,
I have the below context defined in extensions.con:
[a2billing]
exten => _X.,1,Gotoif($[${EXTEN} = 111] ? 21)
exten => _X.,2,DeadAGI,a2billing.php
exten => _X.,3,Wait,2
exten => _X.,4,Hangup
exten => _X.,21,Wait(2)
exten => _X.,22,Record(/tmp/asterisk-recording:ulaw)
exten => _X.,23,Wait(2)
exten => _X.,24,Playback(/tmp/asterisk-recording)
exten =>...
2006 Nov 21
2
Answer Machine Detection
...ut i need to make AMD
to do the detection on an outbound predictive dialer integration. Follow
are the inbound and outbound examples. My current environment is
Asterisk 1.4beta3 and a Digum TE105P with ISDN E1. Have any one managed
to do answer machine detection already?
[outbound]
exten => _x.,1,AMD
exten => _x.,2,Dial(SIP/${EXTEN}@10.1.1.203,,tT)
exten => _x.,3,Wait(2)
exten => _x.,4,Set(RECORDEDFILE=${CALLERID(num)}.wav)
exten => _x.,5,Record(${RECORDEDFILE},,,skip)
exten => _x.,6,Hangup
[inbound]
exten => _x.,1,Answer
exten => _x.,2,AMD
exten => _x.,3,Wait(2...
2007 May 02
2
delay in switching between contexts
Hi,
I am facing this issue, where I get a delay of aroud five seconds when
switching between contexts (through extension.conf) . This is how my
extensions looks like.
[salesivr]
exten => _X.,1,NoOp(Incoming call from user ${EXTEN} and caller id
${CALLERID})
exten => _X.,2,Playback(emptyy)
exten => _X.,3,Background(Main_Sales)
exten => _X.,4,WaitExten(2)
exten => _X.,5,Goto(_X.,3)
exten => 0,1,Goto(SalesRep,s,1)
exten => 1,1,Goto(Inquiry,s,1)
exten => 9,1,Goto(_X....
2008 Oct 17
1
Strip prefix
Dear All,
i have the following context defines in etensions.conf:
[a2billing]
exten => _X.,1,Gotoif($[${EXTEN} = 111] ? 21)
exten => _X.,2,DeadAGI,a2billing.php
exten => _X.,3,Wait,2
exten => _X.,4,Hangup
exten => _X.,21,Playback(AR_GetGiveToID)
exten => _X.,22,Wait(2)
exten => _X.,23,Record(/tmp/asterisk-recording:ulaw,,5)
exten => _X.,24,Wait(2)
exten => _X.,25...
2003 Oct 13
1
PRI/E1: machine freeze/dies after a few calls
...first two ports and through a pri switch (teles)
they come back at the other two ports (3 and 4).
But after a few calls my machine is completly freezed! So that i have to
restart my machine.
Here're my extension.conf, zapata.conf and zaptel.conf:
---->extension.conf:
[pri1]
exten => _X.,1,SetAccount(pritest)
exten => _X.,2,Answer
exten => _X.,3,Wait(15)
exten => _X.,4,Hangup
[pri2]
exten => _X.,1,SetAccount(pritest)
exten => _X.,2,Answer
exten => _X.,3,Wait(15)
exten => _X.,4,Hangup
[pri3]
exten => _X.,1,SetAccount(pritest)
exten => _X.,2,Answer
exten...
2014 Oct 05
1
Bug#764132: fails to compile with linux-image-3.16-2-amd64
...blktap.h:119:24: warning: variably modified ?pending? at file scope [enabled by default]
sizeof(((struct blktap_sring *)0)->ring[0])))
^
/usr/src/linux-headers-3.16-2-common/include/xen/interface/io/ring.h:15:59: note: in definition of macro ?__RD2?
#define __RD2(_x) (((_x) & 0x00000002) ? 0x2 : ((_x) & 0x1))
^
/usr/src/linux-headers-3.16-2-common/include/xen/interface/io/ring.h:17:66: note: in expansion of macro ?__RD4?
#define __RD8(_x) (((_x) & 0x000000f0) ? __RD4((_x)>>...
2008 Feb 26
1
Configuring modem pools in Asterisk [WAS: Connecting a Rolm CBX to Asterisk via T1?]
...rd issue sorted out. New Lesson: Stay Away from TigerJet chips.
Next up, modem pool -- I wanted to know if the below config looked anywhere near half-sane for defining in asterisk what is essentially a small pool of four waiting modems that will handle faxes if another modem is busy:
exten => _X.,1,Dial(IAX2/iaxmodem0/${EXTEN})
exten => _X.,2,Busy
exten => _X.,3,Hangup
exten => _X.,4,Dial(IAX2/iaxmodem1/${EXTEN})
exten => _X.,5,Busy
exten => _X.,6,Hangup
exten => _X.,7,Dial(IAX2/iaxmodem2/${EXTEN})
exten => _X.,8,Busy
exten => _X.,9,Hangup
exten => _X.,10,Dial...
2011 Aug 07
2
[PATCH] kinit minor checkpatch cleanup
.../usr/kinit/kinit.h b/usr/kinit/kinit.h
index c2e67b7..71414b1 100644
--- a/usr/kinit/kinit.h
+++ b/usr/kinit/kinit.h
@@ -36,17 +36,17 @@ ssize_t freadfile(FILE *f, char **pptr);
* "unnecessary" pointer comparison.
* From the Linux kernel.
*/
-#define min(x,y) ({ \
- typeof(x) _x = (x); \
- typeof(y) _y = (y); \
- (void) (&_x == &_y); \
- _x < _y ? _x : _y; })
+#define min(x, y) ({ \
+ typeof(x) _x = (x); \
+ typeof(y) _y = (y); \
+ (void) (&_x == &_y); \
+ _x < _y ? _x : _y; })
-#define max(...
2007 May 16
1
WaitExten not responding on key presses
Hi,
I have the problem that WaitExten is not responding to key presses. Here
are the sections from my extensions.conf:
[globals]
incoming_call=0
menu=0
announce=0
[internal]
exten => 777,1,Goto(hotline,${EXTEN},1)
[hotline]
exten => _X.,1,Set(CALLERID(name)=Hotline)
exten => _X.,n,Set(original_extension=${EXTEN})
exten => _X.,n,GotoIf($[${announce}=1]?4:10)
exten => _X.,n,Answer
exten => _X.,n,NoOp(Ansage: Das Problem XYZ ist bereits bekannt und wird
bearbeitet)
exten => _X.,n,NoOp(Ansage: Druecken Sie die Taste 1...
2006 Mar 28
1
Asterisk to MySQL Data Lookup Warning Message?
...an't find any info about it.
warning message:
Mar 28 15:55:40 WARNING[27481]: app_addon_sql_mysql.c:318 aMYSQL_fetch: ast_MYSQL_fetch: numFields=1
Should I be concerned? Does anyone know what it means?
Thanks.
JR
I'm dialing extension 1001
extensions.conf
[lookupmysql]
exten => _X.,1,MYSQL(Connect connid 10.10.10.110 asteriskdb password table)
exten => _X.,2,MYSQL(Query resultid ${connid} SELECT\ fullcontact\ from\ table_sip\ where\ name=${EXTEN})
exten => _X.,3,MYSQL(Fetch fetchid ${resultid} var1)
exten => _X.,4,MYSQL(Clear ${resultid})
exten => _X.,5,MYSQL(Dis...
2011 Apr 05
2
Asterisk 1.8 and new the command: exten => _X., 4, Wait, 2
OK Dears;
Is the exten => _X.,2,Wait,2 no more working with Asterisk 1.8? What is the equivalent?
I installed Asterisk 1.8 and Star2Billing 1.9 but I am getting this error if someone can advise me:
Executing [9615806234 at a2billing:1] Answer("SIP/gwsshihabuddinkw-00000014", "") in new stack
[Apr 5 02:5...