Seite 1 von 1

Keine ISDN incoming Calls

Verfasst: Di 19. Feb 2013, 09:25
von hkl
Hallo,

ich habe ein Problem bei Incoming Calls über ISDN Karte.
Asterisk Version 10.8.0-rc1 auf Ubuntu 12.04 LTS

Die Karte wird korrekt vom System erkannt und ausgehende Calls funktionieren einwandfrei.

Bei eingehenden Calls wird dies auf der CLI signalisiert:

Code: Alles auswählen

== ISDN1#02: Incoming call '02216xxxxxx' -> '7532xxxx'
Allerdings wird nicht der Context aus der capi.conf aufgerufen:

Code: Alles auswählen

capi.conf

;
; CAPI config
;
;

; general section

[general]
nationalprefix=0        ; or for example "+49"
internationalprefix=00  ; or for example "+"
;subscriberprefix=+4969 ; prefix including area code (some lines need this)
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

; interface sections ...

[ISDN1]          ;this example interface gets name 'ISDN1' and may be any
                 ;name not starting with 'g' or 'contr'.
                 ;Use one interface section for each ISDN port!
;ntmode=yes      ;if the ISDN card operates in NT-mode, set this to 'yes'
isdnmode=msn     ;'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 the dial option 'd' is set.
;controller=0    ;ISDN4BSD default
;controller=7    ;ISDN4BSD USB default
controller=1     ;CAPI controller number of this interface/port
group=1          ;dialout group
;prefix=0        ;set a prefix to the 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
faxdetect=off    ;enable faxdetection and redirection to EXTEN 'fax' for incoming and/or
                 ;outgoing calls. (default='off', possible values: 'incoming','outgoing','both')
faxdetecttime=0  ;Only detect faxes during the first 'n' seconds of the call.
                 ;(default '0' meaning for the whole duration of the call)
faxdestination=custom-fax,fax,1 ;Set custom context, exten and priority to jump to on faxdetect.
                 ;Default is "<current-context>,fax,1".
;accountcode=     ;PBX accountcode to use in CDRs
;amaflags=default;AMA flags for CDR ('default', 'omit', 'billing', or 'documentation')
context=isdn-in  ;context for incoming calls

Der entsprechende Context in der extensions.conf sieht folgendermaßen aus:

Code: Alles auswählen

;ISDN in

[isdn-in]
exten => _X.,1,NoOp
exten => _X.,n,Dial(SIP/80,120,tT)
Was mache ich falsch oder was habe ich vergessen.
Please help!

Danke und Grüße

Re: Keine ISDN incoming Calls

Verfasst: Do 21. Feb 2013, 08:44
von rainer
Hallo,

kannst du mal bitte in der extensions.conf unter [isdn-in] die 3x MSNs eintragen ... !!! ohne _ am Anfang und ohne . am Ende !!!

Beispiel:

Code: Alles auswählen

;ISDN in
[isdn-in]
exten => 75321234,1,NoOp( *** ISDN in auf die MSN 75321234 ***)
exten => 75321234,n,Dial(SIP/80,120,t)

exten => 75321235,1,NoOp( *** ISDN in auf die MSN 75321235 ***)
exten => 75321235,n,Dial(SIP/80,120,t)

exten => 75321236,1,NoOp( *** ISDN in auf die MSN 75321236 ***)
exten => 75321236,n,Dial(SIP/80,120,t)

Beispiel mit der same-Schreibweise

Code: Alles auswählen

;ISDN in
[isdn-in]
exten => 75321234,1,NoOp( *** ISDN in auf die MSN 75321234 ***)
          same => n,Dial(SIP/80,120,t)

exten => 75321235,1,NoOp( *** ISDN in auf die MSN 75321235 ***)
          same => n,Dial(SIP/80,120,t)

exten => 75321236,1,NoOp( *** ISDN in auf die MSN 75321236 ***)
          same => n,Dial(SIP/80,120,t)

Die Dial Option T solltest du nocheinmal überdenken ...
T = Allow the calling user to transfer the call
t = Allow the called user to transfer the call

Gruß
Rainer

Re: Keine ISDN incoming Calls

Verfasst: Do 21. Feb 2013, 09:18
von hkl
Hallo Rainer,

das habe ich auch schon erfolglos getestet. :(

Wie gesagt zeigt die CLI einen eingehenden Call an, aber keinen Eintrag, dass in einen Context in der extensions gesprungen wird.
Ich habe mittlerweile auch mit Version 1.8 und 11 getestet, aber auch hier keinen Erfolg.

Re: Keine ISDN incoming Calls

Verfasst: Do 21. Feb 2013, 09:41
von rainer
Hallo,

kannst du das
bitte einmal durch

Code: Alles auswählen

NoOp ( *** ISDN-in *** )  
ersetzen.

NoOp ohne Textausgabe bringt nicht.

Gruß
Rainer

Re: Keine ISDN incoming Calls

Verfasst: Mo 11. Mär 2013, 10:21
von carlo_58
Hallo hkl

Ich nehme doch an dass Du am Anfang Deiner extension.conf auch den context [isdn_in]
mit includes reingenommen hast!

wie z.B. hier (ich arbeite mit ael)
-------------------------------------
context home {
includes { sonderkz; IsdnAmt; IsdnQuer; ansagen; siptrunk; ivrmenu; voicemail;}
//
// SipTln 40-49
//
_4X => &sip-tln(${EXTEN});
//
// SipTln 50-59
//
_5X => &sip-tln(${EXTEN});
//
// MGCPtln 60-69
//
_6X => &mgcp-tln(${EXTEN});
}


//
// ***************************************************************** Amtsverkehr
//
// ***************************************************************** lcr anbindung
//
// ***************************************************************** Kommender Amtsverkehr
context IsdnAmt {

// includes {system_menu;}
--------------------------------

Hoffe dass es hilft

ciao
carlo