Hi everyone i am having an issue with Hylafax + iaxmodem + asterisk/freepbx. It is odd because i can receive faxes correctly and don't have any issues, but when i try to send a fax using hylafax it just says no answer from remote and when i am looking at asterisk by doing asterisk -r i don't even see the iaxmodem trying to send out a fax. I am lost at this point. I can successfully receive but cannot send and the iaxmodem extension is registered in asterisk. I am not sure what type of configuration files you need to see to try and help me, but if you ask for the files i can provide them. Thanks!
Found out what the solution was to my issue. The password i was using for the iax extension had an '#' symbol in it. This caused the whole issue. I removed it and faxing started to work accordingly. I stumbled upon this in this german forum that i had to translate to english.
http://www.ip-phone-forum.de/showthread.php?t=254880
Thank you everyone for all the help.
Related
Hello guys and I hope you're having a great day. I have a question about using Openstack API in Python.
I'm using python-novaclient for getting server details and flavor details. And I want to get the volume details too but I don't know how to do it, I've tried to collect volume details but it failed somehow and I need to ask you guys if you have any idea.
This information is what I want to get:
volume_id, attached to (w/c volume), name, status and volume_type (CEPH or LVM)
I used python-cinderclient, but I only got the volume_id.
Here's the code:
volumes = cinder.volumes.list()
Can someone help me to get the other data? Other than running Openstack command-line in the server, I just need some Python module to get these data.
Thanks in advance.
I've finally figured it out, and I'm going to answer this for anyone who is interested in Openstack SDK or other Python API for Openstack.
First, for authentication you need to use Keystone API, the documentation is all over the internet so no need to worry, you could just oversee in your Openstack for credentials needed. And for my question, I use the function get_volume from Connection class. Please see the documentation
for this. You can read other documentation as well on the internet.
So, here is the example of how to get volumes details:
vol = conn.get_volume(volume_id)
print(vol)
I have an experiment in AzureML which has a R module at its core. Additionally, I have some .RData files stored in Azure blob storage. The blob container is set as private (no anonymous access).
Now, I am trying to make a https call from inside the R script to the azure blob storage container in order to download some files. I am using the httr package's GET() function and properly set up the url, authentication etc...The code works in R on my local machine but the same code gives me the following error when called from inside the R module in the experiment
error:1411809D:SSL routines:SSL_CHECK_SERVERHELLO_TLSEXT:tls invalid ecpointformat list
Apparently this is an error from the underlying OpenSSL library (which got fixed a while ago). Some suggested workarounds I found here were to set sslversion = 3 and ssl_verifypeer = 1, or turn off verification ssl_verifypeer = 0. Both of these approaches returned the same error.
I am guessing that this has something to do with the internal Azure certificate / validation...? Or maybe I am missing or overseeing something?
Any help or ideas would be greatly appreciated. Thanks in advance.
Regards
After a while, an answer came back from the support team, so I am going to post the relevant part as an answer here for anyone who lands here with the same problem.
"This is a known issue. The container (a sandbox technology known as "drawbridge" running on top of Azure PaaS VM) executing the Execute R module doesn't support outbound HTTPS traffic. Please try to switch to HTTP and that should work."
As well as that a solution is on the way :
"We are actively looking at how to fix this bug. "
Here is the original link as a reference.
hth
I am developing a QT program that will check for new mails from gmail and download them using IMAP4 protocol. I am unable to write a command to display the messages in my inbox. please help me. Here is a sample of my code.
socket->connectToHostEncrypted("imap.gmail.com", 993);
if(!socket->waitForConnected(50000)){
qDebug()<<"Error:"<<socket->errorString();
}
}
void MySocket::connected(){
qDebug()<<"**********\nconnected....\n*********";
QByteArray byteArray("a001 LOGIN username password");
socket->write(byteArray);
socket->write("\r\n");
socket->waitForReadyRead();
byteArray.clear();
byteArray.append("A002 LIST inbox");
socket->write(byteArray);
socket->write("\r\n");
}
You are obviously not familiar with the IMAP protocol, so you will need to read RFC3501 if you want to be able to work with the protocol effectively.
I also suggest you check out my blog post IMAP: Downloading emails to get up and running quickly.
The LIST command will list the folders in your account. What you need to download emails in a folder or view their metadata is the FETCH Command. Again, read the RFC to learn what it offers. It is normally expected that you've done your research before asking on Stack Overflow.
Writing an IMAP client is far from trivial. Have you considered using some existing IMAP library that is written with Qt? I can of course recommend the code from Trojitá, or the KDE's IMAP code.
Is is possible to have R connect to gmail's POP server and read/download the messages in a specific folder of mine? I have been storing emails and would like to go back and start to analyze subject lines, etc.
Basically, I need a way to export a folder in my gmail account and I would like to do this pro grammatically if it all possible.
Thanks in advance!
I am not sure that this can be done via a single command. Maybe there is a package out there, which I am not aware of that can accomplish that, but as long as you do not run into that maybe the following process would be a solution ...
Consider got-your-back (http://code.google.com/p/got-your-back/wiki/GettingStarted#Step_4%3a_Performing_A_Backup) which "is a command line tool that backs up and restores your Gmail account".
You can invoke it like this (given that python is available on your machine):
python gyb.py --email foo#bar.com --search "from:pip#pop.com" --folder "mail_from_pip"
After completion you'll find all the emails matching the --search in the specified --folder, along with a sqlite database. (posted by dukedave, Dec 4 '11)
So depending on your OS you should be able to invoke the above command from within R and then access the downloaded mails in the respective folder.
GotYourBack is a good backup utility, but for downloading metadata for analysis, you might want something that doesn't first require you to fetch the entire content of all your email.
I've recently used the gmailr package to do a similar analysis.
i am trying to develop my own mail client and MTA keeping Trustedbird as a reference..
i wanted to know where the Mail list expansion functionality is handled in Trustedbird? at the client or MTA..? couldnt find any documentation related to this..
Thanks in advance..