
config asterisk 'general'
	option enable '1'
	option log_stderr '1'
	option log_stdout '1'

config line 'line0'
	option enable '1'
	option provider 'sip0'
	option calling_features 'set1'

config extension 'extension0'
	option enable '1'
	option extension_number '0000'
	option comfort_noise '0'
	option txgain '4'
	option rxgain '4'
	option echo_cancel '1'
	option calling_features 'set1'
	option name 'DECT 1'
	option type 'dect'

config extension 'extension1'
	option enable '1'
	option extension_number '1111'
	option comfort_noise '0'
	option txgain '4'
	option rxgain '4'
	option echo_cancel '1'
	option calling_features 'set1'
	option name 'DECT 2'
	option type 'dect'

config extension 'extension2'
	option enable '1'
	option extension_number '2222'
	option comfort_noise '0'
	option txgain '4'
	option rxgain '4'
	option echo_cancel '1'
	option calling_features 'set1'
	option name 'DECT 3'
	option type 'dect'

config extension 'extension3'
	option enable '1'
	option extension_number '3333'
	option comfort_noise '0'
	option txgain '4'
	option rxgain '4'
	option echo_cancel '1'
	option calling_features 'set1'
	option name 'Tel 1'
	option type 'fxs'

config dialplan 'custom_dialplan'
	option custom_outgoing_enable '0'
	option custom_incoming_enable '0'
	option custom_hangup_enable '0'
	option all_ports_extension '#123456'
	option test_audio_extension '#123457'
	option test_echo_extension '#123458'
	option record_message_extension '#999999'

config sip_advanced 'sip_options'
	option rtp_start '10000'
	option rtp_end '20000'
	option dtmf_mode 'rfc4733'
	option remote_hold 'yes'
	option tls_version 'sslv23'
	option dns_mgr 'no'
	option dns_mgr_refresh_interval '300'
	option srv_lookup 'yes'

config tel_advanced 'tel_options'
	option country 'se'
	option jb_enable 'yes'
	option jb_force 'no'
	option jb_maxsize '500'
	option jb_impl 'adaptive'
	option dial_out_timeout '4000'
	option echo_cancel '1'

config calling_features 'set1'
	option caller_id_enable '1'
	option caller_name_enable '1'
	option call_forward_unconditional '1'
	option call_forward_on_busy '0'
	option call_forward_on_no_answer '0'
	option mwi_enable '0'
	option anonymous_call_enable '0'
	option dnd_enable '0'
	option voice_mail_enable '0'
	option ccbs_enable '0'
	option redial_enable '1'
	option cbbs_type 'internal'
	option internal_service '0'
	option callreturn_enable '1'
	option moh_passthrough '1'
	option cbbs_key '5'
	option cbbs_maxretry '5'
	option cbbs_retrytime '300'
	option cbbs_waittime '30'
	option cfim_on '*21*'
	option cfim_off '#21#'
	option cfbs_on '*61*'
	option cfbs_off '#61#'
	option cfb_on '*67*'
	option cfb_off '#67#'
	option cw_on '*43#'
	option cw_off '#43#'
	option cw_status '*#43#'
	option dnd_on '*261#'
	option dnd_off '#261#'
	option dnd_status '*#261#'
	option call_return '*69'
	option redial '*66'
	option call_waiting_enable '1'

config log 'log_options'
	option console 'notice,warning,error'
	option messages 'error'
	option syslog_facility 'local0'

config cdr 'cdr_options'
	option csv_max_row '100'

config codec_profile 'alaw'
	option name 'G.711ALaw'
	option ptime '20'

config codec_profile 'ulaw'
	option name 'G.711MuLaw'
	option ptime '20'

config incoming_map 'incoming_map1'
	option enable '1'
	option extension 'group1'
	option line 'line0'

config outgoing_map 'outgoing_map1'
	option enable '1'
	option extension 'group1'
	option line 'line0'

config group 'group1'
	list extensions 'extension0'
	list extensions 'extension2'

config call_filter 'call_filter0'
	option block_foreign '0'
	option block_special_rate '0'
	option block_outgoing '0'
	option block_incoming '0'

config numberingplan 'numberingplan'
	option interdigitstdmsec '15000'
	option interdigitopenmsec '3000'
	option minimumnumberdigits '1'
	option maxnumdigits '15'

config prefixinfo 'prefixinfo1'
        option prefixenable '1'
        option prefixrange '*21*'
        option facilityaction 'CFU_ACTIVATE'

config prefixinfo 'prefixinfo2'
        option prefixenable '1'
        option prefixrange '#21#'
        option facilityaction 'CFU_DEACTIVATE'

config prefixinfo 'prefixinfo3'
        option prefixenable '1'
        option prefixrange '*61*'
        option facilityaction 'CFNR_ACTIVATE'

config prefixinfo 'prefixinfo4'
        option prefixenable '1'
        option prefixrange '#61#'
        option facilityaction 'CFNR_DEACTIVATE'

config prefixinfo 'prefixinfo5'
        option prefixenable '1'
        option prefixrange '*67*'
        option facilityaction 'CFB_ACTIVATE'

config prefixinfo 'prefixinfo6'
        option prefixenable '1'
        option prefixrange '#67#'
        option facilityaction 'CFB_DEACTIVATE'

config prefixinfo 'prefixinfo7'
        option prefixenable '1'
        option prefixrange '*43#'
        option facilityaction 'CW_ACTIVATE'

config prefixinfo 'prefixinfo8'
        option prefixenable '1'
        option prefixrange '#43#'
        option facilityaction 'CW_DEACTIVATE'

config prefixinfo 'prefixinfo10'
        option prefixenable '1'
        option prefixrange '*261#'
        option facilityaction 'DND_ACTIVATE'

config prefixinfo 'prefixinfo11'
        option prefixenable '1'
        option prefixrange '#261#'
        option facilityaction 'DND_DEACTIVATE'

config prefixinfo 'prefixinfo12'
        option prefixenable '1'
        option prefixrange '*#261#'
        option facilityaction 'DND_INTERROGATE'

config sip_service_provider 'sip0'
	list codecs 'alaw'
	list codecs 'ulaw'
	option support_fax '0'
	option transport 'udp'
	option dtmf_mode 'rfc4733'
	option encryption 'no'
	option mediasec '0'
	option name '8001'
	option displayname '8001'
	option enable '1'
	option domain '192.168.1.235'
	option host '192.168.1.235'
	option user '8001'
	option authuser '8001'
	option secret '8001'
