Hallo,
ich weiß es wurde schon viel beschrieben zu meinem Problem komme, aber leider trotzdem nicht weiter. Ich bin Neuling was Asterisk und Linux betrifft.
Ich möchte mit Hilfe von Asterisk über ISDN raus wie rein telefonieren, das will aber irgendwie nicht. Asterisk ist nur an NTBA angeschloßen.
Ich benutze die neuste Asterisk Version, benutze chan_capi-cm-0.6.4 driver, AVM Fritz Card PCI.
meine capi.conf
extensions.conf
sip.conf
meine Fehlermeldung lautet :
Was mache ich falsch, bitte kann mir jemand helfen?
ich weiß es wurde schon viel beschrieben zu meinem Problem komme, aber leider trotzdem nicht weiter. Ich bin Neuling was Asterisk und Linux betrifft.
Ich möchte mit Hilfe von Asterisk über ISDN raus wie rein telefonieren, das will aber irgendwie nicht. Asterisk ist nur an NTBA angeschloßen.
Ich benutze die neuste Asterisk Version, benutze chan_capi-cm-0.6.4 driver, AVM Fritz Card PCI.
meine capi.conf
Code:
;
; CAPI config
;
;
; general section
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
language=de ;set default language
;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=msn ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
msn=43603627 ;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=0 ;ISDN4BSD default
;controller=7 ;ISDN4BSD USB default
controller=1 ;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=anrufnachextern ;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)
extensions.conf
Code:
[general]
static=yes
writeprotect=no
[globals]
RINGTIME=20
[default]
#exten => _ZXX,1,Macro(anrufintern,${EXTEN})
#exten => _0.,1,Macro(anrufextern,CAPI,\${EXTEN:1})
include=>anrufvonintern
include=>anrufnachextern
[macro-anrufintern]
exten =>s,1,Dial(SIP/${ARG1},\${RINGTIME})
exten =>s,2,Voicemail(u${ARG1})
exten =>s,3,Playback(vm-goodbye)
exten =>s,4,Hangup()
[macro-anrufextern]
exten =>s,1,DIAL(${ARG1}/${ARG2})
[anrufvonextern]
exten =>_.,1,Macro(anrufintern,${EXTEN:9})
[anrufvonintern]
exten =>_ZXX,1,Macro(anrufintern,${EXTEN})
[anrufnachextern]
exten =>_0.,1,Macro(anrufextern,CAPI,\43603627:${EXTEN:1})
[local]
include=>default
sip.conf
Code:
[general]
port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
disallow=all
allow=ulaw
allow=alaw
#context = from-sip-external ; Send unknown SIP callers to this context
callerid = Unknown
language=de
#include sip_nat.conf
#include sip_custom.conf
#include sip_additional.conf
[100]
type=friend
username=100
secret=123456
host=dynamic
disallow=all
allow=gsm
allow=alaw
dtmfmode=rfc2833
context=anrufnachextern
[101]
type=friend
username=101
secret=123456
host=dynamic
disallow=all
allow=gsm
allow=alaw
dtmfmode=rfc2833
context=anrufnachextern
[102]
type=friend
username=102
secret=123456
host=dynamic
disallow=all
allow=gsm
allow=alaw
dtmfmode=rfc2833
context=anrufnachextern
meine Fehlermeldung lautet :
Code:
CLI> set verbose 5
Verbosity is at least 5
*CLI> capi debug
CAPI Debugging Enabled
*CLI> dial 0200467199
*CLI> -- Executing Macro("ALSA/hw:0,0", "anrufextern|CAPI|43603627:200467199") in new stack
-- Executing Dial("ALSA/hw:0,0", "CAPI/43603627:200467199") in new stack
> data = 43603627:200467199
> parsed dialstring: '43603627:200467199' 'NULL' '' ''
> capi request for interface '43603627:200467199'
-- didn't find capi device for interface '43603627:200467199'
== Everyone is busy/congested at this time (1:0/0/1)
<< Hangup on console >>
Was mache ich falsch, bitte kann mir jemand helfen?