- Mitglied seit
- 14 Dez 2009
- Beiträge
- 108
- Punkte für Reaktionen
- 0
- Punkte
- 0
Hi liebe Asterisk-Begeisterte.
Ich arbeite seit ca. 2 Wochen an einem Asterisk-Projekt und bin nun an einem Punkt angelangt wo ich leider überhaupt nicht mehr weiter komme.
Mir wurde dieses Projekt als "Praktikant" aufgetragen, wobei ich bisher leider mit der Materie "Asterisk" und "Linux" 0 Erfahrungen habe.
Mein System:
INTEL Pentium 4 mit 2,66 GHz
768 MB RAM
Linux openSUSE 11.2
Asterisk 1.4.27
AVM C4 ISDN-Karte
CAPI 2.0
Folgendes Problem:
Ich habe Asterisk komplett installiert und kompiliert. Habe die CAPI-Treiber für die C4 integriert.
Habe mich täglich durch viele Foren gekämpft um wenigstens einen "internen" Testanruf des Asterisk mit dem "Hello-World" Beispiel in den Griff zu bekommen.
Nun wird mir die Aufgabe gegeben Asterisk für die interne Gesprächigkeit mit 2 ISDN-Telefonen zu koppeln. (Denke, dass später evtl. noch eine Amtsleitung für externe Gespräche hinzukommen wird )
Mein Problem liegt aber darin, dass ich keine Verbindung zwischen Asterisk und ISDN-Telefon bekomme.
Habe laut verschiedenen Foren-Beiträgen folgende Verkabelung: C4 => Crossover-ISDN-Kabel => NTBA S0-BUS => ISDN-Telefon (NTBA erforderlich, da keine eigene Stromversorgung des Telefons möglich)
LOG des Asterisk-Start
capi.conf
extensions.conf
Habe die Verkabelung 3x überprüft und keinen Fehler gefunden.
Wenn ich einen Anruf von der Konsole an die Extension leiten will kommt folgendes dabei heraus:
Würde mich sehr freuen, wenn sich jemand meinem Problem annehmen und mir bei einer Lösung behilflich sein könnte.
Vielen Dank im Voraus
MfG
Ich arbeite seit ca. 2 Wochen an einem Asterisk-Projekt und bin nun an einem Punkt angelangt wo ich leider überhaupt nicht mehr weiter komme.
Mir wurde dieses Projekt als "Praktikant" aufgetragen, wobei ich bisher leider mit der Materie "Asterisk" und "Linux" 0 Erfahrungen habe.
Mein System:
INTEL Pentium 4 mit 2,66 GHz
768 MB RAM
Linux openSUSE 11.2
Asterisk 1.4.27
AVM C4 ISDN-Karte
CAPI 2.0
Folgendes Problem:
Ich habe Asterisk komplett installiert und kompiliert. Habe die CAPI-Treiber für die C4 integriert.
Habe mich täglich durch viele Foren gekämpft um wenigstens einen "internen" Testanruf des Asterisk mit dem "Hello-World" Beispiel in den Griff zu bekommen.
Nun wird mir die Aufgabe gegeben Asterisk für die interne Gesprächigkeit mit 2 ISDN-Telefonen zu koppeln. (Denke, dass später evtl. noch eine Amtsleitung für externe Gespräche hinzukommen wird )
Mein Problem liegt aber darin, dass ich keine Verbindung zwischen Asterisk und ISDN-Telefon bekomme.
Habe laut verschiedenen Foren-Beiträgen folgende Verkabelung: C4 => Crossover-ISDN-Kabel => NTBA S0-BUS => ISDN-Telefon (NTBA erforderlich, da keine eigene Stromversorgung des Telefons möglich)
LOG des Asterisk-Start
Code:
== Parsing '/etc/asterisk/extconfig.conf': Found
== Parsing '/etc/asterisk/logger.conf': Found
Asterisk Event Logger Started /var/log/asterisk/event_log
Asterisk Dynamic Loader Starting:
== Parsing '/etc/asterisk/modules.conf': Found
== Parsing '/etc/asterisk/dnsmgr.conf': Found
== Parsing '/etc/asterisk/http.conf': Found
== Manager registered action Ping
== Manager registered action Events
== Manager registered action Logoff
== Manager registered action Hangup
== Manager registered action Status
== Manager registered action Setvar
== Manager registered action Getvar
== Manager registered action GetConfig
== Manager registered action UpdateConfig
== Manager registered action Redirect
== Manager registered action Originate
== Manager registered action Command
== Manager registered action ExtensionState
== Manager registered action AbsoluteTimeout
== Manager registered action MailboxStatus
== Manager registered action MailboxCount
== Manager registered action ListCommands
== Manager registered action UserEvent
== Manager registered action WaitEvent
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/users.conf': Found
== Parsing '/etc/asterisk/cdr.conf': Found
== Parsing '/etc/asterisk/rtp.conf': Found
== RTP Allocating from port range 10000 -> 20000
== Parsing '/etc/asterisk/udptl.conf': Found
== UDPTL allocating from port range 4000 -> 4999
Asterisk PBX Core Initializing
Registering builtin applications:
[Answer]
== Registered application 'Answer'
[BackGround]
== Registered application 'BackGround'
[Busy]
== Registered application 'Busy'
[Congestion]
== Registered application 'Congestion'
[Goto]
== Registered application 'Goto'
[GotoIf]
== Registered application 'GotoIf'
[GotoIfTime]
== Registered application 'GotoIfTime'
[ExecIfTime]
== Registered application 'ExecIfTime'
[Hangup]
== Registered application 'Hangup'
[NoOp]
== Registered application 'NoOp'
[Progress]
== Registered application 'Progress'
[ResetCDR]
== Registered application 'ResetCDR'
[Ringing]
== Registered application 'Ringing'
[SayNumber]
== Registered application 'SayNumber'
[SayDigits]
== Registered application 'SayDigits'
[SayAlpha]
== Registered application 'SayAlpha'
[SayPhonetic]
== Registered application 'SayPhonetic'
[SetAMAFlags]
== Registered application 'SetAMAFlags'
[SetGlobalVar]
== Registered application 'SetGlobalVar'
[Set]
== Registered application 'Set'
[ImportVar]
== Registered application 'ImportVar'
[Wait]
== Registered application 'Wait'
[WaitExten]
== Registered application 'WaitExten'
== Manager registered action DBGet
== Manager registered action DBPut
== Parsing '/etc/asterisk/enum.conf': Found
Asterisk Dynamic Loader Starting:
== Parsing '/etc/asterisk/modules.conf': Found
== Registered custom function SMDI_MSG_RETRIEVE
== Registered custom function SMDI_MSG
== Parsing '/etc/asterisk/smdi.conf': Found
== Unregistered custom function SMDI_MSG_RETRIEVE
== Unregistered custom function SMDI_MSG
== Registered application 'Monitor'
== Registered application 'StopMonitor'
== Registered application 'ChangeMonitor'
== Registered application 'PauseMonitor'
== Registered application 'UnpauseMonitor'
== Manager registered action Monitor
== Manager registered action StopMonitor
== Manager registered action ChangeMonitor
== Manager registered action PauseMonitor
== Manager registered action UnpauseMonitor
res_monitor.so => (Call Monitoring Resource)
== Parsing '/etc/asterisk/features.conf': Found
-- Registered extension context 'parkedcalls'
-- Added extension '700' priority 1 to parkedcalls
== Registered application 'ParkedCall'
== Registered application 'Park'
== Manager registered action ParkedCalls
== Manager registered action Park
res_features.so => (Call Features Resource)
== Registered application 'DeadAGI'
== Registered application 'EAGI'
== Registered application 'AGI'
res_agi.so => (Asterisk Gateway Interface (AGI))
res_speech.so => (Generic Speech Recognition API)
== Parsing '/etc/asterisk/adsi.conf': Found
res_adsi.so => (ADSI Resource)
== Parsing '/etc/asterisk/musiconhold.conf': Found
== Registered application 'MusicOnHold'
== Registered application 'WaitMusicOnHold'
== Registered application 'SetMusicOnHold'
== Registered application 'StartMusicOnHold'
== Registered application 'StopMusicOnHold'
res_musiconhold.so => (Music On Hold Resource)
== Registered application 'Random'
app_random.so => (Random goto)
== Parsing '/etc/asterisk/cdr_manager.conf': Found
cdr_manager.so => (Asterisk Manager Interface CDR Backend)
== Registered custom function VMCOUNT
== Registered application 'HasVoicemail'
== Registered application 'HasNewVoicemail'
app_hasnewvoicemail.so => (Indicator for whether a voice mailbox has messages in a given folder.)
== Registered custom function URIDECODE
== Registered custom function URIENCODE
func_uri.so => (URI encode/decode dialplan functions)
== Parsing '/etc/asterisk/codecs.conf': Found
-- codec_alaw: using generic PLC
== Registered translator 'alawtolin' from format alaw to slin, cost 1
== Registered translator 'lintoalaw' from format slin to alaw, cost 1
codec_alaw.so => (A-law Coder/Decoder)
== Registered application 'SendImage'
app_image.so => (Image Transmission Application)
== Registered application 'ChannelRedirect'
app_channelredirect.so => (Channel Redirect)
== Registered application 'StackPop'
== Registered application 'Return'
== Registered application 'GosubIf'
== Registered application 'Gosub'
app_stack.so => (Stack Routines)
== Parsing '/etc/asterisk/cdr_custom.conf': Found
cdr_custom.so => (Customizable Comma Separated Values CDR Backend)
== Registered application 'Record'
app_record.so => (Trivial Record Application)
pbx_realtime.so => (Realtime Switch)
== Parsing '/etc/asterisk/cdr.conf': Found
cdr_csv.so => (Comma Separated Values CDR Backend)
== Registered file format wav, extension(s) wav
format_wav.so => (Microsoft WAV format (8000Hz Signed Linear))
== Registered application 'MacroExit'
== Registered application 'MacroIf'
== Registered application 'MacroExclusive'
== Registered application 'Macro'
app_macro.so => (Extension Macros)
== Registered custom function BASE64_ENCODE
== Registered custom function BASE64_DECODE
func_base64.so => (base64 encode/decode dialplan functions)
== Registered application 'Log'
== Registered application 'Verbose'
app_verbose.so => (Send verbose output)
== Registered file format h264, extension(s) h264
format_h264.so => (Raw H.264 data)
== Registered custom function BLACKLIST
== Registered application 'LookupBlacklist'
app_lookupblacklist.so => (Look up Caller*ID name/number from blacklist database)
== Registered file format sln, extension(s) sln|raw
format_sln.so => (Raw Signed Linear Audio support (SLN))
pbx_loopback.so => (Loopback Switch)
== Registered application 'SetCallerPres'
== Registered application 'SetCallerID'
app_setcallerid.so => (Set CallerID Application)
== Registered custom function DB
== Registered custom function DB_EXISTS
== Registered custom function DB_DELETE
func_db.so => (Database (astdb) related dialplan functions)
== Registered custom function MATH
func_math.so => (Mathematical dialplan function)
== Registered custom function CALLERID
func_callerid.so => (Caller ID related dialplan function)
== Registered application 'Zapateller'
app_zapateller.so => (Block Telemarketers with Special Information Tone)
== Registered application 'WaitForRing'
app_waitforring.so => (Waits until first ring after time)
== Registered file format vox, extension(s) vox
format_vox.so => (Dialogic VOX (ADPCM) File Format)
== Registered custom function FIELDQTY
== Registered custom function FILTER
== Registered custom function REGEX
== Registered custom function ARRAY
== Registered custom function QUOTE
== Registered custom function CSV_QUOTE
== Registered custom function LEN
== Registered custom function STRFTIME
== Registered custom function STRPTIME
== Registered custom function EVAL
== Registered custom function KEYPADHASH
== Registered custom function SPRINTF
func_strings.so => (String handling dialplan functions)
== Registered custom function RAND
func_rand.so => (Random number dialplan function)
== Registered application 'SoftHangup'
app_softhangup.so => (Hangs up the requested channel)
== Parsing '/etc/asterisk/alarmreceiver.conf': Found
== Registered application 'AlarmReceiver'
app_alarmreceiver.so => (Alarm Receiver for Asterisk)
== Registered file format gsm, extension(s) gsm
format_gsm.so => (Raw GSM data)
== Registered application 'GetCPEID'
app_getcpeid.so => (Get ADSI CPE ID)
== Registered custom function TIMEOUT
func_timeout.so => (Channel timeout dialplan functions)
== Registered application 'Echo'
app_echo.so => (Simple Echo Application)
== Registered application 'MixMonitor'
== Registered application 'StopMixMonitor'
app_mixmonitor.so => (Mixed Audio Monitoring Application)
== Parsing '/etc/asterisk/skinny.conf': Found
== Skinny listening on 0.0.0.0:2000
== Registered channel type 'Skinny' (Skinny Client Control Protocol (Skinny))
== Registered application 'Pickup'
app_directed_pickup.so => (Directed Call Pickup Application)
== Parsing '/etc/asterisk/codecs.conf': Found
-- codec_g726: using generic PLC
== Registered translator 'g726tolin' from format g726 to slin, cost 1
== Registered translator 'lintog726' from format slin to g726, cost 28
== Registered translator 'g726aal2tolin' from format g726aal2 to slin, cost 1
== Registered translator 'lintog726aal2' from format slin to g726aal2, cost 1
codec_g726.so => (ITU G.726-32kbps G726 Transcoder)
== Registered application 'ForkCDR'
app_forkcdr.so => (Fork The CDR into 2 separate entities)
== Registered translator 'alawtoulaw' from format alaw to ulaw, cost 1
== Registered translator 'ulawtoalaw' from format ulaw to alaw, cost 1
codec_a_mu.so => (A-law and Mulaw direct Coder/Decoder)
== Registered application 'Dictate'
app_dictate.so => (Virtual Dictation Machine)
== Registered custom function LANGUAGE
func_language.so => (Channel language dialplan function)
== Parsing '/etc/asterisk/sip.conf': Found
== Parsing '/etc/asterisk/users.conf': Found
== SIP Listening on 0.0.0.0:5060
== Using SIP TOS: none
== Parsing '/etc/asterisk/sip_notify.conf': Found
== Registered channel type 'SIP' (Session Initiation Protocol (SIP))
== Registered application 'SIPDtmfMode'
== Registered application 'SIPAddHeader'
== Registered custom function SIP_HEADER
== Registered custom function SIPPEER
== Registered custom function SIPCHANINFO
== Registered custom function CHECKSIPDOMAIN
== Manager registered action SIPpeers
== Manager registered action SIPshowpeer
chan_sip.so => (Session Initiation Protocol (SIP))
== Parsing '/etc/asterisk/extensions.conf': Found
-- Registered extension context 'default'
-- Added extension '1000' priority 1 to default
-- Added extension '1000' priority 2 to default
-- Added extension '1000' priority 3 to default
-- Added extension '2000' priority 1 to default
-- Added extension '2001' priority 1 to default
-- Added extension '2001' priority 2 to default
-- Added extension '2999' priority 1 to default
== Parsing '/etc/asterisk/users.conf': Found
-- Added extension '2000' priority -1 to default
-- Added extension '2001' priority -1 to default
pbx_config.so => (Text Extension Configuration)
== Registered application 'ParkAndAnnounce'
app_parkandannounce.so => (Call Parking and Announce Application)
== Registered application 'SendText'
app_sendtext.so => (Send Text Applications)
== Registered file format g723sf, extension(s) g723|g723sf
format_g723.so => (G.723.1 Simple Timestamp File Format)
== Registered file format g726-40, extension(s) g726-40
== Registered file format g726-32, extension(s) g726-32
== Registered file format g726-24, extension(s) g726-24
== Registered file format g726-16, extension(s) g726-16
format_g726.so => (Raw G.726 (16/24/32/40kbps) data)
== Registered application 'DISA'
app_disa.so => (DISA (Direct Inward System Access) Application)
== Registered application 'ADSIProg'
app_adsiprog.so => (Asterisk ADSI Programming Application)
== Parsing '/etc/asterisk/codecs.conf': Found
-- codec_ulaw: using generic PLC
== Registered translator 'ulawtolin' from format ulaw to slin, cost 1
== Registered translator 'lintoulaw' from format slin to ulaw, cost 1
codec_ulaw.so => (mu-Law Coder/Decoder)
== Registered channel type 'Agent' (Call Agent Proxy Channel)
== Parsing '/etc/asterisk/agents.conf': Found
== Parsing '/etc/asterisk/users.conf': Found
== Registered application 'AgentLogin'
== Registered application 'AgentCallbackLogin'
== Registered application 'AgentMonitorOutgoing'
== Manager registered action Agents
== Manager registered action AgentLogoff
== Manager registered action AgentCallbackLogin
== Registered custom function AGENT
chan_agent.so => (Agent Proxy Channel)
== Registered custom function ENV
== Registered custom function STAT
func_env.so => (Environment/filesystem dialplan functions)
== Registered application 'SpeechCreate'
== Registered application 'SpeechLoadGrammar'
== Registered application 'SpeechUnloadGrammar'
== Registered application 'SpeechActivateGrammar'
== Registered application 'SpeechDeactivateGrammar'
== Registered application 'SpeechStart'
== Registered application 'SpeechBackground'
== Registered application 'SpeechDestroy'
== Registered application 'SpeechProcessingSound'
== Registered custom function SPEECH
== Registered custom function SPEECH_SCORE
== Registered custom function SPEECH_TEXT
== Registered custom function SPEECH_GRAMMAR
== Registered custom function SPEECH_ENGINE
== Registered custom function SPEECH_RESULTS_TYPE
app_speech_utils.so => (Dialplan Speech Applications)
== Registered custom function SHA1
func_sha1.so => (SHA-1 computation dialplan function)
pbx_spool.so => (Outgoing Spool Support)
== Parsing '/etc/asterisk/say.conf': Found
== Registered application 'Playback'
app_playback.so => (Sound File Playback Application)
== Registered custom function REALTIME
func_realtime.so => (Read/Write values from a RealTime repository)
== Manager registered action PlayDTMF
== Registered application 'SendDTMF'
app_senddtmf.so => (Send DTMF digits Application)
== Registered application 'WaitForSilence'
app_waitforsilence.so => (Wait For Silence)
== Registered application 'Read'
app_read.so => (Read Variable Application)
== Registered application 'TestClient'
== Registered application 'TestServer'
app_test.so => (Interface Test Application)
== Registered application 'DBdel'
== Registered application 'DBdeltree'
app_db.so => (Database Access Functions)
== Registered file format h263, extension(s) h263
format_h263.so => (Raw H.263 data)
== Registered application 'Authenticate'
app_authenticate.so => (Authentication Application)
== Registered custom function CHANNEL
func_channel.so => (Channel information dialplan function)
== Registered application 'ICES'
app_ices.so => (Encode and Stream via icecast and ices)
== Registered custom function ISNULL
== Registered custom function SET
== Registered custom function EXISTS
== Registered custom function IF
== Registered custom function IFTIME
func_logic.so => (Logical dialplan functions)
== Registered application 'Transfer'
app_transfer.so => (Transfer)
== Registered application 'RealTimeUpdate'
== Registered application 'RealTime'
app_realtime.so => (Realtime Data Lookup/Rewrite)
== Parsing '/etc/asterisk/indications.conf': Found
-- Registered indication country 'at'
-- Registered indication country 'au'
-- Registered indication country 'bg'
-- Registered indication country 'br'
-- Registered indication country 'be'
-- Registered indication country 'ch'
-- Registered indication country 'cl'
-- Registered indication country 'cn'
-- Registered indication country 'cz'
-- Registered indication country 'de'
-- Registered indication country 'dk'
-- Registered indication country 'ee'
-- Registered indication country 'es'
-- Registered indication country 'fi'
-- Registered indication country 'fr'
-- Registered indication country 'gr'
-- Registered indication country 'hu'
-- Registered indication country 'il'
-- Registered indication country 'in'
-- Registered indication country 'it'
-- Registered indication country 'lt'
-- Registered indication country 'jp'
-- Registered indication country 'mx'
-- Registered indication country 'my'
-- Registered indication country 'nl'
-- Registered indication country 'no'
-- Registered indication country 'nz'
-- Registered indication country 'ph'
-- Registered indication country 'pl'
-- Registered indication country 'pt'
-- Registered indication country 'ru'
-- Registered indication country 'se'
-- Registered indication country 'sg'
-- Registered indication country 'th'
-- Registered indication country 'uk'
-- Registered indication country 'us'
-- Registered indication country 'us-o'
-- Registered indication country 'tw'
-- Registered indication country 've'
-- Registered indication country 'za'
-- Setting default indication country to 'de'
== Registered application 'PlayTones'
== Registered application 'StopPlayTones'
res_indications.so => (Indications Resource)
res_convert.so => (File format conversion CLI command)
== Registered application 'ChanSpy'
== Registered application 'ExtenSpy'
app_chanspy.so => (Listen to the audio of an active channel)
== Registered application 'SayUnixTime'
== Registered application 'DateTime'
app_sayunixtime.so => (Say time)
== Registered file format iLBC, extension(s) ilbc
format_ilbc.so => (Raw iLBC data)
== Registered application 'ExternalIVR'
app_externalivr.so => (External IVR Interface Application)
== Registered file format pcm, extension(s) pcm|ulaw|ul|mu
== Registered file format alaw, extension(s) alaw|al
== Registered file format au, extension(s) au
== Registered file format g722, extension(s) g722
format_pcm.so => (Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G.722 16Khz)
== Registered application 'SendURL'
app_url.so => (Send URL Applications)
== Registered file format wav49, extension(s) WAV|wav49
format_wav_gsm.so => (Microsoft WAV format (Proprietary GSM))
== Parsing '/etc/asterisk/phone.conf': Found
== Registered channel type 'Phone' (Standard Linux Telephony API Driver)
chan_phone.so => (Linux Telephony API Support)
== Registered application 'TrySystem'
== Registered application 'System'
app_system.so => (Generic System() application)
== Registered custom function MUSICCLASS
func_moh.so => (Music-on-hold dialplan function)
== Registered custom function MD5
== Registered custom function CHECK_MD5
func_md5.so => (MD5 digest dialplan functions)
== Parsing '/etc/asterisk/oss.conf': Found
== Registered channel type 'Console' (OSS Console Channel Driver)
chan_oss.so => (OSS Console Channel Driver)
== Registered application 'SetCDRUserField'
== Registered application 'AppendCDRUserField'
== Manager registered action SetCDRUserField
app_setcdruserfield.so => (CDR user field apps)
== Registered custom function CDR
func_cdr.so => (CDR dialplan function)
== Parsing '/etc/asterisk/amd.conf': Found
-- AMD defaults: initialSilence [2500] greeting [1500] afterGreetingSilence [800] totalAnalysisTime [5000] minimumWordLength [100] betweenWordsSilence [50] maximumNumberOfWords [3] silenceThreshold [256]
== Registered application 'AMD'
app_amd.so => (Answering Machine Detection Application)
== Registered custom function CUT
== Registered custom function SORT
func_cut.so => (Cut out information from a string)
== Registered custom function IAXPEER
== Registered application 'IAX2Provision'
== Manager registered action IAXpeers
== Manager registered action IAXnetstats
== Parsing '/etc/asterisk/iax.conf': Found
== Using TOS bits 0
== Binding IAX2 to default address 0.0.0.0:4569
== Parsing '/etc/asterisk/users.conf': Found
> doing dnsmgr_lookup for '216.207.245.47'
== Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2))
== 10 helper threads started
== IAX Ready and Listening
== Parsing '/etc/asterisk/iaxprov.conf': Found
-- Loaded provisioning template 'default'
chan_iax2.so => (Inter Asterisk eXchange (Ver 2))
== Registered custom function GLOBAL
func_global.so => (Global variable dialplan functions)
== Registered format 'jpg' (JPEG (Joint Picture Experts Group))
format_jpeg.so => (JPEG (Joint Picture Experts Group) Image Format)
== Registered application 'Dial'
== Registered application 'RetryDial'
app_dial.so => (Dialing Application)
== Parsing '/etc/asterisk/codecs.conf': Found
-- codec_lpc10: using generic PLC
== Registered translator 'lpc10tolin' from format lpc10 to slin, cost 2
== Registered translator 'lintolpc10' from format slin to lpc10, cost 3
codec_lpc10.so => (LPC10 2.4kbps Coder/Decoder)
== Registered application 'Morsecode'
app_morsecode.so => (Morse code)
== Parsing '/etc/asterisk/capi.conf': Found
-- Registering at CAPI (blocksize=160 maxlogicalchannels=2)
== This box has 4 capi controller(s).
-- Contr1 supports DTMF
-- Contr1 supports supplementary services
> supplementary services : 0x000003ff
> HOLD/RETRIEVE TERMINAL-PORTABILITY ECT 3PTY CF CD MCID CCBS MWI CCNR
-- Contr1 private options=0x01000001
-- Contr2 supports DTMF
-- Contr2 supports supplementary services
> supplementary services : 0x000003ff
> HOLD/RETRIEVE TERMINAL-PORTABILITY ECT 3PTY CF CD MCID CCBS MWI CCNR
-- Contr2 private options=0x01000001
-- Contr3 supports DTMF
-- Contr3 supports supplementary services
> supplementary services : 0x000003ff
> HOLD/RETRIEVE TERMINAL-PORTABILITY ECT 3PTY CF CD MCID CCBS MWI CCNR
-- Contr3 private options=0x01000001
-- Contr4 supports DTMF
-- Contr4 supports supplementary services
> supplementary services : 0x000003ff
> HOLD/RETRIEVE TERMINAL-PORTABILITY ECT 3PTY CF CD MCID CCBS MWI CCNR
-- Contr4 private options=0x01000001
== Reading config for ISDN1
-- capi D ISDN1#00 (*:isdn-in) contr=1 devs=2 EC=0,opt=4,tail=0
-- capi B ISDN1#01 (*:isdn-in) contr=1 devs=2 EC=0,opt=4,tail=0
-- capi B ISDN1#02 (*:isdn-in) contr=1 devs=2 EC=0,opt=4,tail=0
-- Registering at CAPI (blocksize=160 maxlogicalchannels=3)
-- listening on contr1 CIPmask = 0x1fff03ff
== Registered channel type 'CAPI' (Common ISDN API Driver (1.1.4))
== Registered application 'capicommand'
chan_capi.so => (Common ISDN API Driver (1.1.4))
res_clioriginate.so => (Call origination from the CLI)
== Registered application 'ReadFile'
app_readfile.so => (Stores output of file into a variable)
== Registered application 'Directory'
app_directory.so => (Extension Directory)
== Registered application 'While'
== Registered application 'EndWhile'
== Registered application 'ExitWhile'
== Registered application 'ContinueWhile'
app_while.so => (While Loops and Conditional Execution)
== Registered application 'NoCDR'
app_cdr.so => (Tell Asterisk to not maintain a CDR for the current call)
== Registered custom function AUDIOHOOK_INHERIT
func_audiohookinherit.so => (Audiohook inheritance function)
== Parsing '/etc/asterisk/queues.conf': Found
== Registered application 'Queue'
== Registered application 'AddQueueMember'
== Registered application 'RemoveQueueMember'
== Registered application 'PauseQueueMember'
== Registered application 'UnpauseQueueMember'
== Registered application 'QueueLog'
== Manager registered action Queues
== Manager registered action QueueStatus
== Manager registered action QueueAdd
== Manager registered action QueueRemove
== Manager registered action QueuePause
== Registered custom function QUEUEAGENTCOUNT
== Registered custom function QUEUE_MEMBER_COUNT
== Registered custom function QUEUE_MEMBER_LIST
== Registered custom function QUEUE_WAITING_COUNT
app_queue.so => (True Call Queueing)
== Registered application 'MP3Player'
app_mp3.so => (Silly MP3 Application)
== Parsing '/etc/asterisk/festival.conf': Found
== Registered application 'Festival'
app_festival.so => (Simple Festival Interface)
== Parsing '/etc/asterisk/codecs.conf': Found
-- codec_adpcm: using generic PLC
== Registered translator 'adpcmtolin' from format adpcm to slin, cost 1
== Registered translator 'lintoadpcm' from format slin to adpcm, cost 1
codec_adpcm.so => (Adaptive Differential PCM Coder/Decoder)
== Registered custom function ENUMLOOKUP
== Registered custom function TXTCIDNAME
func_enum.so => (ENUM related dialplan functions)
== Registered application 'ChanIsAvail'
app_chanisavail.so => (Check channel availability)
== Registered application 'Milliwatt'
app_milliwatt.so => (Digital Milliwatt (mu-law) Test Application)
== Registered application 'UserEvent'
app_userevent.so => (Custom User Event Application)
== Registered application 'NBScat'
app_nbscat.so => (Silly NBS Stream Application)
== Registered file format g729, extension(s) g729
format_g729.so => (Raw G729 data)
== Registered application 'BackgroundDetect'
app_talkdetect.so => (Playback with Talk Detection)
== Registered application 'Exec'
== Registered application 'TryExec'
== Registered application 'ExecIf'
app_exec.so => (Executes dialplan applications)
== Registered application 'SetTransferCapability'
app_settransfercapability.so => (Set ISDN Transfer Capability)
== Registered channel type 'Local' (Local Proxy Channel Driver)
chan_local.so => (Local Proxy Channel (Note: used internally by other modules))
== Registered application 'VoiceMail'
== Registered application 'VoiceMailMain'
== Registered application 'MailboxExists'
== Registered application 'VMAuthenticate'
== Parsing '/etc/asterisk/voicemail.conf': Found
== Parsing '/etc/asterisk/users.conf': Found
app_voicemail.so => (Comedian Mail (Voicemail System))
== Registered custom function GROUP_COUNT
== Registered custom function GROUP_MATCH_COUNT
== Registered custom function GROUP_LIST
== Registered custom function GROUP
func_groupcount.so => (Channel group dialplan functions)
== Registered application 'DumpChan'
app_dumpchan.so => (Dump Info About The Calling Channel)
== Parsing '/etc/asterisk/followme.conf': Found
== Registered application 'FollowMe'
app_followme.so => (Find-Me/Follow-Me Application)
== Registered application 'ControlPlayback'
app_controlplayback.so => (Control Playback Application)
== Parsing '/etc/asterisk/codecs.conf': Found
-- codec_gsm: using generic PLC
== Registered translator 'gsmtolin' from format gsm to slin, cost 1
== Registered translator 'lintogsm' from format slin to gsm, cost 2
codec_gsm.so => (GSM Coder/Decoder)
== Parsing '/etc/asterisk/mgcp.conf': Found
== MGCP Listening on 0.0.0.0:2727
== Using TOS bits 0
== Registered channel type 'MGCP' (Media Gateway Control Protocol (MGCP))
chan_mgcp.so => (Media Gateway Control Protocol (MGCP))
== Registered application 'PrivacyManager'
app_privacy.so => (Require phone number to be entered, if no CallerID sent)
== Registered application 'SMS'
app_sms.so => (SMS/PSTN handler)
== Registered application 'LookupCIDName'
app_lookupcidname.so => (Look up CallerID Name from local database)
Asterisk Ready.
capi.conf
Code:
; 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
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] ;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=1 ;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)
;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
;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 do not 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. Disable it before you start recording voicemail
;or your files may get choppy. (you can use capicommand(echosquelch|no) for this)
;echocancel=yes ;Dialogic(R) Diva(R) (CAPI) echo cancellation (yes=g165)
;(possible values: 'no', 'yes', 'force', 'g164', 'g165')
;echocancelpath=1;Dialogic(R) Diva(R) (CAPI) echo cancellation path
;(possible values: default '1' - E.1/T.1/S0, '2' - IP, '3' - both)
echocancelold=yes;use facility selector 7 instead of correct 8 (necessary for older eicon drivers)
;echotail=0 ;echo cancel tail setting (default=0 for maximum)
;echocancelnlp=1 ;activate non-linear-processing; this improves echo cancel ratio, but might
;incorporate variable gain in the signal path.
bridge=yes ;native bridging (CAPI line interconnect) if available
;callgroup=1 ;PBX call group
;pickupgroup=1 ;PBX pickup group (which call groups are we allowed to pickup)
;transfergroup=1 ;Controller(s) where a transfer on native bridge is allowed to.
;language=de ;set language for this device (overwrites default language)
;disallow=all ;RTP codec selection (valid with Dialogic(R) Diva(R) Media Boards only)
;allow=all ;RTP codec selection (valid with Dialogic(R) Diva(R) Media Boards only)
devices=2 ;number of concurrent calls (B-Channels) on this controller
;(2 makes sense for single BRI, 30/23 for PRI/T1)
;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.
;qsig=1 ;enable use of Q.SIG extensions. ECMA Variant
;qsig_prnum=1234 ;enable inbound bridging - this should be an QSIG-network-wide unique number
extensions.conf
Code:
[default]
exten => 1000,1,Answer()
exten => 1000,2,Playback(hello-world)
exten => 1000,3,Hangup()
exten => 2000,1,Dial(CAPI/ISDN1/2000)
exten => 2001,1,Dial(CAPI/ISDN1/"2001",20)
exten => 2001,2,VoiceMail(2001,u)
exten => 2999,1,VoiceMailMain(${CALLERID(num)},s)
Habe die Verkabelung 3x überprüft und keinen Fehler gefunden.
Wenn ich einen Anruf von der Konsole an die Extension leiten will kommt folgendes dabei heraus:
Code:
*CLI> console dial 2000
== Console is full duplex
-- Executing [2000@default:1] Dial("Console/dsp", "CAPI/ISDN1/2000") in new stack
-- Called ISDN1/2000
*CLI> > ISDN1#02: CAPI INFO 0x3301: Protocol error layer 1 (broken line or B-channel removed by signalling protocol)
== ISDN1#02: CAPI Hangingup for PLCI=0xdead0000 in state 4
-- No one is available to answer at this time (1:0/0/0)
== Auto fallthrough, channel 'Console/dsp' status is 'NOANSWER'
<< Hangup on console >>
Würde mich sehr freuen, wenn sich jemand meinem Problem annehmen und mir bei einer Lösung behilflich sein könnte.
Vielen Dank im Voraus
MfG