CTI

pchero on June 21st, 2014

Asterisk Server 를 생성하고 계속해서 Brute-force Attack 이 들어왔다. 비록 뚫린 흔적은 발견하지 못했지만 계속해서 들어오는 Brute Force Attack 은 내게 계속해서 “방심하면 뚫린다”라는 긴장감을 주었다.. 그래서 그 방지책으로 fail2ban 설정을 찾을 수 있었고, 아래의 내용으로 fail2ban 설정 후, 안심할 수 있었다. Asterisk 관련 fail2ban 스크립트 설정법 jail2ban.conf logpath 가 약간 이상하게 잡혀있는데, 이는 Freepbx […]

Continue reading about [Asterisk] Defence of brute force attack

pchero on June 19th, 2014

Debian 7(Wheezy) http://wiki.freepbx.org/display/HTGS/Installing+FreePBX+on+Debian+Wheezy    

Continue reading about [FreePBX] Install

pchero on June 13th, 2014

Freeswitch 에서 Python 으로 dialplan 작성시… Call-Bridge 를 해야 하는 경우.. call_addr = ‘sofia/profile_name/call_to@host_ip’ session.execute(“bridge”, call_addr) 과 같이 입력하면 된다. Freeswitch Python 모듈에서 제공하는 Transfer 의 경우, 이미 작성되어 있는 Dailplan 으로 넘겨주는 역할밖에 하지 못한다. 즉, 다른 곳으로 전화를 걸어서 그쪽으로 넘겨주는 기능이 아닌 것이다. 가장 대표적인 기능이 음성 사서함에서의 콜백 기능인데, 콜백 기능을 […]

Continue reading about [Freeswitch] python-bridge

Asterisk 연동 테스트를 진행 중, 다음의 에러가 발생했다. [2014-06-11 09:59:30.319] — Executing [s@SetCalledIDNum:15] Set(“SIP/200-ipvstk-softphone-1-000000f7”, “ChannelB=”) in new stack [2014-06-11 09:59:30.319] — Executing [s@SetCalledIDNum:16] Return(“SIP/200-ipvstk-softphone-1-000000f7”, “”) in new stack [2014-06-11 09:59:30.320] — Executing [s@app_dial_gosub_virtual_context:1] NoOp(“SIP/200-ipvstk-softphone-1-000000f7”, “”) in new stack [2014-06-11 09:59:30.320] — Auto fallthrough, channel ‘SIP/200-ipvstk-softphone-1-000000f7’ status is ‘UNKNOWN’ [2014-06-11 09:59:30.322] — Local/200-ipvstk-softphone-1@DialLine-5336;1 answered Local/200@DialAccount-d00c;2 [2014-06-11 […]

Continue reading about [Asterisk] Auto fallthrough, “channel sip/xxxxxxxxx” status is ‘UNKNOWN’

pchero on June 6th, 2014

Freeswitch 에서 python 으로 dialplan 작성시,.. originate 를 해야 하는 경우. from freeswitch import * new_session = Session(sofia/profile_name/call_to@host_ip) 만약 콜 생성을 하면서 (INVITE) 시, 특정 옵션 값들을 입력하고 싶다면.. {sip_h_TestOpt=test}sofia/internal/200@pchero21.com 과 같이 sofia 앞부분에 “{}” 를 넣어서 입력하고자 하는 값들을 입력하면 된다.   출처 : http://lists.freeswitch.org/pipermail/freeswitch-users/2011-March/070126.html

Continue reading about [Freeswitch] python-originate