[Problem] Trixbox mit Dialogic Diva 4BRI-8 v2.0 - keine Einwahl möglich

segeln.de

Neuer User
Mitglied seit
1 Mrz 2015
Beiträge
1
Punkte für Reaktionen
0
Punkte
0
Hallo,

ich habe eine Trixbox v 2.8.0.4 in der eine Dialogic Diva 4BRI-8 v2.0 Karte eingebaut ist.
Diva4Linux_installer_9.0-108-38.bin, libcapi20-3.0.5-cm2 und chan_capi-HEAD (1.1.6) von Melware sind installiert.

Die Diva nimmt eingehende Anrufe an und gibt sie offensichtlich über die CAPI and chan_capi weiter.
Obwohl die angerufene Nummer im Dialplan für den entsprechenden Context vorhanden ist, erhalte ich die folgende Fehlermeldung in /var/log/asterisk/full:

Code:
  [Mar  1 16:32:22] NOTICE[4294] chan_capi.c: ISDN4#02: did not find exten for '4180570', ignoring call.

Die /etc/asterisk/capi.conf enthält die folgenden Einträge:

Code:
 ;
 ; CAPI config
 ;
 ;
 
 ; general section
 
 [general]
 nationalprefix=0
 internationalprefix=00
 rxgain=0.8
 txgain=0. 8
 language=de      ;set default languag e
 ;ulaw=yes        ;set this, if you live in u-law world instead of a-law 

 ; interface sections ...
 [ISDN1]          ;this example interface gets name 'ISDN1' and may be any
                  ;name not starting with 'g' or 'contr'.
 ;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=*     ;set a default caller id to that interface for dial-out,
                  ;this caller id will be used when dial option 'd' is set.
 ;controller=0    ;ISDN4BSD default
 ;controller=7    ;ISDN4BSD USB default
 controller=1     ;capi controller number to use
 group=2          ;dialout group
 ;prefix=0        ;set a prefix to calling number on incoming calls
 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=from-pstn-custom  ;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.
 ;echosquelch=1   ;_VERY_PRIMITIVE_ echo suppression
 ;echocancel=yes  ;EICON DIVA SERVER (CAPI) echo cancelation
                  ;(possible values: 'no', 'yes', 'force', 'g164', 'g165')
 echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers)
 ;echotail=64     ;echo cancel tail setting
 ;bridge=yes      ;native bridging (CAPI line interconnect) if available
 ;callgroup=1     ;Asterisk call group
 ;language=de     ;set language for this device (overwrites default language)
 devices=2        ;number of concurrent calls on this controller
                  ;(2 makes sense for single BRI, 30 for PRI)
 

 [ISDN2]          ;this example interface gets name 'ISDN1' and may be any
                  ;name not starting with 'g' or 'contr'.
 ;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=4180500  ;set a default caller id to that interface for dial-out,
                  ;this caller id will be used when dial option 'd' is set.
 ;controller=0    ;ISDN4BSD default
 ;controller=7    ;ISDN4BSD USB default
 controller=2    ;capi controller number to use
 group=2          ;dialout group
 ;prefix=0        ;set a prefix to calling number on incoming calls
 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=from-pstn-custom  ;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.
 ;echosquelch=1   ;_VERY_PRIMITIVE_ echo suppression
 ;echocancel=yes  ;EICON DIVA SERVER (CAPI) echo cancelation
                  ;(possible values: 'no', 'yes', 'force', 'g164', 'g165')
 echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers)
 ;echotail=64     ;echo cancel tail setting
 ;bridge=yes      ;native bridging (CAPI line interconnect) if available
 ;callgroup=1     ;Asterisk call group
 ;language=de     ;set language for this device (overwrites default language)
 devices=2        ;number of concurrent calls on this controller
                  ;(2 makes sense for single BRI, 30 for PRI)
 

 [ISDN3]          ;this example interface gets name 'ISDN1' and may be any
                  ;name not starting with 'g' or 'contr'.
 ;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=4180500  ;set a default caller id to that interface for dial-out,
                  ;this caller id will be used when dial option 'd' is set.
 ;controller=0    ;ISDN4BSD default
 ;controller=7    ;ISDN4BSD USB default
 controller=3     ;capi controller number to use
 group=1          ;dialout group
 ;prefix=0        ;set a prefix to calling number on incoming calls
 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=from-pstn-custom  ;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.
 ;echosquelch=1   ;_VERY_PRIMITIVE_ echo suppression
 ;echocancel=yes  ;EICON DIVA SERVER (CAPI) echo cancelation
                  ;(possible values: 'no', 'yes', 'force', 'g164', 'g165')
 echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers)
 ;echotail=64     ;echo cancel tail setting
 ;bridge=yes      ;native bridging (CAPI line interconnect) if available
 ;callgroup=1     ;Asterisk call group
 ;language=de     ;set language for this device (overwrites default language)
 devices=2        ;number of concurrent calls on this controller
                  ;(2 makes sense for single BRI, 30 for PRI)
 

 [ISDN4]          ;this example interface gets name 'ISDN1' and may be any
                  ;name not starting with 'g' or 'contr'.
 ;ntmode=yes       ;if isdn card operates in nt mode, set this to yes
 isdnmode=DID
                  ;when using NT-mode, 'DID' should be set in any case
 incomingmsn=*    ;allow incoming calls to this list of MSNs/DIDs, * = any
 ;defaultcid=4180500  ;set a default caller id to that interface for dial-out,
                  ;this caller id will be used when dial option 'd' is set.
 ;controller=0    ;ISDN4BSD default
 ;controller=7    ;ISDN4BSD USB default
 controller=4     ;capi controller number to use
 group=1          ;dialout group
 ;prefix=0        ;set a prefix to calling number on incoming calls
 softdtmf=off      ;enable/disable software dtmf detection, recommended for AVM cards
 relaxdtmf=off     ;in addition to softdtmf, you can use relaxed dtmf detection
 ;accountcode=     ;Asterisk accountcode to use in CDRs
 context=from-pstn-custom  ;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.
 ;echosquelch=1   ;_VERY_PRIMITIVE_ echo suppression
 ;echocancel=yes  ;EICON DIVA SERVER (CAPI) echo cancelation
                  ;(possible values: 'no', 'yes', 'force', 'g164', 'g165')
 echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers)
 ;echotail=64     ;echo cancel tail setting
 ;bridge=yes      ;native bridging (CAPI line interconnect) if available
 ;callgroup=1     ;Asterisk call group
 ;language=de     ;set language for this device (overwrites default language)
 devices=2        ;number of concurrent calls on this controller
                  ;(2 makes sense for single BRI, 30 for PRI)

