Displaying 8 results from an estimated 8 matches for "record1".
Did you mean:
record
2007 May 06
1
validates_uniqueness_of (with :scope) doesn't seem to work?
...the key
pieces of information
Agycode fields (id, project_id, descr)
Here''s the declaration in the Agycode.rb
validates_uniqueness_of *:descr*,
*:scope* => "project_id"
Here''s the test that SHOULDN''T pass but it does
*def* test_should_fail_duplicate_descr
record1 = *@project*.agycodes.*new*(*:descr* => "description")
record2 = record1
assert record1.save, "Save Record"
assert_valid(record1)
assert record2.save, "Save Record"
assert_valid(record2)
*end*
By the way, do you know how one would write the opposite of "assert...
2011 Jan 01
4
Saving the monitor file on new file always using Monitor(wav, Record1, m)
Dear List;
For each call (in specific case), I need to do a record and save in a spearated file, so I am thinking the best thing is to save based on the time.
Monitor(wav,Record1,m)
So, how can I make the file name to be based on the current time (which is changed always, or based on the some unique paramter (related to the call it self).
Any advise?
Regards
Bilal
2008 Sep 23
3
Finding distinct months using find_by_sql
...e a solution to the
following problem that has so far stumped me.
I''m trying to get the distinct months (and years) from a date field to
display as a list in a view. For example, there might be a number of
records stored with dates in the table ''headlines'':
name date
record1 21-09-2008
record2 15-09-2008
record3 03-08-2008
record4 02-08-2008
record5 12-07-2008
etc.
From which I''d like to get all distinct years and months to display in
a view something like what might be seen under the ''Archives'' section
of a blog page, like this:
S...
2018 Jul 20
0
Mount with Relay: Fallback-override does not work
...not working.
I tested two different configurations:
_Configuration A:_
<mount>
<mount-name>/Stream-096k.mp3</mount-name>
<max-listeners>2000</max-listeners>
<burst-size>122880</burst-size>
<fallback-mount>/Recordings/Record1.mp3</fallback-mount>
<fallback-override>1</fallback-override>
</mount>
<relay>
<server>xxx.xxx.xxx.xxx</server>
<port>8080</port>
<mount>/Masterstream-096k.mp3</mount>
<local-...
2011 Nov 04
1
problem when exiting from "record file" function without pressing the escape digit
Hi everybody,
I've been working on a project which records the voice of the incoming call.
I use record_file function of asterisk as described below:
RECORD FILE <filename> <format> <escape digits> <timeout> [offset samples]
[BEEP] [s=<silence>]
filename: record1
format: wav
escape digits: #
timeout: -1
offset samples: 0
BEEP: 1
silence: 3000
*Please read the scenario for an incoming call:*
*
*
- The user calls the asterisk
- The user talks on the telephone
- Ends the conversation without pressing the escape digit ("#")
In this scenario, unfortu...
2018 Aug 03
2
Mount with Relay: Fallback-override does not work
...not working.
I tested two different configurations:
_Configuration A:_
??? <mount>
??????? <mount-name>/Stream-096k.mp3</mount-name>
??????? <max-listeners>2000</max-listeners>
??????? <burst-size>122880</burst-size>
<fallback-mount>/Recordings/Record1.mp3</fallback-mount>
??????? <fallback-override>1</fallback-override>
??? </mount>
??? <relay>
??????? <server>xxx.xxx.xxx.xxx</server>
??????? <port>8080</port>
??????? <mount>/Masterstream-096k.mp3</mount>
??????? <local-...
2004 Nov 23
4
oh323/g729 and DTMF
Hi everyone,
Could somebody enlighten me on this one? I have
configured my asterisk to run on oh323 using codec
g729. Incoming calls are working okay. But the thing I
want to work is say pressing some options, say dial 1
to go to voicemail or dial a certain number to dial a
specific extension.
I have a config for this and tried calling from a
normal PSTN and is working. But i just can't seem
2006 Jul 20
11
3 columns
Hi all,
Not really sure what to put in the title so hope people still open this!
What I want to do is produce something like this
Col1 Col2 Col3
data1 data2 data3
data4 data5 data6
data7 data8 data9
data.. data.. data..
data.. data.. data..
data-n data-n+1 data-n+2
I can get the data back from my db