Hallo,
mein Asterisk funktioniert soweit, aber der Verbindungsaufbau von Voip nach extern geht sehr lange.
Im Gegensatz von Extern nach Voip oder Voip zu Voip. Kann mir jemand sagen woran das liegt. Ich denke es hängt mit capi zusammen in der extension.conf:
-----------------------------------------------------------------------------------------
capi.conf:
-----------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
extension.conf
-------------------------------------------------------------------------------------
Danke!
edit by Hupe: Bitte code-Blöcke für Config-Dateien nutzen!
mein Asterisk funktioniert soweit, aber der Verbindungsaufbau von Voip nach extern geht sehr lange.
Im Gegensatz von Extern nach Voip oder Voip zu Voip. Kann mir jemand sagen woran das liegt. Ich denke es hängt mit capi zusammen in der extension.conf:
-----------------------------------------------------------------------------------------
capi.conf:
-----------------------------------------------------------------------------------------
Code:
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
[ISDN1]
msn=514
;ntmode=no ;if isdn card operates in nt mode, set this to yes
;isdnmode=DID ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
;when using NT-mode, 'DID' should be set in any case
incomingmsn=* ;allow incoming calls to this list of MSNs/DIDs, * = any
;outgoingmsn=*
controller=1 ;capi controller number to use
;group=1 ;dialout group
softdtmf=on ;enable/disable software dtmf detection, recommended for AVM cards
;relaxdtmf=on ;in addition to softdtmf, you can use relaxed dtmf detection
;accountcode= ;Asterisk accountcode to use in CDRs
context=capi ;context for incoming calls
;holdtype=hold ;when Asterisk puts the call on hold, ISDN HOLD will be used. If
;set to 'local' (default value), no hold is done and Asterisk may
;play MOH.
immediate=yes ;DID: immediate start of pbx with extension 's' if no digits were
; received on incoming call (no destination number yet)
;MSN: start pbx on CONNECT_IND and don't wait for SETUP/SENDING-COMPLETE.
; info like REDIRECTINGNUMBER may be lost, but this is necessary for
; drivers/pbx/telco which does not send SETUP or SENDING-COMPLETE.
echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers)
;callgroup=1 ;Asterisk call group
devices=2 ;number of concurrent calls on this controller
;(2 makes sense for single BRI, 30 for PRI)
;pickupgroup=1
--------------------------------------------------------------------------------------
extension.conf
-------------------------------------------------------------------------------------
Code:
[general]
static=yes
[globals]
[default]
include => sccp-intern
include => mailbox
include => capi
[sccp-intern]
exten => 1526,1,SetCalledParty("Phone1"<1526>)
exten => 1526,2,Dial(SCCP/1526,10)
exten => 1526,3,Voicemail(u1526)
exten => 1526,4,Hangup
exten => 1527,1,SetCalledParty("Phone2"<1527>)
exten => 1527,2,Dial(SCCP/1527,10)
exten => 1527,3,Voicemail(u1527)
exten => 1527,4,Hangup
exten => 1528,1,SetCalledParty("WLAN"<1528>)
exten => 1528,2,Dial(SCCP/1528,10)
exten => 1528,3,Voicemail(u1528)
exten => 1528,4,Hangup
[mailbox]
exten => 9999/_[1-9].,1,Answer
exten => 9999/_[1-9].,2,Wait(1)
exten => 9999/_[1-9].,3,VoicemailMain2(s${CALLERIDNUM})
exten => 9999/_[1-9].,4,Hangup
[capi]
; fuer eingehende Anrufe
exten => 1526,1,SetCIDNum(0${CALLERIDNUM})
exten => 1526,2,Dial(SCCP/1526,10)
exten => 1526,3,Voicemail(u1526)
exten => 1526,4,Hangup()
exten => 1527,1,SetCIDNum(0${CALLERIDNUM})
exten => 1527,2,Dial(SCCP/1527,10)
exten => 1527,3,Voicemail(u1527)
exten => 1527,4,Hangup()
exten => 1528,1,SetCIDNum(0${CALLERIDNUM})
exten => 1528,2,Dial(SCCP/1528,10)
exten => 1528,3,Voicemail(u1528)
exten => 1528,4,Hangup()
; fuer ausgehende Anrufe - Amtsholung ISDN
exten => _0.,1,Dial(CAPI/contr1/${CALLERIDNUM}:${EXTEN:1}/b)
exten => _0.,2,Congestion()
exten => _0.,3,Hangup()
Danke!
edit by Hupe: Bitte code-Blöcke für Config-Dateien nutzen!