[Problem] Keine Hörtöne (Wählton, Freiton und Besetztton) bei ISDN Telefon am internem S0

marsmars

Neuer User
Mitglied seit
10 Nov 2010
Beiträge
26
Punkte für Reaktionen
0
Punkte
1
Hallo zusammen,

ich bin fast am Ziel angekommen. Meine Konstalltion läuft abgesehen von Hörtönen und noch ein paar kleineren aussetztern wie folgt:
Code:
Side A (ISDN-Telefon) --> Fritz!Box mit Asterisk 11 und chan_capi && chan_iax2 --> IAX --> Rasberry Pi mit chan_dongle && chan_iax2 --> mobliefunk  --> ... --> Side B z.B. mit ISDN-Telefon;

Im folgenden die confs vom Asterisk FB, welcher mit mit Freetz-trunk erstellt wurde.
extensions.conf
Code:
[generel]

[default]
exten => s,1,Ringing()  ;nützt auch nix
exten => _0XXX.,1,Dial(IAX2/freetzANDpi/${EXTEN:0},55,r)  ;r oder bo nützt auch nix
exten => _0XXX.,n,Hangup
exten => 2000,1,Dial(IAX2/softphone/)
exten => 2000,n,Hangup
exten => 127001,1,Dial(CAPI/contr3/${EXTEN}/bo)
exten => 127001,n,Hangup

capi.conf
Code:
;                                                                                                                   
; CAPI config                                                                                                       
; (1234567 gets replaced by script cfg_asterisk start)                                                              
;                                                                                                                   
                                                                                                                    
; general section                                                                                                   
                                                                                                                    
[general]                                                                                                           
nationalprefix=0                                                                                                    
internationalprefix=00                                                                                              
rxgain=1.0       ;linear receive gain (1.0 = no change)                                                             
txgain=1.0       ;linear transmit gain (1.0 = no change)                                                            
language=de      ;set default language (en/de...)                                                                   
;ulaw=yes        ;set this, if you live in u-law world instead of a-law                                             
                                                                                                                    
;jb.....         ;with Asterisk 1.4 you can configure jitterbuffer,                                                 
                 ;see Asterisk documentation for all jb* setting available.                                         
;mohinterpret=default ;Asterisk 1.4: default music on hold class when placed on hold.                               
                                                                                                                    
; interface sections ...                                                                                            
[ISDN1]          ; fritzbox 7050/7170 external S0 (or external analog line: experimental)                           
ntmode=no      ;if isdn card operates in nt mode, set this to yes                                                   
isdnmode=msn     ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)                                         
incomingmsn=1234567    ;allow incoming calls to this list of MSNs/DIDs, * = any,                                    
                       ;a ="analog controller": empty incoming msn gets replaced                                    
                       ;with defaultcid (-> fritzbox 7050/7170 at analog line)                                      
defaultcid=990  ;set a default caller id to that interface for dial-out,                                            
                 ;this caller id will be used when dial option 'd' is set.                                          
controller=1     ;capi controller number to use (=4: fritzbox 7050/7150 at analog line)                             
group=1          ;dialout group                                                                                     
softdtmf=off      ;enable/disable software dtmf detection, recommended for AVM cards                                
relaxdtmf=off     ;in addition to softdtmf, you can use relaxed dtmf detection                                      
accountcode=     ;PBX accountcode to use in CDRs                                                                    
context=capi-in1  ;context for incoming calls                                                                       
;holdtype=hold   ;when the PBX puts the call on hold, ISDN HOLD will be used. If                                    
                 ;set to 'local' (default value), no hold is done and the PBX may                                   
                 ;play MOH.                                                                                         
bridge=no      ;native bridging (CAPI line interconnect) if available                                               
devices=2        ;number of concurrent calls on this controller                                                     
                 ;(2 makes sense for single BRI, 30 for PRI)                                                        
                                                                                                                    
                                                                                                                    
[ISDN3]          ; fritzbox 7050 internal S0                                                                        
ntmode=yes      ;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                                           
;defaultcid=123  ;set a default caller id to that interface for dial-out,                                           
                 ;this caller id will be used when dial option 'd' is set.                                          
controller=3     ;capi controller number to use                                                                     
group=3          ;dialout group                                                                                     
softdtmf=off      ;enable/disable software dtmf detection, recommended for AVM cards                                
relaxdtmf=off     ;in addition to softdtmf, you can use relaxed dtmf detection                                      
accountcode=     ;PBX accountcode to use in CDRs                                                                    
context=default  ;context for incoming calls                                                                        
;holdtype=hold   ;when the PBX puts the call on hold, ISDN HOLD will be used. If                                    
                 ;set to 'local' (default value), no hold is done and the PBX 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.                             
bridge=no      ;native bridging (CAPI line interconnect) if available                                               
devices=2        ;number of concurrent calls on this controller                                                     
                 ;(2 makes sense for single BRI, 30 for PRI)

iax.conf
Code:
[general]              
jitterbuffer=no        
dropcount=1        
context=default        
requirecalltoken=no    
;port=4569   
;bindaddr=192.168.188.1
;tos=lowdelay          
;trunk=yes       
;qualifysmoothing = yes
;qualify=3000         
;autokill=yes
[freetzANDpi]
type=friend            
username=freetzANDpi
secret=geheim
callerid="Freetz"      
;notransfer=yes
context=tomobile 
host=192.168.188.2     
permit=0.0.0.0/0.0.0.0
dropcount=1       
disallow=all          
allow=ulaw   
allow=alaw       
allow=gsm           
                
[softphone]       
type=friend           
host=192.168.188.3
secret=1234567       
notransfer=yes        
username=softphone
permit=0.0.0.0/0.0.0.0
;recalltoken=no

modules.conf
Code:
[modules]
    autoload=yes               ; set this to yes and Asterisk will load any
                               ; modules it finds in /usr/lib/asterisk/modules

    load => pbx_config.so      ; Requires: N/A
    load => chan_iax2.so       ; Requires: res_crypto.so, res_features.so
    load => chan_sip.so        ; Requires: res_features.so
    load => codec_alaw.so      ; Requires: N/A
    load => codec_gsm.so       ; Requires: N/A
    load => codec_ulaw.so      ; Requires: N/A
    load => format_gsm.so      ; Requires: N/A
    load => app_dial.so        ; Requires: res_features.so, res_musiconhold.so
    load => chan_capi.so
    noload => chan_ooh323.so

bevor ich es vergesse: killall telefon <-- Seitdem höre ich auch die Gegenstelle ;-)
Wichtig wären mir die fehlenden Hörtöne aktivieren zu können. Die Forensuche und Google brachte mir leider nur etwas zu den rausgehenden Anrufen via capi...

Nacht
marsmars(mars)
 

Neueste Beiträge

Statistik des Forums

Themen
244,695
Beiträge
2,216,687
Mitglieder
371,314
Neuestes Mitglied
Gjorstn
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.