I have this file which came form a cellphone company's call center. It's supposed to be a recording of a conversation I had with them. I tried to open it using Windows Media Player, VLC Media Player, and Audacity. But it didn't work.
Do you have any idea how to fix this?
Here's all the text that came in the email with the file:
If you are having difficulty playing the attached multimedia file(s) using Windows Media Player, contact your technical support representative
------------ Segment-related information -------------
Contact ID = 9120617573350001032
Start Time = 14/07/2014 10:02:13
Local Start Time = 14/07/2014 10:02:13
End Time = 14/07/2014 10:16:11
Local End Time = 14/07/2014 10:16:11
Extension = 11134
Agent = שלו, מלי
PBX ID = 11134
Duration = 00:13:58
Dialed From (ANI) = 11134
Dialed To (DNIS) = 0545920155
Remarked On =
Remarked By =
Remark =
Acquisition Module = 17
Channel = 286
Screen Acquisition Module = 14
With Screens = 1
Direction = 2
Switch Call Id = 2144221398988751
WrapUp Time = 00:00:34
Switch Name = Cosmocom2
Custom Data 1 = 1
Custom Data 2 = 10.91.12.53
Custom Data 3 = 11134:10.19.221.155:6815 Custom Data 4 = 2144221398988751000 Custom Data 5 = שירות חול Custom Data 6 = 0545920155 Custom Data 7 = XEN16113 Custom Data 8 = Custom Data 9 = חול חבילות Custom Data 10 = 4806591 Custom Data 11 = Custom Data 12 = Custom Data 13 = Custom Data 14 = Custom Data 15 = Custom Data 16 = Custom Data 17 = Custom Data 18 = Custom Data 19 = Custom Data 20 = Custom Data 21 = Custom Data 22 = Custom Data 23 = Custom Data 24 = Custom Data 25 = Custom Data 26 = Custom Data 27 = Custom Data 28 = Custom Data 29 = Custom Data 30 = Custom Data 31 = Custom Data 32 = Custom Data 33 = Custom Data 34 = Custom Data 35 = Custom Data 36 = Custom Data 37 = Custom Data 38 = Custom Data 39 = Custom Data 40 = Custom Data 41 = Custom Data 42 = Custom Data 43 = Custom Data 44 = Custom Data 45 = Custom Data 46 = Custom Data 47 = Custom Data 48 = Custom Data 49 = Custom Data 50 = Custom Data 51 = Custom Data 52 = Custom Data 53 = Custom Data 54 = Custom Data 55 = Custom Data 56 = Custom Data 57 = Custom Data 58 = Custom Data 59 = Custom Data 60 = Custom Data 61 = Custom Data 62 = Custom Data 63 = Custom Data 64 = Custom Data 65 = Custom Data 66 = Custom Data 67 = Custom Data 68 = Custom Data 69 = Custom Data 70 = Custom Data 71 = Custom Data 72 = Custom Data 73 = Custom Data 74 = Attached file name: AudioOnly_Site_01_AudioModule_17_AudioChannel_286_14-Jul-2014_07.02.13.500.WAV
===
And here's a link to the file itself: https://drive.google.com/file/d/0B1r5xyHzGXL9Rl8td2dQdXFlU3puVWZ5aXFCcUZ4V3h2UmE4/view?usp=sharing
According to the fmt chunk in the WAV header, the audio data is encoded using a format named WAVE_FORMAT_VOICEAGE_AMR_WB from VoiceAge Corporation. That is not a commonly used format on desktops, but is more commonly used in mobile devices. You need to install an audio codec that supports that format, or else you should ask the call center to convert their WAV file into a more common desktop format, like PCM or GSM 6.10.
Related
I got lt-1400(water level transmitter), output(RS485), I send this(b'\x01\x04\x00\x02\x00\x02\xd0\x0b\x00\x00\x00') to USB to TTL max485 and I resiveing tis kind of data (b'\x01\x04\x04\x3f\x9f\xae\x80\xba\x7e').how can I translate it.
receiving and sending data I am using python script||||||||
`
import serial
import time # import the module
while True:
ComPort = serial.Serial('COM11') # open COM3
ComPort.baudrate = 9600 # set Baud rate to 9600
ComPort.bytesize = 8 # Number of data bits = 8
ComPort.parity = 'N' # No parity
ComPort.stopbits = 1 # Number of Stop bits = 1
data = bytearray(b'\x01\x04\x00\x02\x00\x02\xd0\x0b\x00\x00\x00')
No = ComPort.write(data)
print (ComPort.isOpen())
#print(data) # print the data
dataIn = ComPort.read(8) # Wait and read data
print(dataIn)
ComPort.close() # print the received data
#time.sleep(2)
ComPort.close() # Close the Com port `
||||||||||||||||||||||
translating data python script|||||||
`
import struct
data = bytearray(b'\x01\x04\x04\x3f\x9f\xae\x80\xba\x7e')
number = struct.unpack('hhl', data)
number=str(number)
print(number)
#print(num2)
`
however, I have everything still I don't get the necessary data please help me If you can I would be happy
I am running query in CI_INFOOBJECTS to fetch all the webi documents present in root folder and subfolders.
This query returns 70 records in Query Builder but when i am running it using requests.post, it gives me top 50 records only. I tried changing offset and limit but still returning same 50 records.
Can anyone help me resolve this as this is the best solution that i found till now to get all the reports from folders and sub folders to update the source universe.
folder_get = requests.get(bip_url + '/v1/cmsquery', headers=headers)
folder_root = etree.fromstring(folder_get.text)
Query_var = 'SELECT SI_ID,SI_NAME FROM CI_INFOOBJECTS WHERE SI_KIND = \'WEBI\' AND SI_ANCESTOR = 6526 ORDER BY SI_ID'
folder_root[0].text = Query_var
data1 = etree.tostring(folder_root)
folder_post = requests.post(bip_url + '/v1/cmsquery?offset=51&limit=100', headers = headers, data = data1)
folder_post.content
Try using page and pagesize instead of offset and limit.
folder_post = requests.post(bip_url + '/v1/cmsquery?page=1&pagesize=100', headers = headers, data = data1)
This should give you the 70 records that you expect.
I'm trying to connect two blocks with the "Connector" class implemented in pyomo, using the following simple examplary code.
from pyomo.environ import *
m = ConcreteModel()
# Block 01
m.block_01 = Block()
m.block_01.flow = Var(within=NonNegativeReals, bounds=(2, 10))
m.block_01.OUT = Connector(initialize= {'flow': m.block_01.flow})
# Block 02
m.block_02 = Block()
m.block_02.flow = Var(within=NonNegativeReals)
m.block_02.IN = Connector(initialize= {'flow': m.block_02.flow})
m.con = Constraint(expr=m.block_01.OUT == m.block_02.IN)
def _obj(_m):
return _m.block_01.flow + _m.block_02.flow
m.obj = Objective(rule=_obj)
After "optimization" all variables take their lower bound values (m.block_01.flow = 2 and m.block_02.flow = 0). So the Connector seems not to transfer any data for the variables.
If I'm using:
m.con = Constraint(expr=m.block_01.flow == m.block_02.flow)
instead, it works. However this is not the idea of Connectors, right?
Any ideas about the reason for the problem?
Did you apply the expand_connectors transformation before sending your model to a solver?
TransformationFactory('core.expand_connectors').apply_to(m)
I'm building a Xamarin client that reads messages from the Azure Service Bus.
My REST code can successfully pull a message off the Service Bus, but what I'm getting back appears to be binary (as in non-Text...I know it's all binary ;) )
This is the test code on Windows:
byte[] response = webClient.UploadData(fullAddress, "DELETE", new byte[0]);
MemoryStream ms = new MemoryStream(response);
BrokeredMessage bm = new BrokeredMessage(ms);
responseStr = bm.GetBody<string>();
My problem is on Xamarin/Mono, I don't have a BrokeredMessage.
So my question is how to I de-serialize a BrokeredMessage by hand?
Here's the first few bytes of the response variable looks like:
40 06 73 74 72 69 6e 67 08 33 68 74 74 70 3a 2f 2f 73 63 68
All the examples, I've found, say that I should be getting back XML....it 'almost' looks like XML but the 06 and the 08 are throwing me off.
I'm sure that I'm missing something simple, but I can't find it.
Any guidance would be welcome.
I figured it out so I'm posting the answer just in case someone else runs into the same problem.
response = webClient.UploadData(fullAddress, "DELETE", new byte[0]);
responseStr = System.Text.Encoding.UTF8.GetString(response);
Dictionary<string, object> result = new Dictionary<string, object>();
foreach (var headerKey in webClient.ResponseHeaders.AllKeys)
result.Add(headerKey, webClient.ResponseHeaders[headerKey]);
MemoryStream ms = new MemoryStream(response);
DataContractSerializer serializer = new DataContractSerializer(typeof(string));
XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(ms, XmlDictionaryReaderQuotas.Max);
object deserializedBody = serializer.ReadObject(reader);
responseStr = (string)deserializedBody;
result.Add("body", responseStr);
The BrokeredMessage properties are stored in the ResponseHeaders
When answering the question Check if scheduled local agents can run in Notes client I found a forum post by Javed Khan indicating that this can be checked by checking if a bit in the Preferences environment value is set.
Const LOCAL_AGENTS = &H8000000
Call Session.SetEnvironmentVar("Preferences", Cstr( Clng( Session.GetEnvironmentValue( "Preferences", True )) Or LOCAL_AGENTS ), True )
The "Scheduled local agents" settings is apparently the 28:th bit.
My question is: Is there any online documentation for the meaning of the other bits?
Here is the list, taken from http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/e870840587eed796852568f6006facde?OpenDocument
0 <0> = Keep workspace in back when maximized (Enabled=1)
1 <2> = Scan for unread
2 <4> =
3 <8> = Large fonts
4 <16> =
5 <32> = Make Internet URLs (http//:) into hotspots
6 <64> =
7 <128> = Typewriter fonts only
8 <256> = Monochrome display
9 <512> = Scandinavian collation
10 <1024> =
11 <2048> =
12 <4096> = Sign sent mail (Enabled(1))
13 <8192> = Encrypt sent mail
14 <16384> = Metric(1)/Imperial(0) measurements
15 <32768> = Numbers last collation
16 <65536> = French casing
17 <131072> = empty trash folder (prompt during db close=0/always during db close=1/manual=1
18 <262144> = Check for new mail every x minutes (Enabled=0)
19 <524288> = Enable local background indexing
20 <1048576> = Encrypt saved mail
21 <2097152> =
22 <4194304> =
23 <8388608> = Right double-click closes window
24 <16777216> = Prompt for location
25 <33554432> =
26 <67108864> = Mark documents read when opened in the preview pane
27 <134217728> = Enable local scheduled agents
28 <268435456> = Save sent mail (Always prompt=10/Don't keep a copy=00/Always keep a copy=01)
29 <536870912> =
30 <1073741824> = New mail notification (None=10/Audible=00/Visible=01)
31 <2147483648> =