한국어

스마트폰앱

온누리070 플레이스토어 다운로드
    acrobits softphone
     온누리 070 카카오 프러스 친구추가온누리 070 카카오 프러스 친구추가친추
     카카오톡 채팅 상담 카카오톡 채팅 상담카톡
    
     라인상담
     라인으로 공유

     페북공유
    
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


http://iprouteth0.blogspot.com/2013/04/csipsimple-srtp-and-sip-tls-with.html


I finally got SIP-TLS and sRTP working on my devices!  It was a little weird.  Haven't quite figured out how to run it just the way I want to run it.  Started by binding SIP-TLS port to a nonstandard port.  Turned out somewhere in the middle the traffic was wanting to go to port 5061.  I changed back to the standard port and things worked immediately.  One of the best bits is with openwrt trunk asterisk11-res-srtp is an installable package, so no compiling is needed.  Here is some of the reference material I used.
https://wiki.asterisk.org/wiki/display/AST/Secure+Calling+Tutorial

First I needed to grab the ast_tls_cert script from the Asterisk SVN.

wget http://svnview.digium.com/svn/asterisk/branches/11/contrib/scripts/ast_tls_cert
chmod +x ast_tls_cert
mkdir /etc/asterisk/keys
./ast_tls_cert -C voip.iprouteth0.org -O "iprouteth0 VoIP" -d /etc/asterisk/keys
./ast_tls_cert -m client -c /etc/asterisk/keys/ca.crt -k /etc/asterisk/keys/ca.key -C voip.iprouteth0.org -O "iprouteth0 VoIP" -d /etc/asterisk/keys -o 504

add these directives to your sip.conf [general] section


tlsenable=yes             
tlsbindaddr=192.168.0.30  
tlscertfile=/etc/asterisk/keys/asterisk.crt
tlsprivatekey=/etc/asterisk/keys/asterisk.key
tlscafile=/etc/asterisk/keys/ca.crt
tlscadir=/etc/asterisk/keys/
tlscipher=ALL
tlsclientmethod=tlsv1

And here is my peer configured for TLS transport and encryption


[504]
username=504
secret=yourpasswordhere 
type=friend
nat=force_rport,comedia
callerid="Mesmerize<504>"
host=dynamic
context=outbound-srtp
outgoinglimit=3
incominglimit=3
canreinvite=yes
transport=tls
encryption=yes
disallow=all
allow=ulaw
allow=alaw
allow=g722
allow=gsm
dtmfmode=inband
mailbox=504@default

and the incoming dial plan.  I am using chan_motif and google voice so this is in context [incoming-motif]


exten => iprouteth0, 1, NoOp(Callerid  ${CALLERID(name)})
exten => iprouteth0, n, Set(CALLERID(num)=${SHIFT(CALLERID(name),@)})
exten => iprouteth0, n, Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
exten => iprouteth0, n, Set(_SIP_SRTP_SDES=1)
exten => iprouteth0, n, Set(_SIPSRTP=1)
exten => iprouteth0, n, Set(_SIPSRTP_CRYPTO=enable)
exten => iprouteth0, n, Dial(SIP/504, 180, D(:1))
exten => iprouteth0, n, Wait(3)
exten => iprouteth0, n, SendDTMF(1)
exten => iprouteth0, n(bridged),Bridge(${DB_DELETE(gv_dialout/channel)}, p)

and here is the outgoing dialplan.  This is in context [talk-numeric-outbound-srtp]

[talk-numeric-outbound-srtp]
exten => _1NXXNXXXXXX,1,Set(_SIP_SRTP_SDES=1)
exten => _1NXXNXXXXXX,n,Set(_SIPSRTP=1)
exten => _1NXXNXXXXXX,n,Set(_SIPSRTP_CRYPTO=enable)
exten => _1NXXNXXXXXX,n,Dial(Motif/iprouteth0/${EXTEN}@voice.google.com,,r)

exten => _+1NXXNXXXXXX,1,Set(_SIP_SRTP_SDES=1)
exten => _+1NXXNXXXXXX,n,Set(_SIPSRTP=1)
exten => _+1NXXNXXXXXX,n,Set(_SIPSRTP_CRYPTO=enable)
exten => _+1NXXNXXXXXX,n,Dial(Motif/iprouteth0/${EXTEN}@voice.google.com,,r)

