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

pchero on June 3rd, 2014

새로운 콜을 생성할 때 사용하는 모듈이다. 기본 메뉴얼. https://wiki.freeswitch.org/wiki/Mod_commands#originate freeswitch@internal> originate -USAGE: <call url> <exten>|&<application_name>(<app_args>) [<dialplan>] [<context>] [<cid_name>] [<cid_num>] [<timeout_sec>] Parameters: <call_url> : 전화를 걸고자 하는 URL 을 입력한다. PBX 서버의 IP 주소 혹은 Freeswitch 내부에 설정된 설정값의 항목을 입력한다. 목적지 주소(즉 전화를 걸고자하는 번호)는 다음 중 하나가 되어야 한다 : <exten> Dailplan 에 입력된 […]

Continue reading about [Freeswitch] Originate

pchero on June 2nd, 2014

Asterisk sip reload 중… 다음과 같은 오류가 나타났다. [Jun  2 04:45:56] WARNING[19371]: chan_sip.c:28964 reload_config: Section ‘test-01’ lacks type [Jun  2 04:45:56] WARNING[19371]: chan_sip.c:28964 reload_config: Section ‘test-02’ lacks type Asterisk SIP 설정 중, type 설정이 빠져있어서 발생하는 오류였다. type=friend 추가 후, 해결!

Continue reading about [Asterisk] Section ‘test-01’ lacks type