Monday, January 19, 2015

hacks

Hacks

linux
------

sudo /usr/sbin/tcpdump -nni any port 5060 -s0 -A

netstat -apnt


Asterisk CLI:
sudo /usr/sbin/asterisk -vvvgc
module reload chan_sip.so

core set verbose 3

dialplan reload

queue show

core show help

module show like cdr

cdr show status

sip show users

Asterix links
-------------

#asterisk queues

http://www.orderlyq.com/asteriskqueues.html

#beginners tutorial

http://apricot.net/apricot2006/slides/tutorial/tuesday/Jonny_Martin-Asterisk.pdf

#FastAGI
http://www.asterisk-java.org/development/tutorial.html

http://www.jcgonzalez.com/asterisk-handle-calls-with-java-example


SIPp links
----------

http://sipp.sourceforge.net/doc/reference.pdf

Android

See https://blog-emildesign.rhcloud.com/?p=435
on how to set up the Android maps project


jar signer

C:\Program Files (x86)\Java\jdk1.6.0_17\bin>jarsigner 
-verbose -sigalg SHA1withRSA -digestalg SHA1 
-keystore my-release-key.keystore 
c:\users\dgandikota\Desktop\Peble.apk alias_name


Adb installation

C:\eclipseworkspace\Peble\bin>"c:\Program Files 
(x86)\Android\android-sdk\platfo
rm-tools\adb.exe" install -r c:\users\dgandikota\desktop\Peble.apk

To fire up emulator

C:\eclipseworkspace\Peble\bin>"c:\Program Files (x86)\Android\android-sdk\platfo
rm-tools\adb.exe" shell
root@android:/ # input keyevent 82

No comments:

Post a Comment