finally the master context for this group of phones.

[outbound-srtp]
include => seven-digit
include => local-devices
include => default
include => incoming-motif
include => talk-numeric-outbound-srtp

then comes the setup of CSipSimple.  Setup your account.  I used expert mode.  To make it easier you can create the account with the basic wizard and switch the wizard once you've saved the account.



In CSipSimple's settings hit the menu button and enable expert mode.  Then go into the network section.  Find the Secure Transport menu.





Once you're in the Secure Transport sub-menu, you'll need to add your certificate files.  I grabbed them with AndFTP directly off of my openwrt router.  Bear in mine you'll need openssh-sftp-server installed.  Ignore the big 1 in the picture, it's from my screen shot capturing software.


For CA file I used /sdcard/keys/ca.crt
TLS Certificate I used /sdcard/keys/504.pem
TLS Private key was left blank since we're using a PEM file
TLS Password is the password used during key creation.
Also make sure to set sRTP mode to mandatory and disable zRTP. 
I checked both for verify server and client certificate, and have not noticed any trouble.

I am not even fully certain I am using the correct keys, however I have found that sipcrack is unable to detect login credentials from the TLS packet capture versus my normal sip packet capture having success decrypting using sipdump and sipcrack.
조회 수 :
889
등록일 :
2018.06.05
19:02:37 (*.160.88.18)
엮인글 :
http://webs.co.kr/index.php?document_srl=3316205&act=trackback&key=584
게시글 주소 :
http://webs.co.kr/index.php?document_srl=3316205
List of Articles
번호 제목 글쓴이 날짜 조회 수
63 mDNS 덕분에 SIP 네트워크 배포가 쉬워졌습니다. admin 2018-09-01 451
62 Pjsip datasheet OS SIP Media Video NAT admin 2018-07-03 782
61 How to save battery power on the Samsung Galaxy S9 and S9+ admin 2018-06-09 879
» CSipSimple, sRTP and SIP-TLS with Asterisk 11 admin 2018-06-05 889
59 스마트폰 070 장점 국내전화 국제전화 로밍요금 해결 꼭 사용해보세요 admin 2018-01-07 1940
58 안드로이드 7.0 빳데리 최적화에서 온누리070 제외 방법 수신향상 방법 인터넷전화 admin 2018-01-01 2121
57 Sipdroid package org.zoolu.sip.address; NameAddress admin 2017-12-03 2122
56 카카오톡PC에서 사용하는 오픈소스 라이브러리 admin 2017-12-03 2181
55 카카오톡PC에서 사용하는 오픈소스 라이브러리 admin 2017-12-01 2236
54 Using the raspberry pi for video monitoring Compiling linphone on the rasberry pi admin 2017-09-26 2624
53 iphone 아이폰 Linphone 070번호 설정 방법 발신 음질매우좋음 수신잘안됨 file admin 2016-01-30 5888
52 해외 로잉 무료 스마트폰 휴대폰 070 인터넷폰 인터넷전화 국내 해외 가입 상사 주재원 교민 유학생 여행 등 file admin 2015-02-28 20691
51 070가입 않고 국내 유선 무선 집전화 휴대폰 전화 해외 국내에서 전화 수신 받는 방법 admin 2015-02-28 86010
50 using a g729 codec in SipDroid Add G729 to Sipdroid admin 2014-12-28 9236
49 compile linphone android ubuntu 안드로이드 개발환경 구축 eclipse admin 2014-12-25 9441
48 How to add ID / Password for payment user ? file admin 2014-11-24 9903
47 SIP 샘플 소스 분석 - oSIP, Linphone - file admin 2014-10-21 12762
46 pjsip softphone 컴파일 방법 admin 2014-10-21 11550
45 GCM 서버 구현 예제(3)_JAVA를 이용한 푸시 서버 admin 2014-10-21 10933
44 Linphone 오픈소스 컴파일 admin 2014-10-21 21736
43 Install and configure Linphone admin 2014-10-21 9629
42 Compiling linphone 3.7.0 on Debian Wheezy admin 2014-10-21 11985
41 Jitsi Videobridge meets WebRTC admin 2014-10-18 10056
40 Compiling PJSIP for IOS : To specify the target platform is iOS admin 2014-10-10 10270
39 opus-codec Opus Interactive Audio Codec admin 2014-10-10 10195
38 HD-Voice의 정체 admin 2014-10-09 10195
37 Acrobits 아이폰 용 sip 프로그램 Softphone 070인터넷전화 수신 잘되는 client 무료 file admin 2014-06-02 16764
36 스마트폰 무제한 무료통화 앱 WIFI 2G 3G 4G LTE VOIP mVOIP SIP 요금절약 admin 2014-05-31 13636
35 webrtc 화상회의 시스템 admin 2014-05-11 11985
34 Turn your iPad, iPhone, iTouch into a SIP phone with 3CXPhone admin 2014-04-17 10227
33 question re: re-registration vs keep alive admin 2014-03-16 12053
32 Rate Primium file admin 2014-03-10 10613
31 스마트폰 070 인터넷전화 무료통화 앱 WIFI 2G 3G 4G LTE SIP 요금절약 file admin 2014-02-11 54306
30 mVoIP 보다 VoLTE가 좋은 점 admin 2013-11-21 12111
29 Wi-Fi.3G설정하기 안드로이드 android 스마트폰 file admin 2013-11-10 11601
28 MVOIP 또는 카톡 수신을 위해 ^^ 3G안되는 폰 wifi 항시 작동 시키기 켜기 ^^ admin 2013-11-10 13385
27 Sipdroid wiki and english manuall file admin 2013-11-09 18956
26 LinuxPlanet Blogs Archive for the ‘sipdroid’ Category admin 2013-11-09 11833
25 TCP Connection Test Program file admin 2013-09-28 17423
24 Android SIP app LIB Project VOIP admin 2013-09-26 22801
23 Session Initiation Protocol android phone latency problem admin 2013-09-25 12350
22 Third party open source sip stacks library for Android over B4A 오픈소스 라이브러리 admin 2013-09-23 14691
21 FREE DIAL 1877-6128 국제전화 카드 국가별요금 및 사용방법 (휴대폰) file admin 2013-04-18 32120
20 ▒ 국내통화 최저요금 통화방법 요금 최소로 최대절약 효과 ▒ file admin 2013-02-26 14659
19 SK LG KT 통신사별 MVOIP를 인터넷전화 사용할 수 있는 요금제는? file admin 2013-02-23 16676
18 유선전화 인터넷전화 시내 시외 통화량 추이 2007 ~ 2011 admin 2013-02-22 14783
17 공짜 모바일 인터넷 전화 카톡 왜 안뜨지? admin 2013-02-21 13994
16 스마트폰 사용자 이젠 모바일 인터넷전화 사용해도 됩니다.(완벽한 통화 보장) admin 2013-02-21 13661
15 BRIA IPhone Edition User Guide file admin 2013-02-20 15226
14 KT 휴대폰 요금제 정리 admin 2013-02-17 14519
13 스마트폰 앱 안드로이드 아이폰 인터넷전화 무료전화 070 FAX to Email 수신 file admin 2013-02-13 55152
12 스마트폰 앱 및 인터넷전화 요금 휴대폰 45원/분 유선 35원 3분 admin 2013-02-07 12453
11 무료 Media5 SIP CLient 안드로이드 및 아이폰 설정 국내 국제전화 사용 방법 file admin 2013-02-05 17365
10 Making Your Computer Accessible to the Public Internet: STUN admin 2013-02-05 13845
9 안드로이드 sip client Media5 강력 추천 통화품질 및 GUI 모두만족 설정 및 사용 방법 admin 2013-02-05 14799
8 We are strongly Recommand media5 SIP client in IPhone and Anddorid .(video) admin 2013-02-05 13923
7 아이폰용 SIP Client 앱 BRIA 강력하고도 완벽한 음성및 네트워크 지원 admin 2012-08-22 18896
6 Sipdroid source code 및 컴파일 compile Build success completely admin 2012-08-22 30593
5 Android 폰 에서 Sipdroid 설치 및 설정 전화걸기 사용방법 MVOIP file admin 2012-08-12 24313
4 스마트폰에서 SIPDroid 설치 설정 전화걸기 사용방법 admin 2012-08-02 21231
3 Download Source Code Pjsip admin 2012-04-26 22411
2 siphon sourcecode admin 2012-04-26 18363
1 Siphon SIP -VoIP for iPhone and iPod Touch admin 2012-04-26 19826