similar to: STRFTIME function declared in globals context

Displaying 20 results from an estimated 8000 matches similar to: "STRFTIME function declared in globals context"

2007 Feb 04
1
Help - Received response: "Forbidden" from '"Unknown"
I have a weird problem.... Asterisk 1.4 E100P connected to a Panasonic TDA phone system Here is what I get SIP Ext -> Panasonic Ext No Problems Panasonic Ext -> SIP Ext No Problems SIP Ext -> VOIP Provider No Problems Panasonic Ext -> VOIP Provider Errors ---------- Working SIP -> VOIP -- Executing [903........@from-sip:1] Dial("SIP/610-097aee60",
2017 Dec 27
3
Answered time on channel
It seems that what ever I set in my answer handler does not show up in the hangup handler. In order to do billing I can't rely on the g option where the caller hangs up the call. Looks like I can either use h or a hangup handler along with the shared function. On Tue, Dec 26, 2017 at 4:40 PM, Eric Wieling <ewieling at nyigc.com> wrote: > Don't use an 'h' extension, use
2009 May 17
4
Can YOU find a trailing parenthesis?
On 1.6.1, I must be losing my eyesight: [internal] include => outbound-pstn ............. include => meetme ; 2663 include => setup-meetme-conf-room ; 6000xxxYYYY [setup-meetme-conf-room] exten => _6000XXXNXXX,n,Set(Time-in-secs="${STRFTIME(${EPOCH},,%s}" ) ........ CLI: -- Starting simple switch on 'DAHDI/1-1' [2009-05-17 14:54:49]
2018 Jan 08
3
Mixmonitor with b option
On 1/8/18 9:38 AM, Bertrand LUPART - Linkeo.com wrote: > Hello Carlos, > > >> We have a server that records all calls so we set Mixmonitor with the b option to only record calls that are actually bridged. I notice that we have lost of 44 byte files in /var/spool/asterisk/monitor which correspond to calls that were not answered. If a call is not answered I assume it was never
2008 Jan 18
1
Automatic call-out problem
Hello! My setup is Asterisk 1.2.26 with Zaptel 1.2.22.1, libpri-1.2.7 on Fedora Core 4. I am making automatic call-out campaign with this setup on 4 PRI. The scripts for this: ==================================================================== caller php script write this to outgoung folder: fwrite($outfile,"Channel: Zap/g1/$phonenumber\n"); fwrite($outfile,"MaxRetries:
2010 Jul 12
1
Fax for Asterisk, capable of receiving from website but not from fax machine !!
Hi Guys, i am using the latest version of asterisk 1.4 (1.4.33.1), dahdi (2.3.0.1) and FFA (Applications: 1.4_1.2.0, Digium FAX Driver: 1.4_1.2.0). the issue i'm having is that i'm able to receive faxes from a website (that offer this service) but not able to receive from a regular fax machine (that is working perfect). [fax-rx] exten => receive,1,NoOp(**** FAX RECEIVE ****) exten
2023 Aug 17
1
Alternative to Local channel
You can't set the variable in globals? I don't know if functions work in globals, but it is worth a try. [globals] LSESSION=${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} On 8/16/23 20:39, Federico wrote: > I used to use the local channel to create a global variable > > (dialplan) > > [default] > > exten => s,1,Set(GLOBAL(LSESSION)=${STRFTIME(${EPOCH},,%Y-%m-%d
2010 May 02
1
working example of t38 fax w/ 1.6.2?
I can't get a test T.38 fax between 2 1.6.2 machines, using app _fax and spandsp pre17 and 20100501. The machines can't seem to get connected. send side extensions.conf: [fax-tx-test] exten=>s,1,NoOp(Context fax-tx-test) exten=>s,n,SendFAX(${FaxFile}.tif) exten=>s,n,HangUp() exten=>h,1,NoOp(FAXSTATUS: ${FAXSTATUS} FAXERROR: ${FAXERROR} FAXMODE: ${FAXMODE})
2011 Mar 21
7
wrong time retrieved from system command
${STRFTIME(${EPOCH},GMT+8,%G%m%d-%H%M%S)} I use the above command to get the system date and time it returns 20110321-034329 but it is exactly 8 hours early than the system time when I type date in linux terminal Mon Mar 21 19:43:35 HKT 2011 I am looking for help. CK -------------- next part -------------- An HTML attachment was scrubbed... URL:
2017 Dec 26
4
Answered time on channel
Hi, I have a dial plan where I need to notify an external system when a call was answered and when the call hung up. In both requests the start time needs to be the same. My Dialplan looks something like this: [outbound] Exten => _X.,1,Dial(SIP/${EXTEN}@1.1.1.1,,U(call-answer-from-carrier)) Exten => h,1,NoOp(ANSWERED_TIME: ${ANSWEREDTIME} >>> DIAL_TIME: ${DIALEDTIME}
2009 Jun 13
1
1.6.0.10: core restart on ReceiveFax()
For our internal fax machines, I'm checking if the faxes are going to branch offices. If they are, I want to capture and email them to the branches. I've set up extension 8447 to test this. A fax machines is connected via an SPA 2102 on 173. Any calls from 173 are sent to: [outbound-fax] exten => 8447,1,Answer() exten => 8447,n,GoSub(Capture-Fax,s,1) exten
2006 Mar 02
2
TIMESTAMP, DATETIME not working
I am using the latest SVN version 1.2 of Asterisk When I attempt to test the output of certain variables, for use in file naming etc, certain key ones appear to fail. exten => 5555,1,NoOp(${EPOCH}) Returns -- Executing NoOp("SIP/200-638c", "1141352935") in new stack exten => 5556,1,NoOp(${TIMESTAMP}) Returns -- Executing NoOp("SIP/200-8cc9",
2011 Apr 12
0
No subject
[0004f2xxxxxx](poly650) defaultuser=0004f2xxxxxx callerid="Front Desk" <1600> mailbox=1600 *setvar=callidnum=1234561600* and from extensions.conf: [outgoing] ; Outbound unrestricted domestic calls exten => _1NXXXXXXXXX,1,Verbose(Outbound call from ${callidnum} to ${EXTEN} on ${STRFTIME(${EPOCH},,%D)} at ${STRFTIME(${EPOCH},,%T)}.) *exten =>
2009 Jan 18
2
Recordin call in asterisk
I need help need recording all call for my pbx but i am a novato in asterisk my confi for record is: exten=>_NXXXXXXXXX,n,Set(CALLFILENAME=CLIENTE-${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${UNIQUEID}) exten => _NXXXXXXXXX,n,MixMonitor(${CALLFILENAME}.gsm,m) exten => _NXXXXXXXXX,n,Dial(${TRUNK_CLIENTE}/${EXTEN}) -- Bayardo S?nchez Garc?a Web Developer - Internet
2013 Aug 20
2
Dialplan MySQL inserted ID
Hello, how can I obtain the "inserted ID" after having inserted a row with MySQL in the dialplan ? exten => s,n,MYSQL(Query resultid ${connid} INSERT INTO myTable SET C1="${ARG1}", C2="${ARG2}", timestamp="${STRFTIME(${EPOCH},,%Y-%m-%d_%H:%M:%S)}") I need to know the ID of the newly inserted row. Kind regards, Jonas. -------------- next part
2023 Aug 17
2
Alternative to Local channel
I used to use the local channel to create a global variable (dialplan) [default] exten => s,1,Set(GLOBAL(LSESSION)=${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)}) to that end, I modified cli.conf [startup_commands] originate local/s extension s at default = yes But now I upgraded to Asterisk18 and there is no longer a local channels Does anybody have any idea of a workaround?
2014 Sep 11
3
if statement recording - after hours
In my dial plan I have these two lines: exten => _NXXXXXX,n,Set(recordfilename=${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},MST,%C%y-%m-%d-%H%M)}.wav) exten => _NXXXXXX,n,MixMonitor(${recordfilename},b) How to add "if" statement to execute these line only after let say 5pm. To record conversation only after 5pm. -- Joseph
2014 Dec 23
1
ReceiveFax for multiple page (asterisk 13.0.1)
Hi all, I have problem for receiving fax from multiple page fax that sent from fax machine (analog). The error is : WARNING T.30 Page did not end cleanly This is my dialplan [inboundfax] exten => s,1,NoOp(**** FAX RECEIVED from ${CALLERID(num)} ${STRFTIME(${EPOCH},,%c)} ****) exten => s,n,Set(FAXOPT(ecm)=yes) exten =>
2008 Dec 09
3
Voicemail.conf: where to fin strftime manual entry ?
Hi, In voicemail.conf, you can read ; Look in /usr/share/zoneinfo/ for names of timezones. ; Look at the manual page for strftime for a quick tutorial on how the ; variable substitution is done on the values below. Where can this manual page for strftime be found ? man strftime and apt-cache search strftime don't reply much ... Regards -------------- next part -------------- An HTML
2013 May 16
1
strftime
Hello, I'm a little surprised about the result of strftime for my data. > str(time) chr [1:315504] "2006-01-01 00:10:00" "2006-01-01 00:20:00" "2006-01-01 00:30:00" ... > str(strftime(time,format="%Y-%m-%d %H:%M:%S")) chr [1:315504] "2006-01-01 00:00:00" "2006-01-01 00:00:00" "2006-01-01 00:00:00" ... Why