meine visdn.conf:
teile aus der extension.conf
Allerdings hab ich damit das Problem, das Calls von der Eumex zum Amt jede Ziffer doppelt gewählt wird.
z.B. Telefon an der Eumex wähl: 1234
Dial (*-console) steht: 11223344
Hab noch keine lösung. Ich muss mal die drei patches für asterisk 1.2.4 testen.
Code:
[general]
[global]
network_role = private
tones_option = yes
outbound_called_ton = unknown
;force_outbound_cli = no
;force_outbound_cli_ton = no
clir_mode = default_off
cli_rewriting = No
national_prefix = 0
international_prefix = 00
network_specific_prefix =
subscriber_prefix =
abbreviated_prefix =
overlap_sending = No
;overlap_sending = Yes
overlap_receiving = No
autorelease_dlc = 10
[huntgroup:telco]
mode = sequential
[visdn0]
network_role = private
context = eumex
tones_option = yes
outbound_called_ton = unknown
;force_outbound_cli = No
;force_outbound_cli_ton = no
clip_enabled = Yes
clip_default_name =
clip_default_number =
clip_numbers = _X.
clir_mode = off
cli_rewriting = No
overlap_sending = Yes
overlap_receiving = No
[visdn1]
network_role = private
context = t-in
tones_option = yes
outbound_called_ton = unknown
;force_outbound_cli = No
;force_outbound_cli_ton = no
clip_enabled = Yes
clip_default_name =
clip_default_number =
clip_numbers = _X.
clir_mode = off
cli_rewriting = No
overlap_sending = No
overlap_receiving = No
teile aus der extension.conf
Code:
[globals]
TAM=VISDN/visdn1
EUMEX=VISDN/visdn0
...
; vom Amt zur Eumex
[t-in]
exten => _2X.,1,Dial(${EUMEX}/${EXTEN},90,tTr)
exten => _2X.,n,Goto,t-in|r-${DIALSTATUS}|1
exten => _3X.,1,Dial(${EUMEX}/${EXTEN},90,tTr)
exten => _3X.,n,Goto,t-in|r-${DIALSTATUS}|1
exten => _6X.,1,Dial(${EUMEX}/${EXTEN},90,tTr)
exten => _6X.,n,Goto,t-in|r-${DIALSTATUS}|1
exten => _9X.,1,Dial(${EUMEX}/${EXTEN}&SIP/995705,90,tTr)
exten => _9X.,n,Goto,t-in|r-${DIALSTATUS}|1
exten => r-BUSY,1,Hangup
exten => r-NOANSWER,1,Hangup
exten => r-CHANUNAVAIL,1,Hangup
....
; von eumex oder sip zum Amt
[amtout]
exten => _X.,1,Set(LANGUAGE()=de)
exten => _X.,n,SetCallerPres(allowed)
exten => _X.,n,Set(CALLERID(number)=${CALLERIDNUM})
exten => _X.,n,SetCallerID(<vorhal ohne null>${CALLERIDNUM})
exten => _X.,n,Dial(${TAM}/${EXTEN:0},90,Ttr)
exten => _X.,n,Goto,amtout|r-${DIALSTATUS}|1
;exten => r-BUSY,1,Playback(tt-allbusy)
exten => r-BUSY,1,wait(2)
exten => r-BUSY,n,Hangup
exten => r-NOANSWER,1,Hangup
exten => r-CHANUNAVAIL,1,Hangup
...
Allerdings hab ich damit das Problem, das Calls von der Eumex zum Amt jede Ziffer doppelt gewählt wird.
z.B. Telefon an der Eumex wähl: 1234
Dial (*-console) steht: 11223344
Hab noch keine lösung. Ich muss mal die drei patches für asterisk 1.2.4 testen.