Additional Headers (On Top of code)
#! /usr/bin/env python
# -*- coding: utf-8 -*-
EXTRA: For Windows (Optional)
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#include <pj/config_site_sample.h>VC++ Header and Library Path
#define PJ_HAS_SSL_SOCK 1
pjproject\pjsip-apps\lib\_pjsua.pyd
python pjsip-apps\src\python\setup-vc.py install
try:References:
ua_cfg = pj.UAConfig()
ua_cfg.nameserver = ['8.8.8.8', '8.8.4.4'] # Example: Google Public DNS
lib.init(ua_cfg=ua_cfg, log_cfg=pj.LogConfig(level=4, callback=log_cb))
transport = lib.create_transport(pj.TransportType.TLS, pj.TransportConfig(port=5060))
lib.start()
acc_cfg = pj.AccountConfig()
acc_cfg.id = "sip:ID@sip2sip.info"
acc_cfg.reg_uri = "sip:sip2sip.info;transport=tls"
acc_cfg.auth_cred = [pj.AuthCred(
realm="sip2sip.info",
username="USERNAME",
passwd="PASSWORD",
)]
acc_cb = MyAccountCallback(acc_cfg)
acc = lib.create_account(acc_cfg, cb=acc_cb)
except Exception, err:
print 'Error creating account:', err
pjsua==1.16-svn
http://svn.pjsip.org/repos/pjproject/branches/1.x/
Python2.7 <- Visual Studio 2008
py_pjsua.dspSave as UTF-8 or Unicode (Optional)
py_pjsua.vcproj
python_pjsua.vcproj
python_pjsua.dsp
g7221.hBackup compiled pjsua 1.16:
pjproject\pjsip-apps\lib\_pjsua.pydhttps://www.dropbox.com/s/sgdrp8yxk2v6xe6/_pjsua.pyd
python pjsip-apps\src\python\setup-vc.py install
ssh -v git@github.com# Make sure both files included in the directory (id_rsa & id_rsa.pub)
github_rsa# Rename filename to id_rsa & id_rsa.pub
github_rsa.pub
id_rsa
id_rsa.pub
noxsave noxsaveopt root=/dev/sda1 SRC=/android DATA=/dev/sdb1 SDCARD=/dev/sdc1 PREBUNDLEDAPPSFS=/dev/sdd1 HOST=WIN GUID=b29d353b-f31c-11e1-a112-dc3ea1f1211f VERSION=0.7.12.896 GlHotAttach=1 OEM=BlueStacks LANG=en_US armApps=true GlMode=1 P2DM=1
DownloadOR
https://www.dropbox.com/s/iqpvapy3uinbdup/Root.7z
Backup & Replace Root.fs MOD
C:\ProgramData\BlueStacks\Android\Root.fs
http://old.androidfilehost.com/main/Misc/Bluestack/Rooting BlueStacks Beta/HowTo/HowTo Root BlueStacks.pdf
Bluestacks -> Whatsapp -> Settings -> Chat Settings -> Backup Conversations
adb root
adb pull /sdcard/WhatsApp C:\Whatsapp
@echo off
set PATH=%PATH%;C:\Python27;C:\Python27\Scripts
D:
cd D:\Projects\
cmd
Replace# If delete is true (the default), the file is deleted as soon as it is closed. (New in version 2.6: The delete parameter.) [1]
self.tmpfile = tempfile.NamedTemporaryFile()
To
self.tmpfile = tempfile.NamedTemporaryFile(delete=False)