Der Context für chan_capi ist 'from-pstn-custom'.
In diesem Context ist die angewählte Nummer bekannt:

Code:
 pbx-wor-hei*CLI> dialplan show 4180570@from-pstn-custom
 [ Included context 'ext-did-0002' created by 'pbx_config' ]
  '4180570' =>      1. Set(__FROM_DID=${EXTEN})                   [pbx_config]
                    2. Gosub(app-blacklist-check,s,1)             [pbx_config]
                    3. ExecIf($[ "${CALLERID(name)}" = "" ] ?Set(CALLERID(name)=${CALLERID(num)})) [pbx_config]
                    4. Ringing()                                  [pbx_config]
                    5. Set(__CALLINGPRES_SV=${CALLERPRES()})      [pbx_config]
                    6. Set(CALLERPRES()=allowed_not_screened)     [pbx_config]
                    7. Goto(ext-group,800,1)                      [pbx_config]


Was mache ich falsch?

Gruß
Jens
 
Zuletzt bearbeitet:
Hallo

Welche Asterisk Version ist installiert?

Die Einstellung "immediate" passt nicht zum vorhandenen Wählplan, in dem es keine Start-Extension gibt. Bitte einmal ändern und nochmal testen.

Die Echo-Optionen können ebenfalls geändert werden, aber das hat nichts mit dem beschriebenen Problem zu tun.

Stefan
 
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.